Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions sdk/network/azure-mgmt-network/_meta.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"commit": "5c021b26d815babdb06989b25fbb834cbbe7ba6b",
"commit": "13f0cc34db7c0f8d7906d907d09f4032568991cc",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"autorest": "3.9.2",
"use": [
"@autorest/python@6.4.8",
"@autorest/python@6.4.12",
"@autorest/modelerfour@4.24.3"
],
"autorest_command": "autorest specification/network/resource-manager/readme.md --generate-sample=True --include-x-ms-examples-original-file=True --python --python-sdks-folder=/home/vsts/work/1/azure-sdk-for-python/sdk --use=@autorest/python@6.4.8 --use=@autorest/modelerfour@4.24.3 --version=3.9.2 --version-tolerant=False",
"autorest_command": "autorest specification/network/resource-manager/readme.md --generate-sample=True --include-x-ms-examples-original-file=True --python --python-sdks-folder=/mnt/vss/_work/1/s/azure-sdk-for-python/sdk --use=@autorest/python@6.4.12 --use=@autorest/modelerfour@4.24.3 --version=3.9.2 --version-tolerant=False",
"readme": "specification/network/resource-manager/readme.md"
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

VERSION = "23.1.0"
VERSION = "1.0.0b1"

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -661,6 +661,7 @@
SecurityConfigurationListResult,
SubscriptionId,
SystemData,
UpdateTagsRequest,
UserRule,
UserRuleListResult,
Action,
Expand Down Expand Up @@ -1658,6 +1659,7 @@
"SecurityConfigurationListResult",
"SubscriptionId",
"SystemData",
"UpdateTagsRequest",
"UserRule",
"UserRuleListResult",
"Action",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37331,6 +37331,35 @@ def __init__(
self.last_modified_by_type = last_modified_by_type
self.last_modified_at = last_modified_at

class UpdateTagsRequest(_serialization.Model):
"""Update tags request.

Variables are only populated by the server, and will be ignored when sending a request.

:ivar id: Network security perimeter identifier.
:vartype id: str
:ivar tags: List of tags for Network Security Perimeter.
:vartype tags: dict[str, str]
"""

_validation = {
"id": {"readonly": True},
}

_attribute_map = {
"id": {"key": "id", "type": "str"},
"tags": {"key": "tags", "type": "{str}"},
}

def __init__(self, *, tags: Optional[Dict[str, str]] = None, **kwargs: Any) -> None:
"""
:keyword tags: List of tags for Network Security Perimeter.
:paramtype tags: dict[str, str]
"""
super().__init__(**kwargs)
self.id = None
self.tags = tags

class UserRule(BaseUserRule): # pylint: disable=too-many-instance-attributes
"""Network security user rule.

Expand Down
1,715 changes: 887 additions & 828 deletions sdk/network/azure-mgmt-network/azure/mgmt/network/operations/_operations.py

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,10 @@ def main():
subscription_id="subid",
)

response = client.application_gateways.begin_delete(
client.application_gateways.begin_delete(
resource_group_name="rg1",
application_gateway_name="appgw",
).result()
print(response)


# x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-11-01/examples/ApplicationGatewayDelete.json
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,11 @@ def main():
subscription_id="subid",
)

response = client.application_gateway_private_endpoint_connections.begin_delete(
client.application_gateway_private_endpoint_connections.begin_delete(
resource_group_name="rg1",
application_gateway_name="appgw",
connection_name="connection1",
).result()
print(response)


# x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-11-01/examples/ApplicationGatewayPrivateEndpointConnectionDelete.json
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,10 @@ def main():
subscription_id="subid",
)

response = client.application_gateways.begin_start(
client.application_gateways.begin_start(
resource_group_name="rg1",
application_gateway_name="appgw",
).result()
print(response)


# x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-11-01/examples/ApplicationGatewayStart.json
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,10 @@ def main():
subscription_id="subid",
)

response = client.application_gateways.begin_stop(
client.application_gateways.begin_stop(
resource_group_name="rg1",
application_gateway_name="appgw",
).result()
print(response)


# x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-11-01/examples/ApplicationGatewayStop.json
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,10 @@ def main():
subscription_id="subid",
)

response = client.application_security_groups.begin_delete(
client.application_security_groups.begin_delete(
resource_group_name="rg1",
application_security_group_name="test-asg",
).result()
print(response)


# x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-11-01/examples/ApplicationSecurityGroupDelete.json
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,10 @@ def main():
subscription_id="subid",
)

response = client.azure_firewalls.begin_delete(
client.azure_firewalls.begin_delete(
resource_group_name="rg1",
azure_firewall_name="azurefirewall",
).result()
print(response)


# x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-11-01/examples/AzureFirewallDelete.json
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def main():
subscription_id="subid",
)

response = client.azure_firewalls.begin_packet_capture(
client.azure_firewalls.begin_packet_capture(
resource_group_name="rg1",
azure_firewall_name="azureFirewall1",
parameters={
Expand All @@ -51,7 +51,6 @@ def main():
}
},
).result()
print(response)


# x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-11-01/examples/AzureFirewallPacketCapture.json
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,10 @@ def main():
subscription_id="subid",
)

response = client.bastion_hosts.begin_delete(
client.bastion_hosts.begin_delete(
resource_group_name="rg1",
bastion_host_name="bastionhosttenant",
).result()
print(response)


# x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-11-01/examples/BastionHostDelete.json
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def main():
subscription_id="subid",
)

response = client.begin_delete_bastion_shareable_link(
client.begin_delete_bastion_shareable_link(
resource_group_name="rg1",
bastion_host_name="bastionhosttenant",
bsl_request={
Expand All @@ -47,7 +47,6 @@ def main():
]
},
).result()
print(response)


# x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-11-01/examples/BastionShareableLinkDelete.json
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,11 @@ def main():
subscription_id="subid",
)

response = client.vip_swap.begin_create(
client.vip_swap.begin_create(
group_name="rg1",
resource_name="testCloudService",
parameters={"properties": {"slotType": "Production"}},
).result()
print(response)


# x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-11-01/examples/CloudServiceSwapPut.json
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,11 @@ def main():
subscription_id="subid",
)

response = client.configuration_policy_groups.begin_delete(
client.configuration_policy_groups.begin_delete(
resource_group_name="rg1",
vpn_server_configuration_name="vpnServerConfiguration1",
configuration_policy_group_name="policyGroup1",
).result()
print(response)


# x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-11-01/examples/ConfigurationPolicyGroupDelete.json
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,10 @@ def main():
subscription_id="subid",
)

response = client.custom_ip_prefixes.begin_delete(
client.custom_ip_prefixes.begin_delete(
resource_group_name="rg1",
custom_ip_prefix_name="test-customipprefix",
).result()
print(response)


# x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-11-01/examples/CustomIpPrefixDelete.json
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,10 @@ def main():
subscription_id="subid",
)

response = client.ddos_custom_policies.begin_delete(
client.ddos_custom_policies.begin_delete(
resource_group_name="rg1",
ddos_custom_policy_name="test-ddos-custom-policy",
).result()
print(response)


# x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-11-01/examples/DdosCustomPolicyDelete.json
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,10 @@ def main():
subscription_id="subid",
)

response = client.ddos_protection_plans.begin_delete(
client.ddos_protection_plans.begin_delete(
resource_group_name="rg1",
ddos_protection_plan_name="test-plan",
).result()
print(response)


# x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-11-01/examples/DdosProtectionPlanDelete.json
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,10 @@ def main():
subscription_id="subid",
)

response = client.dscp_configuration.begin_delete(
client.dscp_configuration.begin_delete(
resource_group_name="rg1",
dscp_configuration_name="mydscpConfig",
).result()
print(response)


# x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-11-01/examples/DscpConfigurationDelete.json
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,11 @@ def main():
subscription_id="subid",
)

response = client.express_route_circuit_authorizations.begin_delete(
client.express_route_circuit_authorizations.begin_delete(
resource_group_name="rg1",
circuit_name="circuitName",
authorization_name="authorizationName",
).result()
print(response)


# x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-11-01/examples/ExpressRouteCircuitAuthorizationDelete.json
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,12 @@ def main():
subscription_id="subid",
)

response = client.express_route_circuit_connections.begin_delete(
client.express_route_circuit_connections.begin_delete(
resource_group_name="rg1",
circuit_name="ExpressRouteARMCircuitA",
peering_name="AzurePrivatePeering",
connection_name="circuitConnectionUSAUS",
).result()
print(response)


# x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-11-01/examples/ExpressRouteCircuitConnectionDelete.json
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,10 @@ def main():
subscription_id="subid",
)

response = client.express_route_circuits.begin_delete(
client.express_route_circuits.begin_delete(
resource_group_name="rg1",
circuit_name="circuitName",
).result()
print(response)


# x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-11-01/examples/ExpressRouteCircuitDelete.json
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,11 @@ def main():
subscription_id="subid",
)

response = client.express_route_circuit_peerings.begin_delete(
client.express_route_circuit_peerings.begin_delete(
resource_group_name="rg1",
circuit_name="circuitName",
peering_name="peeringName",
).result()
print(response)


# x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-11-01/examples/ExpressRouteCircuitPeeringDelete.json
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,11 @@ def main():
subscription_id="subid",
)

response = client.express_route_connections.begin_delete(
client.express_route_connections.begin_delete(
resource_group_name="resourceGroupName",
express_route_gateway_name="expressRouteGatewayName",
connection_name="connectionName",
).result()
print(response)


# x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-11-01/examples/ExpressRouteConnectionDelete.json
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,11 @@ def main():
subscription_id="subid",
)

response = client.express_route_cross_connection_peerings.begin_delete(
client.express_route_cross_connection_peerings.begin_delete(
resource_group_name="CrossConnection-SiliconValley",
cross_connection_name="<circuitServiceKey>",
peering_name="AzurePrivatePeering",
).result()
print(response)


# x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-11-01/examples/ExpressRouteCrossConnectionBgpPeeringDelete.json
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,10 @@ def main():
subscription_id="subid",
)

response = client.express_route_gateways.begin_delete(
client.express_route_gateways.begin_delete(
resource_group_name="resourceGroupName",
express_route_gateway_name="expressRouteGatewayName",
).result()
print(response)


# x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-11-01/examples/ExpressRouteGatewayDelete.json
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,11 @@ def main():
subscription_id="subid",
)

response = client.express_route_port_authorizations.begin_delete(
client.express_route_port_authorizations.begin_delete(
resource_group_name="rg1",
express_route_port_name="expressRoutePortName",
authorization_name="authorizationName",
).result()
print(response)


# x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-11-01/examples/ExpressRoutePortAuthorizationDelete.json
Expand Down
Loading