From a17e1090c50d0f4d88a8209287ce37404eeaf1a8 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Thu, 23 May 2019 12:57:42 -0400 Subject: [PATCH] chore: jsonfmt network 2019 (#5904) Ran `jsonfmt -w "specification/network/**/stable/2019*/**/*.json"` --- .../stable/2019-02-01/applicationGateway.json | 18 +- .../2019-02-01/applicationSecurityGroup.json | 24 +- .../stable/2019-02-01/azureFirewall.json | 1502 ++++++++-------- .../2019-02-01/azureFirewallFqdnTag.json | 264 +-- .../2019-02-01/checkDnsAvailability.json | 4 +- .../stable/2019-02-01/endpointService.json | 4 +- ...licationGatewayAvailableSslOptionsGet.json | 2 +- ...ilableSslOptionsPredefinedPoliciesGet.json | 2 +- ...vailableSslOptionsPredefinedPolicyGet.json | 2 +- .../ApplicationGatewayBackendHealthTest.json | 2 +- .../examples/ApplicationGatewayCreate.json | 47 +- .../examples/ApplicationGatewayGet.json | 15 +- .../ApplicationGatewayUpdateTags.json | 14 +- .../ApplicationSecurityGroupCreate.json | 2 +- .../ApplicationSecurityGroupDelete.json | 6 +- .../ApplicationSecurityGroupList.json | 60 +- .../ApplicationSecurityGroupListAll.json | 10 +- .../ApplicationSecurityGroupUpdateTags.json | 24 +- .../AvailableDelegationsResourceGroupGet.json | 12 +- .../AvailableDelegationsSubscriptionGet.json | 10 +- .../examples/AzureFirewallDelete.json | 16 +- ...ureFirewallFqdnTagsListBySubscription.json | 52 +- .../2019-02-01/examples/AzureFirewallGet.json | 258 +-- .../AzureFirewallListByResourceGroup.json | 270 +-- .../AzureFirewallListBySubscription.json | 268 +-- .../2019-02-01/examples/AzureFirewallPut.json | 724 ++++---- .../examples/CheckDnsNameAvailability.json | 12 +- .../examples/DdosCustomPolicyCreate.json | 6 +- .../examples/DdosCustomPolicyUpdateTags.json | 7 +- .../DdosProtectionPlanUpdateTags.json | 8 +- ...xpressRouteCircuitAuthorizationCreate.json | 68 +- ...xpressRouteCircuitAuthorizationDelete.json | 32 +- .../ExpressRouteCircuitAuthorizationGet.json | 36 +- .../ExpressRouteCircuitAuthorizationList.json | 44 +- .../ExpressRouteCircuitConnectionCreate.json | 4 +- .../ExpressRouteCircuitConnectionGet.json | 2 +- .../ExpressRouteCircuitConnectionList.json | 94 +- .../examples/ExpressRouteCircuitCreate.json | 160 +- ...sRouteCircuitCreateOnExpressRoutePort.json | 140 +- .../examples/ExpressRouteCircuitDelete.json | 22 +- .../examples/ExpressRouteCircuitGet.json | 70 +- ...xpressRouteCircuitListByResourceGroup.json | 172 +- ...ExpressRouteCircuitListBySubscription.json | 170 +- .../ExpressRouteCircuitPeeringCreate.json | 4 +- .../ExpressRouteCircuitPeeringDelete.json | 24 +- .../ExpressRouteCircuitPeeringGet.json | 102 +- .../ExpressRouteCircuitPeeringList.json | 164 +- .../ExpressRouteCircuitPeeringStats.json | 30 +- .../ExpressRouteCircuitRouteTableList.json | 64 +- ...ressRouteCircuitRouteTableSummaryList.json | 64 +- .../examples/ExpressRouteCircuitStats.json | 28 +- .../ExpressRouteCircuitUpdateTags.json | 14 +- .../ExpressRouteConnectionCreate.json | 90 +- .../ExpressRouteConnectionDelete.json | 26 +- .../examples/ExpressRouteConnectionGet.json | 2 +- .../examples/ExpressRouteConnectionList.json | 2 +- ...sRouteCrossConnectionBgpPeeringCreate.json | 2 +- ...sRouteCrossConnectionBgpPeeringDelete.json | 9 +- ...essRouteCrossConnectionBgpPeeringList.json | 2 +- .../ExpressRouteCrossConnectionGet.json | 18 +- .../ExpressRouteCrossConnectionUpdate.json | 16 +- ...ExpressRouteCrossConnectionUpdateTags.json | 16 +- .../ExpressRouteCrossConnectionsArpTable.json | 5 +- ...xpressRouteCrossConnectionsRouteTable.json | 9 +- ...outeCrossConnectionsRouteTableSummary.json | 3 +- .../examples/ExpressRouteGatewayCreate.json | 116 +- .../examples/ExpressRouteGatewayDelete.json | 2 +- .../examples/ExpressRouteGatewayGet.json | 2 +- ...xpressRouteGatewayListByResourceGroup.json | 2 +- ...ExpressRouteGatewayListBySubscription.json | 2 +- .../examples/ExpressRouteLinkGet.json | 46 +- .../examples/ExpressRouteLinkList.json | 76 +- .../examples/ExpressRoutePortCreate.json | 208 +-- .../examples/ExpressRoutePortDelete.json | 24 +- .../examples/ExpressRoutePortGet.json | 104 +- .../examples/ExpressRoutePortList.json | 110 +- .../ExpressRoutePortListByResourceGroup.json | 112 +- .../examples/ExpressRoutePortUpdateLink.json | 222 +-- .../examples/ExpressRoutePortUpdateTags.json | 114 +- .../ExpressRoutePortsLocationGet.json | 46 +- .../ExpressRoutePortsLocationList.json | 45 +- .../examples/ExpressRouteProviderList.json | 112 +- .../HubVirtualNetworkConnectionGet.json | 44 +- .../HubVirtualNetworkConnectionList.json | 74 +- .../examples/InboundNatRuleCreate.json | 8 +- .../examples/InboundNatRuleDelete.json | 6 +- .../examples/InboundNatRuleGet.json | 2 +- .../examples/InterfaceEndpointCreate.json | 32 +- .../examples/InterfaceEndpointDelete.json | 12 +- .../examples/InterfaceEndpointGet.json | 26 +- .../examples/InterfaceEndpointList.json | 20 +- .../examples/InterfaceEndpointListAll.json | 22 +- .../examples/LoadBalancerCreate.json | 22 +- .../LoadBalancerCreateStandardSku.json | 22 +- .../LoadBalancerCreateWithInboundNatPool.json | 22 +- .../examples/LoadBalancerCreateWithZones.json | 34 +- .../examples/LoadBalancerDelete.json | 16 +- .../2019-02-01/examples/LoadBalancerGet.json | 20 +- .../2019-02-01/examples/LoadBalancerList.json | 14 +- .../examples/LoadBalancerListAll.json | 12 +- .../LoadBalancerNetworkInterfaceListVmss.json | 2 +- .../examples/LoadBalancerUpdateTags.json | 14 +- .../examples/LocalNetworkGatewayCreate.json | 104 +- .../examples/LocalNetworkGatewayDelete.json | 22 +- .../examples/LocalNetworkGatewayGet.json | 50 +- .../examples/LocalNetworkGatewayList.json | 88 +- .../LocalNetworkGatewayUpdateTags.json | 12 +- .../examples/NatGatewayCreateOrUpdate.json | 172 +- .../2019-02-01/examples/NatGatewayDelete.json | 22 +- .../2019-02-01/examples/NatGatewayGet.json | 73 +- .../2019-02-01/examples/NatGatewayList.json | 133 +- .../examples/NatGatewayListAll.json | 131 +- .../examples/NatGatewayUpdateTags.json | 30 +- .../examples/NetworkInterfaceCreate.json | 116 +- .../examples/NetworkInterfaceDelete.json | 12 +- .../NetworkInterfaceEffectiveNSGList.json | 86 +- ...tworkInterfaceEffectiveRouteTableList.json | 14 +- .../examples/NetworkInterfaceGet.json | 74 +- .../examples/NetworkInterfaceList.json | 122 +- .../examples/NetworkInterfaceListAll.json | 122 +- ...etworkInterfaceTapConfigurationCreate.json | 35 +- ...etworkInterfaceTapConfigurationDelete.json | 12 +- .../NetworkInterfaceTapConfigurationGet.json | 17 +- .../NetworkInterfaceTapConfigurationList.json | 20 +- .../examples/NetworkInterfaceUpdateTags.json | 59 +- .../NetworkProfileCreateConfigOnly.json | 198 +-- .../examples/NetworkProfileDelete.json | 24 +- .../examples/NetworkProfileGetConfigOnly.json | 160 +- .../NetworkProfileGetWithContainerNic.json | 2 +- .../examples/NetworkProfileList.json | 186 +- .../examples/NetworkProfileListAll.json | 160 +- .../examples/NetworkProfileUpdateTags.json | 108 +- .../examples/NetworkSecurityGroupCreate.json | 34 +- .../NetworkSecurityGroupCreateWithRule.json | 30 +- .../examples/NetworkSecurityGroupDelete.json | 16 +- .../examples/NetworkSecurityGroupGet.json | 20 +- .../examples/NetworkSecurityGroupList.json | 12 +- .../examples/NetworkSecurityGroupListAll.json | 10 +- .../NetworkSecurityGroupRuleCreate.json | 22 +- .../NetworkSecurityGroupRuleDelete.json | 16 +- .../examples/NetworkSecurityGroupRuleGet.json | 16 +- .../NetworkSecurityGroupRuleList.json | 16 +- .../NetworkSecurityGroupUpdateTags.json | 22 +- ...tworkWatcherAvailableProvidersListGet.json | 58 +- ...workWatcherAzureReachabilityReportGet.json | 62 +- ...NetworkWatcherConnectionMonitorCreate.json | 38 +- ...NetworkWatcherConnectionMonitorDelete.json | 16 +- .../NetworkWatcherConnectionMonitorGet.json | 26 +- .../NetworkWatcherConnectionMonitorList.json | 36 +- .../NetworkWatcherConnectionMonitorQuery.json | 96 +- .../NetworkWatcherConnectionMonitorStart.json | 16 +- .../NetworkWatcherConnectionMonitorStop.json | 16 +- .../NetworkWatcherConnectivityCheck.json | 106 +- .../examples/NetworkWatcherCreate.json | 57 +- .../examples/NetworkWatcherDelete.json | 14 +- .../NetworkWatcherFlowLogConfigure.json | 44 +- .../NetworkWatcherFlowLogStatusQuery.json | 38 +- .../examples/NetworkWatcherGet.json | 30 +- .../examples/NetworkWatcherIpFlowVerify.json | 42 +- .../examples/NetworkWatcherList.json | 46 +- .../examples/NetworkWatcherListAll.json | 44 +- ...WatcherNetworkConfigurationDiagnostic.json | 74 +- .../examples/NetworkWatcherNextHopGet.json | 40 +- .../NetworkWatcherPacketCaptureCreate.json | 76 +- .../NetworkWatcherPacketCaptureDelete.json | 16 +- .../NetworkWatcherPacketCaptureGet.json | 50 +- ...etworkWatcherPacketCaptureQueryStatus.json | 44 +- .../NetworkWatcherPacketCaptureStop.json | 16 +- .../NetworkWatcherPacketCapturesList.json | 78 +- .../NetworkWatcherSecurityGroupViewGet.json | 196 +- .../examples/NetworkWatcherTopologyGet.json | 44 +- .../NetworkWatcherTroubleshootGet.json | 108 +- ...NetworkWatcherTroubleshootResultQuery.json | 110 +- .../examples/NetworkWatcherUpdateTags.json | 30 +- .../examples/P2SVpnGatewayDelete.json | 22 +- .../P2SVpnGatewayGenerateVpnProfile.json | 28 +- .../2019-02-01/examples/P2SVpnGatewayGet.json | 42 +- .../examples/P2SVpnGatewayList.json | 92 +- .../P2SVpnGatewayListByResourceGroup.json | 92 +- .../2019-02-01/examples/P2SVpnGatewayPut.json | 80 +- .../examples/P2SVpnGatewayUpdateTags.json | 73 +- .../P2SVpnServerConfigurationDelete.json | 24 +- .../P2SVpnServerConfigurationGet.json | 122 +- .../P2SVpnServerConfigurationList.json | 130 +- .../P2SVpnServerConfigurationPut.json | 326 ++-- ...PeerExpressRouteCircuitConnectionList.json | 98 +- ...PublicIpAddressCreateCustomizedValues.json | 74 +- .../PublicIpAddressCreateDefaults.json | 62 +- .../examples/PublicIpAddressCreateDns.json | 70 +- .../examples/PublicIpAddressDelete.json | 12 +- .../examples/PublicIpAddressGet.json | 46 +- .../examples/PublicIpAddressList.json | 78 +- .../examples/PublicIpAddressListAll.json | 64 +- .../examples/PublicIpAddressUpdateTags.json | 32 +- .../PublicIpPrefixCreateCustomizedValues.json | 94 +- .../PublicIpPrefixCreateDefaults.json | 78 +- .../examples/PublicIpPrefixDelete.json | 24 +- .../examples/PublicIpPrefixGet.json | 54 +- .../examples/PublicIpPrefixList.json | 82 +- .../examples/PublicIpPrefixListAll.json | 77 +- .../examples/PublicIpPrefixUpdateTags.json | 54 +- .../examples/RouteFilterCreate.json | 172 +- .../examples/RouteFilterDelete.json | 6 +- .../2019-02-01/examples/RouteFilterList.json | 54 +- .../RouteFilterListByResourceGroup.json | 54 +- .../examples/RouteFilterRuleDelete.json | 6 +- .../2019-02-01/examples/RouteTableCreate.json | 22 +- .../examples/RouteTableCreateWithRoute.json | 18 +- .../2019-02-01/examples/RouteTableDelete.json | 16 +- .../2019-02-01/examples/RouteTableGet.json | 14 +- .../2019-02-01/examples/RouteTableList.json | 14 +- .../examples/RouteTableListAll.json | 12 +- .../examples/RouteTableRouteCreate.json | 18 +- .../examples/RouteTableRouteDelete.json | 16 +- .../examples/RouteTableRouteGet.json | 14 +- .../examples/RouteTableRouteList.json | 14 +- .../examples/RouteTableUpdateTags.json | 16 +- .../examples/ServiceCommunityList.json | 8 +- .../examples/ServiceEndpointPolicyCreate.json | 34 +- ...iceEndpointPolicyCreateWithDefinition.json | 90 +- ...ServiceEndpointPolicyDefinitionCreate.json | 58 +- ...ServiceEndpointPolicyDefinitionDelete.json | 16 +- .../ServiceEndpointPolicyDefinitionGet.json | 26 +- .../ServiceEndpointPolicyDefinitionList.json | 24 +- .../examples/ServiceEndpointPolicyDelete.json | 12 +- .../examples/ServiceEndpointPolicyGet.json | 58 +- .../examples/ServiceEndpointPolicyList.json | 80 +- .../ServiceEndpointPolicyListAll.json | 64 +- .../ServiceEndpointPolicyUpdateTags.json | 16 +- .../examples/SubnetCreateServiceEndpoint.json | 40 +- .../2019-02-01/examples/SubnetDelete.json | 6 +- .../2019-02-01/examples/VirtualHubDelete.json | 22 +- .../2019-02-01/examples/VirtualHubGet.json | 46 +- .../2019-02-01/examples/VirtualHubList.json | 102 +- .../VirtualHubListByResourceGroup.json | 102 +- .../2019-02-01/examples/VirtualHubPut.json | 100 +- .../examples/VirtualHubUpdateTags.json | 4 +- ...tualNetworkCheckIPAddressAvailability.json | 14 +- .../examples/VirtualNetworkCreate.json | 58 +- ...ualNetworkCreateServiceEndpointPolicy.json | 54 +- .../VirtualNetworkCreateServiceEndpoints.json | 54 +- .../examples/VirtualNetworkCreateSubnet.json | 54 +- ...etworkCreateSubnetWithAddressPrefixes.json | 54 +- ...tualNetworkCreateSubnetWithDelegation.json | 54 +- .../examples/VirtualNetworkDelete.json | 12 +- ...VirtualNetworkGatewayConnectionCreate.json | 254 +-- ...VirtualNetworkGatewayConnectionDelete.json | 22 +- .../VirtualNetworkGatewayConnectionGet.json | 74 +- ...lNetworkGatewayConnectionGetSharedKey.json | 24 +- ...etworkGatewayConnectionResetSharedKey.json | 30 +- ...lNetworkGatewayConnectionSetSharedKey.json | 36 +- ...ualNetworkGatewayConnectionUpdateTags.json | 12 +- .../VirtualNetworkGatewayConnectionsList.json | 132 +- .../examples/VirtualNetworkGatewayDelete.json | 22 +- ...etworkGatewayGenerateVpnClientPackage.json | 25 +- ...rtualNetworkGatewayGenerateVpnProfile.json | 25 +- .../examples/VirtualNetworkGatewayGet.json | 106 +- ...tualNetworkGatewayGetAdvertisedRoutes.json | 26 +- ...VirtualNetworkGatewayGetBGPPeerStatus.json | 24 +- ...orkGatewayGetVpnClientIpsecParameters.json | 34 +- ...NetworkGatewayGetVpnProfilePackageUrl.json | 22 +- .../VirtualNetworkGatewayLearnedRoutes.json | 24 +- .../examples/VirtualNetworkGatewayList.json | 224 +-- .../examples/VirtualNetworkGatewayReset.json | 108 +- ...NetworkGatewayResetVpnClientSharedKey.json | 22 +- ...orkGatewaySetVpnClientIpsecParameters.json | 43 +- ...rtualNetworkGatewaySupportedVpnDevice.json | 20 +- .../examples/VirtualNetworkGatewayUpdate.json | 298 ++-- .../VirtualNetworkGatewayUpdateTags.json | 24 +- ...rkGatewayVpnDeviceConfigurationScript.json | 28 +- ...VirtualNetworkGatewaysListConnections.json | 2 +- .../examples/VirtualNetworkGet.json | 50 +- ...lNetworkGetWithServiceAssociationLink.json | 76 +- ...VirtualNetworkGetWithSubnetDelegation.json | 100 +- .../examples/VirtualNetworkList.json | 12 +- .../examples/VirtualNetworkListAll.json | 10 +- .../examples/VirtualNetworkPeeringDelete.json | 6 +- .../examples/VirtualNetworkTapCreate.json | 64 +- .../examples/VirtualNetworkTapDelete.json | 12 +- .../examples/VirtualNetworkTapGet.json | 38 +- .../examples/VirtualNetworkTapList.json | 58 +- .../examples/VirtualNetworkTapListAll.json | 58 +- .../examples/VirtualNetworkTapUpdateTags.json | 40 +- .../examples/VirtualNetworkUpdateTags.json | 34 +- .../2019-02-01/examples/VirtualWANDelete.json | 22 +- .../2019-02-01/examples/VirtualWANGet.json | 60 +- .../2019-02-01/examples/VirtualWANList.json | 84 +- .../VirtualWANListByResourceGroup.json | 84 +- .../2019-02-01/examples/VirtualWANPut.json | 120 +- .../examples/VirtualWANUpdateTags.json | 118 +- .../examples/VmssNetworkInterfaceGet.json | 80 +- .../VmssNetworkInterfaceIpConfigGet.json | 12 +- .../VmssNetworkInterfaceIpConfigList.json | 12 +- .../examples/VmssNetworkInterfaceList.json | 16 +- .../examples/VmssVmNetworkInterfaceList.json | 12 +- .../examples/VpnConnectionDelete.json | 24 +- .../2019-02-01/examples/VpnConnectionGet.json | 4 +- .../examples/VpnConnectionList.json | 4 +- .../2019-02-01/examples/VpnConnectionPut.json | 10 +- .../2019-02-01/examples/VpnGatewayDelete.json | 22 +- .../2019-02-01/examples/VpnGatewayGet.json | 4 +- .../2019-02-01/examples/VpnGatewayList.json | 8 +- .../VpnGatewayListByResourceGroup.json | 8 +- .../2019-02-01/examples/VpnGatewayPut.json | 8 +- .../examples/VpnGatewayUpdateTags.json | 4 +- .../2019-02-01/examples/VpnSiteDelete.json | 22 +- .../2019-02-01/examples/VpnSiteGet.json | 76 +- .../2019-02-01/examples/VpnSiteList.json | 134 +- .../examples/VpnSiteListByResourceGroup.json | 136 +- .../2019-02-01/examples/VpnSitePut.json | 178 +- .../examples/WafListAllPolicies.json | 40 +- .../2019-02-01/examples/WafListPolicies.json | 40 +- .../examples/WafPolicyCreateOrUpdate.json | 82 +- .../2019-02-01/examples/WafPolicyDelete.json | 2 +- .../2019-02-01/examples/WafPolicyGet.json | 40 +- .../2019-02-01/expressRouteCircuit.json | 96 +- .../expressRouteCrossConnection.json | 84 +- .../2019-02-01/expressRouteGateway.json | 1222 ++++++------- .../stable/2019-02-01/expressRoutePort.json | 1468 +++++++-------- .../stable/2019-02-01/interfaceEndpoint.json | 20 +- .../stable/2019-02-01/loadBalancer.json | 113 +- .../stable/2019-02-01/natGateway.json | 30 +- .../stable/2019-02-01/network.json | 17 +- .../stable/2019-02-01/networkInterface.json | 93 +- .../stable/2019-02-01/networkProfile.json | 2 +- .../2019-02-01/networkSecurityGroup.json | 54 +- .../stable/2019-02-01/networkWatcher.json | 116 +- .../stable/2019-02-01/operation.json | 6 +- .../stable/2019-02-01/publicIpAddress.json | 36 +- .../stable/2019-02-01/publicIpPrefix.json | 772 ++++---- .../stable/2019-02-01/routeFilter.json | 1560 ++++++++-------- .../stable/2019-02-01/routeTable.json | 44 +- .../stable/2019-02-01/serviceCommunity.json | 6 +- .../2019-02-01/serviceEndpointPolicy.json | 48 +- .../stable/2019-02-01/usage.json | 8 +- .../stable/2019-02-01/virtualNetwork.json | 110 +- .../2019-02-01/virtualNetworkGateway.json | 154 +- .../stable/2019-02-01/virtualNetworkTap.json | 594 ++++--- .../stable/2019-02-01/virtualWan.json | 42 +- .../2019-02-01/vmssNetworkInterface.json | 20 +- .../2019-02-01/vmssPublicIpAddress.json | 14 +- .../2019-02-01/webapplicationfirewall.json | 6 +- .../stable/2019-04-01/applicationGateway.json | 14 +- .../2019-04-01/applicationSecurityGroup.json | 24 +- .../stable/2019-04-01/azureFirewall.json | 1528 ++++++++-------- .../2019-04-01/azureFirewallFqdnTag.json | 234 +-- .../2019-04-01/checkDnsAvailability.json | 4 +- .../stable/2019-04-01/endpointService.json | 4 +- ...licationGatewayAvailableSslOptionsGet.json | 2 +- ...ilableSslOptionsPredefinedPoliciesGet.json | 2 +- ...vailableSslOptionsPredefinedPolicyGet.json | 2 +- .../examples/ApplicationGatewayCreate.json | 47 +- .../examples/ApplicationGatewayGet.json | 15 +- .../ApplicationGatewayUpdateTags.json | 14 +- .../ApplicationSecurityGroupCreate.json | 2 +- .../ApplicationSecurityGroupDelete.json | 6 +- .../ApplicationSecurityGroupList.json | 60 +- .../ApplicationSecurityGroupListAll.json | 10 +- .../ApplicationSecurityGroupUpdateTags.json | 24 +- .../AvailableDelegationsResourceGroupGet.json | 12 +- .../AvailableDelegationsSubscriptionGet.json | 10 +- .../AvailablePrivateEndpointTypesGet.json | 10 +- ...ePrivateEndpointTypesResourceGroupGet.json | 12 +- .../examples/AzureFirewallDelete.json | 16 +- ...ureFirewallFqdnTagsListBySubscription.json | 50 +- .../2019-04-01/examples/AzureFirewallGet.json | 252 +-- .../examples/AzureFirewallGetWithZones.json | 256 +-- .../AzureFirewallListByResourceGroup.json | 270 +-- .../AzureFirewallListBySubscription.json | 268 +-- .../2019-04-01/examples/AzureFirewallPut.json | 718 ++++---- .../examples/AzureFirewallPutWithZones.json | 730 ++++---- .../examples/CheckDnsNameAvailability.json | 12 +- .../examples/DdosCustomPolicyCreate.json | 6 +- .../examples/DdosCustomPolicyUpdateTags.json | 7 +- .../DdosProtectionPlanUpdateTags.json | 8 +- ...xpressRouteCircuitAuthorizationCreate.json | 66 +- ...xpressRouteCircuitAuthorizationDelete.json | 30 +- .../ExpressRouteCircuitAuthorizationGet.json | 40 +- .../ExpressRouteCircuitAuthorizationList.json | 44 +- .../ExpressRouteCircuitConnectionCreate.json | 4 +- .../ExpressRouteCircuitConnectionGet.json | 2 +- .../ExpressRouteCircuitConnectionList.json | 94 +- .../examples/ExpressRouteCircuitCreate.json | 160 +- ...sRouteCircuitCreateOnExpressRoutePort.json | 140 +- .../examples/ExpressRouteCircuitDelete.json | 22 +- .../examples/ExpressRouteCircuitGet.json | 70 +- ...xpressRouteCircuitListByResourceGroup.json | 172 +- ...ExpressRouteCircuitListBySubscription.json | 170 +- .../ExpressRouteCircuitPeeringDelete.json | 24 +- .../ExpressRouteCircuitPeeringGet.json | 110 +- .../ExpressRouteCircuitPeeringList.json | 164 +- .../ExpressRouteCircuitPeeringStats.json | 30 +- .../ExpressRouteCircuitRouteTableList.json | 64 +- ...ressRouteCircuitRouteTableSummaryList.json | 64 +- .../examples/ExpressRouteCircuitStats.json | 28 +- .../ExpressRouteCircuitUpdateTags.json | 14 +- .../ExpressRouteConnectionCreate.json | 90 +- .../ExpressRouteConnectionDelete.json | 26 +- .../examples/ExpressRouteConnectionGet.json | 2 +- .../examples/ExpressRouteConnectionList.json | 2 +- ...sRouteCrossConnectionBgpPeeringDelete.json | 9 +- ...essRouteCrossConnectionBgpPeeringList.json | 2 +- .../ExpressRouteCrossConnectionGet.json | 16 +- .../ExpressRouteCrossConnectionUpdate.json | 14 +- ...ExpressRouteCrossConnectionUpdateTags.json | 14 +- .../ExpressRouteCrossConnectionsArpTable.json | 5 +- ...xpressRouteCrossConnectionsRouteTable.json | 7 +- ...outeCrossConnectionsRouteTableSummary.json | 3 +- .../examples/ExpressRouteGatewayCreate.json | 116 +- .../examples/ExpressRouteGatewayDelete.json | 2 +- .../examples/ExpressRouteGatewayGet.json | 2 +- ...xpressRouteGatewayListByResourceGroup.json | 2 +- ...ExpressRouteGatewayListBySubscription.json | 2 +- .../examples/ExpressRouteLinkGet.json | 46 +- .../examples/ExpressRouteLinkList.json | 76 +- .../examples/ExpressRoutePortCreate.json | 208 +-- .../examples/ExpressRoutePortDelete.json | 24 +- .../examples/ExpressRoutePortGet.json | 104 +- .../examples/ExpressRoutePortList.json | 110 +- .../ExpressRoutePortListByResourceGroup.json | 112 +- .../examples/ExpressRoutePortUpdateLink.json | 222 +-- .../examples/ExpressRoutePortUpdateTags.json | 114 +- .../ExpressRoutePortsLocationGet.json | 46 +- .../ExpressRoutePortsLocationList.json | 45 +- .../examples/ExpressRouteProviderList.json | 112 +- .../HubVirtualNetworkConnectionGet.json | 44 +- .../HubVirtualNetworkConnectionList.json | 74 +- .../examples/InboundNatRuleCreate.json | 8 +- .../examples/InboundNatRuleDelete.json | 6 +- .../examples/InboundNatRuleGet.json | 2 +- .../examples/LoadBalancerCreate.json | 22 +- .../LoadBalancerCreateStandardSku.json | 22 +- .../LoadBalancerCreateWithInboundNatPool.json | 22 +- .../examples/LoadBalancerCreateWithZones.json | 34 +- .../examples/LoadBalancerDelete.json | 16 +- .../2019-04-01/examples/LoadBalancerGet.json | 18 +- .../2019-04-01/examples/LoadBalancerList.json | 14 +- .../examples/LoadBalancerListAll.json | 12 +- .../LoadBalancerNetworkInterfaceListVmss.json | 2 +- .../examples/LoadBalancerUpdateTags.json | 14 +- .../examples/LocalNetworkGatewayCreate.json | 104 +- .../examples/LocalNetworkGatewayDelete.json | 22 +- .../examples/LocalNetworkGatewayGet.json | 50 +- .../examples/LocalNetworkGatewayList.json | 88 +- .../LocalNetworkGatewayUpdateTags.json | 12 +- .../examples/NatGatewayCreateOrUpdate.json | 172 +- .../2019-04-01/examples/NatGatewayDelete.json | 12 +- .../2019-04-01/examples/NatGatewayGet.json | 37 +- .../2019-04-01/examples/NatGatewayList.json | 119 +- .../examples/NatGatewayListAll.json | 117 +- .../examples/NatGatewayUpdateTags.json | 30 +- .../examples/NetworkInterfaceCreate.json | 116 +- .../examples/NetworkInterfaceDelete.json | 12 +- .../NetworkInterfaceEffectiveNSGList.json | 86 +- ...tworkInterfaceEffectiveRouteTableList.json | 14 +- .../examples/NetworkInterfaceGet.json | 74 +- .../examples/NetworkInterfaceList.json | 122 +- .../examples/NetworkInterfaceListAll.json | 122 +- ...etworkInterfaceTapConfigurationCreate.json | 33 +- ...etworkInterfaceTapConfigurationDelete.json | 12 +- .../NetworkInterfaceTapConfigurationGet.json | 17 +- .../NetworkInterfaceTapConfigurationList.json | 20 +- .../examples/NetworkInterfaceUpdateTags.json | 59 +- .../NetworkProfileCreateConfigOnly.json | 198 +-- .../examples/NetworkProfileDelete.json | 24 +- .../examples/NetworkProfileGetConfigOnly.json | 160 +- .../NetworkProfileGetWithContainerNic.json | 2 +- .../examples/NetworkProfileList.json | 186 +- .../examples/NetworkProfileListAll.json | 160 +- .../examples/NetworkProfileUpdateTags.json | 108 +- .../examples/NetworkSecurityGroupCreate.json | 34 +- .../NetworkSecurityGroupCreateWithRule.json | 30 +- .../examples/NetworkSecurityGroupDelete.json | 16 +- .../examples/NetworkSecurityGroupGet.json | 20 +- .../examples/NetworkSecurityGroupList.json | 12 +- .../examples/NetworkSecurityGroupListAll.json | 10 +- .../NetworkSecurityGroupRuleCreate.json | 22 +- .../NetworkSecurityGroupRuleDelete.json | 16 +- .../examples/NetworkSecurityGroupRuleGet.json | 16 +- .../NetworkSecurityGroupRuleList.json | 16 +- .../NetworkSecurityGroupUpdateTags.json | 22 +- ...tworkWatcherAvailableProvidersListGet.json | 58 +- ...workWatcherAzureReachabilityReportGet.json | 54 +- ...NetworkWatcherConnectionMonitorCreate.json | 38 +- ...NetworkWatcherConnectionMonitorDelete.json | 16 +- .../NetworkWatcherConnectionMonitorGet.json | 26 +- .../NetworkWatcherConnectionMonitorList.json | 36 +- .../NetworkWatcherConnectionMonitorQuery.json | 96 +- .../NetworkWatcherConnectionMonitorStart.json | 16 +- .../NetworkWatcherConnectionMonitorStop.json | 16 +- .../NetworkWatcherConnectivityCheck.json | 106 +- .../examples/NetworkWatcherCreate.json | 57 +- .../examples/NetworkWatcherDelete.json | 14 +- .../NetworkWatcherFlowLogConfigure.json | 44 +- .../NetworkWatcherFlowLogStatusQuery.json | 38 +- .../examples/NetworkWatcherGet.json | 30 +- .../examples/NetworkWatcherIpFlowVerify.json | 42 +- .../examples/NetworkWatcherList.json | 46 +- .../examples/NetworkWatcherListAll.json | 44 +- ...WatcherNetworkConfigurationDiagnostic.json | 58 +- .../examples/NetworkWatcherNextHopGet.json | 40 +- .../NetworkWatcherPacketCaptureCreate.json | 76 +- .../NetworkWatcherPacketCaptureDelete.json | 16 +- .../NetworkWatcherPacketCaptureGet.json | 50 +- ...etworkWatcherPacketCaptureQueryStatus.json | 44 +- .../NetworkWatcherPacketCaptureStop.json | 16 +- .../NetworkWatcherPacketCapturesList.json | 78 +- .../NetworkWatcherSecurityGroupViewGet.json | 192 +- .../examples/NetworkWatcherTopologyGet.json | 44 +- .../NetworkWatcherTroubleshootGet.json | 48 +- ...NetworkWatcherTroubleshootResultQuery.json | 80 +- .../examples/NetworkWatcherUpdateTags.json | 30 +- .../examples/P2SVpnGatewayDelete.json | 22 +- .../P2SVpnGatewayGenerateVpnProfile.json | 28 +- .../2019-04-01/examples/P2SVpnGatewayGet.json | 32 +- .../P2SVpnGatewayGetConnectionHealth.json | 35 +- .../examples/P2SVpnGatewayList.json | 92 +- .../P2SVpnGatewayListByResourceGroup.json | 92 +- .../2019-04-01/examples/P2SVpnGatewayPut.json | 58 +- .../examples/P2SVpnGatewayUpdateTags.json | 49 +- .../P2SVpnServerConfigurationDelete.json | 24 +- .../P2SVpnServerConfigurationGet.json | 118 +- .../P2SVpnServerConfigurationList.json | 110 +- .../P2SVpnServerConfigurationPut.json | 316 ++-- ...PeerExpressRouteCircuitConnectionList.json | 2 +- .../examples/PrivateEndpointCreate.json | 194 +- ...rivateEndpointCreateForManualApproval.json | 42 +- .../examples/PrivateEndpointDelete.json | 14 +- .../examples/PrivateEndpointGet.json | 92 +- .../PrivateEndpointGetForManualApproval.json | 30 +- .../examples/PrivateEndpointList.json | 166 +- .../examples/PrivateEndpointListAll.json | 228 +-- .../examples/PrivateLinkServiceCreate.json | 32 +- .../examples/PrivateLinkServiceDelete.json | 12 +- ...erviceDeletePrivateEndpointConnection.json | 14 +- .../examples/PrivateLinkServiceGet.json | 32 +- .../examples/PrivateLinkServiceList.json | 48 +- .../examples/PrivateLinkServiceListAll.json | 46 +- ...erviceUpdatePrivateEndpointConnection.json | 10 +- ...PublicIpAddressCreateCustomizedValues.json | 74 +- .../PublicIpAddressCreateDefaults.json | 62 +- .../examples/PublicIpAddressCreateDns.json | 70 +- .../examples/PublicIpAddressDelete.json | 12 +- .../examples/PublicIpAddressGet.json | 46 +- .../examples/PublicIpAddressList.json | 78 +- .../examples/PublicIpAddressListAll.json | 64 +- .../examples/PublicIpAddressUpdateTags.json | 32 +- .../PublicIpPrefixCreateCustomizedValues.json | 66 +- .../PublicIpPrefixCreateDefaults.json | 52 +- .../examples/PublicIpPrefixDelete.json | 14 +- .../examples/PublicIpPrefixGet.json | 35 +- .../examples/PublicIpPrefixList.json | 60 +- .../examples/PublicIpPrefixListAll.json | 56 +- .../examples/PublicIpPrefixUpdateTags.json | 28 +- .../examples/RouteFilterCreate.json | 172 +- .../examples/RouteFilterDelete.json | 6 +- .../2019-04-01/examples/RouteFilterList.json | 54 +- .../RouteFilterListByResourceGroup.json | 54 +- .../examples/RouteFilterRuleDelete.json | 6 +- .../2019-04-01/examples/RouteTableCreate.json | 22 +- .../examples/RouteTableCreateWithRoute.json | 18 +- .../2019-04-01/examples/RouteTableDelete.json | 16 +- .../2019-04-01/examples/RouteTableGet.json | 14 +- .../2019-04-01/examples/RouteTableList.json | 14 +- .../examples/RouteTableListAll.json | 12 +- .../examples/RouteTableRouteCreate.json | 18 +- .../examples/RouteTableRouteDelete.json | 16 +- .../examples/RouteTableRouteGet.json | 14 +- .../examples/RouteTableRouteList.json | 14 +- .../examples/RouteTableUpdateTags.json | 16 +- .../examples/ServiceCommunityList.json | 8 +- .../examples/ServiceEndpointPolicyCreate.json | 34 +- ...iceEndpointPolicyCreateWithDefinition.json | 90 +- ...ServiceEndpointPolicyDefinitionCreate.json | 58 +- ...ServiceEndpointPolicyDefinitionDelete.json | 16 +- .../ServiceEndpointPolicyDefinitionGet.json | 26 +- .../ServiceEndpointPolicyDefinitionList.json | 24 +- .../examples/ServiceEndpointPolicyDelete.json | 12 +- .../examples/ServiceEndpointPolicyGet.json | 58 +- .../examples/ServiceEndpointPolicyList.json | 80 +- .../ServiceEndpointPolicyListAll.json | 64 +- .../ServiceEndpointPolicyUpdateTags.json | 16 +- .../examples/SubnetCreateServiceEndpoint.json | 40 +- .../2019-04-01/examples/SubnetDelete.json | 6 +- .../2019-04-01/examples/VirtualHubDelete.json | 22 +- .../2019-04-01/examples/VirtualHubGet.json | 46 +- .../2019-04-01/examples/VirtualHubList.json | 102 +- .../VirtualHubListByResourceGroup.json | 102 +- .../2019-04-01/examples/VirtualHubPut.json | 100 +- .../examples/VirtualHubUpdateTags.json | 4 +- ...tualNetworkCheckIPAddressAvailability.json | 14 +- .../examples/VirtualNetworkCreate.json | 58 +- ...ualNetworkCreateServiceEndpointPolicy.json | 54 +- .../VirtualNetworkCreateServiceEndpoints.json | 54 +- .../examples/VirtualNetworkCreateSubnet.json | 54 +- ...etworkCreateSubnetWithAddressPrefixes.json | 54 +- ...tualNetworkCreateSubnetWithDelegation.json | 54 +- .../examples/VirtualNetworkDelete.json | 12 +- ...VirtualNetworkGatewayConnectionCreate.json | 254 +-- ...VirtualNetworkGatewayConnectionDelete.json | 22 +- .../VirtualNetworkGatewayConnectionGet.json | 74 +- ...lNetworkGatewayConnectionGetSharedKey.json | 24 +- ...etworkGatewayConnectionResetSharedKey.json | 30 +- ...lNetworkGatewayConnectionSetSharedKey.json | 36 +- ...ualNetworkGatewayConnectionUpdateTags.json | 12 +- .../VirtualNetworkGatewayConnectionsList.json | 132 +- .../examples/VirtualNetworkGatewayDelete.json | 22 +- ...etworkGatewayGenerateVpnClientPackage.json | 25 +- ...rtualNetworkGatewayGenerateVpnProfile.json | 25 +- .../examples/VirtualNetworkGatewayGet.json | 126 +- ...tualNetworkGatewayGetAdvertisedRoutes.json | 26 +- ...VirtualNetworkGatewayGetBGPPeerStatus.json | 24 +- ...orkGatewayGetVpnClientIpsecParameters.json | 34 +- ...NetworkGatewayGetVpnProfilePackageUrl.json | 22 +- ...rkGatewayGetVpnclientConnectionHealth.json | 86 +- .../VirtualNetworkGatewayLearnedRoutes.json | 24 +- .../examples/VirtualNetworkGatewayList.json | 234 +-- .../examples/VirtualNetworkGatewayReset.json | 108 +- ...NetworkGatewayResetVpnClientSharedKey.json | 22 +- ...orkGatewaySetVpnClientIpsecParameters.json | 43 +- ...rtualNetworkGatewaySupportedVpnDevice.json | 20 +- .../examples/VirtualNetworkGatewayUpdate.json | 306 ++-- .../VirtualNetworkGatewayUpdateTags.json | 16 +- ...rkGatewayVpnDeviceConfigurationScript.json | 28 +- .../examples/VirtualNetworkGet.json | 50 +- ...lNetworkGetWithServiceAssociationLink.json | 76 +- ...VirtualNetworkGetWithSubnetDelegation.json | 48 +- .../examples/VirtualNetworkList.json | 12 +- .../examples/VirtualNetworkListAll.json | 10 +- .../examples/VirtualNetworkPeeringDelete.json | 6 +- .../examples/VirtualNetworkTapCreate.json | 60 +- .../examples/VirtualNetworkTapDelete.json | 12 +- .../examples/VirtualNetworkTapGet.json | 36 +- .../examples/VirtualNetworkTapList.json | 58 +- .../examples/VirtualNetworkTapListAll.json | 58 +- .../examples/VirtualNetworkTapUpdateTags.json | 40 +- .../examples/VirtualNetworkUpdateTags.json | 34 +- .../2019-04-01/examples/VirtualWANDelete.json | 22 +- .../2019-04-01/examples/VirtualWANGet.json | 60 +- .../2019-04-01/examples/VirtualWANList.json | 84 +- .../VirtualWANListByResourceGroup.json | 84 +- .../2019-04-01/examples/VirtualWANPut.json | 120 +- .../examples/VirtualWANUpdateTags.json | 118 +- .../examples/VmssNetworkInterfaceGet.json | 80 +- .../VmssNetworkInterfaceIpConfigGet.json | 12 +- .../VmssNetworkInterfaceIpConfigList.json | 12 +- .../examples/VmssNetworkInterfaceList.json | 16 +- .../examples/VmssVmNetworkInterfaceList.json | 12 +- .../examples/VpnConnectionDelete.json | 6 +- .../2019-04-01/examples/VpnConnectionGet.json | 4 +- .../examples/VpnConnectionList.json | 2 +- .../2019-04-01/examples/VpnConnectionPut.json | 10 +- .../2019-04-01/examples/VpnGatewayDelete.json | 8 +- .../2019-04-01/examples/VpnGatewayGet.json | 2 +- .../2019-04-01/examples/VpnGatewayList.json | 4 +- .../VpnGatewayListByResourceGroup.json | 4 +- .../2019-04-01/examples/VpnGatewayPut.json | 4 +- .../2019-04-01/examples/VpnGatewayReset.json | 4 +- .../examples/VpnGatewayUpdateTags.json | 4 +- .../2019-04-01/examples/VpnSiteDelete.json | 6 +- .../examples/WafListAllPolicies.json | 40 +- .../2019-04-01/examples/WafListPolicies.json | 40 +- .../examples/WafPolicyCreateOrUpdate.json | 82 +- .../2019-04-01/examples/WafPolicyDelete.json | 2 +- .../2019-04-01/examples/WafPolicyGet.json | 40 +- .../2019-04-01/expressRouteCircuit.json | 96 +- .../expressRouteCrossConnection.json | 84 +- .../2019-04-01/expressRouteGateway.json | 1222 ++++++------- .../stable/2019-04-01/expressRoutePort.json | 1468 +++++++-------- .../stable/2019-04-01/loadBalancer.json | 113 +- .../stable/2019-04-01/natGateway.json | 26 +- .../stable/2019-04-01/network.json | 17 +- .../stable/2019-04-01/networkInterface.json | 93 +- .../stable/2019-04-01/networkProfile.json | 2 +- .../2019-04-01/networkSecurityGroup.json | 54 +- .../stable/2019-04-01/networkWatcher.json | 116 +- .../stable/2019-04-01/operation.json | 6 +- .../stable/2019-04-01/privateEndpoint.json | 836 ++++----- .../stable/2019-04-01/privateLinkService.json | 42 +- .../stable/2019-04-01/publicIpAddress.json | 36 +- .../stable/2019-04-01/publicIpPrefix.json | 772 ++++---- .../stable/2019-04-01/routeFilter.json | 1574 +++++++++-------- .../stable/2019-04-01/routeTable.json | 44 +- .../stable/2019-04-01/serviceCommunity.json | 6 +- .../2019-04-01/serviceEndpointPolicy.json | 48 +- .../stable/2019-04-01/usage.json | 8 +- .../stable/2019-04-01/virtualNetwork.json | 110 +- .../2019-04-01/virtualNetworkGateway.json | 158 +- .../stable/2019-04-01/virtualNetworkTap.json | 564 +++--- .../stable/2019-04-01/virtualWan.json | 52 +- .../2019-04-01/vmssNetworkInterface.json | 20 +- .../2019-04-01/vmssPublicIpAddress.json | 14 +- .../2019-04-01/webapplicationfirewall.json | 4 +- 693 files changed, 26954 insertions(+), 25781 deletions(-) diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/applicationGateway.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/applicationGateway.json index 599a5413aaa8..e51f1b089d1e 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/applicationGateway.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/applicationGateway.json @@ -571,7 +571,7 @@ } }, "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableRequestHeaders": { - "get": { + "get": { "tags": [ "ApplicationGateways" ], @@ -816,11 +816,11 @@ "properties": { "backendAddressPool": { "$ref": "#/definitions/ApplicationGatewayBackendAddressPool", - "description": "Reference of an ApplicationGatewayBackendAddressPool resource." + "description": "Reference of an ApplicationGatewayBackendAddressPool resource." }, "backendHealthHttpSettings": { "$ref": "#/definitions/ApplicationGatewayBackendHealthHttpSettings", - "description": "Application gateway BackendHealthHttp settings." + "description": "Application gateway BackendHealthHttp settings." } }, "description": "Result of on demand test probe" @@ -1454,7 +1454,7 @@ "$ref": "#/definitions/ApplicationGatewayCustomError" }, "description": "Custom error configurations of the HTTP listener." - } + } }, "description": "Properties of HTTP listener of an application gateway." }, @@ -2058,7 +2058,7 @@ "$ref": "#/definitions/ApplicationGatewayCustomError" }, "description": "Custom error configurations of the application gateway resource." - } + } }, "description": "Properties of the application gateway." }, @@ -2310,21 +2310,21 @@ ], "description": "Allows to disable rules within a rule group or an entire rule group." }, - "ApplicationGatewayAvailableServerVariablesResult": { + "ApplicationGatewayAvailableServerVariablesResult": { "type": "array", "items": { "type": "string" }, "description": "Response for ApplicationGatewayAvailableServerVariables API service call." }, - "ApplicationGatewayAvailableRequestHeadersResult": { + "ApplicationGatewayAvailableRequestHeadersResult": { "type": "array", "items": { "type": "string" }, "description": "Response for ApplicationGatewayAvailableRequestHeaders API service call." }, - "ApplicationGatewayAvailableResponseHeadersResult": { + "ApplicationGatewayAvailableResponseHeadersResult": { "type": "array", "items": { "type": "string" @@ -2546,7 +2546,7 @@ }, "description": "Properties of ApplicationGatewaySslPredefinedPolicy" }, - "ApplicationGatewayCustomError": { + "ApplicationGatewayCustomError": { "properties": { "statusCode": { "type": "string", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/applicationSecurityGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/applicationSecurityGroup.json index 7fc03bfb6e5c..eaf1f1371808 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/applicationSecurityGroup.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/applicationSecurityGroup.json @@ -79,7 +79,9 @@ "final-state-via": "location" }, "x-ms-examples": { - "Delete application security group": { "$ref": "./examples/ApplicationSecurityGroupDelete.json" } + "Delete application security group": { + "$ref": "./examples/ApplicationSecurityGroupDelete.json" + } } }, "get": { @@ -119,7 +121,9 @@ } }, "x-ms-examples": { - "Get application security group": { "$ref": "./examples/ApplicationSecurityGroupGet.json" } + "Get application security group": { + "$ref": "./examples/ApplicationSecurityGroupGet.json" + } } }, "put": { @@ -178,7 +182,9 @@ "final-state-via": "azure-async-operation" }, "x-ms-examples": { - "Create application security group": { "$ref": "./examples/ApplicationSecurityGroupCreate.json" } + "Create application security group": { + "$ref": "./examples/ApplicationSecurityGroupCreate.json" + } } }, "patch": { @@ -228,7 +234,9 @@ }, "x-ms-long-running-operation": true, "x-ms-examples": { - "Update application security group tags": { "$ref": "./examples/ApplicationSecurityGroupUpdateTags.json" } + "Update application security group tags": { + "$ref": "./examples/ApplicationSecurityGroupUpdateTags.json" + } } } }, @@ -259,7 +267,9 @@ "nextLinkName": "nextLink" }, "x-ms-examples": { - "List all application security groups": { "$ref": "./examples/ApplicationSecurityGroupListAll.json" } + "List all application security groups": { + "$ref": "./examples/ApplicationSecurityGroupListAll.json" + } } } }, @@ -294,7 +304,9 @@ } }, "x-ms-examples": { - "List load balancers in resource group": { "$ref": "./examples/ApplicationSecurityGroupList.json" } + "List load balancers in resource group": { + "$ref": "./examples/ApplicationSecurityGroupList.json" + } }, "x-ms-pageable": { "nextLinkName": "nextLink" diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/azureFirewall.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/azureFirewall.json index 45b4d1bb233f..33076c104430 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/azureFirewall.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/azureFirewall.json @@ -1,779 +1,779 @@ { - "swagger":"2.0", - "info":{ - "title":"NetworkManagementClient", - "description":"The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.", - "version": "2019-02-01" - }, - "host":"management.azure.com", - "schemes":[ - "https" - ], - "consumes":[ - "application/json" - ], - "produces":[ - "application/json" - ], - "security":[ - { - "azure_auth":[ - "user_impersonation" - ] + "swagger": "2.0", + "info": { + "title": "NetworkManagementClient", + "description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.", + "version": "2019-02-01" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" } - ], - "securityDefinitions":{ - "azure_auth":{ - "type":"oauth2", - "authorizationUrl":"https://login.microsoftonline.com/common/oauth2/authorize", - "flow":"implicit", - "description":"Azure Active Directory OAuth2 Flow", - "scopes":{ - "user_impersonation":"impersonate your user account" - } - } - }, - "paths":{ - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/azureFirewalls/{azureFirewallName}":{ - "delete":{ - "tags":[ - "AzureFirewalls" - ], - "operationId":"AzureFirewalls_Delete", - "description":"Deletes the specified Azure Firewall.", - "parameters":[ - { - "name":"resourceGroupName", - "in":"path", - "required":true, - "type":"string", - "description":"The name of the resource group." - }, - { - "name":"azureFirewallName", - "in":"path", - "required":true, - "type":"string", - "description":"The name of the Azure Firewall." - }, - { - "$ref":"./network.json#/parameters/ApiVersionParameter" - }, - { - "$ref":"./network.json#/parameters/SubscriptionIdParameter" - } - ], - "responses":{ - "202":{ - "description":"Accepted and the operation will complete asynchronously." - }, - "204":{ - "description":"Request successful. Resource with the specified name does not exist" - }, - "200":{ - "description":"Delete successful." - } - }, - "x-ms-examples":{ - "Delete Azure Firewall":{ - "$ref":"./examples/AzureFirewallDelete.json" - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - } - }, - "get":{ - "tags":[ - "AzureFirewalls" - ], - "operationId":"AzureFirewalls_Get", - "description":"Gets the specified Azure Firewall.", - "parameters":[ - { - "name":"resourceGroupName", - "in":"path", - "required":true, - "type":"string", - "description":"The name of the resource group." - }, - { - "name":"azureFirewallName", - "in":"path", - "required":true, - "type":"string", - "description":"The name of the Azure Firewall." - }, - { - "$ref":"./network.json#/parameters/ApiVersionParameter" - }, - { - "$ref":"./network.json#/parameters/SubscriptionIdParameter" - } - ], - "responses":{ - "200":{ - "description":"Request successful. The operation returns an AzureFirewall resource.", - "schema":{ - "$ref":"#/definitions/AzureFirewall" - } - } - }, - "x-ms-examples":{ - "Get Azure Firewall":{ - "$ref":"./examples/AzureFirewallGet.json" - } - } - }, - "put":{ - "tags":[ - "AzureFirewalls" - ], - "operationId":"AzureFirewalls_CreateOrUpdate", - "description":"Creates or updates the specified Azure Firewall.", - "parameters":[ - { - "name":"resourceGroupName", - "in":"path", - "required":true, - "type":"string", - "description":"The name of the resource group." - }, - { - "name":"azureFirewallName", - "in":"path", - "required":true, - "type":"string", - "description":"The name of the Azure Firewall." - }, - { - "name":"parameters", - "in":"body", - "required":true, - "schema":{ - "$ref":"#/definitions/AzureFirewall" - }, - "description":"Parameters supplied to the create or update Azure Firewall operation." - }, - { - "$ref":"./network.json#/parameters/ApiVersionParameter" - }, - { - "$ref":"./network.json#/parameters/SubscriptionIdParameter" - } - ], - "responses":{ - "201":{ - "description":"Create successful. The operation returns the resulting AzureFirewall resource.", - "schema":{ - "$ref":"#/definitions/AzureFirewall" - } - }, - "200":{ - "description":"Update successful. The operation returns the resulting AzureFirewall resource.", - "schema":{ - "$ref":"#/definitions/AzureFirewall" - } - } - }, - "x-ms-examples":{ - "Create Azure Firewall":{ - "$ref":"./examples/AzureFirewallPut.json" - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - } - } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/azureFirewalls/{azureFirewallName}": { + "delete": { + "tags": [ + "AzureFirewalls" + ], + "operationId": "AzureFirewalls_Delete", + "description": "Deletes the specified Azure Firewall.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "azureFirewallName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Azure Firewall." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "202": { + "description": "Accepted and the operation will complete asynchronously." + }, + "204": { + "description": "Request successful. Resource with the specified name does not exist" + }, + "200": { + "description": "Delete successful." + } + }, + "x-ms-examples": { + "Delete Azure Firewall": { + "$ref": "./examples/AzureFirewallDelete.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/azureFirewalls":{ - "get":{ - "tags":[ - "AzureFirewalls" - ], - "operationId":"AzureFirewalls_List", - "description":"Lists all Azure Firewalls in a resource group.", - "parameters":[ - { - "name":"resourceGroupName", - "in":"path", - "required":true, - "type":"string", - "description":"The name of the resource group." - }, - { - "$ref":"./network.json#/parameters/ApiVersionParameter" - }, - { - "$ref":"./network.json#/parameters/SubscriptionIdParameter" - } - ], - "responses":{ - "200":{ - "description":"Success. The operation returns a list of AzureFirewall resources.", - "schema":{ - "$ref":"#/definitions/AzureFirewallListResult" - } - } - }, - "x-ms-examples":{ - "List all Azure Firewalls for a given resource group":{ - "$ref":"./examples/AzureFirewallListByResourceGroup.json" - } - }, - "x-ms-pageable":{ - "nextLinkName":"nextLink" + "get": { + "tags": [ + "AzureFirewalls" + ], + "operationId": "AzureFirewalls_Get", + "description": "Gets the specified Azure Firewall.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "azureFirewallName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Azure Firewall." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns an AzureFirewall resource.", + "schema": { + "$ref": "#/definitions/AzureFirewall" } - } + } + }, + "x-ms-examples": { + "Get Azure Firewall": { + "$ref": "./examples/AzureFirewallGet.json" + } + } }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Network/azureFirewalls":{ - "get":{ - "tags":[ - "AzureFirewalls" - ], - "operationId":"AzureFirewalls_ListAll", - "description":"Gets all the Azure Firewalls in a subscription.", - "parameters":[ - { - "$ref":"./network.json#/parameters/ApiVersionParameter" - }, - { - "$ref":"./network.json#/parameters/SubscriptionIdParameter" - } - ], - "responses":{ - "200":{ - "description":"Success. The operation returns a list of AzureFirewall resources.", - "schema":{ - "$ref":"#/definitions/AzureFirewallListResult" - } - } - }, - "x-ms-examples":{ - "List all Azure Firewalls for a given subscription":{ - "$ref":"./examples/AzureFirewallListBySubscription.json" - } - }, - "x-ms-pageable":{ - "nextLinkName":"nextLink" + "put": { + "tags": [ + "AzureFirewalls" + ], + "operationId": "AzureFirewalls_CreateOrUpdate", + "description": "Creates or updates the specified Azure Firewall.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "azureFirewallName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Azure Firewall." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/AzureFirewall" + }, + "description": "Parameters supplied to the create or update Azure Firewall operation." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "201": { + "description": "Create successful. The operation returns the resulting AzureFirewall resource.", + "schema": { + "$ref": "#/definitions/AzureFirewall" } - } - } - }, - "definitions":{ - "AzureFirewallIPConfigurationPropertiesFormat":{ - "properties":{ - "privateIPAddress": { - "type": "string", - "readOnly": true, - "description": "The Firewall Internal Load Balancer IP to be used as the next hop in User Defined Routes." - }, - "subnet":{ - "$ref":"./network.json#/definitions/SubResource", - "description":"Reference of the subnet resource. This resource must be named 'AzureFirewallSubnet'." - }, - "publicIPAddress": { - "$ref": "./network.json#/definitions/SubResource", - "description": "Reference of the PublicIP resource. This field is a mandatory input if subnet is not null." - }, - "provisioningState":{ - "description":"The provisioning state of the resource.", - "$ref":"./network.json#/definitions/ProvisioningState" + }, + "200": { + "description": "Update successful. The operation returns the resulting AzureFirewall resource.", + "schema": { + "$ref": "#/definitions/AzureFirewall" } - }, - "description":"Properties of IP configuration of an Azure Firewall." - }, - "AzureFirewallIPConfiguration":{ - "properties":{ - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/AzureFirewallIPConfigurationPropertiesFormat", - "description": "Properties of the azure firewall IP configuration." - }, - "name":{ - "type":"string", - "description":"Name of the resource that is unique within a resource group. This name can be used to access the resource." - }, - "etag":{ - "type":"string", - "readOnly": true, - "description":"A unique read-only string that changes whenever the resource is updated." - } - }, - "allOf":[ - { - "$ref":"./network.json#/definitions/SubResource" - } - ], - "description":"IP configuration of an Azure Firewall." - }, - "AzureFirewallPropertiesFormat":{ - "properties":{ - "applicationRuleCollections":{ - "type":"array", - "items":{ - "$ref":"#/definitions/AzureFirewallApplicationRuleCollection" - }, - "description":"Collection of application rule collections used by Azure Firewall." - }, - "natRuleCollections":{ - "type":"array", - "items":{ - "$ref":"#/definitions/AzureFirewallNatRuleCollection" - }, - "description":"Collection of NAT rule collections used by Azure Firewall." - }, - "networkRuleCollections":{ - "type":"array", - "items":{ - "$ref":"#/definitions/AzureFirewallNetworkRuleCollection" - }, - "description":"Collection of network rule collections used by Azure Firewall." - }, - "ipConfigurations":{ - "type":"array", - "items":{ - "$ref":"#/definitions/AzureFirewallIPConfiguration" - }, - "description":"IP configuration of the Azure Firewall resource." - }, - "provisioningState":{ - "description":"The provisioning state of the resource.", - "$ref":"./network.json#/definitions/ProvisioningState" - }, - "threatIntelMode":{ - "description":"The operation mode for Threat Intelligence.", - "$ref":"#/definitions/AzureFirewallThreatIntelMode" - } - }, - "description":"Properties of the Azure Firewall." - }, - "AzureFirewall":{ - "properties":{ - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/AzureFirewallPropertiesFormat", - "description": "Properties of the azure firewall." - }, - "etag":{ - "type":"string", - "readOnly":true, - "description":"Gets a unique read-only string that changes whenever the resource is updated." + } + }, + "x-ms-examples": { + "Create Azure Firewall": { + "$ref": "./examples/AzureFirewallPut.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/azureFirewalls": { + "get": { + "tags": [ + "AzureFirewalls" + ], + "operationId": "AzureFirewalls_List", + "description": "Lists all Azure Firewalls in a resource group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Success. The operation returns a list of AzureFirewall resources.", + "schema": { + "$ref": "#/definitions/AzureFirewallListResult" } - }, - "allOf":[ - { - "$ref":"./network.json#/definitions/Resource" + } + }, + "x-ms-examples": { + "List all Azure Firewalls for a given resource group": { + "$ref": "./examples/AzureFirewallListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/azureFirewalls": { + "get": { + "tags": [ + "AzureFirewalls" + ], + "operationId": "AzureFirewalls_ListAll", + "description": "Gets all the Azure Firewalls in a subscription.", + "parameters": [ + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Success. The operation returns a list of AzureFirewall resources.", + "schema": { + "$ref": "#/definitions/AzureFirewallListResult" } - ], - "description":"Azure Firewall resource" + } + }, + "x-ms-examples": { + "List all Azure Firewalls for a given subscription": { + "$ref": "./examples/AzureFirewallListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + } + }, + "definitions": { + "AzureFirewallIPConfigurationPropertiesFormat": { + "properties": { + "privateIPAddress": { + "type": "string", + "readOnly": true, + "description": "The Firewall Internal Load Balancer IP to be used as the next hop in User Defined Routes." + }, + "subnet": { + "$ref": "./network.json#/definitions/SubResource", + "description": "Reference of the subnet resource. This resource must be named 'AzureFirewallSubnet'." + }, + "publicIPAddress": { + "$ref": "./network.json#/definitions/SubResource", + "description": "Reference of the PublicIP resource. This field is a mandatory input if subnet is not null." + }, + "provisioningState": { + "description": "The provisioning state of the resource.", + "$ref": "./network.json#/definitions/ProvisioningState" + } }, - "AzureFirewallListResult":{ - "properties":{ - "value":{ - "type":"array", - "items":{ - "$ref":"#/definitions/AzureFirewall" - }, - "description":"List of Azure Firewalls in a resource group." - }, - "nextLink":{ - "type":"string", - "description":"URL to get the next set of results." - } - }, - "description":"Response for ListAzureFirewalls API service call." + "description": "Properties of IP configuration of an Azure Firewall." + }, + "AzureFirewallIPConfiguration": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/AzureFirewallIPConfigurationPropertiesFormat", + "description": "Properties of the azure firewall IP configuration." + }, + "name": { + "type": "string", + "description": "Name of the resource that is unique within a resource group. This name can be used to access the resource." + }, + "etag": { + "type": "string", + "readOnly": true, + "description": "A unique read-only string that changes whenever the resource is updated." + } }, - "AzureFirewallThreatIntelMode":{ - "type":"string", - "description":"The operation mode for Threat Intel", - "enum":[ - "Alert", - "Deny", - "Off" - ], - "x-ms-enum":{ - "name":"AzureFirewallThreatIntelMode", - "modelAsString":true - } + "allOf": [ + { + "$ref": "./network.json#/definitions/SubResource" + } + ], + "description": "IP configuration of an Azure Firewall." + }, + "AzureFirewallPropertiesFormat": { + "properties": { + "applicationRuleCollections": { + "type": "array", + "items": { + "$ref": "#/definitions/AzureFirewallApplicationRuleCollection" + }, + "description": "Collection of application rule collections used by Azure Firewall." + }, + "natRuleCollections": { + "type": "array", + "items": { + "$ref": "#/definitions/AzureFirewallNatRuleCollection" + }, + "description": "Collection of NAT rule collections used by Azure Firewall." + }, + "networkRuleCollections": { + "type": "array", + "items": { + "$ref": "#/definitions/AzureFirewallNetworkRuleCollection" + }, + "description": "Collection of network rule collections used by Azure Firewall." + }, + "ipConfigurations": { + "type": "array", + "items": { + "$ref": "#/definitions/AzureFirewallIPConfiguration" + }, + "description": "IP configuration of the Azure Firewall resource." + }, + "provisioningState": { + "description": "The provisioning state of the resource.", + "$ref": "./network.json#/definitions/ProvisioningState" + }, + "threatIntelMode": { + "description": "The operation mode for Threat Intelligence.", + "$ref": "#/definitions/AzureFirewallThreatIntelMode" + } }, - "AzureFirewallApplicationRuleCollectionPropertiesFormat":{ - "properties":{ - "priority":{ - "type":"integer", - "format":"int32", - "maximum":65000, - "exclusiveMaximum":false, - "minimum":100, - "exclusiveMinimum":false, - "description":"Priority of the application rule collection resource." - }, - "action":{ - "$ref":"#/definitions/AzureFirewallRCAction", - "description":"The action type of a rule collection" - }, - "rules":{ - "type":"array", - "items":{ - "$ref":"#/definitions/AzureFirewallApplicationRule" - }, - "description":"Collection of rules used by a application rule collection." - }, - "provisioningState":{ - "description":"The provisioning state of the resource.", - "$ref":"./network.json#/definitions/ProvisioningState" - } - }, - "description":"Properties of the application rule collection." + "description": "Properties of the Azure Firewall." + }, + "AzureFirewall": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/AzureFirewallPropertiesFormat", + "description": "Properties of the azure firewall." + }, + "etag": { + "type": "string", + "readOnly": true, + "description": "Gets a unique read-only string that changes whenever the resource is updated." + } }, - "AzureFirewallApplicationRuleCollection":{ - "properties":{ - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/AzureFirewallApplicationRuleCollectionPropertiesFormat", - "description": "Properties of the azure firewall application rule collection." - }, - "name":{ - "type":"string", - "description":"Gets name of the resource that is unique within a resource group. This name can be used to access the resource." - }, - "etag":{ - "type":"string", - "readOnly":true, - "description":"Gets a unique read-only string that changes whenever the resource is updated." - } - }, - "allOf":[ - { - "$ref":"./network.json#/definitions/SubResource" - } - ], - "description":"Application rule collection resource" + "allOf": [ + { + "$ref": "./network.json#/definitions/Resource" + } + ], + "description": "Azure Firewall resource" + }, + "AzureFirewallListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/AzureFirewall" + }, + "description": "List of Azure Firewalls in a resource group." + }, + "nextLink": { + "type": "string", + "description": "URL to get the next set of results." + } }, - "AzureFirewallApplicationRuleProtocol":{ - "properties":{ - "protocolType":{ - "description":"Protocol type", - "$ref":"#/definitions/AzureFirewallApplicationRuleProtocolType" - }, - "port":{ - "type":"integer", - "format":"int32", - "maximum":64000, - "exclusiveMaximum":false, - "minimum":0, - "exclusiveMinimum":false, - "description":"Port number for the protocol, cannot be greater than 64000. This field is optional." - } - }, - "description":"Properties of the application rule protocol." - }, - "AzureFirewallApplicationRule":{ - "properties":{ - "name":{ - "type":"string", - "description":"Name of the application rule." - }, - "description":{ - "type":"string", - "description":"Description of the rule." - }, - "sourceAddresses":{ - "type":"array", - "description":"List of source IP addresses for this rule.", - "items":{ - "type":"string" - } - }, - "protocols":{ - "type":"array", - "items":{ - "$ref":"#/definitions/AzureFirewallApplicationRuleProtocol" - }, - "description":"Array of ApplicationRuleProtocols." - }, - "targetFqdns":{ - "type":"array", - "description":"List of FQDNs for this rule.", - "items":{ - "type":"string" - } - }, - "fqdnTags":{ - "type":"array", - "description":"List of FQDN Tags for this rule.", - "items":{ - "type":"string" - } - } - }, - "description":"Properties of an application rule." + "description": "Response for ListAzureFirewalls API service call." + }, + "AzureFirewallThreatIntelMode": { + "type": "string", + "description": "The operation mode for Threat Intel", + "enum": [ + "Alert", + "Deny", + "Off" + ], + "x-ms-enum": { + "name": "AzureFirewallThreatIntelMode", + "modelAsString": true + } + }, + "AzureFirewallApplicationRuleCollectionPropertiesFormat": { + "properties": { + "priority": { + "type": "integer", + "format": "int32", + "maximum": 65000, + "exclusiveMaximum": false, + "minimum": 100, + "exclusiveMinimum": false, + "description": "Priority of the application rule collection resource." + }, + "action": { + "$ref": "#/definitions/AzureFirewallRCAction", + "description": "The action type of a rule collection" + }, + "rules": { + "type": "array", + "items": { + "$ref": "#/definitions/AzureFirewallApplicationRule" + }, + "description": "Collection of rules used by a application rule collection." + }, + "provisioningState": { + "description": "The provisioning state of the resource.", + "$ref": "./network.json#/definitions/ProvisioningState" + } }, - "AzureFirewallNatRuleCollectionProperties": { - "properties":{ - "priority":{ - "type":"integer", - "format":"int32", - "maximum":65000, - "exclusiveMaximum":false, - "minimum":100, - "exclusiveMinimum":false, - "description":"Priority of the NAT rule collection resource." - }, - "action":{ - "$ref":"#/definitions/AzureFirewallNatRCAction", - "description":"The action type of a NAT rule collection" - }, - "rules":{ - "type":"array", - "items":{ - "$ref":"#/definitions/AzureFirewallNatRule" - }, - "description":"Collection of rules used by a NAT rule collection." - }, - "provisioningState":{ - "description":"The provisioning state of the resource.", - "$ref":"./network.json#/definitions/ProvisioningState" - } - }, - "description":"Properties of the NAT rule collection." + "description": "Properties of the application rule collection." + }, + "AzureFirewallApplicationRuleCollection": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/AzureFirewallApplicationRuleCollectionPropertiesFormat", + "description": "Properties of the azure firewall application rule collection." + }, + "name": { + "type": "string", + "description": "Gets name of the resource that is unique within a resource group. This name can be used to access the resource." + }, + "etag": { + "type": "string", + "readOnly": true, + "description": "Gets a unique read-only string that changes whenever the resource is updated." + } }, - "AzureFirewallNatRuleCollection":{ - "properties":{ - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/AzureFirewallNatRuleCollectionProperties", - "description": "Properties of the azure firewall NAT rule collection." - }, - "name":{ - "type":"string", - "description":"Gets name of the resource that is unique within a resource group. This name can be used to access the resource." - }, - "etag":{ - "type":"string", - "readOnly":true, - "description":"Gets a unique read-only string that changes whenever the resource is updated." - } - }, - "allOf":[ - { - "$ref":"./network.json#/definitions/SubResource" - } - ], - "description":"NAT rule collection resource" + "allOf": [ + { + "$ref": "./network.json#/definitions/SubResource" + } + ], + "description": "Application rule collection resource" + }, + "AzureFirewallApplicationRuleProtocol": { + "properties": { + "protocolType": { + "description": "Protocol type", + "$ref": "#/definitions/AzureFirewallApplicationRuleProtocolType" + }, + "port": { + "type": "integer", + "format": "int32", + "maximum": 64000, + "exclusiveMaximum": false, + "minimum": 0, + "exclusiveMinimum": false, + "description": "Port number for the protocol, cannot be greater than 64000. This field is optional." + } }, - "AzureFirewallNatRule":{ - "properties":{ - "name":{ - "type":"string", - "description":"Name of the NAT rule." - }, - "description":{ - "type":"string", - "description":"Description of the rule." - }, - "sourceAddresses":{ - "type":"array", - "description":"List of source IP addresses for this rule.", - "items":{ - "type":"string" - } - }, - "destinationAddresses":{ - "type":"array", - "description":"List of destination IP addresses for this rule. Supports IP ranges, prefixes, and service tags.", - "items":{ - "type":"string" - } - }, - "destinationPorts":{ - "type":"array", - "description":"List of destination ports.", - "items":{ - "type":"string" - } - }, - "protocols":{ - "type":"array", - "items":{ - "$ref":"#/definitions/AzureFirewallNetworkRuleProtocol" - }, - "description":"Array of AzureFirewallNetworkRuleProtocols applicable to this NAT rule." - }, - "translatedAddress":{ - "type":"string", - "description":"The translated address for this NAT rule." - }, - "translatedPort":{ - "type":"string", - "description":"The translated port for this NAT rule." - } - }, - "description":"Properties of a NAT rule." + "description": "Properties of the application rule protocol." + }, + "AzureFirewallApplicationRule": { + "properties": { + "name": { + "type": "string", + "description": "Name of the application rule." + }, + "description": { + "type": "string", + "description": "Description of the rule." + }, + "sourceAddresses": { + "type": "array", + "description": "List of source IP addresses for this rule.", + "items": { + "type": "string" + } + }, + "protocols": { + "type": "array", + "items": { + "$ref": "#/definitions/AzureFirewallApplicationRuleProtocol" + }, + "description": "Array of ApplicationRuleProtocols." + }, + "targetFqdns": { + "type": "array", + "description": "List of FQDNs for this rule.", + "items": { + "type": "string" + } + }, + "fqdnTags": { + "type": "array", + "description": "List of FQDN Tags for this rule.", + "items": { + "type": "string" + } + } }, - "AzureFirewallNatRCAction":{ - "properties":{ - "type":{ - "description":"The type of action.", - "$ref":"#/definitions/AzureFirewallNatRCActionType" - } - }, - "description":"AzureFirewall NAT Rule Collection Action." + "description": "Properties of an application rule." + }, + "AzureFirewallNatRuleCollectionProperties": { + "properties": { + "priority": { + "type": "integer", + "format": "int32", + "maximum": 65000, + "exclusiveMaximum": false, + "minimum": 100, + "exclusiveMinimum": false, + "description": "Priority of the NAT rule collection resource." + }, + "action": { + "$ref": "#/definitions/AzureFirewallNatRCAction", + "description": "The action type of a NAT rule collection" + }, + "rules": { + "type": "array", + "items": { + "$ref": "#/definitions/AzureFirewallNatRule" + }, + "description": "Collection of rules used by a NAT rule collection." + }, + "provisioningState": { + "description": "The provisioning state of the resource.", + "$ref": "./network.json#/definitions/ProvisioningState" + } }, - "AzureFirewallNatRCActionType":{ - "type":"string", - "description":"The action type of a NAT rule collection", - "enum":[ - "Snat", - "Dnat" - ], - "x-ms-enum":{ - "name":"AzureFirewallNatRCActionType", - "modelAsString":true - } + "description": "Properties of the NAT rule collection." + }, + "AzureFirewallNatRuleCollection": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/AzureFirewallNatRuleCollectionProperties", + "description": "Properties of the azure firewall NAT rule collection." + }, + "name": { + "type": "string", + "description": "Gets name of the resource that is unique within a resource group. This name can be used to access the resource." + }, + "etag": { + "type": "string", + "readOnly": true, + "description": "Gets a unique read-only string that changes whenever the resource is updated." + } }, - "AzureFirewallNetworkRuleCollectionPropertiesFormat":{ - "properties":{ - "priority":{ - "type":"integer", - "format":"int32", - "maximum":65000, - "exclusiveMaximum":false, - "minimum":100, - "exclusiveMinimum":false, - "description":"Priority of the network rule collection resource." - }, - "action":{ - "$ref":"#/definitions/AzureFirewallRCAction", - "description":"The action type of a rule collection" - }, - "rules":{ - "type":"array", - "items":{ - "$ref":"#/definitions/AzureFirewallNetworkRule" - }, - "description":"Collection of rules used by a network rule collection." - }, - "provisioningState":{ - "description":"The provisioning state of the resource.", - "$ref":"./network.json#/definitions/ProvisioningState" - } - }, - "description":"Properties of the network rule collection." + "allOf": [ + { + "$ref": "./network.json#/definitions/SubResource" + } + ], + "description": "NAT rule collection resource" + }, + "AzureFirewallNatRule": { + "properties": { + "name": { + "type": "string", + "description": "Name of the NAT rule." + }, + "description": { + "type": "string", + "description": "Description of the rule." + }, + "sourceAddresses": { + "type": "array", + "description": "List of source IP addresses for this rule.", + "items": { + "type": "string" + } + }, + "destinationAddresses": { + "type": "array", + "description": "List of destination IP addresses for this rule. Supports IP ranges, prefixes, and service tags.", + "items": { + "type": "string" + } + }, + "destinationPorts": { + "type": "array", + "description": "List of destination ports.", + "items": { + "type": "string" + } + }, + "protocols": { + "type": "array", + "items": { + "$ref": "#/definitions/AzureFirewallNetworkRuleProtocol" + }, + "description": "Array of AzureFirewallNetworkRuleProtocols applicable to this NAT rule." + }, + "translatedAddress": { + "type": "string", + "description": "The translated address for this NAT rule." + }, + "translatedPort": { + "type": "string", + "description": "The translated port for this NAT rule." + } }, - "AzureFirewallNetworkRuleCollection":{ - "properties":{ - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/AzureFirewallNetworkRuleCollectionPropertiesFormat", - "description": "Properties of the azure firewall network rule collection." - }, - "name":{ - "type":"string", - "description":"Gets name of the resource that is unique within a resource group. This name can be used to access the resource." - }, - "etag":{ - "type":"string", - "readOnly":true, - "description":"Gets a unique read-only string that changes whenever the resource is updated." - } - }, - "allOf":[ - { - "$ref":"./network.json#/definitions/SubResource" - } - ], - "description":"Network rule collection resource" + "description": "Properties of a NAT rule." + }, + "AzureFirewallNatRCAction": { + "properties": { + "type": { + "description": "The type of action.", + "$ref": "#/definitions/AzureFirewallNatRCActionType" + } }, - "AzureFirewallNetworkRule":{ - "properties":{ - "name":{ - "type":"string", - "description":"Name of the network rule." - }, - "description":{ - "type":"string", - "description":"Description of the rule." - }, - "protocols":{ - "type":"array", - "items":{ - "$ref":"#/definitions/AzureFirewallNetworkRuleProtocol" - }, - "description":"Array of AzureFirewallNetworkRuleProtocols." - }, - "sourceAddresses":{ - "type":"array", - "description":"List of source IP addresses for this rule.", - "items":{ - "type":"string" - } - }, - "destinationAddresses":{ - "type":"array", - "description":"List of destination IP addresses.", - "items":{ - "type":"string" - } - }, - "destinationPorts":{ - "type":"array", - "description":"List of destination ports.", - "items":{ - "type":"string" - } - } - }, - "description":"Properties of the network rule." + "description": "AzureFirewall NAT Rule Collection Action." + }, + "AzureFirewallNatRCActionType": { + "type": "string", + "description": "The action type of a NAT rule collection", + "enum": [ + "Snat", + "Dnat" + ], + "x-ms-enum": { + "name": "AzureFirewallNatRCActionType", + "modelAsString": true + } + }, + "AzureFirewallNetworkRuleCollectionPropertiesFormat": { + "properties": { + "priority": { + "type": "integer", + "format": "int32", + "maximum": 65000, + "exclusiveMaximum": false, + "minimum": 100, + "exclusiveMinimum": false, + "description": "Priority of the network rule collection resource." + }, + "action": { + "$ref": "#/definitions/AzureFirewallRCAction", + "description": "The action type of a rule collection" + }, + "rules": { + "type": "array", + "items": { + "$ref": "#/definitions/AzureFirewallNetworkRule" + }, + "description": "Collection of rules used by a network rule collection." + }, + "provisioningState": { + "description": "The provisioning state of the resource.", + "$ref": "./network.json#/definitions/ProvisioningState" + } }, - "AzureFirewallRCAction":{ - "properties":{ - "type":{ - "description":"The type of action.", - "$ref":"#/definitions/AzureFirewallRCActionType" - } - }, - "description":"Properties of the AzureFirewallRCAction." + "description": "Properties of the network rule collection." + }, + "AzureFirewallNetworkRuleCollection": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/AzureFirewallNetworkRuleCollectionPropertiesFormat", + "description": "Properties of the azure firewall network rule collection." + }, + "name": { + "type": "string", + "description": "Gets name of the resource that is unique within a resource group. This name can be used to access the resource." + }, + "etag": { + "type": "string", + "readOnly": true, + "description": "Gets a unique read-only string that changes whenever the resource is updated." + } }, - "AzureFirewallRCActionType":{ - "type":"string", - "description":"The action type of a rule collection", - "enum":[ - "Allow", - "Deny" - ], - "x-ms-enum":{ - "name":"AzureFirewallRCActionType", - "modelAsString":true - } + "allOf": [ + { + "$ref": "./network.json#/definitions/SubResource" + } + ], + "description": "Network rule collection resource" + }, + "AzureFirewallNetworkRule": { + "properties": { + "name": { + "type": "string", + "description": "Name of the network rule." + }, + "description": { + "type": "string", + "description": "Description of the rule." + }, + "protocols": { + "type": "array", + "items": { + "$ref": "#/definitions/AzureFirewallNetworkRuleProtocol" + }, + "description": "Array of AzureFirewallNetworkRuleProtocols." + }, + "sourceAddresses": { + "type": "array", + "description": "List of source IP addresses for this rule.", + "items": { + "type": "string" + } + }, + "destinationAddresses": { + "type": "array", + "description": "List of destination IP addresses.", + "items": { + "type": "string" + } + }, + "destinationPorts": { + "type": "array", + "description": "List of destination ports.", + "items": { + "type": "string" + } + } }, - "AzureFirewallNetworkRuleProtocol":{ - "type":"string", - "description":"The protocol of a Network Rule resource", - "enum":[ - "TCP", - "UDP", - "Any", - "ICMP" - ], - "x-ms-enum":{ - "name":"AzureFirewallNetworkRuleProtocol", - "modelAsString":true - } + "description": "Properties of the network rule." + }, + "AzureFirewallRCAction": { + "properties": { + "type": { + "description": "The type of action.", + "$ref": "#/definitions/AzureFirewallRCActionType" + } }, - "AzureFirewallApplicationRuleProtocolType":{ - "type":"string", - "description":"The protocol type of a Application Rule resource", - "enum":[ - "Http", - "Https" - ], - "x-ms-enum":{ - "name":"AzureFirewallApplicationRuleProtocolType", - "modelAsString":true - } + "description": "Properties of the AzureFirewallRCAction." + }, + "AzureFirewallRCActionType": { + "type": "string", + "description": "The action type of a rule collection", + "enum": [ + "Allow", + "Deny" + ], + "x-ms-enum": { + "name": "AzureFirewallRCActionType", + "modelAsString": true + } + }, + "AzureFirewallNetworkRuleProtocol": { + "type": "string", + "description": "The protocol of a Network Rule resource", + "enum": [ + "TCP", + "UDP", + "Any", + "ICMP" + ], + "x-ms-enum": { + "name": "AzureFirewallNetworkRuleProtocol", + "modelAsString": true + } + }, + "AzureFirewallApplicationRuleProtocolType": { + "type": "string", + "description": "The protocol type of a Application Rule resource", + "enum": [ + "Http", + "Https" + ], + "x-ms-enum": { + "name": "AzureFirewallApplicationRuleProtocolType", + "modelAsString": true } - } + } + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/azureFirewallFqdnTag.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/azureFirewallFqdnTag.json index ccc8a0f9e5fd..a39ea89230e1 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/azureFirewallFqdnTag.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/azureFirewallFqdnTag.json @@ -1,140 +1,140 @@ { - "swagger": "2.0", - "info": { - "title": "NetworkManagementClient", - "description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.", - "version": "2019-02-01" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] + "swagger": "2.0", + "info": { + "title": "NetworkManagementClient", + "description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.", + "version": "2019-02-01" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" } - ], - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "description": "Azure Active Directory OAuth2 Flow", - "scopes": { - "user_impersonation": "impersonate your user account" - } - } - }, - "paths": { - "/subscriptions/{subscriptionId}/providers/Microsoft.Network/azureFirewallFqdnTags": { - "get": { - "tags": [ - "AzureFirewallFqdnTags" - ], - "operationId": "AzureFirewallFqdnTags_ListAll", - "description":"Gets all the Azure Firewall FQDN Tags in a subscription.", - "parameters":[ - { - "$ref":"#/parameters/ApiVersionParameter" - }, - { - "$ref":"#/parameters/SubscriptionIdParameter" - } - ], - "responses":{ - "200":{ - "description":"Success. The operation returns a list of Azure Firewall FQDN Tag resources.", - "schema":{ - "$ref":"#/definitions/AzureFirewallFqdnTagListResult" - } - } - }, - "x-ms-examples":{ - "List all Azure Firewall FQDN Tags for a given subscription":{ - "$ref":"./examples/AzureFirewallFqdnTagsListBySubscription.json" - } - }, - "x-ms-pageable":{ - "nextLinkName":"nextLink" + } + }, + "paths": { + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/azureFirewallFqdnTags": { + "get": { + "tags": [ + "AzureFirewallFqdnTags" + ], + "operationId": "AzureFirewallFqdnTags_ListAll", + "description": "Gets all the Azure Firewall FQDN Tags in a subscription.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Success. The operation returns a list of Azure Firewall FQDN Tag resources.", + "schema": { + "$ref": "#/definitions/AzureFirewallFqdnTagListResult" } - } + } + }, + "x-ms-examples": { + "List all Azure Firewall FQDN Tags for a given subscription": { + "$ref": "./examples/AzureFirewallFqdnTagsListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } } - }, - "definitions": { - "AzureFirewallFqdnTagPropertiesFormat": { - "properties": { - "provisioningState": { - "type": "string", - "readOnly": true, - "description": "The provisioning state of the resource." - }, - "fqdnTagName": { - "type": "string", - "readOnly": true, - "description": "The name of this FQDN Tag." - } - }, - "description": "Azure Firewall FQDN Tag Properties" + } + }, + "definitions": { + "AzureFirewallFqdnTagPropertiesFormat": { + "properties": { + "provisioningState": { + "type": "string", + "readOnly": true, + "description": "The provisioning state of the resource." + }, + "fqdnTagName": { + "type": "string", + "readOnly": true, + "description": "The name of this FQDN Tag." + } }, - "AzureFirewallFqdnTag": { - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/AzureFirewallFqdnTagPropertiesFormat", - "description": "Properties of the azure firewall FQDN tag." - }, - "etag": { - "type": "string", - "readOnly": true, - "description": "Gets a unique read-only string that changes whenever the resource is updated." - } - }, - "allOf": [ - { - "$ref": "./network.json#/definitions/Resource" - } - ], - "description": "Azure Firewall FQDN Tag Resource" + "description": "Azure Firewall FQDN Tag Properties" + }, + "AzureFirewallFqdnTag": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/AzureFirewallFqdnTagPropertiesFormat", + "description": "Properties of the azure firewall FQDN tag." + }, + "etag": { + "type": "string", + "readOnly": true, + "description": "Gets a unique read-only string that changes whenever the resource is updated." + } }, - "AzureFirewallFqdnTagListResult":{ - "properties":{ - "value":{ - "type":"array", - "items":{ - "$ref":"#/definitions/AzureFirewallFqdnTag" - }, - "description":"List of Azure Firewall FQDN Tags in a resource group." - }, - "nextLink":{ - "type":"string", - "description":"URL to get the next set of results." - } - }, - "description":"Response for ListAzureFirewallFqdnTags API service call." - } - }, - "parameters": { - "SubscriptionIdParameter": { - "name": "subscriptionId", - "in": "path", - "required": true, - "type": "string", - "description": "The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call." + "allOf": [ + { + "$ref": "./network.json#/definitions/Resource" + } + ], + "description": "Azure Firewall FQDN Tag Resource" + }, + "AzureFirewallFqdnTagListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/AzureFirewallFqdnTag" + }, + "description": "List of Azure Firewall FQDN Tags in a resource group." + }, + "nextLink": { + "type": "string", + "description": "URL to get the next set of results." + } }, - "ApiVersionParameter": { - "name": "api-version", - "in": "query", - "required": true, - "type": "string", - "description": "Client API version." - } - } + "description": "Response for ListAzureFirewallFqdnTags API service call." + } + }, + "parameters": { + "SubscriptionIdParameter": { + "name": "subscriptionId", + "in": "path", + "required": true, + "type": "string", + "description": "The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call." + }, + "ApiVersionParameter": { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "Client API version." + } + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/checkDnsAvailability.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/checkDnsAvailability.json index 49663029109a..9ca6651c56b7 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/checkDnsAvailability.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/checkDnsAvailability.json @@ -69,7 +69,9 @@ } }, "x-ms-examples": { - "Check Dns Name Availability": { "$ref": "./examples/CheckDnsNameAvailability.json" } + "Check Dns Name Availability": { + "$ref": "./examples/CheckDnsNameAvailability.json" + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/endpointService.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/endpointService.json index b6656ddf1380..f67a4cd3b0f9 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/endpointService.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/endpointService.json @@ -65,7 +65,9 @@ "nextLinkName": "nextLink" }, "x-ms-examples": { - "EndpointServicesList": { "$ref": "./examples/EndpointServicesList.json" } + "EndpointServicesList": { + "$ref": "./examples/EndpointServicesList.json" + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ApplicationGatewayAvailableSslOptionsGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ApplicationGatewayAvailableSslOptionsGet.json index 4b0f3a202f28..9e2d896e0d43 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ApplicationGatewayAvailableSslOptionsGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ApplicationGatewayAvailableSslOptionsGet.json @@ -4,6 +4,6 @@ "subscriptionId": "subid" }, "responses": { - "200": { } + "200": {} } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json index 4b0f3a202f28..9e2d896e0d43 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json @@ -4,6 +4,6 @@ "subscriptionId": "subid" }, "responses": { - "200": { } + "200": {} } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json index 7e1aec6cd778..0ae49fa534e1 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json @@ -5,6 +5,6 @@ "predefinedPolicyName": "AppGwSslPolicy20150501" }, "responses": { - "200": { } + "200": {} } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ApplicationGatewayBackendHealthTest.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ApplicationGatewayBackendHealthTest.json index 84da691ab1d7..dfff6831e372 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ApplicationGatewayBackendHealthTest.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ApplicationGatewayBackendHealthTest.json @@ -10,7 +10,7 @@ "path": "/", "timeout": 30, "backendPoolName": "MFAnalyticsPool", - "backendHttpSettingName": "MFPoolSettings" + "backendHttpSettingName": "MFPoolSettings" } }, "responses": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ApplicationGatewayCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ApplicationGatewayCreate.json index c3c69329ca9b..f2abe856dca2 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ApplicationGatewayCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ApplicationGatewayCreate.json @@ -6,7 +6,7 @@ "applicationGatewayName": "appgw", "parameters": { "identity": { - "type":"UserAssigned", + "type": "UserAssigned", "userAssignedIdentities": { "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1": {} } @@ -154,7 +154,8 @@ "name": "apiPaths", "properties": { "paths": [ - "/api", "/v1/api" + "/api", + "/v1/api" ], "backendAddressPool": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool" @@ -212,12 +213,12 @@ "name": "Set X-Forwarded-For", "ruleSequence": 102, "conditions": [ - { - "variable": "http_req_Authorization", - "pattern": "^Bearer", - "ignoreCase": true, - "negate": false - } + { + "variable": "http_req_Authorization", + "pattern": "^Bearer", + "ignoreCase": true, + "negate": false + } ], "actionSet": { "requestHeaderConfigurations": [ @@ -389,7 +390,8 @@ "properties": { "provisioningState": "Succeeded", "paths": [ - "/api", "/v1/api" + "/api", + "/v1/api" ], "backendAddressPool": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool" @@ -453,12 +455,12 @@ "name": "Set X-Forwarded-For", "ruleSequence": 102, "conditions": [ - { - "variable": "http_req_Authorization", - "pattern": "^Bearer", - "ignoreCase": true, - "negate": false - } + { + "variable": "http_req_Authorization", + "pattern": "^Bearer", + "ignoreCase": true, + "negate": false + } ], "actionSet": { "requestHeaderConfigurations": [ @@ -630,7 +632,8 @@ "properties": { "provisioningState": "Succeeded", "paths": [ - "/api", "/v1/api" + "/api", + "/v1/api" ], "backendAddressPool": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool" @@ -694,12 +697,12 @@ "name": "Set X-Forwarded-For", "ruleSequence": 102, "conditions": [ - { - "variable": "http_req_Authorization", - "pattern": "^Bearer", - "ignoreCase": true, - "negate": false - } + { + "variable": "http_req_Authorization", + "pattern": "^Bearer", + "ignoreCase": true, + "negate": false + } ], "actionSet": { "requestHeaderConfigurations": [ diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ApplicationGatewayGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ApplicationGatewayGet.json index 04481e1d37eb..0dd5bf6825da 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ApplicationGatewayGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ApplicationGatewayGet.json @@ -153,7 +153,8 @@ "properties": { "provisioningState": "Succeeded", "paths": [ - "/api", "/v1/api" + "/api", + "/v1/api" ], "backendAddressPool": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool" @@ -217,12 +218,12 @@ "name": "Set X-Forwarded-For", "ruleSequence": 102, "conditions": [ - { - "variable": "http_req_Authorization", - "pattern": "^Bearer", - "ignoreCase": true, - "negate": false - } + { + "variable": "http_req_Authorization", + "pattern": "^Bearer", + "ignoreCase": true, + "negate": false + } ], "actionSet": { "requestHeaderConfigurations": [ diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ApplicationGatewayUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ApplicationGatewayUpdateTags.json index b127af6ea8cc..aa05a0e00a7b 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ApplicationGatewayUpdateTags.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ApplicationGatewayUpdateTags.json @@ -1,9 +1,9 @@ { - "parameters" : { + "parameters": { "api-version": "2019-02-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", - "applicationGatewayName" : "AppGw", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "applicationGatewayName": "AppGw", "parameters": { "tags": { "tag1": "value1", @@ -11,9 +11,9 @@ } } }, - "responses" : { - "200" : { - "body" : { + "responses": { + "200": { + "body": { "name": "AppGw", "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw", "type": "Microsoft.Network/applicationGateways", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ApplicationSecurityGroupCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ApplicationSecurityGroupCreate.json index 004cd9c9c991..fdbb7eecfb22 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ApplicationSecurityGroupCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ApplicationSecurityGroupCreate.json @@ -6,7 +6,7 @@ "applicationSecurityGroupName": "test-asg", "parameters": { "location": "westus", - "properties": { } + "properties": {} } }, "responses": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ApplicationSecurityGroupDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ApplicationSecurityGroupDelete.json index 6fb011a9bf8f..aa8b94f47a72 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ApplicationSecurityGroupDelete.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ApplicationSecurityGroupDelete.json @@ -6,8 +6,8 @@ "applicationSecurityGroupName": "test-asg" }, "responses": { - "200": { }, - "202": { }, - "204": { } + "200": {}, + "202": {}, + "204": {} } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ApplicationSecurityGroupList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ApplicationSecurityGroupList.json index 54348b170989..e211e09c753b 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ApplicationSecurityGroupList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ApplicationSecurityGroupList.json @@ -1,35 +1,35 @@ { - "parameters" : { - "api-version": "2019-02-01", - "subscriptionId" : "subid", - "resourceGroupName": "rg1" - }, - "responses" : { - "200" : { - "body" : { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/asg1", - "name": "asg1", - "type": "Microsoft.Network/applicationSecurityGroups", - "location": "westus", - "properties": { - "provisioningState": "Succeeded", - "resourceGuid": "00000000-0000-0000-0000-000000000000" - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/asg2", - "name": "asg2", - "type": "Microsoft.Network/applicationSecurityGroups", - "location": "westus", - "properties": { - "provisioningState": "Succeeded", - "resourceGuid": "00000000-0000-0000-0000-000000000000" - } + "parameters": { + "api-version": "2019-02-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/asg1", + "name": "asg1", + "type": "Microsoft.Network/applicationSecurityGroups", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000" } - ] - } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/asg2", + "name": "asg2", + "type": "Microsoft.Network/applicationSecurityGroups", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000" + } + } + ] } } } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ApplicationSecurityGroupListAll.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ApplicationSecurityGroupListAll.json index d31b7a966abf..f8ceffcffade 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ApplicationSecurityGroupListAll.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ApplicationSecurityGroupListAll.json @@ -1,11 +1,11 @@ { - "parameters" : { + "parameters": { "api-version": "2019-02-01", - "subscriptionId" : "subid" + "subscriptionId": "subid" }, - "responses" : { - "200" : { - "body" : { + "responses": { + "200": { + "body": { "value": [ { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/asg1", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ApplicationSecurityGroupUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ApplicationSecurityGroupUpdateTags.json index b1e56c67012c..391fbe00ca74 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ApplicationSecurityGroupUpdateTags.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ApplicationSecurityGroupUpdateTags.json @@ -1,9 +1,9 @@ { - "parameters" : { + "parameters": { "api-version": "2019-02-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", - "applicationSecurityGroupName" : "test-asg", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "applicationSecurityGroupName": "test-asg", "location": "westus", "parameters": { "tags": { @@ -12,18 +12,18 @@ } } }, - "responses" : { - "200" : { - "body" : { - "name" : "test-asg", - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/test-asg", - "type" : "Microsoft.Network/applicationSecurityGroups", - "location" : "westus", + "responses": { + "200": { + "body": { + "name": "test-asg", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/test-asg", + "type": "Microsoft.Network/applicationSecurityGroups", + "location": "westus", "tags": { "tag1": "value1", "tag2": "value2" }, - "properties" : { + "properties": { "provisioningState": "Succeeded", "resourceGuid": "00000000-0000-0000-0000-000000000000" } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/AvailableDelegationsResourceGroupGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/AvailableDelegationsResourceGroupGet.json index 0389845c66ad..e3194ddf0df0 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/AvailableDelegationsResourceGroupGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/AvailableDelegationsResourceGroupGet.json @@ -1,13 +1,13 @@ { - "parameters" : { + "parameters": { "api-version": "2019-02-01", "location": "regionName", - "subscriptionId" : "subId", - "resourceGroupName" : "rg1" + "subscriptionId": "subId", + "resourceGroupName": "rg1" }, - "responses" : { - "200" : { - "body" : { + "responses": { + "200": { + "body": { "value": [ { "name": "Microsoft.Provider.resourceType", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/AvailableDelegationsSubscriptionGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/AvailableDelegationsSubscriptionGet.json index 345baf39590b..ffa93aabffa3 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/AvailableDelegationsSubscriptionGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/AvailableDelegationsSubscriptionGet.json @@ -1,12 +1,12 @@ { - "parameters" : { + "parameters": { "api-version": "2019-02-01", "location": "regionName", - "subscriptionId" : "subId" + "subscriptionId": "subId" }, - "responses" : { - "200" : { - "body" : { + "responses": { + "200": { + "body": { "value": [ { "name": "Microsoft.Provider.resourceType", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/AzureFirewallDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/AzureFirewallDelete.json index 07d32a3099ca..79787a7848bb 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/AzureFirewallDelete.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/AzureFirewallDelete.json @@ -1,13 +1,13 @@ { - "parameters" : { + "parameters": { "api-version": "2019-02-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", - "azureFirewallName" : "azurefirewall" + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "azureFirewallName": "azurefirewall" }, - "responses" : { - "200" : { }, - "202" : { }, - "204" : { } + "responses": { + "200": {}, + "202": {}, + "204": {} } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/AzureFirewallFqdnTagsListBySubscription.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/AzureFirewallFqdnTagsListBySubscription.json index 4e86a86b9312..df4a615ddbeb 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/AzureFirewallFqdnTagsListBySubscription.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/AzureFirewallFqdnTagsListBySubscription.json @@ -1,28 +1,28 @@ -{ - "parameters":{ - "api-version":"2019-02-01", - "subscriptionId":"subid" - }, - "responses":{ - "200":{ - "body":{ - "value":[ - { - "name":"azfwfqdntag", - "id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewallFqdnTags/azfwfqdntag", - "type":"Microsoft.Network/azureFirewallFqdnTags", - "etag":"w/\\00000000-0000-0000-0000-000000000000\\", - "location":"West US", - "tags":{ - "key1":"value1" - }, - "properties":{ - "provisioningState":"Succeeded", - "fqdnTagName":"azfwfqdntag" - } - } - ] - } +{ + "parameters": { + "api-version": "2019-02-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "azfwfqdntag", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewallFqdnTags/azfwfqdntag", + "type": "Microsoft.Network/azureFirewallFqdnTags", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "tags": { + "key1": "value1" + }, + "properties": { + "provisioningState": "Succeeded", + "fqdnTagName": "azfwfqdntag" + } + } + ] } - } + } + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/AzureFirewallGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/AzureFirewallGet.json index 90a825feb4fe..dd17158abd50 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/AzureFirewallGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/AzureFirewallGet.json @@ -1,135 +1,135 @@ -{ - "parameters":{ - "api-version": "2019-02-01", - "subscriptionId":"subid", - "resourceGroupName":"rg1", - "azureFirewallName":"azurefirewall" - }, - "responses":{ - "200":{ - "body":{ - "name":"azurefirewall", - "id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall", - "type":"Microsoft.Network/azureFirewalls", - "etag":"w/\\00000000-0000-0000-0000-000000000000\\", - "location":"West US", - "tags":{ - "key1":"value1" - }, - "properties":{ - "provisioningState":"Succeeded", - "threatIntelMode": "Alert", - "ipConfigurations":[ - { - "name":"azureFirewallIpConfiguration", - "id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewallgw/ipConfigurations/azureFirewallIpConfiguration", - "etag":"w/\\00000000-0000-0000-0000-000000000000\\", - "properties":{ - "provisioningState":"Succeeded", - "privateIPAddress":"10.0.0.0", - "subnet":{ - "id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet" - }, - "publicIPAddress":{ - "id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName" - } - } - } - ], - "applicationRuleCollections":[ - { - "name":"apprulecoll", - "properties":{ - "priority":110, - "action":{ - "type": "Deny" - }, - "rules":[ - { - "name":"rule1", - "description":"Deny inbound rule", - "protocols":[ - { - "protocolType":"Https", - "port":443 - } - ], - "targetFqdns":[ - "www.test.com" - ], - "sourceAddresses":[ - "216.58.216.164", - "10.0.0.0/24" - ] - } - ] - } +{ + "parameters": { + "api-version": "2019-02-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "azureFirewallName": "azurefirewall" + }, + "responses": { + "200": { + "body": { + "name": "azurefirewall", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall", + "type": "Microsoft.Network/azureFirewalls", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "tags": { + "key1": "value1" + }, + "properties": { + "provisioningState": "Succeeded", + "threatIntelMode": "Alert", + "ipConfigurations": [ + { + "name": "azureFirewallIpConfiguration", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewallgw/ipConfigurations/azureFirewallIpConfiguration", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "privateIPAddress": "10.0.0.0", + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet" + }, + "publicIPAddress": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName" + } + } + } + ], + "applicationRuleCollections": [ + { + "name": "apprulecoll", + "properties": { + "priority": 110, + "action": { + "type": "Deny" + }, + "rules": [ + { + "name": "rule1", + "description": "Deny inbound rule", + "protocols": [ + { + "protocolType": "Https", + "port": 443 + } + ], + "targetFqdns": [ + "www.test.com" + ], + "sourceAddresses": [ + "216.58.216.164", + "10.0.0.0/24" + ] } - ], - "natRuleCollections":[ - { - "name":"natrulecoll", - "properties":{ - "priority":112, - "action":{ - "type":"Dnat" - }, - "rules":[ - { - "name":"DNAT-HTTPS-traffic", - "description":"D-NAT all outbound web traffic for inspection", - "sourceAddresses":[ - "*" - ], - "destinationAddresses":[ - "1.2.3.4" - ], - "destinationPorts":[ - "443" - ], - "protocols":[ - "TCP" - ], - "translatedAddress": "1.2.3.5", - "translatedPort": "8443" - } - ] - } + ] + } + } + ], + "natRuleCollections": [ + { + "name": "natrulecoll", + "properties": { + "priority": 112, + "action": { + "type": "Dnat" + }, + "rules": [ + { + "name": "DNAT-HTTPS-traffic", + "description": "D-NAT all outbound web traffic for inspection", + "sourceAddresses": [ + "*" + ], + "destinationAddresses": [ + "1.2.3.4" + ], + "destinationPorts": [ + "443" + ], + "protocols": [ + "TCP" + ], + "translatedAddress": "1.2.3.5", + "translatedPort": "8443" } - ], - "networkRuleCollections":[ - { - "name":"netrulecoll", - "properties":{ - "priority":112, - "action":{ - "type": "Deny" - }, - "rules":[ - { - "name":"L4-traffic", - "description":"Block traffic based on source IPs and ports", - "sourceAddresses":[ - "192.168.1.1-192.168.1.12", - "10.1.4.12-10.1.4.255" - ], - "destinationPorts":[ - "443-444", - "8443" - ], - "destinationAddresses":[ - "*" - ], - "protocols":[ - "TCP" - ] - } - ] - } + ] + } + } + ], + "networkRuleCollections": [ + { + "name": "netrulecoll", + "properties": { + "priority": 112, + "action": { + "type": "Deny" + }, + "rules": [ + { + "name": "L4-traffic", + "description": "Block traffic based on source IPs and ports", + "sourceAddresses": [ + "192.168.1.1-192.168.1.12", + "10.1.4.12-10.1.4.255" + ], + "destinationPorts": [ + "443-444", + "8443" + ], + "destinationAddresses": [ + "*" + ], + "protocols": [ + "TCP" + ] } - ] + ] + } } - } + ] + } } - } + } + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/AzureFirewallListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/AzureFirewallListByResourceGroup.json index 06a86cc56a7f..398eafc71a71 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/AzureFirewallListByResourceGroup.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/AzureFirewallListByResourceGroup.json @@ -1,138 +1,138 @@ -{ - "parameters":{ - "api-version": "2019-02-01", - "subscriptionId":"subid", - "resourceGroupName":"rg1" - }, - "responses":{ - "200":{ - "body":{ - "value":[ - { - "name":"azurefirewall", - "id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall", - "type":"Microsoft.Network/azureFirewalls", - "etag":"w/\\00000000-0000-0000-0000-000000000000\\", - "location":"West US", - "tags":{ - "key1":"value1" - }, - "properties":{ - "provisioningState":"Succeeded", - "threatIntelMode": "Alert", - "ipConfigurations":[ - { - "name":"azureFirewallIpConfiguration", - "id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azfirewallgw/ipConfigurations/azureFirewallIpConfiguration", - "etag":"w/\\00000000-0000-0000-0000-000000000000\\", - "properties":{ - "provisioningState":"Succeeded", - "privateIPAddress":"10.0.0.0", - "subnet":{ - "id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet" - }, - "publicIPAddress":{ - "id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName" - } - } - } - ], - "applicationRuleCollections":[ - { - "name":"apprulecoll", - "properties":{ - "priority":110, - "action":{ - "type": "Deny" - }, - "rules":[ - { - "name":"rule1", - "description":"Deny inbound rule", - "protocols":[ - { - "protocolType":"Https", - "port":443 - } - ], - "targetFqdns":[ - "www.test.com" - ], - "sourceAddresses":[ - "216.58.216.164", - "10.0.0.0/24" - ] - } - ] - } - } - ], - "natRuleCollections":[ - { - "name":"natrulecoll", - "properties":{ - "priority":112, - "action":{ - "type": "Dnat" - }, - "rules":[ - { - "name":"DNAT-HTTPS-traffic", - "description":"D-NAT all outbound web traffic for inspection", - "sourceAddresses":[ - "*" - ], - "destinationAddresses":[ - "1.2.3.4" - ], - "destinationPorts":[ - "443" - ], - "protocols":[ - "TCP" - ], - "translatedAddress": "1.2.3.5", - "translatedPort": "8443" - } - ] - } - } - ], - "networkRuleCollections":[ - { - "name":"netrulecoll", - "properties":{ - "priority":112, - "action":{ - "type": "Deny" - }, - "rules":[ - { - "name":"L4-traffic", - "description":"Block traffic based on source IPs and ports", - "sourceAddresses":[ - "192.168.1.1-192.168.1.12", - "10.1.4.12-10.1.4.255" - ], - "destinationPorts":[ - "443-444", - "8443" - ], - "destinationAddresses":[ - "*" - ], - "protocols":[ - "TCP" - ] - } - ] - } - } - ] +{ + "parameters": { + "api-version": "2019-02-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "azurefirewall", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall", + "type": "Microsoft.Network/azureFirewalls", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "tags": { + "key1": "value1" + }, + "properties": { + "provisioningState": "Succeeded", + "threatIntelMode": "Alert", + "ipConfigurations": [ + { + "name": "azureFirewallIpConfiguration", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azfirewallgw/ipConfigurations/azureFirewallIpConfiguration", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "privateIPAddress": "10.0.0.0", + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet" + }, + "publicIPAddress": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName" + } } - } - ] - } + } + ], + "applicationRuleCollections": [ + { + "name": "apprulecoll", + "properties": { + "priority": 110, + "action": { + "type": "Deny" + }, + "rules": [ + { + "name": "rule1", + "description": "Deny inbound rule", + "protocols": [ + { + "protocolType": "Https", + "port": 443 + } + ], + "targetFqdns": [ + "www.test.com" + ], + "sourceAddresses": [ + "216.58.216.164", + "10.0.0.0/24" + ] + } + ] + } + } + ], + "natRuleCollections": [ + { + "name": "natrulecoll", + "properties": { + "priority": 112, + "action": { + "type": "Dnat" + }, + "rules": [ + { + "name": "DNAT-HTTPS-traffic", + "description": "D-NAT all outbound web traffic for inspection", + "sourceAddresses": [ + "*" + ], + "destinationAddresses": [ + "1.2.3.4" + ], + "destinationPorts": [ + "443" + ], + "protocols": [ + "TCP" + ], + "translatedAddress": "1.2.3.5", + "translatedPort": "8443" + } + ] + } + } + ], + "networkRuleCollections": [ + { + "name": "netrulecoll", + "properties": { + "priority": 112, + "action": { + "type": "Deny" + }, + "rules": [ + { + "name": "L4-traffic", + "description": "Block traffic based on source IPs and ports", + "sourceAddresses": [ + "192.168.1.1-192.168.1.12", + "10.1.4.12-10.1.4.255" + ], + "destinationPorts": [ + "443-444", + "8443" + ], + "destinationAddresses": [ + "*" + ], + "protocols": [ + "TCP" + ] + } + ] + } + } + ] + } + } + ] } - } + } + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/AzureFirewallListBySubscription.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/AzureFirewallListBySubscription.json index 1876772ae114..fac5be20be2e 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/AzureFirewallListBySubscription.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/AzureFirewallListBySubscription.json @@ -1,137 +1,137 @@ -{ - "parameters":{ - "api-version": "2019-02-01", - "subscriptionId":"subid" - }, - "responses":{ - "200":{ - "body":{ - "value":[ - { - "name":"azurefirewall", - "id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall", - "type":"Microsoft.Network/azureFirewalls", - "etag":"w/\\00000000-0000-0000-0000-000000000000\\", - "location":"West US", - "tags":{ - "key1":"value1" - }, - "properties":{ - "provisioningState":"Succeeded", - "threatIntelMode": "Alert", - "ipConfigurations":[ - { - "name":"azureFirewallIpConfiguration", - "id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azfirewallgw/ipConfigurations/azureFirewallIpConfiguration", - "etag":"w/\\00000000-0000-0000-0000-000000000000\\", - "properties":{ - "provisioningState":"Succeeded", - "privateIPAddress":"10.0.0.0", - "subnet":{ - "id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet" - }, - "publicIPAddress":{ - "id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName" - } - } - } - ], - "applicationRuleCollections":[ - { - "name":"apprulecoll", - "properties":{ - "priority":110, - "action":{ - "type": "Deny" - }, - "rules":[ - { - "name":"rule1", - "description":"Deny inbound rule", - "protocols":[ - { - "protocolType":"Https", - "port":443 - } - ], - "targetFqdns":[ - "www.test.com" - ], - "sourceAddresses":[ - "216.58.216.164", - "10.0.0.0/24" - ] - } - ] - } - } - ], - "natRuleCollections":[ - { - "name":"natrulecoll", - "properties":{ - "priority":112, - "action":{ - "type": "Dnat" - }, - "rules":[ - { - "name":"DNAT-HTTPS-traffic", - "description":"D-NAT all outbound web traffic for inspection", - "sourceAddresses":[ - "*" - ], - "destinationAddresses":[ - "1.2.3.4" - ], - "destinationPorts":[ - "443" - ], - "protocols":[ - "TCP" - ], - "translatedAddress": "1.2.3.5", - "translatedPort": "8443" - } - ] - } - } - ], - "networkRuleCollections":[ - { - "name":"netrulecoll", - "properties":{ - "priority":112, - "action":{ - "type": "Deny" - }, - "rules":[ - { - "name":"L4-traffic", - "description":"Block traffic based on source IPs and ports", - "sourceAddresses":[ - "192.168.1.1-192.168.1.12", - "10.1.4.12-10.1.4.255" - ], - "destinationPorts":[ - "443-444", - "8443" - ], - "destinationAddresses":[ - "*" - ], - "protocols":[ - "TCP" - ] - } - ] - } - } - ] +{ + "parameters": { + "api-version": "2019-02-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "azurefirewall", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall", + "type": "Microsoft.Network/azureFirewalls", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "tags": { + "key1": "value1" + }, + "properties": { + "provisioningState": "Succeeded", + "threatIntelMode": "Alert", + "ipConfigurations": [ + { + "name": "azureFirewallIpConfiguration", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azfirewallgw/ipConfigurations/azureFirewallIpConfiguration", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "privateIPAddress": "10.0.0.0", + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet" + }, + "publicIPAddress": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName" + } } - } - ] - } + } + ], + "applicationRuleCollections": [ + { + "name": "apprulecoll", + "properties": { + "priority": 110, + "action": { + "type": "Deny" + }, + "rules": [ + { + "name": "rule1", + "description": "Deny inbound rule", + "protocols": [ + { + "protocolType": "Https", + "port": 443 + } + ], + "targetFqdns": [ + "www.test.com" + ], + "sourceAddresses": [ + "216.58.216.164", + "10.0.0.0/24" + ] + } + ] + } + } + ], + "natRuleCollections": [ + { + "name": "natrulecoll", + "properties": { + "priority": 112, + "action": { + "type": "Dnat" + }, + "rules": [ + { + "name": "DNAT-HTTPS-traffic", + "description": "D-NAT all outbound web traffic for inspection", + "sourceAddresses": [ + "*" + ], + "destinationAddresses": [ + "1.2.3.4" + ], + "destinationPorts": [ + "443" + ], + "protocols": [ + "TCP" + ], + "translatedAddress": "1.2.3.5", + "translatedPort": "8443" + } + ] + } + } + ], + "networkRuleCollections": [ + { + "name": "netrulecoll", + "properties": { + "priority": 112, + "action": { + "type": "Deny" + }, + "rules": [ + { + "name": "L4-traffic", + "description": "Block traffic based on source IPs and ports", + "sourceAddresses": [ + "192.168.1.1-192.168.1.12", + "10.1.4.12-10.1.4.255" + ], + "destinationPorts": [ + "443-444", + "8443" + ], + "destinationAddresses": [ + "*" + ], + "protocols": [ + "TCP" + ] + } + ] + } + } + ] + } + } + ] } - } + } + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/AzureFirewallPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/AzureFirewallPut.json index 96a0ed4a243f..45c275607858 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/AzureFirewallPut.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/AzureFirewallPut.json @@ -1,373 +1,373 @@ -{ - "parameters":{ - "api-version": "2019-02-01", - "subscriptionId":"subid", - "resourceGroupName":"rg1", - "azureFirewallName":"azurefirewall", - "parameters":{ - "tags":{ - "key1":"value1" - }, - "properties":{ - "threatIntelMode": "Alert", - "ipConfigurations":[ - { - "name":"azureFirewallIpConfiguration", - "properties":{ - "subnet":{ - "id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet" - }, - "publicIPAddress":{ - "id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName" - } - } - } - ], - "applicationRuleCollections":[ - { - "name":"apprulecoll", - "properties":{ - "priority":110, - "action":{ - "type": "Deny" - }, - "rules":[ - { - "name":"rule1", - "description":"Deny inbound rule", - "protocols":[ - { - "protocolType":"Https", - "port":443 - } - ], - "targetFqdns":[ - "www.test.com" - ], - "sourceAddresses":[ - "216.58.216.164", - "10.0.0.0/24" - ] - } - ] - } - } - ], - "natRuleCollections":[ - { - "name":"natrulecoll", - "properties":{ - "priority":112, - "action":{ - "type": "Dnat" - }, - "rules":[ - { - "name":"DNAT-HTTPS-traffic", - "description":"D-NAT all outbound web traffic for inspection", - "sourceAddresses":[ - "*" - ], - "destinationAddresses":[ - "1.2.3.4" - ], - "destinationPorts":[ - "443" - ], - "protocols":[ - "TCP" - ], - "translatedAddress": "1.2.3.5", - "translatedPort": "8443" - } - ] - } - } - ], - "networkRuleCollections":[ - { - "name":"netrulecoll", - "properties":{ - "priority":112, - "action":{ - "type": "Deny" - }, - "rules":[ - { - "name":"L4-traffic", - "description":"Block traffic based on source IPs and ports", - "sourceAddresses":[ - "192.168.1.1-192.168.1.12", - "10.1.4.12-10.1.4.255" - ], - "destinationPorts":[ - "443-444", - "8443" - ], - "destinationAddresses":[ - "*" - ], - "protocols":[ - "TCP" - ] - } - ] - } - } - ] - } +{ + "parameters": { + "api-version": "2019-02-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "azureFirewallName": "azurefirewall", + "parameters": { + "tags": { + "key1": "value1" + }, + "properties": { + "threatIntelMode": "Alert", + "ipConfigurations": [ + { + "name": "azureFirewallIpConfiguration", + "properties": { + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet" + }, + "publicIPAddress": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName" + } + } + } + ], + "applicationRuleCollections": [ + { + "name": "apprulecoll", + "properties": { + "priority": 110, + "action": { + "type": "Deny" + }, + "rules": [ + { + "name": "rule1", + "description": "Deny inbound rule", + "protocols": [ + { + "protocolType": "Https", + "port": 443 + } + ], + "targetFqdns": [ + "www.test.com" + ], + "sourceAddresses": [ + "216.58.216.164", + "10.0.0.0/24" + ] + } + ] + } + } + ], + "natRuleCollections": [ + { + "name": "natrulecoll", + "properties": { + "priority": 112, + "action": { + "type": "Dnat" + }, + "rules": [ + { + "name": "DNAT-HTTPS-traffic", + "description": "D-NAT all outbound web traffic for inspection", + "sourceAddresses": [ + "*" + ], + "destinationAddresses": [ + "1.2.3.4" + ], + "destinationPorts": [ + "443" + ], + "protocols": [ + "TCP" + ], + "translatedAddress": "1.2.3.5", + "translatedPort": "8443" + } + ] + } + } + ], + "networkRuleCollections": [ + { + "name": "netrulecoll", + "properties": { + "priority": 112, + "action": { + "type": "Deny" + }, + "rules": [ + { + "name": "L4-traffic", + "description": "Block traffic based on source IPs and ports", + "sourceAddresses": [ + "192.168.1.1-192.168.1.12", + "10.1.4.12-10.1.4.255" + ], + "destinationPorts": [ + "443-444", + "8443" + ], + "destinationAddresses": [ + "*" + ], + "protocols": [ + "TCP" + ] + } + ] + } + } + ] } - }, - "responses":{ - "200":{ - "body":{ - "name":"azurefirewall", - "id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall", - "type":"Microsoft.Network/azureFirewalls", - "etag":"w/\\00000000-0000-0000-0000-000000000000\\", - "location":"West US", - "tags":{ - "key1":"value1" - }, - "properties":{ - "provisioningState":"Succeeded", - "threatIntelMode": "Alert", - "ipConfigurations":[ - { - "name":"azureFirewallIpConfiguration", - "id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azfirewallgw/ipConfigurations/azureFirewallIpConfiguration", - "etag":"w/\\00000000-0000-0000-0000-000000000000\\", - "properties":{ - "provisioningState":"Succeeded", - "privateIPAddress":"10.0.0.0", - "subnet":{ - "id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet" - }, - "publicIPAddress":{ - "id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName" - } - } - } - ], - "applicationRuleCollections":[ - { - "name":"apprulecoll", - "properties":{ - "priority":110, - "action":{ - "type": "Deny" - }, - "rules":[ - { - "name":"rule1", - "description":"Deny inbound rule", - "protocols":[ - { - "protocolType":"Https", - "port":443 - } - ], - "targetFqdns":[ - "www.test.com" - ], - "sourceAddresses":[ - "216.58.216.164", - "10.0.0.0/24" - ] - } - ] - } - } - ], - "natRuleCollections":[ - { - "name":"natrulecoll", - "properties":{ - "priority":112, - "action":{ - "type": "Dnat" - }, - "rules":[ - { - "name":"DNAT-HTTPS-traffic", - "description":"D-NAT all outbound web traffic for inspection", - "sourceAddresses":[ - "*" - ], - "destinationAddresses":[ - "1.2.3.4" - ], - "destinationPorts":[ - "443" - ], - "protocols":[ - "TCP" - ], - "translatedAddress": "1.2.3.5", - "translatedPort": "8443" - } - ] - } + } + }, + "responses": { + "200": { + "body": { + "name": "azurefirewall", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall", + "type": "Microsoft.Network/azureFirewalls", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "tags": { + "key1": "value1" + }, + "properties": { + "provisioningState": "Succeeded", + "threatIntelMode": "Alert", + "ipConfigurations": [ + { + "name": "azureFirewallIpConfiguration", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azfirewallgw/ipConfigurations/azureFirewallIpConfiguration", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "privateIPAddress": "10.0.0.0", + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet" + }, + "publicIPAddress": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName" + } + } + } + ], + "applicationRuleCollections": [ + { + "name": "apprulecoll", + "properties": { + "priority": 110, + "action": { + "type": "Deny" + }, + "rules": [ + { + "name": "rule1", + "description": "Deny inbound rule", + "protocols": [ + { + "protocolType": "Https", + "port": 443 + } + ], + "targetFqdns": [ + "www.test.com" + ], + "sourceAddresses": [ + "216.58.216.164", + "10.0.0.0/24" + ] } - ], - "networkRuleCollections":[ - { - "name":"netrulecoll", - "properties":{ - "priority":112, - "action":{ - "type": "Deny" - }, - "rules":[ - { - "name":"L4-traffic", - "description":"Block traffic based on source IPs and ports", - "sourceAddresses":[ - "192.168.1.1-192.168.1.12", - "10.1.4.12-10.1.4.255" - ], - "destinationPorts":[ - "443-444", - "8443" - ], - "destinationAddresses":[ - "*" - ], - "protocols":[ - "TCP" - ] - } - ] - } + ] + } + } + ], + "natRuleCollections": [ + { + "name": "natrulecoll", + "properties": { + "priority": 112, + "action": { + "type": "Dnat" + }, + "rules": [ + { + "name": "DNAT-HTTPS-traffic", + "description": "D-NAT all outbound web traffic for inspection", + "sourceAddresses": [ + "*" + ], + "destinationAddresses": [ + "1.2.3.4" + ], + "destinationPorts": [ + "443" + ], + "protocols": [ + "TCP" + ], + "translatedAddress": "1.2.3.5", + "translatedPort": "8443" } - ] + ] + } } - } - }, - "201":{ - "body":{ - "name":"azurefirewall", - "id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall", - "type":"Microsoft.Network/azureFirewalls", - "etag":"w/\\00000000-0000-0000-0000-000000000000\\", - "location":"West US", - "tags":{ - "key1":"value1" - }, - "properties":{ - "provisioningState":"Succeeded", - "threatIntelMode": "Alert", - "ipConfigurations":[ - { - "name":"azureFirewallIpConfiguration", - "id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azfirewallgw/ipConfigurations/azureFirewallIpConfiguration", - "etag":"w/\\00000000-0000-0000-0000-000000000000\\", - "properties":{ - "provisioningState":"Succeeded", - "privateIPAddress":"10.0.0.0", - "subnet":{ - "id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet" - }, - "publicIPAddress":{ - "id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName" - } - } + ], + "networkRuleCollections": [ + { + "name": "netrulecoll", + "properties": { + "priority": 112, + "action": { + "type": "Deny" + }, + "rules": [ + { + "name": "L4-traffic", + "description": "Block traffic based on source IPs and ports", + "sourceAddresses": [ + "192.168.1.1-192.168.1.12", + "10.1.4.12-10.1.4.255" + ], + "destinationPorts": [ + "443-444", + "8443" + ], + "destinationAddresses": [ + "*" + ], + "protocols": [ + "TCP" + ] } - ], - "applicationRuleCollections":[ - { - "name":"apprulecoll", - "properties":{ - "priority":110, - "action":{ - "type": "Deny" - }, - "rules":[ - { - "name":"rule1", - "description":"Deny inbound rule", - "protocols":[ - { - "protocolType":"Https", - "port":443 - } - ], - "targetFqdns":[ - "www.test.com" - ], - "sourceAddresses":[ - "216.58.216.164", - "10.0.0.0/24" - ] - } - ] - } + ] + } + } + ] + } + } + }, + "201": { + "body": { + "name": "azurefirewall", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall", + "type": "Microsoft.Network/azureFirewalls", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "tags": { + "key1": "value1" + }, + "properties": { + "provisioningState": "Succeeded", + "threatIntelMode": "Alert", + "ipConfigurations": [ + { + "name": "azureFirewallIpConfiguration", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azfirewallgw/ipConfigurations/azureFirewallIpConfiguration", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "privateIPAddress": "10.0.0.0", + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet" + }, + "publicIPAddress": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName" + } + } + } + ], + "applicationRuleCollections": [ + { + "name": "apprulecoll", + "properties": { + "priority": 110, + "action": { + "type": "Deny" + }, + "rules": [ + { + "name": "rule1", + "description": "Deny inbound rule", + "protocols": [ + { + "protocolType": "Https", + "port": 443 + } + ], + "targetFqdns": [ + "www.test.com" + ], + "sourceAddresses": [ + "216.58.216.164", + "10.0.0.0/24" + ] } - ], - "natRuleCollections":[ - { - "name":"natrulecoll", - "properties":{ - "priority":112, - "action":{ - "type": "Dnat" - }, - "rules":[ - { - "name":"DNAT-HTTPS-traffic", - "description":"D-NAT all outbound web traffic for inspection", - "sourceAddresses":[ - "*" - ], - "destinationAddresses":[ - "1.2.3.4" - ], - "destinationPorts":[ - "443" - ], - "protocols":[ - "TCP" - ], - "translatedAddress": "1.2.3.5", - "translatedPort": "8443" - } - ] - } + ] + } + } + ], + "natRuleCollections": [ + { + "name": "natrulecoll", + "properties": { + "priority": 112, + "action": { + "type": "Dnat" + }, + "rules": [ + { + "name": "DNAT-HTTPS-traffic", + "description": "D-NAT all outbound web traffic for inspection", + "sourceAddresses": [ + "*" + ], + "destinationAddresses": [ + "1.2.3.4" + ], + "destinationPorts": [ + "443" + ], + "protocols": [ + "TCP" + ], + "translatedAddress": "1.2.3.5", + "translatedPort": "8443" } - ], - "networkRuleCollections":[ - { - "name":"netrulecoll", - "properties":{ - "priority":112, - "action":{ - "type": "Deny" - }, - "rules":[ - { - "name":"L4-traffic", - "description":"Block traffic based on source IPs and ports", - "sourceAddresses":[ - "192.168.1.1-192.168.1.12", - "10.1.4.12-10.1.4.255" - ], - "destinationPorts":[ - "443-444", - "8443" - ], - "destinationAddresses":[ - "*" - ], - "protocols":[ - "TCP" - ] - } - ] - } + ] + } + } + ], + "networkRuleCollections": [ + { + "name": "netrulecoll", + "properties": { + "priority": 112, + "action": { + "type": "Deny" + }, + "rules": [ + { + "name": "L4-traffic", + "description": "Block traffic based on source IPs and ports", + "sourceAddresses": [ + "192.168.1.1-192.168.1.12", + "10.1.4.12-10.1.4.255" + ], + "destinationPorts": [ + "443-444", + "8443" + ], + "destinationAddresses": [ + "*" + ], + "protocols": [ + "TCP" + ] } - ] + ] + } } - } + ] + } } - } + } + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/CheckDnsNameAvailability.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/CheckDnsNameAvailability.json index 231fd083aa8e..951c26ade7ca 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/CheckDnsNameAvailability.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/CheckDnsNameAvailability.json @@ -1,12 +1,12 @@ { - "parameters" : { + "parameters": { "api-version": "2019-02-01", - "subscriptionId" : "subid", - "location" : "westus", - "domainNameLabel" : "testdns" + "subscriptionId": "subid", + "location": "westus", + "domainNameLabel": "testdns" }, - "responses" : { - "200" : { + "responses": { + "200": { "body": { "available": false } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/DdosCustomPolicyCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/DdosCustomPolicyCreate.json index 8a569c96b7d1..57be3e139267 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/DdosCustomPolicyCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/DdosCustomPolicyCreate.json @@ -28,7 +28,8 @@ "publicIPAddresses": [], "protocolCustomSettings": [ { - "protocol": "Tcp", "triggerRateOverride": "20000" + "protocol": "Tcp", + "triggerRateOverride": "20000" } ] } @@ -46,7 +47,8 @@ "publicIPAddresses": [], "protocolCustomSettings": [ { - "protocol": "Tcp", "triggerRateOverride": "20000" + "protocol": "Tcp", + "triggerRateOverride": "20000" } ] } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/DdosCustomPolicyUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/DdosCustomPolicyUpdateTags.json index 5359271f02ca..4a631bad0334 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/DdosCustomPolicyUpdateTags.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/DdosCustomPolicyUpdateTags.json @@ -6,8 +6,8 @@ "ddosCustomPolicyName": "test-ddos-custom-policy", "parameters": { "tags": { - "tag1": "value1", - "tag2": "value2" + "tag1": "value1", + "tag2": "value2" } } }, @@ -28,7 +28,8 @@ "publicIPAddresses": [], "protocolCustomSettings": [ { - "protocol": "Tcp", "triggerRateOverride": "20000" + "protocol": "Tcp", + "triggerRateOverride": "20000" } ] } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/DdosProtectionPlanUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/DdosProtectionPlanUpdateTags.json index 624c00a035a4..cc079fd63b41 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/DdosProtectionPlanUpdateTags.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/DdosProtectionPlanUpdateTags.json @@ -6,8 +6,8 @@ "ddosProtectionPlanName": "test-plan", "parameters": { "tags": { - "tag1": "value1", - "tag2": "value2" + "tag1": "value1", + "tag2": "value2" } } }, @@ -19,8 +19,8 @@ "type": "Microsoft.Network/ddosProtectionPlans", "location": "westus", "tags": { - "tag1": "value1", - "tag2": "value2" + "tag1": "value1", + "tag2": "value2" }, "properties": { "provisioningState": "Succeeded", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitAuthorizationCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitAuthorizationCreate.json index fabbe9feb6a6..cd19cbcedb54 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitAuthorizationCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitAuthorizationCreate.json @@ -1,39 +1,39 @@ -{ - "parameters":{ - "circuitName":"circuitName", - "resourceGroupName":"rg1", - "authorizationName":"authorizatinName", - "api-version": "2019-02-01", - "subscriptionId":"subid", - "authorizationParameters":{ +{ + "parameters": { + "circuitName": "circuitName", + "resourceGroupName": "rg1", + "authorizationName": "authorizatinName", + "api-version": "2019-02-01", + "subscriptionId": "subid", + "authorizationParameters": { + "properties": { + "authorizationKey": "authKey", + "authorizationUseStatus": "Available" + } + } + }, + "responses": { + "201": { + "body": { + "name": "authorizationName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName", + "etag": "W/\"e22dd4b2-4c24-44cf-b702-70a472b62914\"", "properties": { - "authorizationKey": "authKey", - "authorizationUseStatus":"Available" + "provisioningState": "Updating", + "authorizationUseStatus": "Available" } } - }, - "responses":{ - "201":{ - "body":{ - "name":"authorizationName", - "id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName", - "etag":"W/\"e22dd4b2-4c24-44cf-b702-70a472b62914\"", - "properties":{ - "provisioningState":"Updating", - "authorizationUseStatus":"Available" - } - } - }, - "200":{ - "body":{ - "name":"authorizationName", - "id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/authorizations/authorizationName", - "etag":"W/\"e22dd4b2-4c24-44cf-b702-70a472b62914\"", - "properties":{ - "provisioningState":"Updating", - "authorizationUseStatus":"Available" - } - } + }, + "200": { + "body": { + "name": "authorizationName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/authorizations/authorizationName", + "etag": "W/\"e22dd4b2-4c24-44cf-b702-70a472b62914\"", + "properties": { + "provisioningState": "Updating", + "authorizationUseStatus": "Available" + } } - } + } + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitAuthorizationDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitAuthorizationDelete.json index 58bbc54754a3..3a6e30c25ab1 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitAuthorizationDelete.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitAuthorizationDelete.json @@ -1,20 +1,14 @@ -{ - "parameters":{ - "circuitName":"circuitName", - "resourceGroupName":"rg1", - "api-version": "2019-02-01", - "subscriptionId":"subid", - "authorizationName":"authorizationName" - }, - "responses":{ - "200":{ - - }, - "202":{ - - }, - "204":{ - - } - } +{ + "parameters": { + "circuitName": "circuitName", + "resourceGroupName": "rg1", + "api-version": "2019-02-01", + "subscriptionId": "subid", + "authorizationName": "authorizationName" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitAuthorizationGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitAuthorizationGet.json index 861860478fad..fb3282cff7c9 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitAuthorizationGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitAuthorizationGet.json @@ -1,21 +1,21 @@ { - "parameters": { - "circuitName": "circuitName", - "resourceGroupName": "rg1", - "api-version": "2019-02-01", - "subscriptionId": "subid", - "authorizationName": "authorizationName" - }, - "responses": { - "200": { - "name": "MyAuthorization1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1", - "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", - "properties": { - "provisioningState": "Succeeded", - "authorizationKey": "authKey", - "authorizationUseStatus": "Available" - } + "parameters": { + "circuitName": "circuitName", + "resourceGroupName": "rg1", + "api-version": "2019-02-01", + "subscriptionId": "subid", + "authorizationName": "authorizationName" + }, + "responses": { + "200": { + "name": "MyAuthorization1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1", + "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", + "properties": { + "provisioningState": "Succeeded", + "authorizationKey": "authKey", + "authorizationUseStatus": "Available" } - } + } + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitAuthorizationList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitAuthorizationList.json index 3ff86764f868..990b66a03767 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitAuthorizationList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitAuthorizationList.json @@ -1,24 +1,24 @@ { - "parameters": { - "circuitName": "circuitName", - "resourceGroupName": "rg1", - "api-version": "2019-02-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "value": [ - { - "name": "MyAuthorization1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1", - "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", - "properties": { - "provisioningState": "Succeeded", - "authorizationKey": "authKey", - "authorizationUseStatus": "Available" - } - } - ] - } - } + "parameters": { + "circuitName": "circuitName", + "resourceGroupName": "rg1", + "api-version": "2019-02-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "value": [ + { + "name": "MyAuthorization1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1", + "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", + "properties": { + "provisioningState": "Succeeded", + "authorizationKey": "authKey", + "authorizationUseStatus": "Available" + } + } + ] + } + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitConnectionCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitConnectionCreate.json index 999ad394c32d..996a0de51815 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitConnectionCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitConnectionCreate.json @@ -36,7 +36,7 @@ "authorizationKey": "946a1918-b7a2-4917-b43c-8c4cdaee006a", "addressPrefix": "10.0.0.0/24", "circuitConnectionStatus": "Connected", - "provisioningState":"Succeeded" + "provisioningState": "Succeeded" } } }, @@ -55,7 +55,7 @@ "authorizationKey": "946a1918-b7a2-4917-b43c-8c4cdaee006a", "addressPrefix": "10.0.0.0/24", "circuitConnectionStatus": "Connected", - "provisioningState":"Succeeded" + "provisioningState": "Succeeded" } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitConnectionGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitConnectionGet.json index e66ef93e9b8f..373d3a764887 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitConnectionGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitConnectionGet.json @@ -23,7 +23,7 @@ "authorizationKey": "946a1918-b7a2-4917-b43c-8c4cdaee006a", "addressPrefix": "10.0.0.0/24", "circuitConnectionStatus": "Connected", - "provisioningState":"Succeeded" + "provisioningState": "Succeeded" } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitConnectionList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitConnectionList.json index 13a2bbf2d0c6..ce1be5414f15 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitConnectionList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitConnectionList.json @@ -1,50 +1,50 @@ { - "parameters": { - "resourceGroupName": "rg1", - "api-version": "2019-02-01", - "subscriptionId": "subid1", - "circuitName": "ExpressRouteARMCircuitA", - "peeringName": "AzurePrivatePeering" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering/connections/circuitConnectionUSAUS", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "name": "circuitConnectionUSAUS", - "properties": { - "expressRouteCircuitPeering": { - "id": "/subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/dedharcktlocal/peerings/AzurePrivatePeering" - }, - "peerExpressRouteCircuitPeering": { - "id": "/subscriptions/subid2/resourceGroups/dedharcktpeer/providers/Microsoft.Network/expressRouteCircuits/dedharcktremote/peerings/AzurePrivatePeering" - }, - "authorizationKey": "946a1918-b7a2-4917-b43c-8c4cdaee006a", - "addressPrefix": "10.0.0.0/24", - "circuitConnectionStatus": "Connected", - "provisioningState":"Succeeded" - } - }, - { - "id": "/subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering/connections/circuitConnectionUSEUR", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "name": "circuitConnectionUSEUR", - "properties": { - "expressRouteCircuitPeering": { - "id": "/subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/dedharcktlocal/peerings/AzurePrivatePeering" - }, - "peerExpressRouteCircuitPeering": { - "id": "/subscriptions/subid1/resourceGroups/dedharckteurope/providers/Microsoft.Network/expressRouteCircuits/dedharcktams/peerings/AzurePrivatePeering" - }, - "addressPrefix": "20.0.0.0/24", - "circuitConnectionStatus": "Connected", - "provisioningState":"Succeeded" - } - } - ] - } + "parameters": { + "resourceGroupName": "rg1", + "api-version": "2019-02-01", + "subscriptionId": "subid1", + "circuitName": "ExpressRouteARMCircuitA", + "peeringName": "AzurePrivatePeering" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering/connections/circuitConnectionUSAUS", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "name": "circuitConnectionUSAUS", + "properties": { + "expressRouteCircuitPeering": { + "id": "/subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/dedharcktlocal/peerings/AzurePrivatePeering" + }, + "peerExpressRouteCircuitPeering": { + "id": "/subscriptions/subid2/resourceGroups/dedharcktpeer/providers/Microsoft.Network/expressRouteCircuits/dedharcktremote/peerings/AzurePrivatePeering" + }, + "authorizationKey": "946a1918-b7a2-4917-b43c-8c4cdaee006a", + "addressPrefix": "10.0.0.0/24", + "circuitConnectionStatus": "Connected", + "provisioningState": "Succeeded" + } + }, + { + "id": "/subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering/connections/circuitConnectionUSEUR", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "name": "circuitConnectionUSEUR", + "properties": { + "expressRouteCircuitPeering": { + "id": "/subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/dedharcktlocal/peerings/AzurePrivatePeering" + }, + "peerExpressRouteCircuitPeering": { + "id": "/subscriptions/subid1/resourceGroups/dedharckteurope/providers/Microsoft.Network/expressRouteCircuits/dedharcktams/peerings/AzurePrivatePeering" + }, + "addressPrefix": "20.0.0.0/24", + "circuitConnectionStatus": "Connected", + "provisioningState": "Succeeded" + } + } + ] } } - } \ No newline at end of file + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitCreate.json index 4782e3a51278..dd67515ee71f 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitCreate.json @@ -1,84 +1,84 @@ { - "parameters": { - "circuitName": "circuitName", - "resourceGroupName": "rg1", - "api-version": "2019-02-01", - "subscriptionId": "subid", - "parameters": { - "sku": { - "name": "Standard_MeteredData", - "tier": "Standard", - "family": "MeteredData" - }, - "properties": { - "authorizations": [], - "peerings": [], - "allowClassicOperations": false, - "serviceProviderProperties": { - "serviceProviderName": "providerName", - "peeringLocation": "peeringLocation", - "bandwidthInMbps": 200 - } - }, - "location": "West US" - } - }, - "responses": { - "201": { - "body": { - "name": "circuitName", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "type": "Microsoft.Network/expressRouteCircuits", - "location": "westus", - "properties": { - "provisioningState": "Succeeded", - "peerings": [], - "authorizations": [], - "serviceProviderProperties": { - "serviceProviderName": "providerName", - "peeringLocation": "peeringLocation", - "bandwidthInMbps": 200 - }, - "circuitProvisioningState": "Enabled", - "allowClassicOperations": false, - "serviceKey": "a1410692-0000-4ceb-b94a-b90b94d398d1", - "serviceProviderProvisioningState": "NotProvisioned" - }, - "sku": { - "name": "Standard_MeteredData", - "tier": "Standard", - "family": "MeteredData" - } - } + "parameters": { + "circuitName": "circuitName", + "resourceGroupName": "rg1", + "api-version": "2019-02-01", + "subscriptionId": "subid", + "parameters": { + "sku": { + "name": "Standard_MeteredData", + "tier": "Standard", + "family": "MeteredData" + }, + "properties": { + "authorizations": [], + "peerings": [], + "allowClassicOperations": false, + "serviceProviderProperties": { + "serviceProviderName": "providerName", + "peeringLocation": "peeringLocation", + "bandwidthInMbps": 200 + } }, - "200": { - "body": { - "name": "circuitName", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "type": "Microsoft.Network/expressRouteCircuits", - "location": "westus", - "properties": { - "provisioningState": "Succeeded", - "peerings": [], - "authorizations": [], - "serviceProviderProperties": { - "serviceProviderName": "providerName", - "peeringLocation": "peeringLocation", - "bandwidthInMbps": 200 - }, - "circuitProvisioningState": "Enabled", - "allowClassicOperations": false, - "serviceKey": "a1410692-0000-4ceb-b94a-b90b94d398d1", - "serviceProviderProvisioningState": "NotProvisioned" - }, - "sku": { - "name": "Standard_MeteredData", - "tier": "Standard", - "family": "MeteredData" - } - } + "location": "West US" + } + }, + "responses": { + "201": { + "body": { + "name": "circuitName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "type": "Microsoft.Network/expressRouteCircuits", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "peerings": [], + "authorizations": [], + "serviceProviderProperties": { + "serviceProviderName": "providerName", + "peeringLocation": "peeringLocation", + "bandwidthInMbps": 200 + }, + "circuitProvisioningState": "Enabled", + "allowClassicOperations": false, + "serviceKey": "a1410692-0000-4ceb-b94a-b90b94d398d1", + "serviceProviderProvisioningState": "NotProvisioned" + }, + "sku": { + "name": "Standard_MeteredData", + "tier": "Standard", + "family": "MeteredData" + } + } + }, + "200": { + "body": { + "name": "circuitName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "type": "Microsoft.Network/expressRouteCircuits", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "peerings": [], + "authorizations": [], + "serviceProviderProperties": { + "serviceProviderName": "providerName", + "peeringLocation": "peeringLocation", + "bandwidthInMbps": 200 + }, + "circuitProvisioningState": "Enabled", + "allowClassicOperations": false, + "serviceKey": "a1410692-0000-4ceb-b94a-b90b94d398d1", + "serviceProviderProvisioningState": "NotProvisioned" + }, + "sku": { + "name": "Standard_MeteredData", + "tier": "Standard", + "family": "MeteredData" + } } - } + } + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitCreateOnExpressRoutePort.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitCreateOnExpressRoutePort.json index c2ba23d11251..5043f826deba 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitCreateOnExpressRoutePort.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitCreateOnExpressRoutePort.json @@ -1,79 +1,79 @@ { + "parameters": { + "subscriptionId": "subid", + "api-version": "2019-02-01", + "resourceGroupName": "rg1", + "type": "Microsoft.Network/expressRouteCircuits", + "circuitName": "expressRouteCircuit1", "parameters": { - "subscriptionId": "subid", - "api-version": "2019-02-01", - "resourceGroupName": "rg1", + "location": "westus", + "sku": { + "name": "Premium_MeteredData", + "tier": "Premium", + "family": "MeteredData" + }, + "properties": { + "expressRoutePort": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName" + }, + "bandwidthInGbps": 10 + } + } + }, + "responses": { + "200": { + "body": { + "name": "expressRouteCircuit1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/expressRouteCircuit1", "type": "Microsoft.Network/expressRouteCircuits", - "circuitName": "expressRouteCircuit1", - "parameters": { - "location": "westus", - "sku": { - "name": "Premium_MeteredData", - "tier": "Premium", - "family": "MeteredData" - }, - "properties": { - "expressRoutePort": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName" - }, - "bandwidthInGbps":10 - } + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "peerings": [], + "authorizations": [], + "expressRoutePort": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName" + }, + "bandwidthInGbps": 10, + "circuitProvisioningState": "Enabled", + "allowClassicOperations": false, + "gatewayManagerEtag": "20", + "serviceKey": "d281f746-ee01-4d00-8b0a-edec4833772b", + "serviceProviderProvisioningState": "Provisioned" + }, + "sku": { + "name": "Premium_MeteredData", + "tier": "Premium", + "family": "MeteredData" } + } }, - "responses": { - "200": { - "body": { - "name": "expressRouteCircuit1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/expressRouteCircuit1", - "type": "Microsoft.Network/expressRouteCircuits", - "location": "westus", - "properties": { - "provisioningState": "Succeeded", - "peerings": [], - "authorizations": [], - "expressRoutePort": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName" - }, - "bandwidthInGbps":10, - "circuitProvisioningState": "Enabled", - "allowClassicOperations": false, - "gatewayManagerEtag": "20", - "serviceKey": "d281f746-ee01-4d00-8b0a-edec4833772b", - "serviceProviderProvisioningState": "Provisioned" - }, - "sku": { - "name": "Premium_MeteredData", - "tier": "Premium", - "family": "MeteredData" - } - } + "201": { + "body": { + "name": "expressRouteCircuit1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/expressRouteCircuit1", + "type": "Microsoft.Network/expressRouteCircuits", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "peerings": [], + "authorizations": [], + "expressRoutePort": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName" + }, + "bandwidthInGbps": 10, + "circuitProvisioningState": "Enabled", + "allowClassicOperations": false, + "gatewayManagerEtag": "20", + "serviceKey": "d281f746-ee01-4d00-8b0a-edec4833772b", + "serviceProviderProvisioningState": "Provisioned" }, - "201": { - "body": { - "name": "expressRouteCircuit1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/expressRouteCircuit1", - "type": "Microsoft.Network/expressRouteCircuits", - "location": "westus", - "properties": { - "provisioningState": "Succeeded", - "peerings": [], - "authorizations": [], - "expressRoutePort": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName" - }, - "bandwidthInGbps":10, - "circuitProvisioningState": "Enabled", - "allowClassicOperations": false, - "gatewayManagerEtag": "20", - "serviceKey": "d281f746-ee01-4d00-8b0a-edec4833772b", - "serviceProviderProvisioningState": "Provisioned" - }, - "sku": { - "name": "Premium_MeteredData", - "tier": "Premium", - "family": "MeteredData" - } - } + "sku": { + "name": "Premium_MeteredData", + "tier": "Premium", + "family": "MeteredData" } + } } + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitDelete.json index 43bcd0831e16..71036ef85165 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitDelete.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitDelete.json @@ -1,13 +1,13 @@ { - "parameters": { - "circuitName": "circuitName", - "resourceGroupName": "rg1", - "api-version": "2019-02-01", - "subscriptionId": "subid" - }, - "responses": { - "200": {}, - "202": {}, - "204": {} - } + "parameters": { + "circuitName": "circuitName", + "resourceGroupName": "rg1", + "api-version": "2019-02-01", + "subscriptionId": "subid" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitGet.json index f0009027f058..87b355202173 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitGet.json @@ -1,38 +1,38 @@ { - "parameters": { - "circuitName": "circuitName", - "resourceGroupName": "rg1", - "api-version": "2019-02-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "name": "circuitName", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "type": "Microsoft.Network/expressRouteCircuits", - "location": "westus", - "properties": { - "provisioningState": "Succeeded", - "peerings": [], - "authorizations": [], - "serviceProviderProperties": { - "serviceProviderName": "providerName", - "peeringLocation": "peeringLocation", - "bandwidthInMbps": 200 - }, - "circuitProvisioningState": "Enabled", - "allowClassicOperations": false, - "serviceKey": "a1410692-0000-4ceb-b94a-b90b94d398d1", - "serviceProviderProvisioningState": "NotProvisioned" - }, - "sku": { - "name": "Standard_MeteredData", - "tier": "Standard", - "family": "MeteredData" - } - } + "parameters": { + "circuitName": "circuitName", + "resourceGroupName": "rg1", + "api-version": "2019-02-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "name": "circuitName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "type": "Microsoft.Network/expressRouteCircuits", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "peerings": [], + "authorizations": [], + "serviceProviderProperties": { + "serviceProviderName": "providerName", + "peeringLocation": "peeringLocation", + "bandwidthInMbps": 200 + }, + "circuitProvisioningState": "Enabled", + "allowClassicOperations": false, + "serviceKey": "a1410692-0000-4ceb-b94a-b90b94d398d1", + "serviceProviderProvisioningState": "NotProvisioned" + }, + "sku": { + "name": "Standard_MeteredData", + "tier": "Standard", + "family": "MeteredData" + } } - } + } + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitListByResourceGroup.json index 7bdb2b8400a3..e29f9b36fbd7 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitListByResourceGroup.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitListByResourceGroup.json @@ -1,91 +1,91 @@ { - "parameters": { - "resourceGroupName": "rg1", - "api-version": "2019-02-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "value": [ - { - "name": "circuitName1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName1", - "etag": "W/\"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3\"", - "type": "Microsoft.Network/expressRouteCircuits", - "location": "westus", - "properties": { + "parameters": { + "resourceGroupName": "rg1", + "api-version": "2019-02-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "value": [ + { + "name": "circuitName1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName1", + "etag": "W/\"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3\"", + "type": "Microsoft.Network/expressRouteCircuits", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "262effd3-248d-4754-9068-0a89260dd918", + "peerings": [], + "authorizations": [ + { + "name": "MyAuthorization1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1", + "etag": "W/\"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3\"", + "properties": { "provisioningState": "Succeeded", - "resourceGuid": "262effd3-248d-4754-9068-0a89260dd918", - "peerings": [], - "authorizations": [ - { - "name": "MyAuthorization1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1", - "etag": "W/\"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3\"", - "properties": { - "provisioningState": "Succeeded", - "authorizationKey": "authkey", - "authorizationUseStatus": "Available" - } - } - ], - "serviceProviderProperties": { - "serviceProviderName": "providerName", - "peeringLocation": "peeringLocation", - "bandwidthInMbps": 200 - }, - "circuitProvisioningState": "Enabled", - "allowClassicOperations": false, - "gatewayManagerEtag": "113", - "serviceKey": "a1410692-ed3b-4ceb-b94a-b90b95d398d1", - "serviceProviderProvisioningState": "Provisioned" - }, - "sku": { - "name": "Standard_MeteredData", - "tier": "Standard", - "family": "MeteredData" - } + "authorizationKey": "authkey", + "authorizationUseStatus": "Available" + } + } + ], + "serviceProviderProperties": { + "serviceProviderName": "providerName", + "peeringLocation": "peeringLocation", + "bandwidthInMbps": 200 }, - { - "name": "circuitName2", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2", - "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", - "type": "Microsoft.Network/expressRouteCircuits", - "location": "westus", - "properties": { + "circuitProvisioningState": "Enabled", + "allowClassicOperations": false, + "gatewayManagerEtag": "113", + "serviceKey": "a1410692-ed3b-4ceb-b94a-b90b95d398d1", + "serviceProviderProvisioningState": "Provisioned" + }, + "sku": { + "name": "Standard_MeteredData", + "tier": "Standard", + "family": "MeteredData" + } + }, + { + "name": "circuitName2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2", + "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", + "type": "Microsoft.Network/expressRouteCircuits", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "47853fd2-9261-4670-b7c3-2debcf9b88da", + "peerings": [], + "authorizations": [ + { + "name": "MyAuthorization2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2/authorizations/MyAuthorization2", + "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", + "properties": { "provisioningState": "Succeeded", - "resourceGuid": "47853fd2-9261-4670-b7c3-2debcf9b88da", - "peerings": [], - "authorizations": [ - { - "name": "MyAuthorization2", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2/authorizations/MyAuthorization2", - "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", - "properties": { - "provisioningState": "Succeeded", - "authorizationKey": "authkey", - "authorizationUseStatus": "Available" - } - } - ], - "serviceProviderProperties": { - "serviceProviderName": "providerName", - "peeringLocation": "peeringLocation", - "bandwidthInMbps": 200 - }, - "circuitProvisioningState": "Enabled", - "allowClassicOperations": false, - "gatewayManagerEtag": "", - "serviceKey": "6569625a-9ba4-498b-9719-14d778eef609", - "serviceProviderProvisioningState": "NotProvisioned" - }, - "sku": { - "name": "Standard_MeteredData", - "tier": "Standard", - "family": "MeteredData" - } - } - ] - } - } + "authorizationKey": "authkey", + "authorizationUseStatus": "Available" + } + } + ], + "serviceProviderProperties": { + "serviceProviderName": "providerName", + "peeringLocation": "peeringLocation", + "bandwidthInMbps": 200 + }, + "circuitProvisioningState": "Enabled", + "allowClassicOperations": false, + "gatewayManagerEtag": "", + "serviceKey": "6569625a-9ba4-498b-9719-14d778eef609", + "serviceProviderProvisioningState": "NotProvisioned" + }, + "sku": { + "name": "Standard_MeteredData", + "tier": "Standard", + "family": "MeteredData" + } + } + ] + } + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitListBySubscription.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitListBySubscription.json index fb896e91c31c..e95ef64a2582 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitListBySubscription.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitListBySubscription.json @@ -1,90 +1,90 @@ { - "parameters": { - "api-version": "2019-02-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "value": [ - { - "name": "circuitName1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName1", - "etag": "W/\"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3\"", - "type": "Microsoft.Network/expressRouteCircuits", - "location": "westus", - "properties": { + "parameters": { + "api-version": "2019-02-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "value": [ + { + "name": "circuitName1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName1", + "etag": "W/\"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3\"", + "type": "Microsoft.Network/expressRouteCircuits", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "262effd3-248d-4754-9068-0a89260dd918", + "peerings": [], + "authorizations": [ + { + "name": "MyAuthorization1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1", + "etag": "W/\"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3\"", + "properties": { "provisioningState": "Succeeded", - "resourceGuid": "262effd3-248d-4754-9068-0a89260dd918", - "peerings": [], - "authorizations": [ - { - "name": "MyAuthorization1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1", - "etag": "W/\"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3\"", - "properties": { - "provisioningState": "Succeeded", - "authorizationKey": "authkey", - "authorizationUseStatus": "Available" - } - } - ], - "serviceProviderProperties": { - "serviceProviderName": "providerName", - "peeringLocation": "peeringLocation", - "bandwidthInMbps": 200 - }, - "circuitProvisioningState": "Enabled", - "allowClassicOperations": false, - "gatewayManagerEtag": "113", - "serviceKey": "a1410692-ed3b-4ceb-b94a-b90b95d398d1", - "serviceProviderProvisioningState": "Provisioned" - }, - "sku": { - "name": "Standard_MeteredData", - "tier": "Standard", - "family": "MeteredData" - } + "authorizationKey": "authkey", + "authorizationUseStatus": "Available" + } + } + ], + "serviceProviderProperties": { + "serviceProviderName": "providerName", + "peeringLocation": "peeringLocation", + "bandwidthInMbps": 200 }, - { - "name": "circuitName2", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2", - "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", - "type": "Microsoft.Network/expressRouteCircuits", - "location": "westus", - "properties": { + "circuitProvisioningState": "Enabled", + "allowClassicOperations": false, + "gatewayManagerEtag": "113", + "serviceKey": "a1410692-ed3b-4ceb-b94a-b90b95d398d1", + "serviceProviderProvisioningState": "Provisioned" + }, + "sku": { + "name": "Standard_MeteredData", + "tier": "Standard", + "family": "MeteredData" + } + }, + { + "name": "circuitName2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2", + "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", + "type": "Microsoft.Network/expressRouteCircuits", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "47853fd2-9261-4670-b7c3-2debcf9b88da", + "peerings": [], + "authorizations": [ + { + "name": "MyAuthorization2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2/authorizations/MyAuthorization2", + "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", + "properties": { "provisioningState": "Succeeded", - "resourceGuid": "47853fd2-9261-4670-b7c3-2debcf9b88da", - "peerings": [], - "authorizations": [ - { - "name": "MyAuthorization2", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2/authorizations/MyAuthorization2", - "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", - "properties": { - "provisioningState": "Succeeded", - "authorizationKey": "authkey", - "authorizationUseStatus": "Available" - } - } - ], - "serviceProviderProperties": { - "serviceProviderName": "providerName", - "peeringLocation": "peeringLocation", - "bandwidthInMbps": 200 - }, - "circuitProvisioningState": "Enabled", - "allowClassicOperations": false, - "gatewayManagerEtag": "", - "serviceKey": "6569625a-9ba4-498b-9719-14d778eef609", - "serviceProviderProvisioningState": "NotProvisioned" - }, - "sku": { - "name": "Standard_MeteredData", - "tier": "Standard", - "family": "MeteredData" - } - } - ] - } - } + "authorizationKey": "authkey", + "authorizationUseStatus": "Available" + } + } + ], + "serviceProviderProperties": { + "serviceProviderName": "providerName", + "peeringLocation": "peeringLocation", + "bandwidthInMbps": 200 + }, + "circuitProvisioningState": "Enabled", + "allowClassicOperations": false, + "gatewayManagerEtag": "", + "serviceKey": "6569625a-9ba4-498b-9719-14d778eef609", + "serviceProviderProvisioningState": "NotProvisioned" + }, + "sku": { + "name": "Standard_MeteredData", + "tier": "Standard", + "family": "MeteredData" + } + } + ] + } + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitPeeringCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitPeeringCreate.json index 5c1933de6947..fef0ffe47014 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitPeeringCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitPeeringCreate.json @@ -15,7 +15,7 @@ "ipv6PeeringConfig": { "primaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::/126", "secondaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::4/126" - } + } } } }, @@ -66,7 +66,7 @@ "state": "Enabled", "vlanId": 200, "gatewayManagerEtag": "", - "lastModifiedBy": "Customer", + "lastModifiedBy": "Customer", "ipv6PeeringConfig": { "primaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::/126", "secondaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::4/126", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitPeeringDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitPeeringDelete.json index ece5b39fefcc..2af0dbb742a7 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitPeeringDelete.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitPeeringDelete.json @@ -1,14 +1,14 @@ { - "parameters": { - "circuitName": "circuitName", - "resourceGroupName": "rg1", - "api-version": "2019-02-01", - "subscriptionId": "subid", - "peeringName": "peeringName" - }, - "responses": { - "200": {}, - "202": {}, - "204": {} - } + "parameters": { + "circuitName": "circuitName", + "resourceGroupName": "rg1", + "api-version": "2019-02-01", + "subscriptionId": "subid", + "peeringName": "peeringName" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitPeeringGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitPeeringGet.json index 229c7b67768c..4557349da6a0 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitPeeringGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitPeeringGet.json @@ -1,55 +1,55 @@ { - "parameters": { - "circuitName": "circuitName", - "resourceGroupName": "rg1", - "api-version": "2019-02-01", - "subscriptionId": "subid", - "peeringName": "MicrosoftPeering" - }, - "responses": { - "200": { - "name": "MicrosoftPeering", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/MicrosoftPeering", - "etag": "W/\"b2a25b98-2e6d-4d46-87f2-089de5f6fdf9\"", - "properties": { - "provisioningState": "Succeeded", - "peeringType": "MicrosoftPeering", - "azureASN": 12076, - "peerASN": 100, - "primaryPeerAddressPrefix": "123.0.0.0/30", - "secondaryPeerAddressPrefix": "123.0.0.4/30", - "primaryAzurePort": "A51-TEST-06GMR-CIS-1-PRI-A", - "secondaryAzurePort": "A51-TEST-06GMR-CIS-2-SEC-A", - "state": "Enabled", - "vlanId": 300, - "gatewayManagerEtag": "103", - "lastModifiedBy": "Customer", - "microsoftPeeringConfig": { - "advertisedPublicPrefixes": [ - "123.1.0.0/24" - ], - "advertisedCommunities": [], - "advertisedPublicPrefixesState": "ValidationNeeded", - "customerASN": 23, - "legacyMode": 0, - "routingRegistryName": "ARIN" - }, - "ipv6PeeringConfig": { - "primaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::/126", - "secondaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::4/126", - "state": "Enabled", - "microsoftPeeringConfig": { - "advertisedPublicPrefixes": [ - "3FFE:FFFF:0:CD31::/120" - ], - "advertisedCommunities": [], - "advertisedPublicPrefixesState": "ValidationNeeded", - "customerASN": 23, - "legacyMode": 0, - "routingRegistryName": "ARIN" - } - } - } + "parameters": { + "circuitName": "circuitName", + "resourceGroupName": "rg1", + "api-version": "2019-02-01", + "subscriptionId": "subid", + "peeringName": "MicrosoftPeering" + }, + "responses": { + "200": { + "name": "MicrosoftPeering", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/MicrosoftPeering", + "etag": "W/\"b2a25b98-2e6d-4d46-87f2-089de5f6fdf9\"", + "properties": { + "provisioningState": "Succeeded", + "peeringType": "MicrosoftPeering", + "azureASN": 12076, + "peerASN": 100, + "primaryPeerAddressPrefix": "123.0.0.0/30", + "secondaryPeerAddressPrefix": "123.0.0.4/30", + "primaryAzurePort": "A51-TEST-06GMR-CIS-1-PRI-A", + "secondaryAzurePort": "A51-TEST-06GMR-CIS-2-SEC-A", + "state": "Enabled", + "vlanId": 300, + "gatewayManagerEtag": "103", + "lastModifiedBy": "Customer", + "microsoftPeeringConfig": { + "advertisedPublicPrefixes": [ + "123.1.0.0/24" + ], + "advertisedCommunities": [], + "advertisedPublicPrefixesState": "ValidationNeeded", + "customerASN": 23, + "legacyMode": 0, + "routingRegistryName": "ARIN" + }, + "ipv6PeeringConfig": { + "primaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::/126", + "secondaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::4/126", + "state": "Enabled", + "microsoftPeeringConfig": { + "advertisedPublicPrefixes": [ + "3FFE:FFFF:0:CD31::/120" + ], + "advertisedCommunities": [], + "advertisedPublicPrefixesState": "ValidationNeeded", + "customerASN": 23, + "legacyMode": 0, + "routingRegistryName": "ARIN" + } } + } } + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitPeeringList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitPeeringList.json index 4cb75395ae10..dfae42d51969 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitPeeringList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitPeeringList.json @@ -1,86 +1,86 @@ { - "parameters": { - "circuitName": "circuitName", - "resourceGroupName": "rg1", - "api-version": "2019-02-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "value": [ - { - "name": "MicrosoftPeering", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/MicrosoftPeering", - "etag": "W/\"b2a25b98-2e6d-4d46-87f2-089de5f6fdf9\"", - "properties": { - "provisioningState": "Succeeded", - "peeringType": "MicrosoftPeering", - "azureASN": 12076, - "peerASN": 100, - "primaryPeerAddressPrefix": "123.0.0.0/30", - "secondaryPeerAddressPrefix": "123.0.0.4/30", - "primaryAzurePort": "A51-TEST-06GMR-CIS-1-PRI-A", - "secondaryAzurePort": "A51-TEST-06GMR-CIS-2-SEC-A", - "state": "Enabled", - "vlanId": 300, - "gatewayManagerEtag": "103", - "lastModifiedBy": "Customer", - "microsoftPeeringConfig": { - "advertisedPublicPrefixes": [ - "123.1.0.0/24" - ], - "advertisedCommunities": [], - "advertisedPublicPrefixesState": "ValidationNeeded", - "customerASN": 23, - "legacyMode": 0, - "routingRegistryName": "ARIN" - }, - "ipv6PeeringConfig": { - "primaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::/126", - "secondaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::4/126", - "state": "Enabled", - "microsoftPeeringConfig": { - "advertisedPublicPrefixes": [ - "3FFE:FFFF:0:CD31::/120" - ], - "advertisedCommunities": [], - "advertisedPublicPrefixesState": "ValidationNeeded", - "customerASN": 23, - "legacyMode": 0, - "routingRegistryName": "ARIN" - } - }, - "expressRouteConnection": "" - } + "parameters": { + "circuitName": "circuitName", + "resourceGroupName": "rg1", + "api-version": "2019-02-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "value": [ + { + "name": "MicrosoftPeering", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/MicrosoftPeering", + "etag": "W/\"b2a25b98-2e6d-4d46-87f2-089de5f6fdf9\"", + "properties": { + "provisioningState": "Succeeded", + "peeringType": "MicrosoftPeering", + "azureASN": 12076, + "peerASN": 100, + "primaryPeerAddressPrefix": "123.0.0.0/30", + "secondaryPeerAddressPrefix": "123.0.0.4/30", + "primaryAzurePort": "A51-TEST-06GMR-CIS-1-PRI-A", + "secondaryAzurePort": "A51-TEST-06GMR-CIS-2-SEC-A", + "state": "Enabled", + "vlanId": 300, + "gatewayManagerEtag": "103", + "lastModifiedBy": "Customer", + "microsoftPeeringConfig": { + "advertisedPublicPrefixes": [ + "123.1.0.0/24" + ], + "advertisedCommunities": [], + "advertisedPublicPrefixesState": "ValidationNeeded", + "customerASN": 23, + "legacyMode": 0, + "routingRegistryName": "ARIN" }, - { - "name": "AzurePrivatePeering", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering", - "etag": "W/\"b2a25b98-2e6d-4d46-87f2-089de5f6fdf9\"", - "properties": { - "provisioningState": "Succeeded", - "peeringType": "AzurePrivatePeering", - "azureASN": 12076, - "peerASN": 100, - "primaryPeerAddressPrefix": "10.0.0.0/30", - "secondaryPeerAddressPrefix": "10.0.0.4/30", - "primaryAzurePort": "A51-TEST-06GMR-CIS-1-PRI-A", - "secondaryAzurePort": "A51-TEST-06GMR-CIS-2-SEC-A", - "state": "Enabled", - "vlanId": 200, - "gatewayManagerEtag": "103", - "lastModifiedBy": "Customer", - "ipv6PeeringConfig": { - "primaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::/126", - "secondaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::4/126", - "state": "Enabled" - }, - "expressRouteConnection": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName" - } - } + "ipv6PeeringConfig": { + "primaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::/126", + "secondaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::4/126", + "state": "Enabled", + "microsoftPeeringConfig": { + "advertisedPublicPrefixes": [ + "3FFE:FFFF:0:CD31::/120" + ], + "advertisedCommunities": [], + "advertisedPublicPrefixesState": "ValidationNeeded", + "customerASN": 23, + "legacyMode": 0, + "routingRegistryName": "ARIN" + } + }, + "expressRouteConnection": "" + } + }, + { + "name": "AzurePrivatePeering", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering", + "etag": "W/\"b2a25b98-2e6d-4d46-87f2-089de5f6fdf9\"", + "properties": { + "provisioningState": "Succeeded", + "peeringType": "AzurePrivatePeering", + "azureASN": 12076, + "peerASN": 100, + "primaryPeerAddressPrefix": "10.0.0.0/30", + "secondaryPeerAddressPrefix": "10.0.0.4/30", + "primaryAzurePort": "A51-TEST-06GMR-CIS-1-PRI-A", + "secondaryAzurePort": "A51-TEST-06GMR-CIS-2-SEC-A", + "state": "Enabled", + "vlanId": 200, + "gatewayManagerEtag": "103", + "lastModifiedBy": "Customer", + "ipv6PeeringConfig": { + "primaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::/126", + "secondaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::4/126", + "state": "Enabled" + }, + "expressRouteConnection": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName" } - ] - } - } + } + } + ] + } + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitPeeringStats.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitPeeringStats.json index 510b6d40226d..9f2b0bc389fe 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitPeeringStats.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitPeeringStats.json @@ -1,17 +1,17 @@ { - "parameters": { - "circuitName": "circuitName", - "resourceGroupName": "rg1", - "api-version": "2019-02-01", - "subscriptionId": "subid", - "peeringName": "peeringName" - }, - "responses": { - "200": { - "primaryBytesIn": 537408, - "primaryBytesOut": 44032550, - "secondaryBytesIn": 0, - "secondaryBytesOut": 39002500 - } - } + "parameters": { + "circuitName": "circuitName", + "resourceGroupName": "rg1", + "api-version": "2019-02-01", + "subscriptionId": "subid", + "peeringName": "peeringName" + }, + "responses": { + "200": { + "primaryBytesIn": 537408, + "primaryBytesOut": 44032550, + "secondaryBytesIn": 0, + "secondaryBytesOut": 39002500 + } + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitRouteTableList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitRouteTableList.json index 8a7723c308da..238cdd9da317 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitRouteTableList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitRouteTableList.json @@ -1,34 +1,34 @@ { - "parameters": { - "circuitName": "circuitName", - "resourceGroupName": "rg1", - "api-version": "2019-02-01", - "subscriptionId": "subid", - "peeringName": "peeringName", - "devicePath": "devicePath" - }, - "responses": { - "200": { - "value": [ - { - "network": "", - "nextHop": "", - "locPrf": "", - "weight": 0, - "path": "" - } - ] - }, - "202": { - "value": [ - { - "network": "", - "nextHop": "", - "locPrf": "", - "weight": 0, - "path": "" - } - ] - } - } + "parameters": { + "circuitName": "circuitName", + "resourceGroupName": "rg1", + "api-version": "2019-02-01", + "subscriptionId": "subid", + "peeringName": "peeringName", + "devicePath": "devicePath" + }, + "responses": { + "200": { + "value": [ + { + "network": "", + "nextHop": "", + "locPrf": "", + "weight": 0, + "path": "" + } + ] + }, + "202": { + "value": [ + { + "network": "", + "nextHop": "", + "locPrf": "", + "weight": 0, + "path": "" + } + ] + } + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitRouteTableSummaryList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitRouteTableSummaryList.json index cd36922c3086..006f42a8800b 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitRouteTableSummaryList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitRouteTableSummaryList.json @@ -1,34 +1,34 @@ { - "parameters": { - "circuitName": "circuitName", - "resourceGroupName": "rg1", - "api-version": "2019-02-01", - "subscriptionId": "subid", - "peeringName": "peeringName", - "devicePath": "devicePath" - }, - "responses": { - "200": { - "value": [ - { - "neighbor": "100.65.171.1", - "v": 4, - "as": 9583, - "upDown": "never", - "statePfxRcd": "Idle" - } - ] - }, - "202": { - "value": [ - { - "neighbor": "100.65.171.1", - "v": 4, - "as": 9583, - "upDown": "never", - "statePfxRcd": "Idle" - } - ] - } - } + "parameters": { + "circuitName": "circuitName", + "resourceGroupName": "rg1", + "api-version": "2019-02-01", + "subscriptionId": "subid", + "peeringName": "peeringName", + "devicePath": "devicePath" + }, + "responses": { + "200": { + "value": [ + { + "neighbor": "100.65.171.1", + "v": 4, + "as": 9583, + "upDown": "never", + "statePfxRcd": "Idle" + } + ] + }, + "202": { + "value": [ + { + "neighbor": "100.65.171.1", + "v": 4, + "as": 9583, + "upDown": "never", + "statePfxRcd": "Idle" + } + ] + } + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitStats.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitStats.json index b6d1591aa373..e476dcf3b51e 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitStats.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitStats.json @@ -1,16 +1,16 @@ { - "parameters": { - "circuitName": "circuitName", - "resourceGroupName": "rg1", - "api-version": "2019-02-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "primaryBytesIn": 537408, - "primaryBytesOut": 44032550, - "secondaryBytesIn": 0, - "secondaryBytesOut": 39002500 - } - } + "parameters": { + "circuitName": "circuitName", + "resourceGroupName": "rg1", + "api-version": "2019-02-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "primaryBytesIn": 537408, + "primaryBytesOut": 44032550, + "secondaryBytesIn": 0, + "secondaryBytesOut": 39002500 + } + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitUpdateTags.json index a85360d9b09c..08afb2a91ba2 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitUpdateTags.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitUpdateTags.json @@ -1,9 +1,9 @@ { - "parameters" : { + "parameters": { "api-version": "2019-02-01", - "subscriptionId" : "subid", - "resourceGroupName" : "ertest", - "circuitName" : "er1", + "subscriptionId": "subid", + "resourceGroupName": "ertest", + "circuitName": "er1", "parameters": { "tags": { "tag1": "value1", @@ -11,9 +11,9 @@ } } }, - "responses" : { - "200" : { - "body" : { + "responses": { + "200": { + "body": { "name": "er1", "id": "/subscriptions/subid/resourceGroups/ertest/providers/Microsoft.Network/expressRouteCircuits/er1", "type": "Microsoft.Network/expressRouteCircuits", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteConnectionCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteConnectionCreate.json index e598976bc303..059974c4b0f1 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteConnectionCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteConnectionCreate.json @@ -1,50 +1,50 @@ { - "parameters": { - "expressRouteGatewayName": "expressRouteGatewayName", - "resourceGroupName": "resourceGroupName", - "api-version": "2019-02-01", - "subscriptionId": "subid", - "connectionName": "connectionName", - "putExpressRouteConnectionParameters": { - "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName", - "name": "connectionName", - "properties": { - "routingWeight": 2, - "authorizationKey": "authorizationKey", - "expressRouteCircuitPeering": { - "id": "/subscriptions/subid2/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering" - } - } + "parameters": { + "expressRouteGatewayName": "expressRouteGatewayName", + "resourceGroupName": "resourceGroupName", + "api-version": "2019-02-01", + "subscriptionId": "subid", + "connectionName": "connectionName", + "putExpressRouteConnectionParameters": { + "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName", + "name": "connectionName", + "properties": { + "routingWeight": 2, + "authorizationKey": "authorizationKey", + "expressRouteCircuitPeering": { + "id": "/subscriptions/subid2/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering" } + } + } + }, + "responses": { + "200": { + "body": { + "name": "connectionName", + "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName", + "properties": { + "provisioningState": "Provisioned", + "expressRouteCircuitPeering": { + "id": "/subscriptions/subid2/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering" + }, + "authorizationKey": "authorizationKey", + "routingWeight": 2 + } + } }, - "responses": { - "200": { - "body": { - "name": "connectionName", - "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName", - "properties": { - "provisioningState": "Provisioned", - "expressRouteCircuitPeering": { - "id": "/subscriptions/subid2/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering" - }, - "authorizationKey": "authorizationKey", - "routingWeight": 2 - } - } - }, - "201": { - "body": { - "name": "connectionName", - "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName", - "properties": { - "provisioningState": "Provisioned", - "expressRouteCircuitPeering": { - "id": "/subscriptions/subid2/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering" - }, - "authorizationKey": "authorizationKey", - "routingWeight": 2 - } - } + "201": { + "body": { + "name": "connectionName", + "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName", + "properties": { + "provisioningState": "Provisioned", + "expressRouteCircuitPeering": { + "id": "/subscriptions/subid2/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering" + }, + "authorizationKey": "authorizationKey", + "routingWeight": 2 } + } } -} \ No newline at end of file + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteConnectionDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteConnectionDelete.json index f049e6881833..c4df6a6f2087 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteConnectionDelete.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteConnectionDelete.json @@ -1,14 +1,14 @@ { - "parameters": { - "expressRouteGatewayName": "expressRouteGatewayName", - "resourceGroupName": "resourceGroupName", - "connectionName": "connectionName", - "api-version": "2019-02-01", - "subscriptionId": "subid" - }, - "responses": { - "202": {}, - "200": {}, - "204": {} - } - } \ No newline at end of file + "parameters": { + "expressRouteGatewayName": "expressRouteGatewayName", + "resourceGroupName": "resourceGroupName", + "connectionName": "connectionName", + "api-version": "2019-02-01", + "subscriptionId": "subid" + }, + "responses": { + "202": {}, + "200": {}, + "204": {} + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteConnectionGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteConnectionGet.json index 779e0c4ea941..fc92f62961ed 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteConnectionGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteConnectionGet.json @@ -22,4 +22,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteConnectionList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteConnectionList.json index 6e12d4492f64..9cb3d94e8b1c 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteConnectionList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteConnectionList.json @@ -25,4 +25,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCrossConnectionBgpPeeringCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCrossConnectionBgpPeeringCreate.json index 4dfb2d2a1747..1912b77318af 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCrossConnectionBgpPeeringCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCrossConnectionBgpPeeringCreate.json @@ -15,7 +15,7 @@ "ipv6PeeringConfig": { "primaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::/126", "secondaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::4/126" - } + } } } }, diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCrossConnectionBgpPeeringDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCrossConnectionBgpPeeringDelete.json index 47a4156a0bea..b26ef913cbc1 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCrossConnectionBgpPeeringDelete.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCrossConnectionBgpPeeringDelete.json @@ -7,11 +7,8 @@ "subscriptionId": "subid" }, "responses": { - "200": { - }, - "202": { - }, - "204": { - } + "200": {}, + "202": {}, + "204": {} } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCrossConnectionBgpPeeringList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCrossConnectionBgpPeeringList.json index 947ab335b176..31aaf18f2899 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCrossConnectionBgpPeeringList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCrossConnectionBgpPeeringList.json @@ -10,7 +10,7 @@ "body": { "value": [ { - "name": "AzurePrivatePeering", + "name": "AzurePrivatePeering", "id": "/subscriptions/subid/resourceGroups/CrossConnection-SiliconValley/providers/Microsoft.Network/expressRouteCrossConnections//peerings/AzurePrivatePeering", "etag": "W/\"72090554-7e3b-43f2-80ad-99a9020dcb11\"", "properties": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCrossConnectionGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCrossConnectionGet.json index d67f44538a8d..a082873585b4 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCrossConnectionGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCrossConnectionGet.json @@ -1,18 +1,18 @@ { - "parameters" : { + "parameters": { "api-version": "2019-02-01", - "subscriptionId" : "subid", - "resourceGroupName" : "CrossConnection-SiliconValley", - "crossConnectionName" : "" + "subscriptionId": "subid", + "resourceGroupName": "CrossConnection-SiliconValley", + "crossConnectionName": "" }, - "responses" : { - "200" : { - "body" : { + "responses": { + "200": { + "body": { "name": "", "id": "/subscriptions/subid/resourceGroups/CrossConnection-SiliconValley/providers/Microsoft.Network/expressRouteCrossConnections/", "type": "Microsoft.Network/expressRouteCrossConnections", "location": "brazilsouth", - "etag": "W/\"c0e6477e-8150-4d4f-9bf6-bb10e6acb63a\"", + "etag": "W/\"c0e6477e-8150-4d4f-9bf6-bb10e6acb63a\"", "properties": { "provisioningState": "Enabled", "expressRouteCircuit": { @@ -25,7 +25,7 @@ "secondaryAzurePort": "bvtazureixp01", "sTag": 2, "serviceProviderProvisioningState": "NotProvisioned" - } + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCrossConnectionUpdate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCrossConnectionUpdate.json index 8d94d937ea7d..c2615baee744 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCrossConnectionUpdate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCrossConnectionUpdate.json @@ -1,18 +1,18 @@ { - "parameters" : { + "parameters": { "api-version": "2019-02-01", - "subscriptionId" : "subid", - "resourceGroupName" : "CrossConnection-SiliconValley", - "crossConnectionName" : "", + "subscriptionId": "subid", + "resourceGroupName": "CrossConnection-SiliconValley", + "crossConnectionName": "", "parameters": { "properties": { "serviceProviderProvisioningState": "NotProvisioned" } } }, - "responses" : { - "200" : { - "body" : { + "responses": { + "200": { + "body": { "name": "", "id": "/subscriptions/subid/resourceGroups/CrossConnectionSiliconValley/providers/Microsoft.Network/expressRouteCrossConnections/", "type": "Microsoft.Network/expressRouteCrossConnections", @@ -29,7 +29,7 @@ "secondaryAzurePort": "bvtazureixp01", "sTag": 2, "serviceProviderProvisioningState": "NotProvisioned" - } + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCrossConnectionUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCrossConnectionUpdateTags.json index 797139bb2180..04143f389438 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCrossConnectionUpdateTags.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCrossConnectionUpdateTags.json @@ -1,9 +1,9 @@ { - "parameters" : { + "parameters": { "api-version": "2019-02-01", - "subscriptionId" : "subid", - "resourceGroupName" : "CrossConnection-SiliconValley", - "crossConnectionName" : "", + "subscriptionId": "subid", + "resourceGroupName": "CrossConnection-SiliconValley", + "crossConnectionName": "", "crossConnectionParameters": { "tags": { "tag1": "value1", @@ -11,9 +11,9 @@ } } }, - "responses" : { - "200" : { - "body" : { + "responses": { + "200": { + "body": { "name": "er1", "id": "/subscriptions/subid/resourceGroups/CrossConnectionSiliconValley/providers/Microsoft.Network/expressRouteCrossConnections/", "type": "Microsoft.Network/expressRouteCrossConnections", @@ -34,7 +34,7 @@ "secondaryAzurePort": "bvtazureixp01", "sTag": 2, "serviceProviderProvisioningState": "NotProvisioned" - } + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCrossConnectionsArpTable.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCrossConnectionsArpTable.json index 6558fff3ff96..3e3826c4a0a0 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCrossConnectionsArpTable.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCrossConnectionsArpTable.json @@ -13,14 +13,13 @@ "value": [ { "age": 0, - "interface": "Microsoft" , + "interface": "Microsoft", "ipAddress": "192.116.14.254", "macAddress": "885a.9269.9110" } ] } }, - "202": { - } + "202": {} } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCrossConnectionsRouteTable.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCrossConnectionsRouteTable.json index 05ead7180ab5..a522ec820a0f 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCrossConnectionsRouteTable.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCrossConnectionsRouteTable.json @@ -13,22 +13,21 @@ "value": [ { "network": "10.6.0.0/16", - "nextHop": "10.6.1.12" , + "nextHop": "10.6.1.12", "locPrf": "", "weight": 0, "path": "65514" }, { "network": "10.7.0.0/16", - "nextHop": "10.7.1.13" , + "nextHop": "10.7.1.13", "locPrf": "", "weight": 0, - "path": "65514" + "path": "65514" } ] } }, - "202": { - } + "202": {} } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCrossConnectionsRouteTableSummary.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCrossConnectionsRouteTableSummary.json index ceb984cad78c..946c0f2e6da9 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCrossConnectionsRouteTableSummary.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCrossConnectionsRouteTableSummary.json @@ -26,7 +26,6 @@ ] } }, - "202": { - } + "202": {} } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteGatewayCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteGatewayCreate.json index 9bef66e16efa..07714c13f8d5 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteGatewayCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteGatewayCreate.json @@ -1,65 +1,65 @@ { - "parameters": { - "expressRouteGatewayName": "gateway-2", - "subscriptionId": "subid", - "resourceGroupName": "resourceGroupName", - "api-version": "2019-02-01", - "putExpressRouteGatewayParameters": { - "name": "gateway-2", - "type": "Microsoft.Network/expressRouteGateways", - "location": "westus", - "properties": { - "virtualHub": { - "id": "/subscriptions/subid/resourceGroups/resourceGroupId/providers/Microsoft.Network/virtualHubs/virtualHubName" - }, - "autoScaleConfiguration": { - "bounds": { - "min": 3 - } - } + "parameters": { + "expressRouteGatewayName": "gateway-2", + "subscriptionId": "subid", + "resourceGroupName": "resourceGroupName", + "api-version": "2019-02-01", + "putExpressRouteGatewayParameters": { + "name": "gateway-2", + "type": "Microsoft.Network/expressRouteGateways", + "location": "westus", + "properties": { + "virtualHub": { + "id": "/subscriptions/subid/resourceGroups/resourceGroupId/providers/Microsoft.Network/virtualHubs/virtualHubName" + }, + "autoScaleConfiguration": { + "bounds": { + "min": 3 + } + } + } + } + }, + "responses": { + "201": { + "body": { + "name": "gateway-2", + "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/gateway-2", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "westus", + "type": "Microsoft.Network/expressRouteGateways", + "properties": { + "provisioningState": "Succeeded", + "virtualHub": { + "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/virtualHubName" + }, + "autoScaleConfiguration": { + "bounds": { + "min": 3 } + } } + } }, - "responses": { - "201": { - "body": { - "name": "gateway-2", - "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/gateway-2", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "location": "westus", - "type": "Microsoft.Network/expressRouteGateways", - "properties": { - "provisioningState": "Succeeded", - "virtualHub": { - "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/virtualHubName" - }, - "autoScaleConfiguration": { - "bounds": { - "min": 3 - } - } - } - } - }, - "200": { - "body": { - "name": "gateway-2", - "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/gateway-2", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "location": "westus", - "type": "Microsoft.Network/expressRouteGateways", - "properties": { - "provisioningState": "Succeeded", - "virtualHub": { - "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/virtualHubName" - }, - "autoScaleConfiguration": { - "bounds": { - "min": 3 - } - } - } + "200": { + "body": { + "name": "gateway-2", + "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/gateway-2", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "westus", + "type": "Microsoft.Network/expressRouteGateways", + "properties": { + "provisioningState": "Succeeded", + "virtualHub": { + "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/virtualHubName" + }, + "autoScaleConfiguration": { + "bounds": { + "min": 3 } + } } + } } -} \ No newline at end of file + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteGatewayDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteGatewayDelete.json index 4cdbdad15e40..6c921b686e69 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteGatewayDelete.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteGatewayDelete.json @@ -10,4 +10,4 @@ "200": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteGatewayGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteGatewayGet.json index 5c4c8e3cd766..31e304d1803e 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteGatewayGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteGatewayGet.json @@ -22,4 +22,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteGatewayListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteGatewayListByResourceGroup.json index 4e3f2031972c..4153db2c6615 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteGatewayListByResourceGroup.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteGatewayListByResourceGroup.json @@ -44,4 +44,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteGatewayListBySubscription.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteGatewayListBySubscription.json index 8dd9faf11885..893402c3cf0a 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteGatewayListBySubscription.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteGatewayListBySubscription.json @@ -43,4 +43,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteLinkGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteLinkGet.json index e9ae9a79ffca..2c437fa42db9 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteLinkGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteLinkGet.json @@ -1,26 +1,26 @@ { - "parameters": { - "subscriptionId": "subid", - "api-version": "2019-02-01", - "resourceGroupName": "rg1", - "expressRoutePortName": "portName", - "linkName": "linkName" - }, - "responses": { - "200": { - "body": { - "name": "linkName", - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/linkName", - "properties": { - "provisioningState": "Succeeded", - "routerName": "router1", - "interfaceName": "Ethernet 0/0", - "patchPanelId": "patchPanelId1", - "rackId": "rackId1", - "connectorType": "LC", - "adminState": "Disabled" - } - } + "parameters": { + "subscriptionId": "subid", + "api-version": "2019-02-01", + "resourceGroupName": "rg1", + "expressRoutePortName": "portName", + "linkName": "linkName" + }, + "responses": { + "200": { + "body": { + "name": "linkName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/linkName", + "properties": { + "provisioningState": "Succeeded", + "routerName": "router1", + "interfaceName": "Ethernet 0/0", + "patchPanelId": "patchPanelId1", + "rackId": "rackId1", + "connectorType": "LC", + "adminState": "Disabled" } + } } -} \ No newline at end of file + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteLinkList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteLinkList.json index 26bf35bf26f6..88c4b2fcad6b 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteLinkList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteLinkList.json @@ -1,42 +1,42 @@ { - "parameters": { - "subscriptionId": "subid", - "api-version": "2019-02-01", - "resourceGroupName": "rg1", - "expressRoutePortName": "portName" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "link1", - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link1", - "properties": { - "provisioningState": "Succeeded", - "routerName": "router1", - "interfaceName": "Ethernet 0/0", - "patchPanelId": "patchPanelId1", - "rackId": "rackId1", - "connectorType": "LC", - "adminState": "Disabled" - } - }, - { - "name": "link2", - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link2", - "properties": { - "provisioningState": "Succeeded", - "routerName": "router2", - "interfaceName": "Ethernet 0/0", - "patchPanelId": "patchPanelId2", - "rackId": "rackId2", - "connectorType": "LC", - "adminState": "Disabled" - } - } - ] + "parameters": { + "subscriptionId": "subid", + "api-version": "2019-02-01", + "resourceGroupName": "rg1", + "expressRoutePortName": "portName" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "link1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link1", + "properties": { + "provisioningState": "Succeeded", + "routerName": "router1", + "interfaceName": "Ethernet 0/0", + "patchPanelId": "patchPanelId1", + "rackId": "rackId1", + "connectorType": "LC", + "adminState": "Disabled" } - } + }, + { + "name": "link2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link2", + "properties": { + "provisioningState": "Succeeded", + "routerName": "router2", + "interfaceName": "Ethernet 0/0", + "patchPanelId": "patchPanelId2", + "rackId": "rackId2", + "connectorType": "LC", + "adminState": "Disabled" + } + } + ] + } } + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRoutePortCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRoutePortCreate.json index 5bdd6be60767..354769ff821d 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRoutePortCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRoutePortCreate.json @@ -1,112 +1,112 @@ { + "parameters": { + "subscriptionId": "subid", + "api-version": "2019-02-01", + "resourceGroupName": "rg1", + "expressRoutePortName": "portName", "parameters": { - "subscriptionId": "subid", - "api-version": "2019-02-01", - "resourceGroupName": "rg1", - "expressRoutePortName": "portName", - "parameters": { - "location": "westus", - "properties": { - "peeringLocation": "peeringLocationName", - "bandwidthInGbps": 100, - "encapsulation": "QinQ" + "location": "westus", + "properties": { + "peeringLocation": "peeringLocationName", + "bandwidthInGbps": 100, + "encapsulation": "QinQ" + } + } + }, + "responses": { + "200": { + "body": { + "name": "portName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName", + "type": "Microsofot.Network/expressRoutePorts", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "peeringLocation": "peeringLocationName", + "bandwidthInGbps": 100, + "provisionedBandwidthInGbps": 0.0, + "mtu": "1500", + "encapsulation": "QinQ", + "etherType": "0x8100", + "allocationDate": "Friday, July 1, 2018", + "links": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link1", + "name": "link1", + "properties": { + "provisioningState": "Succeeded", + "routerName": "router1", + "interfaceName": "Ethernet 0/0", + "patchPanelId": "patchPanelId1", + "rackId": "rackId1", + "connectorType": "LC", + "adminState": "Disabled" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link2", + "name": "link2", + "properties": { + "provisioningState": "Succeeded", + "routerName": "router2", + "interfaceName": "Ethernet 0/0", + "patchPanelId": "patchPanelId2", + "rackId": "rackId2", + "connectorType": "LC", + "adminState": "Disabled" + } } + ], + "circuits": [] } + } }, - "responses": { - "200": { - "body": { - "name": "portName", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName", - "type": "Microsofot.Network/expressRoutePorts", - "location": "westus", - "properties": { - "provisioningState": "Succeeded", - "peeringLocation": "peeringLocationName", - "bandwidthInGbps": 100, - "provisionedBandwidthInGbps": 0.0, - "mtu": "1500", - "encapsulation": "QinQ", - "etherType": "0x8100", - "allocationDate": "Friday, July 1, 2018", - "links": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link1", - "name": "link1", - "properties": { - "provisioningState": "Succeeded", - "routerName": "router1", - "interfaceName": "Ethernet 0/0", - "patchPanelId": "patchPanelId1", - "rackId": "rackId1", - "connectorType": "LC", - "adminState": "Disabled" - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link2", - "name": "link2", - "properties": { - "provisioningState": "Succeeded", - "routerName": "router2", - "interfaceName": "Ethernet 0/0", - "patchPanelId": "patchPanelId2", - "rackId": "rackId2", - "connectorType": "LC", - "adminState": "Disabled" - } - } - ], - "circuits": [] - } - } - }, - "201": { - "body": { - "name": "portName", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName", - "type": "Microsofot.Network/expressRoutePorts", - "location": "westus", - "properties": { - "provisioningState": "Succeeded", - "peeringLocation": "peeringLocationName", - "bandwidthInGbps": 100, - "provisionedBandwidthInGbps": 0.0, - "mtu": "1500", - "encapsulation": "QinQ", - "etherType": "0x8100", - "allocationDate": "Friday, July 1, 2018", - "links": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link1", - "name": "link1", - "properties": { - "provisioningState": "Succeeded", - "routerName": "router1", - "interfaceName": "Ethernet 0/0", - "patchPanelId": "patchPanelId1", - "rackId": "rackId1", - "connectorType": "LC", - "adminState": "Disabled" - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link2", - "name": "link2", - "properties": { - "provisioningState": "Succeeded", - "routerName": "router2", - "interfaceName": "Ethernet 0/0", - "patchPanelId": "patchPanelId2", - "rackId": "rackId2", - "connectorType": "LC", - "adminState": "Disabled" - } - } - ], - "circuits": [] - } + "201": { + "body": { + "name": "portName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName", + "type": "Microsofot.Network/expressRoutePorts", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "peeringLocation": "peeringLocationName", + "bandwidthInGbps": 100, + "provisionedBandwidthInGbps": 0.0, + "mtu": "1500", + "encapsulation": "QinQ", + "etherType": "0x8100", + "allocationDate": "Friday, July 1, 2018", + "links": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link1", + "name": "link1", + "properties": { + "provisioningState": "Succeeded", + "routerName": "router1", + "interfaceName": "Ethernet 0/0", + "patchPanelId": "patchPanelId1", + "rackId": "rackId1", + "connectorType": "LC", + "adminState": "Disabled" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link2", + "name": "link2", + "properties": { + "provisioningState": "Succeeded", + "routerName": "router2", + "interfaceName": "Ethernet 0/0", + "patchPanelId": "patchPanelId2", + "rackId": "rackId2", + "connectorType": "LC", + "adminState": "Disabled" + } } + ], + "circuits": [] } + } } -} \ No newline at end of file + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRoutePortDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRoutePortDelete.json index 7dc7a5198116..f8b2797b461d 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRoutePortDelete.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRoutePortDelete.json @@ -1,13 +1,13 @@ { - "parameters": { - "subscriptionId": "subid", - "api-version": "2019-02-01", - "resourceGroupName": "rg1", - "expressRoutePortName": "portName" - }, - "responses": { - "200": {}, - "202": {}, - "204": {} - } -} \ No newline at end of file + "parameters": { + "subscriptionId": "subid", + "api-version": "2019-02-01", + "resourceGroupName": "rg1", + "expressRoutePortName": "portName" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRoutePortGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRoutePortGet.json index 5f9098a4a0e6..488c7f7e63f2 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRoutePortGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRoutePortGet.json @@ -1,57 +1,57 @@ { - "parameters": { - "subscriptionId": "subid", - "api-version": "2019-02-01", - "resourceGroupName": "rg1", - "expressRoutePortName": "portName" - }, - "responses": { - "200": { - "body": { - "name": "portName", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName", - "type": "Microsofot.Network/expressRoutePorts", - "location": "westus", - "properties": { - "provisioningState": "Succeeded", - "peeringLocation": "peeringLocationName", - "bandwidthInGbps": 100, - "provisionedBandwidthInGbps": 0.0, - "mtu": "1500", - "encapsulation": "QinQ", - "etherType": "0x8100", - "allocationDate": "Friday, July 1, 2018", - "links": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link1", - "name": "link1", - "properties": { - "provisioningState": "Succeeded", - "routerName": "router1", - "interfaceName": "Ethernet 0/0", - "patchPanelId": "patchPanelId1", - "rackId": "rackId1", - "connectorType": "LC", - "adminState": "Disabled" - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link2", - "name": "link2", - "properties": { - "provisioningState": "Succeeded", - "routerName": "router2", - "interfaceName": "Ethernet 0/0", - "patchPanelId": "patchPanelId2", - "rackId": "rackId2", - "connectorType": "LC", - "adminState": "Disabled" - } - } - ], - "circuits": [] - } + "parameters": { + "subscriptionId": "subid", + "api-version": "2019-02-01", + "resourceGroupName": "rg1", + "expressRoutePortName": "portName" + }, + "responses": { + "200": { + "body": { + "name": "portName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName", + "type": "Microsofot.Network/expressRoutePorts", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "peeringLocation": "peeringLocationName", + "bandwidthInGbps": 100, + "provisionedBandwidthInGbps": 0.0, + "mtu": "1500", + "encapsulation": "QinQ", + "etherType": "0x8100", + "allocationDate": "Friday, July 1, 2018", + "links": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link1", + "name": "link1", + "properties": { + "provisioningState": "Succeeded", + "routerName": "router1", + "interfaceName": "Ethernet 0/0", + "patchPanelId": "patchPanelId1", + "rackId": "rackId1", + "connectorType": "LC", + "adminState": "Disabled" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link2", + "name": "link2", + "properties": { + "provisioningState": "Succeeded", + "routerName": "router2", + "interfaceName": "Ethernet 0/0", + "patchPanelId": "patchPanelId2", + "rackId": "rackId2", + "connectorType": "LC", + "adminState": "Disabled" + } } + ], + "circuits": [] } + } } + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRoutePortList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRoutePortList.json index c7aa4602b8db..0c2836c6b617 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRoutePortList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRoutePortList.json @@ -1,59 +1,59 @@ { - "parameters": { - "subscriptionId": "subid", - "api-version": "2019-02-01" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "portName", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName", - "type": "Microsofot.Network/expressRoutePorts", - "location": "westus", - "properties": { - "provisioningState": "Succeeded", - "peeringLocation": "peeringLocationName", - "bandwidthInGbps": 100, - "provisionedBandwidthInGbps": 0.0, - "mtu": "1500", - "encapsulation": "QinQ", - "etherType": "0x8100", - "allocationDate": "Friday, July 1, 2018", - "links": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link1", - "name": "link1", - "properties": { - "provisioningState": "Succeeded", - "routerName": "router1", - "interfaceName": "Ethernet 0/0", - "patchPanelId": "patchPanelId1", - "rackId": "rackId1", - "connectorType": "LC", - "adminState": "Disabled" - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link2", - "name": "link2", - "properties": { - "provisioningState": "Succeeded", - "routerName": "router2", - "interfaceName": "Ethernet 0/0", - "patchPanelId": "patchPanelId2", - "rackId": "rackId2", - "connectorType": "LC", - "adminState": "Disabled" - } - } - ], - "circuits": [] - } - } - ] + "parameters": { + "subscriptionId": "subid", + "api-version": "2019-02-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "portName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName", + "type": "Microsofot.Network/expressRoutePorts", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "peeringLocation": "peeringLocationName", + "bandwidthInGbps": 100, + "provisionedBandwidthInGbps": 0.0, + "mtu": "1500", + "encapsulation": "QinQ", + "etherType": "0x8100", + "allocationDate": "Friday, July 1, 2018", + "links": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link1", + "name": "link1", + "properties": { + "provisioningState": "Succeeded", + "routerName": "router1", + "interfaceName": "Ethernet 0/0", + "patchPanelId": "patchPanelId1", + "rackId": "rackId1", + "connectorType": "LC", + "adminState": "Disabled" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link2", + "name": "link2", + "properties": { + "provisioningState": "Succeeded", + "routerName": "router2", + "interfaceName": "Ethernet 0/0", + "patchPanelId": "patchPanelId2", + "rackId": "rackId2", + "connectorType": "LC", + "adminState": "Disabled" + } + } + ], + "circuits": [] } - } + } + ] + } } + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRoutePortListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRoutePortListByResourceGroup.json index fc05fc96e1f2..1ebaebf0e879 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRoutePortListByResourceGroup.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRoutePortListByResourceGroup.json @@ -1,60 +1,60 @@ { - "parameters": { - "subscriptionId": "subid", - "api-version": "2019-02-01", - "resourceGroupName": "rg1" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "portName", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName", - "type": "Microsofot.Network/expressRoutePorts", - "location": "westus", - "properties": { - "provisioningState": "Succeeded", - "peeringLocation": "peeringLocationName", - "bandwidthInGbps": 100, - "provisionedBandwidthInGbps": 0.0, - "mtu": "1500", - "encapsulation": "QinQ", - "etherType": "0x8100", - "allocationDate": "Friday, July 1, 2018", - "links": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link1", - "name": "link1", - "properties": { - "provisioningState": "Succeeded", - "routerName": "router1", - "interfaceName": "Ethernet 0/0", - "patchPanelId": "patchPanelId1", - "rackId": "rackId1", - "connectorType": "LC", - "adminState": "Disabled" - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link2", - "name": "link2", - "properties": { - "provisioningState": "Succeeded", - "routerName": "router2", - "interfaceName": "Ethernet 0/0", - "patchPanelId": "patchPanelId2", - "rackId": "rackId2", - "connectorType": "LC", - "adminState": "Disabled" - } - } - ], - "circuits": [] - } - } - ] + "parameters": { + "subscriptionId": "subid", + "api-version": "2019-02-01", + "resourceGroupName": "rg1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "portName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName", + "type": "Microsofot.Network/expressRoutePorts", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "peeringLocation": "peeringLocationName", + "bandwidthInGbps": 100, + "provisionedBandwidthInGbps": 0.0, + "mtu": "1500", + "encapsulation": "QinQ", + "etherType": "0x8100", + "allocationDate": "Friday, July 1, 2018", + "links": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link1", + "name": "link1", + "properties": { + "provisioningState": "Succeeded", + "routerName": "router1", + "interfaceName": "Ethernet 0/0", + "patchPanelId": "patchPanelId1", + "rackId": "rackId1", + "connectorType": "LC", + "adminState": "Disabled" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link2", + "name": "link2", + "properties": { + "provisioningState": "Succeeded", + "routerName": "router2", + "interfaceName": "Ethernet 0/0", + "patchPanelId": "patchPanelId2", + "rackId": "rackId2", + "connectorType": "LC", + "adminState": "Disabled" + } + } + ], + "circuits": [] } - } + } + ] + } } + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRoutePortUpdateLink.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRoutePortUpdateLink.json index b53e8884b7bb..7db0301d6fef 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRoutePortUpdateLink.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRoutePortUpdateLink.json @@ -1,120 +1,120 @@ { + "parameters": { + "subscriptionId": "subid", + "api-version": "2019-02-01", + "resourceGroupName": "rg1", + "expressRoutePortName": "portName", "parameters": { - "subscriptionId": "subid", - "api-version": "2019-02-01", - "resourceGroupName": "rg1", - "expressRoutePortName": "portName", - "parameters": { - "location": "westus", + "location": "westus", + "properties": { + "peeringLocation": "peeringLocationName", + "bandwidthInGbps": 100, + "encapsulation": "QinQ", + "links": [ + { + "name": "link1", "properties": { - "peeringLocation": "peeringLocationName", - "bandwidthInGbps": 100, - "encapsulation": "QinQ", - "links": [ - { - "name":"link1", - "properties": { - "adminState": "Enabled" - } - } - ] + "adminState": "Enabled" } + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "name": "portName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName", + "type": "Microsofot.Network/expressRoutePorts", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "peeringLocation": "peeringLocationName", + "bandwidthInGbps": 100, + "provisionedBandwidthInGbps": 0.0, + "mtu": "1500", + "encapsulation": "QinQ", + "etherType": "0x8100", + "allocationDate": "Friday, July 1, 2018", + "links": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link1", + "name": "link1", + "properties": { + "provisioningState": "Succeeded", + "routerName": "router1", + "interfaceName": "Ethernet 0/0", + "patchPanelId": "patchPanelId1", + "rackId": "rackId1", + "connectorType": "LC", + "adminState": "Enabled" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link2", + "name": "link2", + "properties": { + "provisioningState": "Succeeded", + "routerName": "router2", + "interfaceName": "Ethernet 0/0", + "patchPanelId": "patchPanelId2", + "rackId": "rackId2", + "connectorType": "LC", + "adminState": "Disabled" + } + } + ], + "circuits": [] } + } }, - "responses": { - "200": { - "body": { - "name": "portName", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName", - "type": "Microsofot.Network/expressRoutePorts", - "location": "westus", - "properties": { - "provisioningState": "Succeeded", - "peeringLocation": "peeringLocationName", - "bandwidthInGbps": 100, - "provisionedBandwidthInGbps": 0.0, - "mtu": "1500", - "encapsulation": "QinQ", - "etherType": "0x8100", - "allocationDate": "Friday, July 1, 2018", - "links": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link1", - "name": "link1", - "properties": { - "provisioningState": "Succeeded", - "routerName": "router1", - "interfaceName": "Ethernet 0/0", - "patchPanelId": "patchPanelId1", - "rackId": "rackId1", - "connectorType": "LC", - "adminState": "Enabled" - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link2", - "name": "link2", - "properties": { - "provisioningState": "Succeeded", - "routerName": "router2", - "interfaceName": "Ethernet 0/0", - "patchPanelId": "patchPanelId2", - "rackId": "rackId2", - "connectorType": "LC", - "adminState": "Disabled" - } - } - ], - "circuits": [] - } - } - }, - "201": { - "body": { - "name": "portName", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName", - "type": "Microsofot.Network/expressRoutePorts", - "location": "westus", - "properties": { - "provisioningState": "Succeeded", - "peeringLocation": "peeringLocationName", - "bandwidthInGbps": 100, - "provisionedBandwidthInGbps": 0.0, - "mtu": "1500", - "encapsulation": "QinQ", - "etherType": "0x8100", - "allocationDate": "Friday, July 1, 2018", - "links": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link1", - "name": "link1", - "properties": { - "provisioningState": "Succeeded", - "routerName": "router1", - "interfaceName": "Ethernet 0/0", - "patchPanelId": "patchPanelId1", - "rackId": "rackId1", - "connectorType": "LC", - "adminState": "Enabled" - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link2", - "name": "link2", - "properties": { - "provisioningState": "Succeeded", - "routerName": "router2", - "interfaceName": "Ethernet 0/0", - "patchPanelId": "patchPanelId2", - "rackId": "rackId2", - "connectorType": "LC", - "adminState": "Disabled" - } - } - ], - "circuits": [] - } + "201": { + "body": { + "name": "portName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName", + "type": "Microsofot.Network/expressRoutePorts", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "peeringLocation": "peeringLocationName", + "bandwidthInGbps": 100, + "provisionedBandwidthInGbps": 0.0, + "mtu": "1500", + "encapsulation": "QinQ", + "etherType": "0x8100", + "allocationDate": "Friday, July 1, 2018", + "links": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link1", + "name": "link1", + "properties": { + "provisioningState": "Succeeded", + "routerName": "router1", + "interfaceName": "Ethernet 0/0", + "patchPanelId": "patchPanelId1", + "rackId": "rackId1", + "connectorType": "LC", + "adminState": "Enabled" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link2", + "name": "link2", + "properties": { + "provisioningState": "Succeeded", + "routerName": "router2", + "interfaceName": "Ethernet 0/0", + "patchPanelId": "patchPanelId2", + "rackId": "rackId2", + "connectorType": "LC", + "adminState": "Disabled" + } } + ], + "circuits": [] } + } } -} \ No newline at end of file + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRoutePortUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRoutePortUpdateTags.json index 9f5b40ec820b..7851c15e9307 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRoutePortUpdateTags.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRoutePortUpdateTags.json @@ -1,63 +1,63 @@ { + "parameters": { + "subscriptionId": "subid", + "api-version": "2019-02-01", + "resourceGroupName": "rg1", + "expressRoutePortName": "portName", "parameters": { - "subscriptionId": "subid", - "api-version": "2019-02-01", - "resourceGroupName": "rg1", - "expressRoutePortName": "portName", - "parameters": { - "tags": { - "tag1": "value1", - "tag2": "value2" - } - } - }, - "responses": { - "200": { - "body": { - "name": "portName", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName", - "type": "Microsofot.Network/expressRoutePorts", - "location": "westus", - "properties": { - "provisioningState": "Succeeded", - "peeringLocation": "peeringLocationName", - "bandwidthInGbps": 100, - "provisionedBandwidthInGbps": 0.0, - "mtu": "1500", - "encapsulation": "QinQ", - "etherType": "0x8100", - "allocationDate": "Friday, July 1, 2018", - "links": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link1", - "name": "link1", - "properties": { - "provisioningState": "Succeeded", - "routerName": "router1", - "interfaceName": "Ethernet 0/0", - "patchPanelId": "patchPanelId1", - "rackId": "rackId1", - "connectorType": "LC", - "adminState": "Disabled" - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link2", - "name": "link2", - "properties": { - "provisioningState": "Succeeded", - "routerName": "router2", - "interfaceName": "Ethernet 0/0", - "patchPanelId": "patchPanelId2", - "rackId": "rackId2", - "connectorType": "LC", - "adminState": "Disabled" - } - } - ], - "circuits": [] - } + "tags": { + "tag1": "value1", + "tag2": "value2" + } + } + }, + "responses": { + "200": { + "body": { + "name": "portName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName", + "type": "Microsofot.Network/expressRoutePorts", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "peeringLocation": "peeringLocationName", + "bandwidthInGbps": 100, + "provisionedBandwidthInGbps": 0.0, + "mtu": "1500", + "encapsulation": "QinQ", + "etherType": "0x8100", + "allocationDate": "Friday, July 1, 2018", + "links": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link1", + "name": "link1", + "properties": { + "provisioningState": "Succeeded", + "routerName": "router1", + "interfaceName": "Ethernet 0/0", + "patchPanelId": "patchPanelId1", + "rackId": "rackId1", + "connectorType": "LC", + "adminState": "Disabled" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link2", + "name": "link2", + "properties": { + "provisioningState": "Succeeded", + "routerName": "router2", + "interfaceName": "Ethernet 0/0", + "patchPanelId": "patchPanelId2", + "rackId": "rackId2", + "connectorType": "LC", + "adminState": "Disabled" + } } + ], + "circuits": [] } + } } + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRoutePortsLocationGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRoutePortsLocationGet.json index 9bf29d637178..9679af786761 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRoutePortsLocationGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRoutePortsLocationGet.json @@ -1,28 +1,28 @@ { - "parameters": { - "subscriptionId": "subid", - "api-version": "2019-02-01", - "locationName": "locationName" - }, - "responses": { - "200": { - "body": { - "name": "locationName", - "id": "/subscriptions/subid/providers/Microsofot.Network/expressRoutePortsLocations/locationName", - "type": "Microsofot.Network/expressRoutePortsLocations", - "location": "westus", - "properties": { - "provisioningState": "Succeeded", - "address": "123 Main Street, City, State, Zip", - "contact": "email@address.com", - "availableBandwidths": [ - { - "offerName": "100 Gbps", - "valueInGbps": 100 - } - ] - } + "parameters": { + "subscriptionId": "subid", + "api-version": "2019-02-01", + "locationName": "locationName" + }, + "responses": { + "200": { + "body": { + "name": "locationName", + "id": "/subscriptions/subid/providers/Microsofot.Network/expressRoutePortsLocations/locationName", + "type": "Microsofot.Network/expressRoutePortsLocations", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "address": "123 Main Street, City, State, Zip", + "contact": "email@address.com", + "availableBandwidths": [ + { + "offerName": "100 Gbps", + "valueInGbps": 100 } + ] } + } } + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRoutePortsLocationList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRoutePortsLocationList.json index 06afb524a2dc..46eb516343b0 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRoutePortsLocationList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRoutePortsLocationList.json @@ -1,27 +1,26 @@ { - "parameters": { - "subscriptionId": "subid", - "api-version": "2019-02-01" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "locationName", - "id": "/subscriptions/subid/providers/Microsofot.Network/expressRoutePortsLocations/locationName", - "type": "Microsofot.Network/expressRoutePortsLocations", - "location": "westus", - "properties": { - "provisioningState": "Succeeded", - "address": "123 Main Street, City, State, Zip", - "contact": "email@address.com", - "availableBandwidths": [ - ] - } - } - ] + "parameters": { + "subscriptionId": "subid", + "api-version": "2019-02-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "locationName", + "id": "/subscriptions/subid/providers/Microsofot.Network/expressRoutePortsLocations/locationName", + "type": "Microsofot.Network/expressRoutePortsLocations", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "address": "123 Main Street, City, State, Zip", + "contact": "email@address.com", + "availableBandwidths": [] } - } + } + ] + } } + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteProviderList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteProviderList.json index b7c703d8c59a..316eef5a309e 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteProviderList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteProviderList.json @@ -1,58 +1,58 @@ { - "parameters": { - "api-version": "2019-02-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "value": [ - { - "name": "providerName", - "id": "/subscriptions//resourceGroups//providers/Microsoft.Network/expressRouteServiceProviders/", - "type": "Microsoft.Network/expressRouteServiceProviders", - "properties": { - "provisioningState": "Succeeded", - "peeringLocations": [ - "peeringLocation1", - "peeringLocation2" - ], - "bandwidthsOffered": [ - { - "offerName": "50Mbps", - "valueInMbps": 50 - }, - { - "offerName": "100Mbps", - "valueInMbps": 100 - }, - { - "offerName": "200Mbps", - "valueInMbps": 200 - }, - { - "offerName": "500Mbps", - "valueInMbps": 500 - }, - { - "offerName": "1Gbps", - "valueInMbps": 1000 - }, - { - "offerName": "2Gbps", - "valueInMbps": 2000 - }, - { - "offerName": "5Gbps", - "valueInMbps": 5000 - }, - { - "offerName": "10Gbps", - "valueInMbps": 10000 - } - ] - } - } - ] - } - } + "parameters": { + "api-version": "2019-02-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "value": [ + { + "name": "providerName", + "id": "/subscriptions//resourceGroups//providers/Microsoft.Network/expressRouteServiceProviders/", + "type": "Microsoft.Network/expressRouteServiceProviders", + "properties": { + "provisioningState": "Succeeded", + "peeringLocations": [ + "peeringLocation1", + "peeringLocation2" + ], + "bandwidthsOffered": [ + { + "offerName": "50Mbps", + "valueInMbps": 50 + }, + { + "offerName": "100Mbps", + "valueInMbps": 100 + }, + { + "offerName": "200Mbps", + "valueInMbps": 200 + }, + { + "offerName": "500Mbps", + "valueInMbps": 500 + }, + { + "offerName": "1Gbps", + "valueInMbps": 1000 + }, + { + "offerName": "2Gbps", + "valueInMbps": 2000 + }, + { + "offerName": "5Gbps", + "valueInMbps": 5000 + }, + { + "offerName": "10Gbps", + "valueInMbps": 10000 + } + ] + } + } + ] + } + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/HubVirtualNetworkConnectionGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/HubVirtualNetworkConnectionGet.json index f0701ab2614e..c8e97e0863cd 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/HubVirtualNetworkConnectionGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/HubVirtualNetworkConnectionGet.json @@ -1,26 +1,26 @@ { - "parameters": { - "connectionName": "connection1", - "virtualHubName": "virtualHub1", - "resourceGroupName": "rg1", - "api-version": "2019-02-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "name": "connection1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualHubs/virtualHub1/virtualHubVnetConnections/connection1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "remoteVirtualNetwork": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualNetworks/vnet1" - }, - "allowHubToRemoteVnetTransit": true, - "allowRemoteVnetToUseHubVnetGateways": false - } - } + "parameters": { + "connectionName": "connection1", + "virtualHubName": "virtualHub1", + "resourceGroupName": "rg1", + "api-version": "2019-02-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "name": "connection1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualHubs/virtualHub1/virtualHubVnetConnections/connection1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "remoteVirtualNetwork": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualNetworks/vnet1" + }, + "allowHubToRemoteVnetTransit": true, + "allowRemoteVnetToUseHubVnetGateways": false } + } } + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/HubVirtualNetworkConnectionList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/HubVirtualNetworkConnectionList.json index e62767d4c545..0096bb0b4a9d 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/HubVirtualNetworkConnectionList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/HubVirtualNetworkConnectionList.json @@ -1,41 +1,41 @@ { - "parameters": { - "connectionName": "connection1", - "virtualHubName": "virtualHub1", - "resourceGroupName": "rg1", - "api-version": "2019-02-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": [ - { - "name": "connection1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualHubs/virtualHub1/virtualHubVnetConnections/connection1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "remoteVirtualNetwork": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualNetworks/vnet1" - }, - "allowHubToRemoteVnetTransit": true, - "allowRemoteVnetToUseHubVnetGateways": false - } - }, - { - "name": "connection2", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualHubs/virtualHub1/virtualHubVnetConnections/connection2", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "remoteVirtualNetwork": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualNetworks/vnet2" - }, - "allowHubToRemoteVnetTransit": true, - "allowRemoteVnetToUseHubVnetGateways": false - } - } - ] + "parameters": { + "connectionName": "connection1", + "virtualHubName": "virtualHub1", + "resourceGroupName": "rg1", + "api-version": "2019-02-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": [ + { + "name": "connection1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualHubs/virtualHub1/virtualHubVnetConnections/connection1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "remoteVirtualNetwork": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualNetworks/vnet1" + }, + "allowHubToRemoteVnetTransit": true, + "allowRemoteVnetToUseHubVnetGateways": false + } + }, + { + "name": "connection2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualHubs/virtualHub1/virtualHubVnetConnections/connection2", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "remoteVirtualNetwork": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualNetworks/vnet2" + }, + "allowHubToRemoteVnetTransit": true, + "allowRemoteVnetToUseHubVnetGateways": false + } } + ] } + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/InboundNatRuleCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/InboundNatRuleCreate.json index 354120687db6..52bb2beaeafe 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/InboundNatRuleCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/InboundNatRuleCreate.json @@ -8,7 +8,9 @@ "inboundNatRuleParameters": { "properties": { "protocol": "Tcp", - "frontendIPConfiguration": { "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1"}, + "frontendIPConfiguration": { + "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1" + }, "frontendPort": 3390, "backendPort": 3389, "idleTimeoutInMinutes": 4, @@ -25,7 +27,7 @@ "properties": { "provisioningState": "Succeeded", "frontendIPConfiguration": { - "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1" + "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1" }, "frontendPort": 3390, "backendPort": 3389, @@ -46,7 +48,7 @@ "properties": { "provisioningState": "Succeeded", "frontendIPConfiguration": { - "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1" + "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1" }, "frontendPort": 3390, "backendPort": 3389, diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/InboundNatRuleDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/InboundNatRuleDelete.json index 3442571d096d..0c24608d8dd6 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/InboundNatRuleDelete.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/InboundNatRuleDelete.json @@ -7,8 +7,8 @@ "inboundNatRuleName": "natRule1.1" }, "responses": { - "200": { }, - "202": { }, - "204": { } + "200": {}, + "202": {}, + "204": {} } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/InboundNatRuleGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/InboundNatRuleGet.json index 8bba70f7a4c2..32354d876081 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/InboundNatRuleGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/InboundNatRuleGet.json @@ -14,7 +14,7 @@ "properties": { "provisioningState": "Succeeded", "frontendIPConfiguration": { - "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1" + "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1" }, "frontendPort": 3390, "backendPort": 3389, diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/InterfaceEndpointCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/InterfaceEndpointCreate.json index 7c3dcb1c1977..d74233e11775 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/InterfaceEndpointCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/InterfaceEndpointCreate.json @@ -1,7 +1,7 @@ { - "parameters" : { + "parameters": { "api-version": "2019-02-01", - "subscriptionId" : "subId", + "subscriptionId": "subId", "resourceGroupName": "rg1", "interfaceEndpointName": "testIe", "parameters": { @@ -16,13 +16,13 @@ } } }, - "responses" : { - "200" : { - "body" : { - "name" : "testIe", - "id" : "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/interfaceEndpoints/testIe", - "location" : "eastus", - "properties" : { + "responses": { + "200": { + "body": { + "name": "testIe", + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/interfaceEndpoints/testIe", + "location": "eastus", + "properties": { "fqdn": "uniqueIdentifier.fqdn.windows.net", "provisioningState": "Succeded", "owner": "User", @@ -40,13 +40,13 @@ } } }, - "201" : { - "body" : { - "name" : "testIe", - "id" : "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/interfaceEndpoints/testIe", - "location" : "eastus", - "properties" : { - "provisioningState" : "Succeeded", + "201": { + "body": { + "name": "testIe", + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/interfaceEndpoints/testIe", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded", "fqdn": "uniqueIdentifier.fqdn.windows.net", "owner": "User", "endpointService": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/InterfaceEndpointDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/InterfaceEndpointDelete.json index adb02141ab8a..ae5d1fa2c41e 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/InterfaceEndpointDelete.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/InterfaceEndpointDelete.json @@ -1,13 +1,13 @@ { - "parameters" : { + "parameters": { "api-version": "2019-02-01", - "subscriptionId" : "subId", + "subscriptionId": "subId", "resourceGroupName": "rg1", "interfaceEndpointName": "testIe" }, - "responses" : { - "200" : { }, - "202" : { }, - "204" : { } + "responses": { + "200": {}, + "202": {}, + "204": {} } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/InterfaceEndpointGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/InterfaceEndpointGet.json index 3070ad413d22..5ab2b721beab 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/InterfaceEndpointGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/InterfaceEndpointGet.json @@ -1,19 +1,19 @@ { - "parameters" : { + "parameters": { "api-version": "2019-02-01", - "subscriptionId" : "subId", - "resourceGroupName" : "rg1", - "interfaceEndpointName" : "testIe" + "subscriptionId": "subId", + "resourceGroupName": "rg1", + "interfaceEndpointName": "testIe" }, - "responses" : { - "200" : { - "body" : { - "name" : "testIe", - "id" : "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/interfaceEndpoints/testIe", - "type" : "Microsoft.Network/interfaceEndpoints", - "location" : "eastus", - "properties" : { - "provisioningState" : "Succeeded", + "responses": { + "200": { + "body": { + "name": "testIe", + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/interfaceEndpoints/testIe", + "type": "Microsoft.Network/interfaceEndpoints", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded", "fqdn": "uniqueIdentifier.fqdn.windows.net", "owner": "User", "endpointService": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/InterfaceEndpointList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/InterfaceEndpointList.json index 639c61da3f7c..65d3c78e8f33 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/InterfaceEndpointList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/InterfaceEndpointList.json @@ -1,20 +1,20 @@ { - "parameters" : { + "parameters": { "api-version": "2019-02-01", - "subscriptionId" : "subId", - "resourceGroupName" : "rg1" + "subscriptionId": "subId", + "resourceGroupName": "rg1" }, - "responses" : { - "200" : { - "body" : { + "responses": { + "200": { + "body": { "value": [ { "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/interfaceEndpoints/ie1", "name": "ie1", "type": "Microsoft.Network/interfaceEndpoints", "location": "eastus", - "properties" : { - "provisioningState" : "Succeeded", + "properties": { + "provisioningState": "Succeeded", "fqdn": "uniqueIdentifier.fqdn.windows.net", "owner": "User", "endpointService": { @@ -35,8 +35,8 @@ "name": "ie2", "type": "Microsoft.Network/interfaceEndpoints", "location": "eastus", - "properties" : { - "provisioningState" : "Succeeded", + "properties": { + "provisioningState": "Succeeded", "fqdn": "alsoUnique.fqdn.windows.net", "owner": "User", "endpointService": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/InterfaceEndpointListAll.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/InterfaceEndpointListAll.json index ebdb0d36a0b0..826476b3ba49 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/InterfaceEndpointListAll.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/InterfaceEndpointListAll.json @@ -1,19 +1,19 @@ { - "parameters" : { + "parameters": { "api-version": "2019-02-01", - "subscriptionId" : "subId" + "subscriptionId": "subId" }, - "responses" : { - "200" : { - "body" : { + "responses": { + "200": { + "body": { "value": [ { "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/interfaceEndpoints/ie1", "name": "ie1", "type": "Microsoft.Network/interfaceEndpoints", "location": "eastus", - "properties" : { - "provisioningState" : "Succeeded", + "properties": { + "provisioningState": "Succeeded", "fqdn": "uniqueIdentifier.fqdn.windows.net", "owner": "User", "endpointService": { @@ -34,8 +34,8 @@ "name": "ie2", "type": "Microsoft.Network/interfaceEndpoints", "location": "eastus", - "properties" : { - "provisioningState" : "Succeeded", + "properties": { + "provisioningState": "Succeeded", "fqdn": "alsoUnique.fqdn.windows.net", "owner": "User", "endpointService": { @@ -56,8 +56,8 @@ "name": "ie1", "type": "Microsoft.Network/interfaceEndpoints", "location": "eastus", - "properties" : { - "provisioningState" : "Succeeded", + "properties": { + "provisioningState": "Succeeded", "fqdn": "stillVeryUnique.fqdn.windows.net", "owner": "User", "endpointService": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/LoadBalancerCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/LoadBalancerCreate.json index 928bb3955254..d93b5581e86e 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/LoadBalancerCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/LoadBalancerCreate.json @@ -1,9 +1,9 @@ { - "parameters" : { + "parameters": { "api-version": "2019-02-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", - "loadBalancerName" : "lb", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "loadBalancerName": "lb", "parameters": { "location": "eastus", "properties": { @@ -100,15 +100,15 @@ } } }, - "responses" : { - "200" : { - "body" : { + "responses": { + "200": { + "body": { "name": "lb", "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb", "type": "Microsoft.Network/loadBalancers", "location": "eastus", "sku": { - "name": "Basic" + "name": "Basic" }, "properties": { "provisioningState": "Succeeded", @@ -218,14 +218,14 @@ } } }, - "201" : { - "body" : { + "201": { + "body": { "name": "lb", "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb", "type": "Microsoft.Network/loadBalancers", "location": "eastus", "sku": { - "name": "Basic" + "name": "Basic" }, "properties": { "provisioningState": "Succeeded", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/LoadBalancerCreateStandardSku.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/LoadBalancerCreateStandardSku.json index 95953cf8f813..967c807fa21a 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/LoadBalancerCreateStandardSku.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/LoadBalancerCreateStandardSku.json @@ -1,9 +1,9 @@ { - "parameters" : { + "parameters": { "api-version": "2019-02-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", - "loadBalancerName" : "lb", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "loadBalancerName": "lb", "parameters": { "location": "eastus", "sku": { @@ -101,15 +101,15 @@ } } }, - "responses" : { - "200" : { - "body" : { + "responses": { + "200": { + "body": { "name": "lb", "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb", "type": "Microsoft.Network/loadBalancers", "location": "eastus", "sku": { - "name": "Standard" + "name": "Standard" }, "properties": { "provisioningState": "Succeeded", @@ -217,14 +217,14 @@ } } }, - "201" : { - "body" : { + "201": { + "body": { "name": "lb", "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb", "type": "Microsoft.Network/loadBalancers", "location": "eastus", "sku": { - "name": "Standard" + "name": "Standard" }, "properties": { "provisioningState": "Succeeded", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/LoadBalancerCreateWithInboundNatPool.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/LoadBalancerCreateWithInboundNatPool.json index e957d1eb3ee3..c2ef5f454625 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/LoadBalancerCreateWithInboundNatPool.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/LoadBalancerCreateWithInboundNatPool.json @@ -1,9 +1,9 @@ { - "parameters" : { + "parameters": { "api-version": "2019-02-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", - "loadBalancerName" : "lb", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "loadBalancerName": "lb", "parameters": { "location": "eastus", "properties": { @@ -50,15 +50,15 @@ } } }, - "responses" : { - "200" : { - "body" : { + "responses": { + "200": { + "body": { "name": "lb", "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb", "type": "Microsoft.Network/loadBalancers", "location": "eastus", "sku": { - "name": "Basic" + "name": "Basic" }, "properties": { "provisioningState": "Succeeded", @@ -108,14 +108,14 @@ } } }, - "201" : { - "body" : { + "201": { + "body": { "name": "lb", "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb", "type": "Microsoft.Network/loadBalancers", "location": "eastus", "sku": { - "name": "Basic" + "name": "Basic" }, "properties": { "provisioningState": "Succeeded", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/LoadBalancerCreateWithZones.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/LoadBalancerCreateWithZones.json index 6cca3cc8bb54..e60bd8e825e7 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/LoadBalancerCreateWithZones.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/LoadBalancerCreateWithZones.json @@ -1,9 +1,9 @@ { - "parameters" : { + "parameters": { "api-version": "2019-02-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", - "loadBalancerName" : "lb", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "loadBalancerName": "lb", "parameters": { "location": "eastus", "properties": { @@ -25,7 +25,9 @@ } ] }, - "zones": [ "1" ] + "zones": [ + "1" + ] } ], "backendAddressPools": [ @@ -99,15 +101,15 @@ } } }, - "responses" : { - "200" : { - "body" : { + "responses": { + "200": { + "body": { "name": "lb", "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb", "type": "Microsoft.Network/loadBalancers", "location": "eastus", "sku": { - "name": "Basic" + "name": "Basic" }, "properties": { "provisioningState": "Succeeded", @@ -115,7 +117,9 @@ { "name": "fe-lb", "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb", - "zones": [ "1" ], + "zones": [ + "1" + ], "properties": { "provisioningState": "Succeeded", "privateIPAddress": "10.0.1.4", @@ -216,14 +220,14 @@ } } }, - "201" : { - "body" : { + "201": { + "body": { "name": "lb", "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb", "type": "Microsoft.Network/loadBalancers", "location": "eastus", "sku": { - "name": "Basic" + "name": "Basic" }, "properties": { "provisioningState": "Succeeded", @@ -231,7 +235,9 @@ { "name": "fe-lb", "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb", - "zones": [ "1" ], + "zones": [ + "1" + ], "properties": { "provisioningState": "Succeeded", "privateIPAddress": "10.0.1.4", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/LoadBalancerDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/LoadBalancerDelete.json index a16fed72f903..bd415e76dcdb 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/LoadBalancerDelete.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/LoadBalancerDelete.json @@ -1,13 +1,13 @@ { - "parameters" : { + "parameters": { "api-version": "2019-02-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", - "loadBalancerName" : "lb" + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "loadBalancerName": "lb" }, - "responses" : { - "200" : { }, - "202" : { }, - "204" : { } + "responses": { + "200": {}, + "202": {}, + "204": {} } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/LoadBalancerGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/LoadBalancerGet.json index 4e0063fb9173..d32a9892bdf3 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/LoadBalancerGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/LoadBalancerGet.json @@ -1,20 +1,20 @@ { - "parameters" : { + "parameters": { "api-version": "2019-02-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", - "loadBalancerName" : "lb" + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "loadBalancerName": "lb" }, - "responses" : { - "200" : { - "body" : { + "responses": { + "200": { + "body": { "name": "lb", "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb", "type": "Microsoft.Network/loadBalancers", "location": "westus", "sku": { - "name": "Basic" - }, + "name": "Basic" + }, "properties": { "provisioningState": "Succeeded", "frontendIPConfigurations": [ @@ -25,7 +25,7 @@ "provisioningState": "Succeeded", "privateIPAddress": "10.0.1.4", "privateIPAllocationMethod": "Dynamic", - "subnet": { + "subnet": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" }, "loadBalancingRules": [ diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/LoadBalancerList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/LoadBalancerList.json index 3daeaa53a80a..2069d3a5ffd9 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/LoadBalancerList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/LoadBalancerList.json @@ -1,12 +1,12 @@ { - "parameters" : { + "parameters": { "api-version": "2019-02-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1" + "subscriptionId": "subid", + "resourceGroupName": "rg1" }, - "responses" : { - "200" : { - "body" : { + "responses": { + "200": { + "body": { "value": [ { "name": "lb", @@ -59,7 +59,7 @@ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb", "properties": { "provisioningState": "Succeeded", - "frontendIPConfiguration":{ + "frontendIPConfiguration": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/felb" }, "frontendPort": 80, diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/LoadBalancerListAll.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/LoadBalancerListAll.json index c5bc3f8ec8c2..ee9911b5b692 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/LoadBalancerListAll.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/LoadBalancerListAll.json @@ -1,11 +1,11 @@ { - "parameters" : { + "parameters": { "api-version": "2019-02-01", - "subscriptionId" : "subid" + "subscriptionId": "subid" }, - "responses" : { - "200" : { - "body" : { + "responses": { + "200": { + "body": { "value": [ { "name": "lb", @@ -58,7 +58,7 @@ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb", "properties": { "provisioningState": "Succeeded", - "frontendIPConfiguration":{ + "frontendIPConfiguration": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/felb" }, "frontendPort": 80, diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/LoadBalancerNetworkInterfaceListVmss.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/LoadBalancerNetworkInterfaceListVmss.json index fdd699f6abcd..e6d438a76743 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/LoadBalancerNetworkInterfaceListVmss.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/LoadBalancerNetworkInterfaceListVmss.json @@ -83,7 +83,7 @@ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/bepool" } ], - "loadBalancerInboundNatRules":[ + "loadBalancerInboundNatRules": [ { "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/natpool.1" } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/LoadBalancerUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/LoadBalancerUpdateTags.json index 7c46dc439953..e05bc96ef72e 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/LoadBalancerUpdateTags.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/LoadBalancerUpdateTags.json @@ -1,9 +1,9 @@ { - "parameters" : { + "parameters": { "api-version": "2019-02-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", - "loadBalancerName" : "lb", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "loadBalancerName": "lb", "parameters": { "tags": { "tag1": "value1", @@ -11,9 +11,9 @@ } } }, - "responses" : { - "200" : { - "body" : { + "responses": { + "200": { + "body": { "name": "lb", "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb", "type": "Microsoft.Network/loadBalancers", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/LocalNetworkGatewayCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/LocalNetworkGatewayCreate.json index eb39b5fb5028..8af976a4b3b4 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/LocalNetworkGatewayCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/LocalNetworkGatewayCreate.json @@ -1,59 +1,59 @@ { + "parameters": { + "api-version": "2019-02-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "localNetworkGatewayName": "localgw", "parameters": { - "api-version": "2019-02-01", - "subscriptionId": "subid", - "resourceGroupName": "rg1", - "localNetworkGatewayName" : "localgw", - "parameters": { - "properties": { - "localNetworkAddressSpace": { - "addressPrefixes": [ - "10.1.0.0/16" - ] - }, - "gatewayIpAddress": "x.x.x.x" - }, - "location": "Central US" + "properties": { + "localNetworkAddressSpace": { + "addressPrefixes": [ + "10.1.0.0/16" + ] + }, + "gatewayIpAddress": "x.x.x.x" + }, + "location": "Central US" + } + }, + "responses": { + "201": { + "body": { + "name": "localgw", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/localgw", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "type": "Microsoft.Network/localNetworkGateways", + "location": "centralus", + "properties": { + "provisioningState": "Updating", + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "localNetworkAddressSpace": { + "addressPrefixes": [ + "10.1.0.0/16" + ] + }, + "gatewayIpAddress": "x.x.x.x" } + } }, - "responses" : { - "201" : { - "body" : { - "name": "localgw", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/localgw", - "etag": "W/\"00000000-0000-0000-0000-000000000000\"", - "type": "Microsoft.Network/localNetworkGateways", - "location": "centralus", - "properties": { - "provisioningState": "Updating", - "resourceGuid": "00000000-0000-0000-0000-000000000000", - "localNetworkAddressSpace": { - "addressPrefixes": [ - "10.1.0.0/16" - ] - }, - "gatewayIpAddress": "x.x.x.x" - } - } - }, - "200" : { - "body" : { - "name": "localgw", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/localgw", - "etag": "W/\"00000000-0000-0000-0000-000000000000\"", - "type": "Microsoft.Network/localNetworkGateways", - "location": "centralus", - "properties": { - "provisioningState": "Updating", - "resourceGuid": "00000000-0000-0000-0000-000000000000", - "localNetworkAddressSpace": { - "addressPrefixes": [ - "10.1.0.0/16" - ] - }, - "gatewayIpAddress": "x.x.x.x" - } - } + "200": { + "body": { + "name": "localgw", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/localgw", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "type": "Microsoft.Network/localNetworkGateways", + "location": "centralus", + "properties": { + "provisioningState": "Updating", + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "localNetworkAddressSpace": { + "addressPrefixes": [ + "10.1.0.0/16" + ] + }, + "gatewayIpAddress": "x.x.x.x" } + } } + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/LocalNetworkGatewayDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/LocalNetworkGatewayDelete.json index ef74af728f78..df848ce3be24 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/LocalNetworkGatewayDelete.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/LocalNetworkGatewayDelete.json @@ -1,13 +1,13 @@ { - "parameters": { - "api-version": "2019-02-01", - "subscriptionId": "subid", - "resourceGroupName": "rg1", - "localNetworkGatewayName" : "localgw" - }, - "responses" : { - "202" : { }, - "200" : { }, - "204" : { } - } + "parameters": { + "api-version": "2019-02-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "localNetworkGatewayName": "localgw" + }, + "responses": { + "202": {}, + "200": {}, + "204": {} + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/LocalNetworkGatewayGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/LocalNetworkGatewayGet.json index 53074471405d..7e5b3f61913d 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/LocalNetworkGatewayGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/LocalNetworkGatewayGet.json @@ -1,29 +1,29 @@ { - "parameters": { - "api-version": "2019-02-01", - "subscriptionId": "subid", - "resourceGroupName": "rg1", - "localNetworkGatewayName" : "localgw" - }, - "responses" : { - "200" : { - "body" : { - "name": "localgw", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/localgw", - "etag": "W/\"00000000-0000-0000-0000-000000000000\"", - "type": "Microsoft.Network/localNetworkGateways", - "location": "centralus", - "properties": { - "provisioningState": "Succeeded", - "resourceGuid": "00000000-0000-0000-0000-000000000000", - "localNetworkAddressSpace": { - "addressPrefixes": [ - "10.1.0.0/16" - ] - }, - "gatewayIpAddress": "x.x.x.x" - } - } + "parameters": { + "api-version": "2019-02-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "localNetworkGatewayName": "localgw" + }, + "responses": { + "200": { + "body": { + "name": "localgw", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/localgw", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "type": "Microsoft.Network/localNetworkGateways", + "location": "centralus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "localNetworkAddressSpace": { + "addressPrefixes": [ + "10.1.0.0/16" + ] + }, + "gatewayIpAddress": "x.x.x.x" } + } } + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/LocalNetworkGatewayList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/LocalNetworkGatewayList.json index 63d45ecab4f2..6797bde52743 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/LocalNetworkGatewayList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/LocalNetworkGatewayList.json @@ -1,49 +1,49 @@ { - "parameters": { - "api-version": "2019-02-01", - "subscriptionId": "subid", - "resourceGroupName": "rg1" - }, - "responses" : { - "200" : { - "body" : { - "value": [ - { - "name": "localgw1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/localgw1", - "etag": "W/\"00000000-0000-0000-0000-000000000000\"", - "type": "Microsoft.Network/localNetworkGateways", - "location": "centralus", - "properties": { - "provisioningState": "Succeeded", - "resourceGuid": "00000000-0000-0000-0000-000000000000", - "localNetworkAddressSpace": { - "addressPrefixes": [ - "10.1.0.0/16" - ] - }, - "gatewayIpAddress": "x.x.x.x" - } - }, - { - "name": "localgw2", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/localgw2", - "etag": "W/\"00000000-0000-0000-0000-000000000000\"", - "type": "Microsoft.Network/localNetworkGateways", - "location": "eastus", - "properties": { - "provisioningState": "Succeeded", - "resourceGuid": "00000000-0000-0000-0000-000000000000", - "localNetworkAddressSpace": { - "addressPrefixes": [ - "10.2.0.0/16" - ] - }, - "gatewayIpAddress": "x.x.x.x" - } - } + "parameters": { + "api-version": "2019-02-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "localgw1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/localgw1", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "type": "Microsoft.Network/localNetworkGateways", + "location": "centralus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "localNetworkAddressSpace": { + "addressPrefixes": [ + "10.1.0.0/16" ] + }, + "gatewayIpAddress": "x.x.x.x" } - } + }, + { + "name": "localgw2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/localgw2", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "type": "Microsoft.Network/localNetworkGateways", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "localNetworkAddressSpace": { + "addressPrefixes": [ + "10.2.0.0/16" + ] + }, + "gatewayIpAddress": "x.x.x.x" + } + } + ] + } } + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/LocalNetworkGatewayUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/LocalNetworkGatewayUpdateTags.json index bbe79f801ed7..a4833ea07fc9 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/LocalNetworkGatewayUpdateTags.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/LocalNetworkGatewayUpdateTags.json @@ -1,8 +1,8 @@ { - "parameters" : { + "parameters": { "api-version": "2019-02-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", + "subscriptionId": "subid", + "resourceGroupName": "rg1", "localNetworkGatewayName": "lgw", "parameters": { "tags": { @@ -11,9 +11,9 @@ } } }, - "responses" : { - "200" : { - "body" : { + "responses": { + "200": { + "body": { "name": "lgw", "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/lgw", "type": "Microsoft.Network/localNetworkGateways", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NatGatewayCreateOrUpdate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NatGatewayCreateOrUpdate.json index d4c96a7f45b2..a7cdc4988ba6 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NatGatewayCreateOrUpdate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NatGatewayCreateOrUpdate.json @@ -1,90 +1,90 @@ { - "parameters":{ - "api-version":"2019-02-01", - "subscriptionId":"subid", - "resourceGroupName":"rg1", - "natGatewayName":"test-natgateway", - "parameters":{ - "properties":{ - "publicIpAddresses":[ - { - "id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1" - } - ], - "publicIpPrefixes":[ - { - "id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1" - } - ], - "subnets":[ - { - "id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1" - } - ] - } + "parameters": { + "api-version": "2019-02-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "natGatewayName": "test-natgateway", + "parameters": { + "properties": { + "publicIpAddresses": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1" + } + ], + "publicIpPrefixes": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1" + } + ], + "subnets": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1" + } + ] } - }, - "responses":{ - "200":{ - "body":{ - "name":"test-natGateway", - "sku":{ - "name":"Standard" - }, - "id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/natGateways/test-natGateway", - "location":"westus", - "properties":{ - "idleTimeoutInMinutes":5, - "provisioningState":"Succeeded", - "publicIpAddresses":[ - { - "id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1" - } - ], - "publicIpPrefixes":[ - { - "id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1" - } - ], - "subnets":[ - { - "id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1" - } - ] - }, - "type":"Microsoft.Network/natGateways" - } - }, - "202" : { }, - "201":{ - "body":{ - "name":"test-natGateway", - "sku":{ - "name":"Standard" - }, - "id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/natGateways/test-natGateway", - "location":"westus", - "properties":{ - "idleTimeoutInMinutes":5, - "provisioningState":"Succeeded", - "publicIpAddresses":[ - { - "id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1" - } - ], - "publicIpPrefixes":[ - { - "id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1" - } - ], - "subnets":[ - { - "id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1" - } - ] - }, - "type":"Microsoft.Network/natGateways" - } + } + }, + "responses": { + "200": { + "body": { + "name": "test-natGateway", + "sku": { + "name": "Standard" + }, + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/natGateways/test-natGateway", + "location": "westus", + "properties": { + "idleTimeoutInMinutes": 5, + "provisioningState": "Succeeded", + "publicIpAddresses": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1" + } + ], + "publicIpPrefixes": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1" + } + ], + "subnets": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1" + } + ] + }, + "type": "Microsoft.Network/natGateways" } - } + }, + "202": {}, + "201": { + "body": { + "name": "test-natGateway", + "sku": { + "name": "Standard" + }, + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/natGateways/test-natGateway", + "location": "westus", + "properties": { + "idleTimeoutInMinutes": 5, + "provisioningState": "Succeeded", + "publicIpAddresses": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1" + } + ], + "publicIpPrefixes": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1" + } + ], + "subnets": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1" + } + ] + }, + "type": "Microsoft.Network/natGateways" + } + } + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NatGatewayDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NatGatewayDelete.json index 4d4a578acb80..236e70fbe433 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NatGatewayDelete.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NatGatewayDelete.json @@ -1,13 +1,13 @@ { - "parameters" : { - "api-version": "2019-02-01", - "subscriptionId" : "subid", - "resourceGroupName": "rg1", - "natGatewayName": "test-natGateway" - }, - "responses" : { - "200" : { }, - "202" : { }, - "204" : { } - } + "parameters": { + "api-version": "2019-02-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "natGatewayName": "test-natGateway" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NatGatewayGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NatGatewayGet.json index d54318e2d601..6b08ce7b40b4 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NatGatewayGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NatGatewayGet.json @@ -1,41 +1,40 @@ { - "parameters" : { - "api-version": "2019-02-01", - "subscriptionId" : "subid", - "resourceGroupName": "rg1", - "natGatewayName": "test-natGateway" - }, - "responses" : { - "200" : { - "body" : { - "name" : "test-natGateway", - "sku": { - "name": "Standard" - }, - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/natGateways/test-natGateway", - "location" : "westus", - "properties" : { - "idleTimeoutInMinutes" : 5, - "provisioningState": "Succeeded", - "publicIpAddresses": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1" - } - ], - "publicIpPrefixes": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1" - } - ], - "subnets": [ - { - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1" - } - ] - }, - "type" : "Microsoft.Network/natGateways" - } + "parameters": { + "api-version": "2019-02-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "natGatewayName": "test-natGateway" + }, + "responses": { + "200": { + "body": { + "name": "test-natGateway", + "sku": { + "name": "Standard" + }, + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/natGateways/test-natGateway", + "location": "westus", + "properties": { + "idleTimeoutInMinutes": 5, + "provisioningState": "Succeeded", + "publicIpAddresses": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1" + } + ], + "publicIpPrefixes": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1" + } + ], + "subnets": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1" + } + ] + }, + "type": "Microsoft.Network/natGateways" } } } - +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NatGatewayList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NatGatewayList.json index 880e9a9fbd63..3541ce711839 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NatGatewayList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NatGatewayList.json @@ -1,72 +1,71 @@ { - "parameters" : { - "api-version": "2019-02-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1" - }, - "responses" : { - "200" : { - "body" : { - "value" : [ - { - "name" : "test-natGateway", - "sku": { - "name": "Standard" - }, - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/natGateway/test-natGateway", - "location" : "westus", - "properties" : { - "idleTimeoutInMinutes" : 5, - "provisioningState": "Succeeded", - "publicIpAddresses": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1" - } - ], - "publicIpPrefixes": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1" - } - ], - "subnets": [ - { - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1" - } - ] - }, - "type" : "Microsoft.Network/natGateways" + "parameters": { + "api-version": "2019-02-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "test-natGateway", + "sku": { + "name": "Standard" }, - { - "name" : "test-natGateway2", - "sku": { - "name": "Standard" - }, - "id" : "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/natGateway/test-natGateway2", - "location" : "westus", - "properties" : { - "idleTimeoutInMinutes" : 5, - "provisioningState": "Succeeded", - "publicIpAddresses": [ - { - "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1" - } - ], - "publicIpPrefixes": [ - { - "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1" - } - ], - "subnets": [ - { - "id" : "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1" - } - ] - }, - "type" : "Microsoft.Network/natGateways" - } - ] - } + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/natGateway/test-natGateway", + "location": "westus", + "properties": { + "idleTimeoutInMinutes": 5, + "provisioningState": "Succeeded", + "publicIpAddresses": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1" + } + ], + "publicIpPrefixes": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1" + } + ], + "subnets": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1" + } + ] + }, + "type": "Microsoft.Network/natGateways" + }, + { + "name": "test-natGateway2", + "sku": { + "name": "Standard" + }, + "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/natGateway/test-natGateway2", + "location": "westus", + "properties": { + "idleTimeoutInMinutes": 5, + "provisioningState": "Succeeded", + "publicIpAddresses": [ + { + "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1" + } + ], + "publicIpPrefixes": [ + { + "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1" + } + ], + "subnets": [ + { + "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1" + } + ] + }, + "type": "Microsoft.Network/natGateways" + } + ] } } } - +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NatGatewayListAll.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NatGatewayListAll.json index 11f326beac4f..53e330be87d7 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NatGatewayListAll.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NatGatewayListAll.json @@ -1,71 +1,70 @@ { - "parameters" : { - "api-version": "2019-02-01", - "subscriptionId" : "subid" - }, - "responses" : { - "200" : { - "body" : { - "value" : [ - { - "name" : "test-natGateway", - "sku": { - "name": "Standard" - }, - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/natGateways/test-natGateway", - "location" : "westus", - "properties" : { - "idleTimeoutInMinutes" : 5, - "provisioningState": "Succeeded", - "publicIpAddresses": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1" - } - ], - "publicIpPrefixes": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1" - } - ], - "subnets": [ - { - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1" - } - ] - }, - "type" : "Microsoft.Network/natGateways" + "parameters": { + "api-version": "2019-02-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "test-natGateway", + "sku": { + "name": "Standard" }, - { - "name" : "test-natGateway2", - "sku": { - "name": "Standard" - }, - "id" : "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/natGatewayes/test-natGateway2", - "location" : "westus", - "properties" : { - "idleTimeoutInMinutes" : 5, - "provisioningState": "Succeeded", - "publicIpAddresses": [ - { - "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1" - } - ], - "publicIpPrefixes": [ - { - "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1" - } - ], - "subnets": [ - { - "id" : "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1" - } - ] - }, - "type" : "Microsoft.Network/natGateways" - } - ] - } + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/natGateways/test-natGateway", + "location": "westus", + "properties": { + "idleTimeoutInMinutes": 5, + "provisioningState": "Succeeded", + "publicIpAddresses": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1" + } + ], + "publicIpPrefixes": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1" + } + ], + "subnets": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1" + } + ] + }, + "type": "Microsoft.Network/natGateways" + }, + { + "name": "test-natGateway2", + "sku": { + "name": "Standard" + }, + "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/natGatewayes/test-natGateway2", + "location": "westus", + "properties": { + "idleTimeoutInMinutes": 5, + "provisioningState": "Succeeded", + "publicIpAddresses": [ + { + "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1" + } + ], + "publicIpPrefixes": [ + { + "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1" + } + ], + "subnets": [ + { + "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1" + } + ] + }, + "type": "Microsoft.Network/natGateways" + } + ] } } } - +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NatGatewayUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NatGatewayUpdateTags.json index 9e2ec4314ea3..7deebf35b888 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NatGatewayUpdateTags.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NatGatewayUpdateTags.json @@ -1,7 +1,7 @@ { - "parameters" : { + "parameters": { "api-version": "2019-02-01", - "subscriptionId" : "subid", + "subscriptionId": "subid", "resourceGroupName": "rg1", "natGatewayName": "test-natGateway", "parameters": { @@ -11,17 +11,17 @@ } } }, - "responses" : { - "200" : { - "body" : { - "name" : "test-natGateway", - "sku": { - "name": "Standard" - }, - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/natGateways/test-natGateway", - "location" : "westus", - "properties" : { - "idleTimeoutInMinutes" : 5, + "responses": { + "200": { + "body": { + "name": "test-natGateway", + "sku": { + "name": "Standard" + }, + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/natGateways/test-natGateway", + "location": "westus", + "properties": { + "idleTimeoutInMinutes": 5, "provisioningState": "Succeeded", "publicIpAddresses": [ { @@ -35,7 +35,7 @@ ], "subnets": [ { - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1" + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1" } ] }, @@ -43,7 +43,7 @@ "tag1": "value1", "tag2": "value2" }, - "type" : "Microsoft.Network/natGateways" + "type": "Microsoft.Network/natGateways" } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkInterfaceCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkInterfaceCreate.json index cd56191988b0..7147d08c3c1d 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkInterfaceCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkInterfaceCreate.json @@ -1,7 +1,7 @@ { - "parameters" : { + "parameters": { "api-version": "2019-02-01", - "subscriptionId" : "subid", + "subscriptionId": "subid", "resourceGroupName": "rg1", "networkInterfaceName": "test-nic", "parameters": { @@ -12,10 +12,10 @@ "name": "ipconfig1", "properties": { "publicIPAddress": { - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip" + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip" }, "subnet": { - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default" + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default" } } } @@ -24,75 +24,77 @@ "location": "eastus" } }, - "responses" : { - "200" : { - "body" : { - "name" : "test-nic", - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic", - "location" : "eastus", - "properties" : { - "provisioningState" : "Succeeded", - "ipConfigurations" : [{ - "name" : "ipconfig1", - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic/ipConfigurations/ipconfig1", - "properties" : { - "provisioningState" : "Succeeded", - "privateIPAddress" : "172.20.2.4", - "privateIPAllocationMethod" : "Dynamic", - "publicIPAddress" : { - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip" + "responses": { + "200": { + "body": { + "name": "test-nic", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded", + "ipConfigurations": [ + { + "name": "ipconfig1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic/ipConfigurations/ipconfig1", + "properties": { + "provisioningState": "Succeeded", + "privateIPAddress": "172.20.2.4", + "privateIPAllocationMethod": "Dynamic", + "publicIPAddress": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip" }, - "subnet" : { - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default" + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default" }, - "primary" : true, - "privateIPAddressVersion" : "IPv4" + "primary": true, + "privateIPAddressVersion": "IPv4" } } ], - "dnsSettings" : { - "dnsServers" : [], - "appliedDnsServers" : [] + "dnsSettings": { + "dnsServers": [], + "appliedDnsServers": [] }, - "enableAcceleratedNetworking" : true, - "enableIPForwarding" : false + "enableAcceleratedNetworking": true, + "enableIPForwarding": false }, - "type" : "Microsoft.Network/networkInterfaces" + "type": "Microsoft.Network/networkInterfaces" } }, - "201" : { - "body" : { - "name" : "test-nic", - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic", - "location" : "eastus", - "properties" : { - "provisioningState" : "Succeeded", - "ipConfigurations" : [{ - "name" : "ipconfig1", - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic/ipConfigurations/ipconfig1", - "properties" : { - "provisioningState" : "Succeeded", - "privateIPAddress" : "172.20.2.4", - "privateIPAllocationMethod" : "Dynamic", - "publicIPAddress" : { - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip" + "201": { + "body": { + "name": "test-nic", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded", + "ipConfigurations": [ + { + "name": "ipconfig1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic/ipConfigurations/ipconfig1", + "properties": { + "provisioningState": "Succeeded", + "privateIPAddress": "172.20.2.4", + "privateIPAllocationMethod": "Dynamic", + "publicIPAddress": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip" }, - "subnet" : { - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default" + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default" }, - "primary" : true, - "privateIPAddressVersion" : "IPv4" + "primary": true, + "privateIPAddressVersion": "IPv4" } } ], - "dnsSettings" : { - "dnsServers" : [], - "appliedDnsServers" : [] + "dnsSettings": { + "dnsServers": [], + "appliedDnsServers": [] }, - "enableAcceleratedNetworking" : true, - "enableIPForwarding" : false + "enableAcceleratedNetworking": true, + "enableIPForwarding": false }, - "type" : "Microsoft.Network/networkInterfaces" + "type": "Microsoft.Network/networkInterfaces" } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkInterfaceDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkInterfaceDelete.json index 75c9f62ace05..60cdbd095465 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkInterfaceDelete.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkInterfaceDelete.json @@ -1,13 +1,13 @@ { - "parameters" : { + "parameters": { "api-version": "2019-02-01", - "subscriptionId" : "subid", + "subscriptionId": "subid", "resourceGroupName": "rg1", "networkInterfaceName": "test-nic" }, - "responses" : { - "200" : { }, - "202" : { }, - "204" : { } + "responses": { + "200": {}, + "202": {}, + "204": {} } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkInterfaceEffectiveNSGList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkInterfaceEffectiveNSGList.json index a8c9427bd82d..c3a6d0246004 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkInterfaceEffectiveNSGList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkInterfaceEffectiveNSGList.json @@ -1,71 +1,71 @@ { - "parameters" : { + "parameters": { "api-version": "2019-02-01", - "subscriptionId" : "subid", + "subscriptionId": "subid", "resourceGroupName": "rg1", "networkInterfaceName": "nic1" }, - "responses" : { - "200" : { - "body" : { - "value" : [ + "responses": { + "200": { + "body": { + "value": [ { - "networkSecurityGroup" : { - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/test-nsg" + "networkSecurityGroup": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/test-nsg" }, - "association" : { - "subnet" : { - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default" + "association": { + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default" }, - "networkInterface" : { - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/nic1" + "networkInterface": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/nic1" } }, - "effectiveSecurityRules" : [ + "effectiveSecurityRules": [ { - "name" : "securityRules/rule1", - "protocol" : "Tcp", - "sourcePortRange" : "456-456", - "destinationPortRange" : "6579-6579", - "sourceAddressPrefix" : "0.0.0.0/32", - "destinationAddressPrefix" : "0.0.0.0/32", - "access" : "Allow", - "priority" : 234, - "direction" : "Inbound" + "name": "securityRules/rule1", + "protocol": "Tcp", + "sourcePortRange": "456-456", + "destinationPortRange": "6579-6579", + "sourceAddressPrefix": "0.0.0.0/32", + "destinationAddressPrefix": "0.0.0.0/32", + "access": "Allow", + "priority": 234, + "direction": "Inbound" }, { - "name" : "securityRules/default-allow-rdp", - "protocol" : "Tcp", - "sourcePortRange" : "0-65535", - "destinationPortRange" : "3389-3389", - "sourceAddressPrefix" : "1.1.1.1/32", - "destinationAddressPrefix" : "0.0.0.0/0", - "access" : "Allow", - "priority" : 1000, - "direction" : "Inbound" + "name": "securityRules/default-allow-rdp", + "protocol": "Tcp", + "sourcePortRange": "0-65535", + "destinationPortRange": "3389-3389", + "sourceAddressPrefix": "1.1.1.1/32", + "destinationAddressPrefix": "0.0.0.0/0", + "access": "Allow", + "priority": 1000, + "direction": "Inbound" }, { - "name" : "defaultSecurityRules/AllowInternetOutBound", - "protocol" : "All", - "sourcePortRange" : "0-65535", - "destinationPortRange" : "0-65535", - "sourceAddressPrefix" : "0.0.0.0/0", - "destinationAddressPrefix" : "Internet", - "expandedDestinationAddressPrefix" : [ + "name": "defaultSecurityRules/AllowInternetOutBound", + "protocol": "All", + "sourcePortRange": "0-65535", + "destinationPortRange": "0-65535", + "sourceAddressPrefix": "0.0.0.0/0", + "destinationAddressPrefix": "Internet", + "expandedDestinationAddressPrefix": [ "32.0.0.0/3", "4.0.0.0/6", "2.0.0.0/7", "1.0.0.0/8" ], - "access" : "Allow", - "priority" : 65001, - "direction" : "Outbound" + "access": "Allow", + "priority": 65001, + "direction": "Outbound" } ] } ] } }, - "202" : { } + "202": {} } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkInterfaceEffectiveRouteTableList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkInterfaceEffectiveRouteTableList.json index aa98a806dd22..97b96552bf64 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkInterfaceEffectiveRouteTableList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkInterfaceEffectiveRouteTableList.json @@ -1,13 +1,13 @@ { - "parameters" : { + "parameters": { "api-version": "2019-02-01", - "subscriptionId" : "subid", + "subscriptionId": "subid", "resourceGroupName": "rg1", "networkInterfaceName": "nic1" }, - "responses" : { - "200" : { - "body" : { + "responses": { + "200": { + "body": { "value": [ { "source": "Default", @@ -55,7 +55,7 @@ "nextHopIpAddress": [] }, { - "source": "Default", + "source": "Default", "state": "Active", "addressPrefix": [ "192.168.0.0/16" @@ -66,6 +66,6 @@ ] } }, - "202" : { } + "202": {} } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkInterfaceGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkInterfaceGet.json index bd529d58792d..102c9b0c9262 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkInterfaceGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkInterfaceGet.json @@ -1,54 +1,54 @@ { - "parameters" : { + "parameters": { "api-version": "2019-02-01", - "subscriptionId" : "subid", + "subscriptionId": "subid", "resourceGroupName": "rg1", "networkInterfaceName": "test-nic" }, - "responses" : { - "200" : { - "body" : { - "name" : "test-nic", - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic", - "location" : "eastus", - "properties" : { - "provisioningState" : "Succeeded", - "ipConfigurations" : [ - { - "name" : "ipconfig1", - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic/ipConfigurations/ipconfig1", - "properties" : { - "provisioningState" : "Succeeded", - "privateIPAddress" : "172.20.2.4", - "privateIPAllocationMethod" : "Dynamic", - "publicIPAddress" : { - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip" + "responses": { + "200": { + "body": { + "name": "test-nic", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded", + "ipConfigurations": [ + { + "name": "ipconfig1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic/ipConfigurations/ipconfig1", + "properties": { + "provisioningState": "Succeeded", + "privateIPAddress": "172.20.2.4", + "privateIPAllocationMethod": "Dynamic", + "publicIPAddress": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip" }, - "subnet" : { - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default" + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default" }, - "primary" : true, - "privateIPAddressVersion" : "IPv4" + "primary": true, + "privateIPAddressVersion": "IPv4" } } ], - "dnsSettings" : { - "dnsServers" : [], - "appliedDnsServers" : [], - "internalDomainNameSuffix" : "test.bx.internal.cloudapp.net" + "dnsSettings": { + "dnsServers": [], + "appliedDnsServers": [], + "internalDomainNameSuffix": "test.bx.internal.cloudapp.net" }, - "macAddress" : "00-0D-3A-1B-C7-21", - "enableAcceleratedNetworking" : true, - "enableIPForwarding" : false, - "networkSecurityGroup" : { - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg" + "macAddress": "00-0D-3A-1B-C7-21", + "enableAcceleratedNetworking": true, + "enableIPForwarding": false, + "networkSecurityGroup": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg" }, - "primary" : true, - "virtualMachine" : { - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1" + "primary": true, + "virtualMachine": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1" } }, - "type" : "Microsoft.Network/networkInterfaces" + "type": "Microsoft.Network/networkInterfaces" } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkInterfaceList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkInterfaceList.json index 45a745450f18..de08f0cb8a23 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkInterfaceList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkInterfaceList.json @@ -1,87 +1,89 @@ { - "parameters" : { + "parameters": { "api-version": "2019-02-01", - "subscriptionId" : "subid", + "subscriptionId": "subid", "resourceGroupName": "rg1" }, - "responses" : { - "200" : { - "body" : { + "responses": { + "200": { + "body": { "value": [ { - "name" : "test-nic", - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic", - "location" : "eastus", - "properties" : { - "provisioningState" : "Succeeded", - "ipConfigurations" : [{ - "name" : "ipconfig1", - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic/ipConfigurations/ipconfig1", - "properties" : { - "provisioningState" : "Succeeded", - "privateIPAddress" : "172.20.2.4", - "privateIPAllocationMethod" : "Dynamic", - "publicIPAddress" : { - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip" + "name": "test-nic", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded", + "ipConfigurations": [ + { + "name": "ipconfig1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic/ipConfigurations/ipconfig1", + "properties": { + "provisioningState": "Succeeded", + "privateIPAddress": "172.20.2.4", + "privateIPAllocationMethod": "Dynamic", + "publicIPAddress": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip" }, - "subnet" : { - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default" + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default" }, - "primary" : true, - "privateIPAddressVersion" : "IPv4" + "primary": true, + "privateIPAddressVersion": "IPv4" } } ], - "dnsSettings" : { - "dnsServers" : [], - "appliedDnsServers" : [], - "internalDomainNameSuffix" : "test.bx.internal.cloudapp.net" + "dnsSettings": { + "dnsServers": [], + "appliedDnsServers": [], + "internalDomainNameSuffix": "test.bx.internal.cloudapp.net" }, - "macAddress" : "00-0D-3A-1B-C7-21", - "enableAcceleratedNetworking" : true, - "enableIPForwarding" : false, - "networkSecurityGroup" : { - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg" + "macAddress": "00-0D-3A-1B-C7-21", + "enableAcceleratedNetworking": true, + "enableIPForwarding": false, + "networkSecurityGroup": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg" }, - "primary" : true, - "virtualMachine" : { - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1" + "primary": true, + "virtualMachine": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1" } }, - "type" : "Microsoft.Network/networkInterfaces" + "type": "Microsoft.Network/networkInterfaces" }, { - "name" : "test-nic2", - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic2", - "location" : "eastus", - "properties" : { - "provisioningState" : "Succeeded", - "ipConfigurations" : [{ - "name" : "ipconfig1", - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic2/ipConfigurations/ipconfig1", - "properties" : { - "provisioningState" : "Succeeded", - "privateIPAddress" : "172.20.2.4", - "privateIPAllocationMethod" : "Dynamic", - "publicIPAddress" : { - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip2" + "name": "test-nic2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic2", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded", + "ipConfigurations": [ + { + "name": "ipconfig1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic2/ipConfigurations/ipconfig1", + "properties": { + "provisioningState": "Succeeded", + "privateIPAddress": "172.20.2.4", + "privateIPAllocationMethod": "Dynamic", + "publicIPAddress": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip2" }, - "subnet" : { - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet2/subnets/default" + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet2/subnets/default" }, - "primary" : true, - "privateIPAddressVersion" : "IPv4" + "primary": true, + "privateIPAddressVersion": "IPv4" } } ], - "dnsSettings" : { - "dnsServers" : [], - "appliedDnsServers" : [] + "dnsSettings": { + "dnsServers": [], + "appliedDnsServers": [] }, - "enableAcceleratedNetworking" : true, - "enableIPForwarding" : false + "enableAcceleratedNetworking": true, + "enableIPForwarding": false }, - "type" : "Microsoft.Network/networkInterfaces" + "type": "Microsoft.Network/networkInterfaces" } ] } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkInterfaceListAll.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkInterfaceListAll.json index 79f9bbdd3365..a46c4f4496bc 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkInterfaceListAll.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkInterfaceListAll.json @@ -1,86 +1,88 @@ { - "parameters" : { + "parameters": { "api-version": "2019-02-01", - "subscriptionId" : "subid" + "subscriptionId": "subid" }, - "responses" : { - "200" : { - "body" : { + "responses": { + "200": { + "body": { "value": [ { - "name" : "test-nic", - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic", - "location" : "eastus", - "properties" : { - "provisioningState" : "Succeeded", - "ipConfigurations" : [{ - "name" : "ipconfig1", - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic/ipConfigurations/ipconfig1", - "properties" : { - "provisioningState" : "Succeeded", - "privateIPAddress" : "172.20.2.4", - "privateIPAllocationMethod" : "Dynamic", - "publicIPAddress" : { - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip" + "name": "test-nic", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded", + "ipConfigurations": [ + { + "name": "ipconfig1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic/ipConfigurations/ipconfig1", + "properties": { + "provisioningState": "Succeeded", + "privateIPAddress": "172.20.2.4", + "privateIPAllocationMethod": "Dynamic", + "publicIPAddress": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip" }, - "subnet" : { - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default" + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default" }, - "primary" : true, - "privateIPAddressVersion" : "IPv4" + "primary": true, + "privateIPAddressVersion": "IPv4" } } ], - "dnsSettings" : { - "dnsServers" : [], - "appliedDnsServers" : [], - "internalDomainNameSuffix" : "test.bx.internal.cloudapp.net" + "dnsSettings": { + "dnsServers": [], + "appliedDnsServers": [], + "internalDomainNameSuffix": "test.bx.internal.cloudapp.net" }, - "macAddress" : "00-0D-3A-1B-C7-21", - "enableAcceleratedNetworking" : true, - "enableIPForwarding" : false, - "networkSecurityGroup" : { - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg" + "macAddress": "00-0D-3A-1B-C7-21", + "enableAcceleratedNetworking": true, + "enableIPForwarding": false, + "networkSecurityGroup": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg" }, - "primary" : true, - "virtualMachine" : { - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1" + "primary": true, + "virtualMachine": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1" } }, - "type" : "Microsoft.Network/networkInterfaces" + "type": "Microsoft.Network/networkInterfaces" }, { - "name" : "test-nic2", - "id" : "/subscriptions/subid/resourceGroups/rgnew/providers/Microsoft.Network/networkInterfaces/test-nic2", - "location" : "eastus", - "properties" : { - "provisioningState" : "Succeeded", - "ipConfigurations" : [{ - "name" : "ipconfig1", - "id" : "/subscriptions/subid/resourceGroups/rgnew/providers/Microsoft.Network/networkInterfaces/test-nic2/ipConfigurations/ipconfig1", - "properties" : { - "provisioningState" : "Succeeded", - "privateIPAddress" : "172.20.2.4", - "privateIPAllocationMethod" : "Dynamic", - "publicIPAddress" : { - "id" : "/subscriptions/subid/resourceGroups/rgnew/providers/Microsoft.Network/publicIPAddresses/test-ip2" + "name": "test-nic2", + "id": "/subscriptions/subid/resourceGroups/rgnew/providers/Microsoft.Network/networkInterfaces/test-nic2", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded", + "ipConfigurations": [ + { + "name": "ipconfig1", + "id": "/subscriptions/subid/resourceGroups/rgnew/providers/Microsoft.Network/networkInterfaces/test-nic2/ipConfigurations/ipconfig1", + "properties": { + "provisioningState": "Succeeded", + "privateIPAddress": "172.20.2.4", + "privateIPAllocationMethod": "Dynamic", + "publicIPAddress": { + "id": "/subscriptions/subid/resourceGroups/rgnew/providers/Microsoft.Network/publicIPAddresses/test-ip2" }, - "subnet" : { - "id" : "/subscriptions/subid/resourceGroups/rgnew/providers/Microsoft.Network/virtualNetworks/rgnew-vnet2/subnets/default" + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rgnew/providers/Microsoft.Network/virtualNetworks/rgnew-vnet2/subnets/default" }, - "primary" : true, - "privateIPAddressVersion" : "IPv4" + "primary": true, + "privateIPAddressVersion": "IPv4" } } ], - "dnsSettings" : { - "dnsServers" : [], - "appliedDnsServers" : [] + "dnsSettings": { + "dnsServers": [], + "appliedDnsServers": [] }, - "enableAcceleratedNetworking" : true, - "enableIPForwarding" : false + "enableAcceleratedNetworking": true, + "enableIPForwarding": false }, - "type" : "Microsoft.Network/networkInterfaces" + "type": "Microsoft.Network/networkInterfaces" } ] } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkInterfaceTapConfigurationCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkInterfaceTapConfigurationCreate.json index f152714bb7d8..3ee0a3c1ab29 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkInterfaceTapConfigurationCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkInterfaceTapConfigurationCreate.json @@ -1,5 +1,5 @@ { - "parameters" : { + "parameters": { "subscriptionId": "subid", "resourceGroupName": "testrg", "networkInterfaceName": "mynic", @@ -8,40 +8,39 @@ "tapConfigurationParameters": { "properties": { "virtualNetworkTap": { - "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworkTaps/testvtap" - } + "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworkTaps/testvtap" } + } } }, - "responses" : { - "200" : { - "body" : { + "responses": { + "200": { + "body": { "name": "tapConfiguration1", "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/mynic/tapConfigurations/tapConfiguration1", "etag": "etag", "type": "Microsoft.Network/networkInterfaces/tapConfigurations", "properties": { - "virtualNetworkTap": { - "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworkTaps/testvtap" - }, - "provisioningState": "Succeded" + "virtualNetworkTap": { + "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworkTaps/testvtap" + }, + "provisioningState": "Succeded" } } }, - "201" : { - "body" : { + "201": { + "body": { "name": "tapConfiguration1", "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/mynic/tapConfigurations/tapConfiguration1", "etag": "etag", "type": "Microsoft.Network/networkInterfaces/tapConfigurations", "properties": { - "virtualNetworkTap": { - "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworkTaps/testvtap" - }, - "provisioningState": "Succeded" - } + "virtualNetworkTap": { + "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworkTaps/testvtap" + }, + "provisioningState": "Succeded" + } } } } } - diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkInterfaceTapConfigurationDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkInterfaceTapConfigurationDelete.json index 75afcb8ab33c..62dc49139971 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkInterfaceTapConfigurationDelete.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkInterfaceTapConfigurationDelete.json @@ -1,14 +1,14 @@ { - "parameters" : { + "parameters": { "api-version": "2019-02-01", - "subscriptionId" : "subid", + "subscriptionId": "subid", "resourceGroupName": "rg1", "networkInterfaceName": "test-networkinterface", "tapConfigurationName": "test-tapconfiguration" }, - "responses" : { - "200" : { }, - "202" : { }, - "204" : { } + "responses": { + "200": {}, + "202": {}, + "204": {} } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkInterfaceTapConfigurationGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkInterfaceTapConfigurationGet.json index 0f990f13fa21..ee38fc8910d1 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkInterfaceTapConfigurationGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkInterfaceTapConfigurationGet.json @@ -8,19 +8,18 @@ }, "responses": { "200": { - "body": - { + "body": { "name": "tapConfiguration1", "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/mynic/tapConfigurations/tapConfiguration1", "etag": "etag", "type": "Microsoft.Network/networkInterfaces/tapConfigurations", "properties": { - "virtualNetworkTap": { - "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworkTaps/testvtap" - }, - "provisioningState": "Succeded" + "virtualNetworkTap": { + "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworkTaps/testvtap" + }, + "provisioningState": "Succeded" } - } - } - } + } + } + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkInterfaceTapConfigurationList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkInterfaceTapConfigurationList.json index fd7d12fa8288..be59b29b7465 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkInterfaceTapConfigurationList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkInterfaceTapConfigurationList.json @@ -1,26 +1,26 @@ { - "parameters" : { + "parameters": { "api-version": "2019-02-01", - "subscriptionId" : "subid", + "subscriptionId": "subid", "resourceGroupName": "rg1", "networkInterfaceName": "mynic" }, - "responses" : { - "200" : { - "body" : { + "responses": { + "200": { + "body": { "value": [ - { + { "name": "tapConfiguration1", "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/mynic/tapConfigurations/tapConfiguration1", "etag": "etag", "type": "Microsoft.Network/networkInterfaces/tapConfigurations", "properties": { - "virtualNetworkTap": { + "virtualNetworkTap": { "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworkTaps/testvtap" - }, - "provisioningState": "Succeded" + }, + "provisioningState": "Succeded" } - } + } ] } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkInterfaceUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkInterfaceUpdateTags.json index 17ec43d7ebc9..294d4d9b489f 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkInterfaceUpdateTags.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkInterfaceUpdateTags.json @@ -1,7 +1,7 @@ { - "parameters" : { + "parameters": { "api-version": "2019-02-01", - "subscriptionId" : "subid", + "subscriptionId": "subid", "resourceGroupName": "rg1", "networkInterfaceName": "test-nic", "parameters": { @@ -11,44 +11,45 @@ } } }, - "responses" : { - "200" : { - "body" : { - "name" : "test-nic", - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic", - "location" : "eastus", + "responses": { + "200": { + "body": { + "name": "test-nic", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic", + "location": "eastus", "tags": { "tag1": "value1", "tag2": "value2" }, - "properties" : { - "provisioningState" : "Succeeded", - "ipConfigurations" : [{ - "name" : "ipconfig1", - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic/ipConfigurations/ipconfig1", - "properties" : { - "provisioningState" : "Succeeded", - "privateIPAddress" : "172.20.2.4", - "privateIPAllocationMethod" : "Dynamic", - "publicIPAddress" : { - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip" + "properties": { + "provisioningState": "Succeeded", + "ipConfigurations": [ + { + "name": "ipconfig1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic/ipConfigurations/ipconfig1", + "properties": { + "provisioningState": "Succeeded", + "privateIPAddress": "172.20.2.4", + "privateIPAllocationMethod": "Dynamic", + "publicIPAddress": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip" }, - "subnet" : { - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default" + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default" }, - "primary" : true, - "privateIPAddressVersion" : "IPv4" + "primary": true, + "privateIPAddressVersion": "IPv4" } } ], - "dnsSettings" : { - "dnsServers" : [], - "appliedDnsServers" : [] + "dnsSettings": { + "dnsServers": [], + "appliedDnsServers": [] }, - "enableAcceleratedNetworking" : true, - "enableIPForwarding" : false + "enableAcceleratedNetworking": true, + "enableIPForwarding": false }, - "type" : "Microsoft.Network/networkInterfaces" + "type": "Microsoft.Network/networkInterfaces" } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkProfileCreateConfigOnly.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkProfileCreateConfigOnly.json index 16de3b97c97b..7ca9365446a0 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkProfileCreateConfigOnly.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkProfileCreateConfigOnly.json @@ -1,110 +1,110 @@ { + "parameters": { + "api-version": "2019-02-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkProfileName": "networkProfile1", + "location": "westus", "parameters": { - "api-version": "2019-02-01", - "subscriptionId": "subid", - "resourceGroupName": "rg1", - "networkProfileName": "networkProfile1", - "location": "westus", - "parameters": { + "properties": { + "containerNetworkInterfaceConfigurations": [ + { + "name": "eth1", "properties": { - "containerNetworkInterfaceConfigurations": [ - { - "name": "eth1", - "properties": { - "ipConfigurations": [ - { - "name": "ipconfig1", - "properties": { - "subnet": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1" - } - } - } - ] - } + "ipConfigurations": [ + { + "name": "ipconfig1", + "properties": { + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1" + } + } + } + ] + } + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "name": "networkProfile1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1", + "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", + "type": "Microsoft.Network/networkProfiles", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "1570d8b6-ab8a-4ad2-81d6-d2799b429cbf", + "containerNetworkInterfaceConfigurations": [ + { + "name": "eth1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1", + "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", + "properties": { + "provisioningState": "Succeeded", + "ipConfigurations": [ + { + "name": "ipconfig1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1/ipConfigurations/ipconfig1", + "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", + "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations", + "properties": { + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1" + } } + } ] + }, + "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations" } + ], + "containerNetworkInterfaces": [] } + } }, - "responses": { - "200": { - "body": { - "name": "networkProfile1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1", - "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", - "type": "Microsoft.Network/networkProfiles", - "location": "westus", - "properties": { - "provisioningState": "Succeeded", - "resourceGuid": "1570d8b6-ab8a-4ad2-81d6-d2799b429cbf", - "containerNetworkInterfaceConfigurations": [ - { - "name": "eth1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1", - "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", - "properties": { - "provisioningState": "Succeeded", - "ipConfigurations": [ - { - "name": "ipconfig1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1/ipConfigurations/ipconfig1", - "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", - "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations", - "properties": { - "provisioningState": "Succeeded", - "subnet": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1" - } - } - } - ] - }, - "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations" - } - ], - "containerNetworkInterfaces": [] - } - } - }, - "201": { - "body": { - "name": "networkProfile1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1", - "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", - "type": "Microsoft.Network/networkProfiles", - "location": "westus", - "properties": { - "provisioningState": "Succeeded", - "resourceGuid": "1570d8b6-ab8a-4ad2-81d6-d2799b429cbf", - "containerNetworkInterfaceConfigurations": [ - { - "name": "eth1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1", - "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", - "properties": { - "provisioningState": "Succeeded", - "ipConfigurations": [ - { - "name": "ipconfig1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1/ipConfigurations/ipconfig1", - "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", - "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations", - "properties": { - "provisioningState": "Succeeded", - "subnet": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1" - } - } - } - ] - }, - "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations" - } - ], - "containerNetworkInterfaces": [] - } + "201": { + "body": { + "name": "networkProfile1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1", + "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", + "type": "Microsoft.Network/networkProfiles", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "1570d8b6-ab8a-4ad2-81d6-d2799b429cbf", + "containerNetworkInterfaceConfigurations": [ + { + "name": "eth1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1", + "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", + "properties": { + "provisioningState": "Succeeded", + "ipConfigurations": [ + { + "name": "ipconfig1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1/ipConfigurations/ipconfig1", + "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", + "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations", + "properties": { + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1" + } + } + } + ] + }, + "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations" } + ], + "containerNetworkInterfaces": [] } + } } -} \ No newline at end of file + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkProfileDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkProfileDelete.json index 70a7dca56c7c..f89f83eef697 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkProfileDelete.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkProfileDelete.json @@ -1,13 +1,13 @@ { - "parameters": { - "api-version": "2019-02-01", - "subscriptionId": "subid", - "resourceGroupName": "rg1", - "networkProfileName": "networkProfile1" - }, - "responses": { - "200": { }, - "202": { }, - "204": { } - } -} \ No newline at end of file + "parameters": { + "api-version": "2019-02-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkProfileName": "networkProfile1" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkProfileGetConfigOnly.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkProfileGetConfigOnly.json index 5580e8775243..a05e0682bd8c 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkProfileGetConfigOnly.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkProfileGetConfigOnly.json @@ -1,84 +1,84 @@ { - "parameters": { - "api-version": "2019-02-01", - "subscriptionId": "subid", - "resourceGroupName": "rg1", - "networkProfileName": "networkProfile1" - }, - "responses": { - "200": { - "body": { - "name": "networkProfile1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1", - "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", - "type": "Microsoft.Network/networkProfiles", - "location": "centraluseuap", - "properties": { - "provisioningState": "Succeeded", - "resourceGuid": "1570d8b6-ab8a-4ad2-81d6-d2799b429cbf", - "containerNetworkInterfaceConfigurations": [ - { - "name": "eth0", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0", - "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", - "properties": { - "provisioningState": "Succeeded", - "ipConfigurations": [ - { - "name": "ipconfigprofile1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0/ipConfigurations/ipconfigprofile1", - "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", - "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations", - "properties": { - "provisioningState": "Succeeded", - "subnet": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1" - } - } - }, - { - "name": "ipconfigprofile2", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0/ipConfigurations/ipconfigprofile2", - "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", - "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations", - "properties": { - "provisioningState": "Succeeded", - "subnet": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1" - } - } - } - ] - }, - "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations" - }, - { - "name": "eth1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1", - "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", - "properties": { - "provisioningState": "Succeeded", - "ipConfigurations": [ - { - "name": "ipconfigprofile3", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1/ipConfigurations/ipconfigprofile3", - "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", - "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations", - "properties": { - "provisioningState": "Succeeded", - "subnet": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1" - } - } - } - ] - }, - "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations" - } - ], - "containerNetworkInterfaces": [] - } + "parameters": { + "api-version": "2019-02-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkProfileName": "networkProfile1" + }, + "responses": { + "200": { + "body": { + "name": "networkProfile1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1", + "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", + "type": "Microsoft.Network/networkProfiles", + "location": "centraluseuap", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "1570d8b6-ab8a-4ad2-81d6-d2799b429cbf", + "containerNetworkInterfaceConfigurations": [ + { + "name": "eth0", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0", + "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", + "properties": { + "provisioningState": "Succeeded", + "ipConfigurations": [ + { + "name": "ipconfigprofile1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0/ipConfigurations/ipconfigprofile1", + "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", + "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations", + "properties": { + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1" + } + } + }, + { + "name": "ipconfigprofile2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0/ipConfigurations/ipconfigprofile2", + "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", + "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations", + "properties": { + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1" + } + } + } + ] + }, + "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations" + }, + { + "name": "eth1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1", + "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", + "properties": { + "provisioningState": "Succeeded", + "ipConfigurations": [ + { + "name": "ipconfigprofile3", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1/ipConfigurations/ipconfigprofile3", + "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", + "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations", + "properties": { + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1" + } + } + } + ] + }, + "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations" } + ], + "containerNetworkInterfaces": [] } + } } -} \ No newline at end of file + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkProfileGetWithContainerNic.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkProfileGetWithContainerNic.json index 966047542a2f..61ce343dca0b 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkProfileGetWithContainerNic.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkProfileGetWithContainerNic.json @@ -200,4 +200,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkProfileList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkProfileList.json index ce83990a73bd..083a93160ef1 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkProfileList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkProfileList.json @@ -1,97 +1,97 @@ { - "parameters": { - "api-version": "2019-02-01", - "subscriptionId": "subid", - "resourceGroupName": "rg1" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1", - "name": "networkProfile1", + "parameters": { + "api-version": "2019-02-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1", + "name": "networkProfile1", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "1570d8b6-ab8a-4ad2-81d6-d2799b429cbf", + "containerNetworkInterfaceConfigurations": [ + { + "name": "eth0", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0", + "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", + "properties": { + "provisioningState": "Succeeded", + "ipConfigurations": [ + { + "name": "ipconfigprofile1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0/ipConfigurations/ipconfigprofile1", + "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", + "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations", "properties": { - "provisioningState": "Succeeded", - "resourceGuid": "1570d8b6-ab8a-4ad2-81d6-d2799b429cbf", - "containerNetworkInterfaceConfigurations": [ - { - "name": "eth0", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0", - "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", - "properties": { - "provisioningState": "Succeeded", - "ipConfigurations": [ - { - "name": "ipconfigprofile1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0/ipConfigurations/ipconfigprofile1", - "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", - "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations", - "properties": { - "provisioningState": "Succeeded", - "subnet": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1" - } - } - }, - { - "name": "ipconfigprofile2", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0/ipConfigurations/ipconfigprofile2", - "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", - "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations", - "properties": { - "provisioningState": "Succeeded", - "subnet": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1" - } - } - } - ] - }, - "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations" - } - ], - "containerNetworkInterfaces": [] - }, - "type": "Microsoft.Network/networkProfiles", - "location": "centraluseuap" - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile2", - "name": "networkProfile2", + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1" + } + } + }, + { + "name": "ipconfigprofile2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0/ipConfigurations/ipconfigprofile2", + "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", + "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations", "properties": { - "containerNetworkInterfaceConfigurations": [ - { - "name": "eth1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1", - "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", - "properties": { - "provisioningState": "Succeeded", - "ipConfigurations": [ - { - "name": "ipconfigprofile3", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1/ipConfigurations/ipconfigprofile3", - "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", - "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations", - "properties": { - "provisioningState": "Succeeded", - "subnet": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1" - } - } - } - ] - }, - "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations" - } - ], - "containerNetworkInterfaces": [] - }, - "type": "Microsoft.Network/networkProfiles", - "location": "centraluseuap" - } - ] - } - } + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1" + } + } + } + ] + }, + "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations" + } + ], + "containerNetworkInterfaces": [] + }, + "type": "Microsoft.Network/networkProfiles", + "location": "centraluseuap" + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile2", + "name": "networkProfile2", + "properties": { + "containerNetworkInterfaceConfigurations": [ + { + "name": "eth1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1", + "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", + "properties": { + "provisioningState": "Succeeded", + "ipConfigurations": [ + { + "name": "ipconfigprofile3", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1/ipConfigurations/ipconfigprofile3", + "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", + "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations", + "properties": { + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1" + } + } + } + ] + }, + "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations" + } + ], + "containerNetworkInterfaces": [] + }, + "type": "Microsoft.Network/networkProfiles", + "location": "centraluseuap" + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkProfileListAll.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkProfileListAll.json index 7d78c4379ded..de86174fadb9 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkProfileListAll.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkProfileListAll.json @@ -1,84 +1,84 @@ { - "parameters": { - "api-version": "2019-02-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1", - "name": "networkProfile1", + "parameters": { + "api-version": "2019-02-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1", + "name": "networkProfile1", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "1570d8b6-ab8a-4ad2-81d6-d2799b429cbf", + "containerNetworkInterfaceConfigurations": [ + { + "name": "eth0", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0", + "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", + "properties": { + "provisioningState": "Succeeded", + "ipConfigurations": [ + { + "name": "ipconfigprofile1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0/ipConfigurations/ipconfigprofile1", + "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", + "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations", "properties": { - "provisioningState": "Succeeded", - "resourceGuid": "1570d8b6-ab8a-4ad2-81d6-d2799b429cbf", - "containerNetworkInterfaceConfigurations": [ - { - "name": "eth0", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0", - "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", - "properties": { - "provisioningState": "Succeeded", - "ipConfigurations": [ - { - "name": "ipconfigprofile1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0/ipConfigurations/ipconfigprofile1", - "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", - "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations", - "properties": { - "provisioningState": "Succeeded", - "subnet": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1" - } - } - } - ] - }, - "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations" - } - ], - "containerNetworkInterfaces": [] - }, - "type": "Microsoft.Network/networkProfiles", - "location": "centraluseuap" - }, - { - "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkProfiles/networkProfile2", - "name": "networkProfile2", + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1" + } + } + } + ] + }, + "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations" + } + ], + "containerNetworkInterfaces": [] + }, + "type": "Microsoft.Network/networkProfiles", + "location": "centraluseuap" + }, + { + "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkProfiles/networkProfile2", + "name": "networkProfile2", + "properties": { + "containerNetworkInterfaceConfigurations": [ + { + "name": "eth1", + "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1", + "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", + "properties": { + "provisioningState": "Succeeded", + "ipConfigurations": [ + { + "name": "ipconfigprofile3", + "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1/ipConfigurations/ipconfigprofile3", + "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", + "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations", "properties": { - "containerNetworkInterfaceConfigurations": [ - { - "name": "eth1", - "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1", - "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", - "properties": { - "provisioningState": "Succeeded", - "ipConfigurations": [ - { - "name": "ipconfigprofile3", - "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1/ipConfigurations/ipconfigprofile3", - "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", - "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations", - "properties": { - "provisioningState": "Succeeded", - "subnet": { - "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1" - } - } - } - ] - }, - "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations" - } - ], - "containerNetworkInterfaces": [] - }, - "type": "Microsoft.Network/networkProfiles", - "location": "centraluseuap" - } - ] - } - } + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1" + } + } + } + ] + }, + "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations" + } + ], + "containerNetworkInterfaces": [] + }, + "type": "Microsoft.Network/networkProfiles", + "location": "centraluseuap" + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkProfileUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkProfileUpdateTags.json index 836e04f8caff..2b4b5116c40d 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkProfileUpdateTags.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkProfileUpdateTags.json @@ -1,58 +1,58 @@ { + "parameters": { + "api-version": "2019-02-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkProfileName": "test-np", "parameters": { - "api-version": "2019-02-01", - "subscriptionId": "subid", - "resourceGroupName": "rg1", - "networkProfileName": "test-np", - "parameters": { - "tags": { - "tag1": "value1", - "tag2": "value2" - } - } - }, - "responses": { - "200": { - "body": { - "name": "test-np", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-np", - "tags": { - "tag1": "value1", - "tag2": "value2" - }, - "properties": { - "provisioningState": "Succeeded", - "resourceGuid": "1570d8b6-ab8a-4ad2-81d6-d2799b429cbf", - "containerNetworkInterfaceConfigurations": [ - { - "name": "eth0", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0", - "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", - "properties": { - "provisioningState": "Succeeded", - "ipConfigurations": [ - { - "name": "ipconfigprofile1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0/ipConfigurations/ipconfigprofile1", - "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", - "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations", - "properties": { - "provisioningState": "Succeeded", - "subnet": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1" - } - } - } - ] - }, - "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations" - } - ], - "containerNetworkInterfaces": [] - }, - "type": "Microsoft.Network/networkProfiles", - "location": "centraluseuap" + "tags": { + "tag1": "value1", + "tag2": "value2" + } + } + }, + "responses": { + "200": { + "body": { + "name": "test-np", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-np", + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "1570d8b6-ab8a-4ad2-81d6-d2799b429cbf", + "containerNetworkInterfaceConfigurations": [ + { + "name": "eth0", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0", + "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", + "properties": { + "provisioningState": "Succeeded", + "ipConfigurations": [ + { + "name": "ipconfigprofile1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0/ipConfigurations/ipconfigprofile1", + "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", + "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations", + "properties": { + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1" + } + } + } + ] + }, + "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations" } - } + ], + "containerNetworkInterfaces": [] + }, + "type": "Microsoft.Network/networkProfiles", + "location": "centraluseuap" + } } -} \ No newline at end of file + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkSecurityGroupCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkSecurityGroupCreate.json index 859a4018d62c..dd6bbe255d8b 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkSecurityGroupCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkSecurityGroupCreate.json @@ -1,23 +1,23 @@ { - "parameters" : { + "parameters": { "api-version": "2019-02-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", - "networkSecurityGroupName" : "testnsg", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkSecurityGroupName": "testnsg", "parameters": { "location": "eastus" } }, - "responses" : { - "200" : { - "body" : { + "responses": { + "200": { + "body": { "name": "testnsg", "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg", "type": "Microsoft.Network/networkSecurityGroups", "location": "eastus", "properties": { "provisioningState": "Succeeded", - "securityRules": [ ], + "securityRules": [], "defaultSecurityRules": [ { "name": "AllowVnetInBound", @@ -36,7 +36,7 @@ } }, { - "name": "AllowAzureLoadBalancerInBound", + "name": "AllowAzureLoadBalancerInBound", "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound", "properties": { "provisioningState": "Succeeded", @@ -83,7 +83,7 @@ "direction": "Outbound" } }, - { + { "name": "AllowInternetOutBound", "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound", "properties": { @@ -102,7 +102,7 @@ { "name": "DenyAllOutBound", "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound", - "properties": { + "properties": { "provisioningState": "Succeeded", "description": "Deny all outbound traffic", "protocol": "*", @@ -119,15 +119,15 @@ } } }, - "201" : { - "body" : { + "201": { + "body": { "name": "testnsg", "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg", "type": "Microsoft.Network/networkSecurityGroups", "location": "eastus", "properties": { "provisioningState": "Succeeded", - "securityRules": [ ], + "securityRules": [], "defaultSecurityRules": [ { "name": "AllowVnetInBound", @@ -146,7 +146,7 @@ } }, { - "name": "AllowAzureLoadBalancerInBound", + "name": "AllowAzureLoadBalancerInBound", "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound", "properties": { "provisioningState": "Succeeded", @@ -193,7 +193,7 @@ "direction": "Outbound" } }, - { + { "name": "AllowInternetOutBound", "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound", "properties": { @@ -212,7 +212,7 @@ { "name": "DenyAllOutBound", "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound", - "properties": { + "properties": { "provisioningState": "Succeeded", "description": "Deny all outbound traffic", "protocol": "*", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkSecurityGroupCreateWithRule.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkSecurityGroupCreateWithRule.json index 219e7f97b8c2..f791c64993a5 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkSecurityGroupCreateWithRule.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkSecurityGroupCreateWithRule.json @@ -1,9 +1,9 @@ { - "parameters" : { + "parameters": { "api-version": "2019-02-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", - "networkSecurityGroupName" : "testnsg", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkSecurityGroupName": "testnsg", "parameters": { "properties": { "securityRules": [ @@ -25,9 +25,9 @@ "location": "eastus" } }, - "responses" : { - "200" : { - "body" : { + "responses": { + "200": { + "body": { "name": "testnsg", "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg", "type": "Microsoft.Network/networkSecurityGroups", @@ -69,7 +69,7 @@ } }, { - "name": "AllowAzureLoadBalancerInBound", + "name": "AllowAzureLoadBalancerInBound", "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound", "properties": { "provisioningState": "Succeeded", @@ -116,7 +116,7 @@ "direction": "Outbound" } }, - { + { "name": "AllowInternetOutBound", "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound", "properties": { @@ -135,7 +135,7 @@ { "name": "DenyAllOutBound", "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound", - "properties": { + "properties": { "provisioningState": "Succeeded", "description": "Deny all outbound traffic", "protocol": "*", @@ -152,8 +152,8 @@ } } }, - "201" : { - "body" : { + "201": { + "body": { "name": "testnsg", "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg", "type": "Microsoft.Network/networkSecurityGroups", @@ -195,7 +195,7 @@ } }, { - "name": "AllowAzureLoadBalancerInBound", + "name": "AllowAzureLoadBalancerInBound", "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound", "properties": { "provisioningState": "Succeeded", @@ -242,7 +242,7 @@ "direction": "Outbound" } }, - { + { "name": "AllowInternetOutBound", "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound", "properties": { @@ -261,7 +261,7 @@ { "name": "DenyAllOutBound", "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound", - "properties": { + "properties": { "provisioningState": "Succeeded", "description": "Deny all outbound traffic", "protocol": "*", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkSecurityGroupDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkSecurityGroupDelete.json index 62a72644abce..06b4bf59e0fa 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkSecurityGroupDelete.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkSecurityGroupDelete.json @@ -1,13 +1,13 @@ { - "parameters" : { + "parameters": { "api-version": "2019-02-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", - "networkSecurityGroupName" : "testnsg" + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkSecurityGroupName": "testnsg" }, - "responses" : { - "200" : { }, - "202" : { }, - "204" : { } + "responses": { + "200": {}, + "202": {}, + "204": {} } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkSecurityGroupGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkSecurityGroupGet.json index 37316f3b18c0..3468935e7643 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkSecurityGroupGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkSecurityGroupGet.json @@ -1,13 +1,13 @@ { - "parameters" : { + "parameters": { "api-version": "2019-02-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", - "networkSecurityGroupName" : "testnsg" + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkSecurityGroupName": "testnsg" }, - "responses" : { - "200" : { - "body" : { + "responses": { + "200": { + "body": { "name": "testnsg", "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg", "type": "Microsoft.Network/networkSecurityGroups", @@ -49,7 +49,7 @@ } }, { - "name": "AllowAzureLoadBalancerInBound", + "name": "AllowAzureLoadBalancerInBound", "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound", "properties": { "provisioningState": "Succeeded", @@ -96,7 +96,7 @@ "direction": "Outbound" } }, - { + { "name": "AllowInternetOutBound", "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound", "properties": { @@ -115,7 +115,7 @@ { "name": "DenyAllOutBound", "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound", - "properties": { + "properties": { "provisioningState": "Succeeded", "description": "Deny all outbound traffic", "protocol": "*", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkSecurityGroupList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkSecurityGroupList.json index d210bcf13dd3..e12a319e91ab 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkSecurityGroupList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkSecurityGroupList.json @@ -1,12 +1,12 @@ { - "parameters" : { + "parameters": { "api-version": "2019-02-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1" + "subscriptionId": "subid", + "resourceGroupName": "rg1" }, - "responses" : { - "200" : { - "body" : { + "responses": { + "200": { + "body": { "value": [ { "name": "nsg1", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkSecurityGroupListAll.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkSecurityGroupListAll.json index d705283304b2..d0d7e88dc79d 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkSecurityGroupListAll.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkSecurityGroupListAll.json @@ -1,11 +1,11 @@ { - "parameters" : { + "parameters": { "api-version": "2019-02-01", - "subscriptionId" : "subid" + "subscriptionId": "subid" }, - "responses" : { - "200" : { - "body" : { + "responses": { + "200": { + "body": { "value": [ { "name": "nsg1", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkSecurityGroupRuleCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkSecurityGroupRuleCreate.json index 58080534298b..51dd6e7be7b2 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkSecurityGroupRuleCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkSecurityGroupRuleCreate.json @@ -1,9 +1,9 @@ { - "parameters" : { + "parameters": { "api-version": "2019-02-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", - "networkSecurityGroupName" : "testnsg", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkSecurityGroupName": "testnsg", "securityRuleName": "rule1", "securityRuleParameters": { "properties": { @@ -18,11 +18,11 @@ } } }, - "responses" : { - "200" : { - "body" : { + "responses": { + "200": { + "body": { "name": "rule1", - "id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1", "properties": { "provisioningState": "Succeeded", "protocol": "*", @@ -36,10 +36,10 @@ } } }, - "201" : { - "body" : { + "201": { + "body": { "name": "rule1", - "id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1", "properties": { "provisioningState": "Succeeded", "protocol": "*", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkSecurityGroupRuleDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkSecurityGroupRuleDelete.json index 2502a9914c13..050fd02cffbb 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkSecurityGroupRuleDelete.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkSecurityGroupRuleDelete.json @@ -1,14 +1,14 @@ { - "parameters" : { + "parameters": { "api-version": "2019-02-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", - "networkSecurityGroupName" : "testnsg", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkSecurityGroupName": "testnsg", "securityRuleName": "rule1" }, - "responses" : { - "200" : { }, - "202" : { }, - "204" : { } + "responses": { + "200": {}, + "202": {}, + "204": {} } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkSecurityGroupRuleGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkSecurityGroupRuleGet.json index 012979a6ce47..1d9e1953b124 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkSecurityGroupRuleGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkSecurityGroupRuleGet.json @@ -1,16 +1,16 @@ { - "parameters" : { + "parameters": { "api-version": "2019-02-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", - "networkSecurityGroupName" : "testnsg", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkSecurityGroupName": "testnsg", "securityRuleName": "rule1" }, - "responses" : { - "200" : { - "body" : { + "responses": { + "200": { + "body": { "name": "rule1", - "id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1", "properties": { "provisioningState": "Succeeded", "protocol": "*", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkSecurityGroupRuleList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkSecurityGroupRuleList.json index bffa8db654f7..ddfd0bfc7750 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkSecurityGroupRuleList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkSecurityGroupRuleList.json @@ -1,17 +1,17 @@ { - "parameters" : { + "parameters": { "api-version": "2019-02-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", - "networkSecurityGroupName" : "testnsg" + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkSecurityGroupName": "testnsg" }, - "responses" : { - "200" : { - "body" : { + "responses": { + "200": { + "body": { "value": [ { "name": "rule1", - "id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1", "properties": { "provisioningState": "Succeeded", "protocol": "*", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkSecurityGroupUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkSecurityGroupUpdateTags.json index f9a989399cb7..0144830d8c68 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkSecurityGroupUpdateTags.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkSecurityGroupUpdateTags.json @@ -1,9 +1,9 @@ { - "parameters" : { + "parameters": { "api-version": "2019-02-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", - "networkSecurityGroupName" : "testnsg", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkSecurityGroupName": "testnsg", "parameters": { "tags": { "tag1": "value1", @@ -11,9 +11,9 @@ } } }, - "responses" : { - "200" : { - "body" : { + "responses": { + "200": { + "body": { "name": "testnsg", "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg", "type": "Microsoft.Network/networkSecurityGroups", @@ -24,7 +24,7 @@ }, "properties": { "provisioningState": "Succeeded", - "securityRules": [ ], + "securityRules": [], "defaultSecurityRules": [ { "name": "AllowVnetInBound", @@ -43,7 +43,7 @@ } }, { - "name": "AllowAzureLoadBalancerInBound", + "name": "AllowAzureLoadBalancerInBound", "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound", "properties": { "provisioningState": "Succeeded", @@ -90,7 +90,7 @@ "direction": "Outbound" } }, - { + { "name": "AllowInternetOutBound", "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound", "properties": { @@ -109,7 +109,7 @@ { "name": "DenyAllOutBound", "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound", - "properties": { + "properties": { "provisioningState": "Succeeded", "description": "Deny all outbound traffic", "protocol": "*", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkWatcherAvailableProvidersListGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkWatcherAvailableProvidersListGet.json index af848f500c23..a45e6bb0cd31 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkWatcherAvailableProvidersListGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkWatcherAvailableProvidersListGet.json @@ -1,29 +1,31 @@ { - "parameters" : { + "parameters": { "api-version": "2019-02-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", - "networkWatcherName" : "nw1", - "parameters" : { - "azureLocations" : [ "West US" ], - "country" : "United States", - "state" : "washington", - "city" : "seattle" + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkWatcherName": "nw1", + "parameters": { + "azureLocations": [ + "West US" + ], + "country": "United States", + "state": "washington", + "city": "seattle" } }, - "responses" : { - "200" : { - "body" : { - "countries" : [ + "responses": { + "200": { + "body": { + "countries": [ { - "countryName" : "United States", - "states" : [ + "countryName": "United States", + "states": [ { - "stateName" : "washington", - "cities" : [ + "stateName": "washington", + "cities": [ { - "cityName" : "seattle", - "providers" : [ + "cityName": "seattle", + "providers": [ "Comcast Cable Communications, Inc. - ASN 7922", "Comcast Cable Communications, LLC - ASN 7922", "Level 3 Communications, Inc. (GBLX) - ASN 3549", @@ -37,18 +39,18 @@ ] } }, - "202" : { - "body" : { - "countries" : [ + "202": { + "body": { + "countries": [ { - "countryName" : "United States", - "states" : [ + "countryName": "United States", + "states": [ { - "stateName" : "washington", - "cities" : [ + "stateName": "washington", + "cities": [ { - "cityName" : "seattle", - "providers" : [ + "cityName": "seattle", + "providers": [ "Comcast Cable Communications, Inc. - ASN 7922", "Comcast Cable Communications, LLC - ASN 7922", "Level 3 Communications, Inc. (GBLX) - ASN 3549", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkWatcherAzureReachabilityReportGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkWatcherAzureReachabilityReportGet.json index 8ed511a1448e..29bc4e1b59f5 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkWatcherAzureReachabilityReportGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkWatcherAzureReachabilityReportGet.json @@ -1,35 +1,35 @@ { - "parameters" : { + "parameters": { "api-version": "2019-02-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", - "networkWatcherName" : "nw1", - "parameters" : { - "providerLocation" : { - "country" : "United States", - "state" : "washington" + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkWatcherName": "nw1", + "parameters": { + "providerLocation": { + "country": "United States", + "state": "washington" }, - "providers" : [ + "providers": [ "Frontier Communications of America, Inc. - ASN 5650" ], - "azureLocations" : [ + "azureLocations": [ "West US" ], "startTime": "2017-09-07T00:00:00Z", "endTime": "2017-09-10T00:00:00Z" } }, - "responses" : { - "200" : { - "body" : { - "aggregationLevel" : "State", - "providerLocation" : { - "country" : "United States", - "state" : "washington" + "responses": { + "200": { + "body": { + "aggregationLevel": "State", + "providerLocation": { + "country": "United States", + "state": "washington" }, - "reachabilityReport" : [ + "reachabilityReport": [ { - "provider" : "Frontier Communications of America, Inc. - ASN 5650", + "provider": "Frontier Communications of America, Inc. - ASN 5650", "azureLocation": "West US", "latencies": [ { @@ -42,23 +42,23 @@ }, { "timeStamp": "2017-09-09T00:00:00Z", - "score": 94 + "score": 94 } - ] + ] } ] } }, - "202" : { - "body" : { - "aggregationLevel" : "State", - "providerLocation" : { - "country" : "United States", - "state" : "washington" + "202": { + "body": { + "aggregationLevel": "State", + "providerLocation": { + "country": "United States", + "state": "washington" }, - "reachabilityReport" : [ + "reachabilityReport": [ { - "provider" : "Frontier Communications of America, Inc. - ASN 5650", + "provider": "Frontier Communications of America, Inc. - ASN 5650", "azureLocation": "West US", "latencies": [ { @@ -71,9 +71,9 @@ }, { "timeStamp": "2017-09-09T00:00:00Z", - "score": 94 + "score": 94 } - ] + ] } ] } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkWatcherConnectionMonitorCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkWatcherConnectionMonitorCreate.json index 61b1bbe0d624..f592c16cb27e 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkWatcherConnectionMonitorCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkWatcherConnectionMonitorCreate.json @@ -1,12 +1,12 @@ { - "parameters" : { + "parameters": { "api-version": "2019-02-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", - "networkWatcherName" : "nw1", - "connectionMonitorName" : "cm1", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkWatcherName": "nw1", + "connectionMonitorName": "cm1", "location": "centraluseuap", - "parameters" : { + "parameters": { "properties": { "source": { "resourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1" @@ -19,13 +19,13 @@ } } }, - "responses" : { - "200" : { - "body" : { - "name" : "cm1", - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/connectionMonitors/cm1", - "etag" : "W/\"e7497f26-5f09-4559-900b-fe98f3dedb6f\"", - "properties" : { + "responses": { + "200": { + "body": { + "name": "cm1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/connectionMonitors/cm1", + "etag": "W/\"e7497f26-5f09-4559-900b-fe98f3dedb6f\"", + "properties": { "provisioningState": "Updating", "source": { "resourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1", @@ -43,12 +43,12 @@ "type": "Microsoft.Network/networkWatchers/connectionMonitors" } }, - "201" : { - "body" : { - "name" : "cm1", - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/connectionMonitors/cm1", - "etag" : "W/\"e7497f26-5f09-4559-900b-fe98f3dedb6f\"", - "properties" : { + "201": { + "body": { + "name": "cm1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/connectionMonitors/cm1", + "etag": "W/\"e7497f26-5f09-4559-900b-fe98f3dedb6f\"", + "properties": { "provisioningState": "Updating", "source": { "resourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkWatcherConnectionMonitorDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkWatcherConnectionMonitorDelete.json index 6ffdfba74ccd..8364535a431a 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkWatcherConnectionMonitorDelete.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkWatcherConnectionMonitorDelete.json @@ -1,13 +1,13 @@ { - "parameters" : { + "parameters": { "api-version": "2019-02-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", - "networkWatcherName" : "nw1", - "connectionMonitorName" : "cm1" + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkWatcherName": "nw1", + "connectionMonitorName": "cm1" }, - "responses" : { - "204" : {}, - "202" : {} + "responses": { + "204": {}, + "202": {} } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkWatcherConnectionMonitorGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkWatcherConnectionMonitorGet.json index d5712fdccbe6..e34c8e5fbdc2 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkWatcherConnectionMonitorGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkWatcherConnectionMonitorGet.json @@ -1,19 +1,19 @@ { - "parameters" : { + "parameters": { "api-version": "2019-02-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", - "networkWatcherName" : "nw1", - "connectionMonitorName" : "cm1" + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkWatcherName": "nw1", + "connectionMonitorName": "cm1" }, - "responses" : { - "200" : { - "body" : { - "name" : "cm1", - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/connectionMonitors/cm1", - "etag" : "W/\"00000000-0000-0000-0000-000000000000\"", - "properties" : { - "provisioningState" : "Succeeded", + "responses": { + "200": { + "body": { + "name": "cm1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/connectionMonitors/cm1", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "properties": { + "provisioningState": "Succeeded", "source": { "resourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1", "port": 0 diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkWatcherConnectionMonitorList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkWatcherConnectionMonitorList.json index 19fc8ca0e290..3d5f0b49077c 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkWatcherConnectionMonitorList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkWatcherConnectionMonitorList.json @@ -1,20 +1,20 @@ { - "parameters" : { + "parameters": { "api-version": "2019-02-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", - "networkWatcherName" : "nw1" + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkWatcherName": "nw1" }, - "responses" : { - "200" : { - "body" : { - "value" : [ + "responses": { + "200": { + "body": { + "value": [ { - "name" : "cm1", - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/connectionMonitors/cm1", - "etag" : "W/\"00000000-0000-0000-0000-000000000000\"", - "properties" : { - "provisioningState" : "Succeeded", + "name": "cm1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/connectionMonitors/cm1", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "properties": { + "provisioningState": "Succeeded", "source": { "resourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1", "port": 0 @@ -32,11 +32,11 @@ "type": "Microsoft.Network/networkWatchers/connectionMonitors" }, { - "name" : "cm2", - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/connectionMonitors/cm2", - "etag" : "W/\"00000000-0000-0000-0000-000000000000\"", - "properties" : { - "provisioningState" : "Succeeded", + "name": "cm2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/connectionMonitors/cm2", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "properties": { + "provisioningState": "Succeeded", "source": { "resourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm2", "port": 0 diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkWatcherConnectionMonitorQuery.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkWatcherConnectionMonitorQuery.json index f99e237ea97c..1cfad7233e1c 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkWatcherConnectionMonitorQuery.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkWatcherConnectionMonitorQuery.json @@ -1,72 +1,72 @@ { - "parameters" : { + "parameters": { "api-version": "2019-02-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", - "networkWatcherName" : "nw1", - "connectionMonitorName" : "cm1" + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkWatcherName": "nw1", + "connectionMonitorName": "cm1" }, - "responses" : { - "200" : { - "body" : { + "responses": { + "200": { + "body": { "sourceStatus": "Active", - "states" : [ + "states": [ { - "connectionState" : "Reachable", - "startTime" : "2018-01-08T03:42:33.3387305Z", - "endTime" : "2018-01-08T05:12:41.5265438Z", - "evaluationState" : "Completed", - "hops" : [ + "connectionState": "Reachable", + "startTime": "2018-01-08T03:42:33.3387305Z", + "endTime": "2018-01-08T05:12:41.5265438Z", + "evaluationState": "Completed", + "hops": [ { - "type" : "Source", - "id" : "7dbbe7aa-60ba-4650-831e-63d775d38e9e", - "address" : "10.1.1.4", - "resourceId" : "subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/nic0/ipConfigurations/ipconfig1", - "nextHopIds" : [ - "75c8d819-b208-4584-a311-1aa45ce753f9" + "type": "Source", + "id": "7dbbe7aa-60ba-4650-831e-63d775d38e9e", + "address": "10.1.1.4", + "resourceId": "subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/nic0/ipConfigurations/ipconfig1", + "nextHopIds": [ + "75c8d819-b208-4584-a311-1aa45ce753f9" ], - "issues" : [] + "issues": [] }, { - "type" : "VirtualNetwork", - "id" : "75c8d819-b208-4584-a311-1aa45ce753f9", - "address" : "192.168.100.4", - "resourceId" : "subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/nic1/ipConfigurations/ipconfig1", - "nextHopIds" : [], - "issues" : [] + "type": "VirtualNetwork", + "id": "75c8d819-b208-4584-a311-1aa45ce753f9", + "address": "192.168.100.4", + "resourceId": "subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/nic1/ipConfigurations/ipconfig1", + "nextHopIds": [], + "issues": [] } ] } ] } }, - "202" : { - "body" : { + "202": { + "body": { "sourceStatus": "Active", - "states" : [ + "states": [ { - "connectionState" : "Reachable", - "startTime" : "2018-01-08T03:42:33.3387305Z", - "endTime" : "2018-01-08T05:12:41.5265438Z", - "evaluationState" : "Completed", - "hops" : [ + "connectionState": "Reachable", + "startTime": "2018-01-08T03:42:33.3387305Z", + "endTime": "2018-01-08T05:12:41.5265438Z", + "evaluationState": "Completed", + "hops": [ { - "type" : "Source", - "id" : "7dbbe7aa-60ba-4650-831e-63d775d38e9e", - "address" : "10.1.1.4", - "resourceId" : "subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/nic0/ipConfigurations/ipconfig1", - "nextHopIds" : [ - "75c8d819-b208-4584-a311-1aa45ce753f9" + "type": "Source", + "id": "7dbbe7aa-60ba-4650-831e-63d775d38e9e", + "address": "10.1.1.4", + "resourceId": "subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/nic0/ipConfigurations/ipconfig1", + "nextHopIds": [ + "75c8d819-b208-4584-a311-1aa45ce753f9" ], - "issues" : [] + "issues": [] }, { - "type" : "VirtualNetwork", - "id" : "75c8d819-b208-4584-a311-1aa45ce753f9", - "address" : "192.168.100.4", - "resourceId" : "subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/nic1/ipConfigurations/ipconfig1", - "nextHopIds" : [], - "issues" : [] + "type": "VirtualNetwork", + "id": "75c8d819-b208-4584-a311-1aa45ce753f9", + "address": "192.168.100.4", + "resourceId": "subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/nic1/ipConfigurations/ipconfig1", + "nextHopIds": [], + "issues": [] } ] } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkWatcherConnectionMonitorStart.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkWatcherConnectionMonitorStart.json index 0bd36f75206d..434b37c763b7 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkWatcherConnectionMonitorStart.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkWatcherConnectionMonitorStart.json @@ -1,13 +1,13 @@ { - "parameters" : { + "parameters": { "api-version": "2019-02-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", - "networkWatcherName" : "nw1", - "connectionMonitorName" : "cm1" + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkWatcherName": "nw1", + "connectionMonitorName": "cm1" }, - "responses" : { - "200" : {}, - "202" : {} + "responses": { + "200": {}, + "202": {} } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkWatcherConnectionMonitorStop.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkWatcherConnectionMonitorStop.json index 0bd36f75206d..434b37c763b7 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkWatcherConnectionMonitorStop.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkWatcherConnectionMonitorStop.json @@ -1,13 +1,13 @@ { - "parameters" : { + "parameters": { "api-version": "2019-02-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", - "networkWatcherName" : "nw1", - "connectionMonitorName" : "cm1" + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkWatcherName": "nw1", + "connectionMonitorName": "cm1" }, - "responses" : { - "200" : {}, - "202" : {} + "responses": { + "200": {}, + "202": {} } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkWatcherConnectivityCheck.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkWatcherConnectivityCheck.json index e1473a53efb7..0749bb04f9b5 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkWatcherConnectivityCheck.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkWatcherConnectivityCheck.json @@ -1,78 +1,78 @@ { - "parameters" : { + "parameters": { "api-version": "2019-02-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", - "networkWatcherName" : "nw1", - "parameters" : { - "source" : { - "resourceId" : "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1" + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkWatcherName": "nw1", + "parameters": { + "source": { + "resourceId": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1" }, - "destination" : { - "address" : "192.168.100.4", - "port" : 3389 + "destination": { + "address": "192.168.100.4", + "port": 3389 } } }, - "responses" : { - "200" : { - "body" : { - "hops" : [ + "responses": { + "200": { + "body": { + "hops": [ { - "type" : "Source", - "id" : "7dbbe7aa-60ba-4650-831e-63d775d38e9e", - "address" : "10.1.1.4", - "resourceId" : "subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic0/ipConfigurations/ipconfig1", - "nextHopIds" : [ + "type": "Source", + "id": "7dbbe7aa-60ba-4650-831e-63d775d38e9e", + "address": "10.1.1.4", + "resourceId": "subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic0/ipConfigurations/ipconfig1", + "nextHopIds": [ "75c8d819-b208-4584-a311-1aa45ce753f9" ], - "issues" : [] + "issues": [] }, { - "type" : "VirtualNetwork", - "id" : "75c8d819-b208-4584-a311-1aa45ce753f9", - "address" : "192.168.100.4", - "resourceId" : "subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic1/ipConfigurations/ipconfig1", - "nextHopIds" : [], - "issues" : [] + "type": "VirtualNetwork", + "id": "75c8d819-b208-4584-a311-1aa45ce753f9", + "address": "192.168.100.4", + "resourceId": "subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic1/ipConfigurations/ipconfig1", + "nextHopIds": [], + "issues": [] } ], - "connectionStatus" : "Connected", - "avgLatencyInMs" : 1, - "minLatencyInMs" : 1, - "maxLatencyInMs" : 4, - "probesSent" : 100, - "probesFailed" : 0 + "connectionStatus": "Connected", + "avgLatencyInMs": 1, + "minLatencyInMs": 1, + "maxLatencyInMs": 4, + "probesSent": 100, + "probesFailed": 0 } }, - "202" : { - "body" : { - "hops" : [ + "202": { + "body": { + "hops": [ { - "type" : "Source", - "id" : "7dbbe7aa-60ba-4650-831e-63d775d38e9e", - "address" : "10.1.1.4", - "resourceId" : "subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic0/ipConfigurations/ipconfig1", - "nextHopIds" : [ + "type": "Source", + "id": "7dbbe7aa-60ba-4650-831e-63d775d38e9e", + "address": "10.1.1.4", + "resourceId": "subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic0/ipConfigurations/ipconfig1", + "nextHopIds": [ "75c8d819-b208-4584-a311-1aa45ce753f9" ], - "issues" : [] + "issues": [] }, { - "type" : "VirtualNetwork", - "id" : "75c8d819-b208-4584-a311-1aa45ce753f9", - "address" : "192.168.100.4", - "resourceId" : "subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic1/ipConfigurations/ipconfig1", - "nextHopIds" : [], - "issues" : [] + "type": "VirtualNetwork", + "id": "75c8d819-b208-4584-a311-1aa45ce753f9", + "address": "192.168.100.4", + "resourceId": "subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic1/ipConfigurations/ipconfig1", + "nextHopIds": [], + "issues": [] } ], - "connectionStatus" : "Connected", - "avgLatencyInMs" : 1, - "minLatencyInMs" : 1, - "maxLatencyInMs" : 4, - "probesSent" : 100, - "probesFailed" : 0 + "connectionStatus": "Connected", + "avgLatencyInMs": 1, + "minLatencyInMs": 1, + "maxLatencyInMs": 4, + "probesSent": 100, + "probesFailed": 0 } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkWatcherCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkWatcherCreate.json index 73f72a69d94f..792cd678095b 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkWatcherCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkWatcherCreate.json @@ -1,39 +1,38 @@ { - "parameters" : { + "parameters": { "api-version": "2019-02-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", - "networkWatcherName" : "nw1", - "parameters" : { - "location" : "eastus", - "properties" : { - } + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkWatcherName": "nw1", + "parameters": { + "location": "eastus", + "properties": {} } }, - "responses" : { - "200" : { - "body" : { - "name" : "nw1", - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1", - "etag" : "W/\"00000000-0000-0000-0000-000000000000\"", - "type" : "Microsoft.Network/networkWatchers", - "location" : "eastus", - "tags" : {}, - "properties" : { - "provisioningState" : "Succeeded" + "responses": { + "200": { + "body": { + "name": "nw1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "type": "Microsoft.Network/networkWatchers", + "location": "eastus", + "tags": {}, + "properties": { + "provisioningState": "Succeeded" } } }, - "201" : { - "body" : { - "name" : "nw1", - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1", - "etag" : "W/\"00000000-0000-0000-0000-000000000000\"", - "type" : "Microsoft.Network/networkWatchers", - "location" : "eastus", - "tags" : {}, - "properties" : { - "provisioningState" : "Succeeded" + "201": { + "body": { + "name": "nw1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "type": "Microsoft.Network/networkWatchers", + "location": "eastus", + "tags": {}, + "properties": { + "provisioningState": "Succeeded" } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkWatcherDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkWatcherDelete.json index d17d6bd1a876..94012c12ad6d 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkWatcherDelete.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkWatcherDelete.json @@ -1,12 +1,12 @@ { - "parameters" : { + "parameters": { "api-version": "2019-02-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", - "networkWatcherName" : "nw1" + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkWatcherName": "nw1" }, - "responses" : { - "202" : {}, - "204" : {} + "responses": { + "202": {}, + "204": {} } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkWatcherFlowLogConfigure.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkWatcherFlowLogConfigure.json index 64090dcded36..620464aa6528 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkWatcherFlowLogConfigure.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkWatcherFlowLogConfigure.json @@ -1,33 +1,33 @@ { - "parameters" : { + "parameters": { "api-version": "2019-02-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", - "networkWatcherName" : "nw1", - "parameters" : { - "targetResourceId" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1", - "properties" : { - "storageId" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1", - "enabled" : true + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkWatcherName": "nw1", + "parameters": { + "targetResourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1", + "properties": { + "storageId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1", + "enabled": true } } }, - "responses" : { - "200" : { - "body" : { - "targetResourceId" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1", - "properties" : { - "storageId" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1", - "enabled" : true + "responses": { + "200": { + "body": { + "targetResourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1", + "properties": { + "storageId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1", + "enabled": true } } }, - "202" : { - "body" : { - "targetResourceId" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1", - "properties" : { - "storageId" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1", - "enabled" : true + "202": { + "body": { + "targetResourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1", + "properties": { + "storageId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1", + "enabled": true } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkWatcherFlowLogStatusQuery.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkWatcherFlowLogStatusQuery.json index 9a678d93d8e4..8d09c9efe435 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkWatcherFlowLogStatusQuery.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkWatcherFlowLogStatusQuery.json @@ -1,29 +1,29 @@ { - "parameters" : { + "parameters": { "api-version": "2019-02-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", - "networkWatcherName" : "nw1", - "parameters" : { - "targetResourceId" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1" + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkWatcherName": "nw1", + "parameters": { + "targetResourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1" } }, - "responses" : { - "200" : { - "body" : { - "targetResourceId" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1", - "properties" : { - "storageId" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1", - "enabled" : true + "responses": { + "200": { + "body": { + "targetResourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1", + "properties": { + "storageId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1", + "enabled": true } } }, - "202" : { - "body" : { - "targetResourceId" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1", - "properties" : { - "storageId" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1", - "enabled" : true + "202": { + "body": { + "targetResourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1", + "properties": { + "storageId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1", + "enabled": true } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkWatcherGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkWatcherGet.json index 556b7b3d7a8c..875f4aca4b15 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkWatcherGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkWatcherGet.json @@ -1,21 +1,21 @@ { - "parameters" : { + "parameters": { "api-version": "2019-02-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", - "networkWatcherName" : "nw1" + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkWatcherName": "nw1" }, - "responses" : { - "200" : { - "body" : { - "name" : "nw1", - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1", - "etag" : "W/\"00000000-0000-0000-0000-000000000000\"", - "type" : "Microsoft.Network/networkWatchers", - "location" : "eastus", - "tags" : {}, - "properties" : { - "provisioningState" : "Succeeded" + "responses": { + "200": { + "body": { + "name": "nw1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "type": "Microsoft.Network/networkWatchers", + "location": "eastus", + "tags": {}, + "properties": { + "provisioningState": "Succeeded" } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkWatcherIpFlowVerify.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkWatcherIpFlowVerify.json index c7ae386ed3a8..f8dfa5815cae 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkWatcherIpFlowVerify.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkWatcherIpFlowVerify.json @@ -1,30 +1,30 @@ { - "parameters" : { + "parameters": { "api-version": "2019-02-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", - "networkWatcherName" : "nw1", - "parameters" : { - "targetResourceId" : "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1", - "direction" : "Outbound", - "protocol" : "TCP", - "localPort" : "80", - "remotePort" : "80", - "localIPAddress" : "10.2.0.4", - "remoteIPAddress" : "121.10.1.1" + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkWatcherName": "nw1", + "parameters": { + "targetResourceId": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1", + "direction": "Outbound", + "protocol": "TCP", + "localPort": "80", + "remotePort": "80", + "localIPAddress": "10.2.0.4", + "remoteIPAddress": "121.10.1.1" } }, - "responses" : { - "200" : { - "body" : { - "access" : "Allow", - "ruleName" : "Rule1" + "responses": { + "200": { + "body": { + "access": "Allow", + "ruleName": "Rule1" } }, - "202" : { - "body" : { - "access" : "Allow", - "ruleName" : "Rule1" + "202": { + "body": { + "access": "Allow", + "ruleName": "Rule1" } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkWatcherList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkWatcherList.json index f208ef55431e..792ca7e69e81 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkWatcherList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkWatcherList.json @@ -1,33 +1,33 @@ { - "parameters" : { + "parameters": { "api-version": "2019-02-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1" + "subscriptionId": "subid", + "resourceGroupName": "rg1" }, - "responses" : { - "200" : { - "body" : { - "value" : [ + "responses": { + "200": { + "body": { + "value": [ { - "name" : "nw1", - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1", - "etag" : "W/\"00000000-0000-0000-0000-000000000000\"", - "type" : "Microsoft.Network/networkWatchers", - "location" : "eastus", - "tags" : {}, - "properties" : { - "provisioningState" : "Succeeded" + "name": "nw1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "type": "Microsoft.Network/networkWatchers", + "location": "eastus", + "tags": {}, + "properties": { + "provisioningState": "Succeeded" } }, { - "name" : "nw2", - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw2", - "etag" : "W/\"00000000-0000-0000-0000-000000000000\"", - "type" : "Microsoft.Network/networkWatchers", - "location" : "eastus", - "tags" : {}, - "properties" : { - "provisioningState" : "Succeeded" + "name": "nw2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw2", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "type": "Microsoft.Network/networkWatchers", + "location": "eastus", + "tags": {}, + "properties": { + "provisioningState": "Succeeded" } } ] diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkWatcherListAll.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkWatcherListAll.json index a5ef3b8c4e07..550efefb34ac 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkWatcherListAll.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkWatcherListAll.json @@ -1,32 +1,32 @@ { - "parameters" : { + "parameters": { "api-version": "2019-02-01", - "subscriptionId" : "subid" + "subscriptionId": "subid" }, - "responses" : { - "200" : { - "body" : { - "value" : [ + "responses": { + "200": { + "body": { + "value": [ { - "name" : "nw1", - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1", - "etag" : "W/\"00000000-0000-0000-0000-000000000000\"", - "type" : "Microsoft.Network/networkWatchers", - "location" : "eastus", - "tags" : {}, - "properties" : { - "provisioningState" : "Succeeded" + "name": "nw1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "type": "Microsoft.Network/networkWatchers", + "location": "eastus", + "tags": {}, + "properties": { + "provisioningState": "Succeeded" } }, { - "name" : "nw2", - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw2", - "etag" : "W/\"00000000-0000-0000-0000-000000000000\"", - "type" : "Microsoft.Network/networkWatchers", - "location" : "westus", - "tags" : {}, - "properties" : { - "provisioningState" : "Succeeded" + "name": "nw2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw2", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "type": "Microsoft.Network/networkWatchers", + "location": "westus", + "tags": {}, + "properties": { + "provisioningState": "Succeeded" } } ] diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkWatcherNetworkConfigurationDiagnostic.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkWatcherNetworkConfigurationDiagnostic.json index 5795f129eae3..a507e97b5103 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkWatcherNetworkConfigurationDiagnostic.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkWatcherNetworkConfigurationDiagnostic.json @@ -1,44 +1,44 @@ { - "parameters" : { + "parameters": { "api-version": "2019-02-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", - "networkWatcherName" : "nw1", - "parameters" : { - "targetResourceId" : "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkWatcherName": "nw1", + "parameters": { + "targetResourceId": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1", "profiles": [ - { - "direction" : "Inbound", - "protocol" : "TCP", - "source" : "10.1.0.4", - "destination" : "12.11.12.14", - "destinationPort" : "12100" - } - ] + { + "direction": "Inbound", + "protocol": "TCP", + "source": "10.1.0.4", + "destination": "12.11.12.14", + "destinationPort": "12100" + } + ] } }, - "responses" : { - "200" : { - "body" : { - "results": [ - { - "profile": { + "responses": { + "200": { + "body": { + "results": [ + { + "profile": { "direction": "Inbound", "protocol": "TCP", "source": "10.1.0.4", "destination": "12.11.12.14", "destinationPort": "12100" - }, + }, "networkSecurityGroupResult": { "securityRuleAccessResult": "Allow", "evaluatedNetworkSecurityGroups": [ { "networkSecurityGroupId": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg1", - "appliedTo": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet/subnets/AppSubnet", + "appliedTo": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet/subnets/AppSubnet", "matchedRule": { "ruleName": "UserRule_fe_rule", "action": "Allow" - }, + }, "rulesEvaluationResult": [ { "name": "UserRule_Cleanuptool-Allow-100", @@ -83,12 +83,12 @@ ] }, { - "networkSecurityGroupId": "/subscriptions/61cc8a98-a8be-4bfe-a04e-0b461f93fe35/resourceGroups/NwRgCentralUSEUAP_copy/providers/Microsoft.Network/networkSecurityGroups/AppNSG", - "appliedTo": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet/networkInterfaces/nic", + "networkSecurityGroupId": "/subscriptions/61cc8a98-a8be-4bfe-a04e-0b461f93fe35/resourceGroups/NwRgCentralUSEUAP_copy/providers/Microsoft.Network/networkSecurityGroups/AppNSG", + "appliedTo": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet/networkInterfaces/nic", "matchedRule": { "ruleName": "UserRule_fe_rule", "action": "Allow" - }, + }, "rulesEvaluationResult": [ { "name": "UserRule_fe_rule", @@ -106,27 +106,27 @@ ] } }, - "202" : { - "body" : { - "results": [ - { - "profile": { + "202": { + "body": { + "results": [ + { + "profile": { "direction": "Inbound", "protocol": "TCP", "source": "10.1.0.4", "destination": "12.11.12.14", "destinationPort": "12100" - }, + }, "networkSecurityGroupResult": { "securityRuleAccessResult": "Allow", "evaluatedNetworkSecurityGroups": [ { "networkSecurityGroupId": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg1", - "appliedTo": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet/subnets/AppSubnet", + "appliedTo": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet/subnets/AppSubnet", "matchedRule": { "ruleName": "UserRule_fe_rule", "action": "Allow" - }, + }, "rulesEvaluationResult": [ { "name": "UserRule_Cleanuptool-Allow-100", @@ -171,12 +171,12 @@ ] }, { - "networkSecurityGroupId": "/subscriptions/61cc8a98-a8be-4bfe-a04e-0b461f93fe35/resourceGroups/NwRgCentralUSEUAP_copy/providers/Microsoft.Network/networkSecurityGroups/AppNSG", - "appliedTo": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet/networkInterfaces/nic", + "networkSecurityGroupId": "/subscriptions/61cc8a98-a8be-4bfe-a04e-0b461f93fe35/resourceGroups/NwRgCentralUSEUAP_copy/providers/Microsoft.Network/networkSecurityGroups/AppNSG", + "appliedTo": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet/networkInterfaces/nic", "matchedRule": { "ruleName": "UserRule_fe_rule", "action": "Allow" - }, + }, "rulesEvaluationResult": [ { "name": "UserRule_fe_rule", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkWatcherNextHopGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkWatcherNextHopGet.json index 67a4d38d1cbc..e0eb4f0b6037 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkWatcherNextHopGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkWatcherNextHopGet.json @@ -1,29 +1,29 @@ { - "parameters" : { + "parameters": { "api-version": "2019-02-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", - "networkWatcherName" : "nw1", - "parameters" : { - "targetResourceId" : "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1", - "sourceIPAddress" : "10.0.0.5", - "destinationIPAddress" : "10.0.0.10", - "targetNicResourceId" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/nic1" + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkWatcherName": "nw1", + "parameters": { + "targetResourceId": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1", + "sourceIPAddress": "10.0.0.5", + "destinationIPAddress": "10.0.0.10", + "targetNicResourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/nic1" } }, - "responses" : { - "200" : { - "body" : { - "nextHopType" : "VnetLocal", - "nextHopIpAddress" : "10.0.0.1", - "routeTableId" : "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/routeTables/rt1" + "responses": { + "200": { + "body": { + "nextHopType": "VnetLocal", + "nextHopIpAddress": "10.0.0.1", + "routeTableId": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/routeTables/rt1" } }, - "202" : { - "body" : { - "nextHopType" : "VnetLocal", - "nextHopIpAddress" : "10.0.0.1", - "routeTableId" : "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/routeTables/rt1" + "202": { + "body": { + "nextHopType": "VnetLocal", + "nextHopIpAddress": "10.0.0.1", + "routeTableId": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/routeTables/rt1" } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkWatcherPacketCaptureCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkWatcherPacketCaptureCreate.json index 3f1ace206916..91e133a623ce 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkWatcherPacketCaptureCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkWatcherPacketCaptureCreate.json @@ -1,52 +1,52 @@ { - "parameters" : { + "parameters": { "api-version": "2019-02-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", - "networkWatcherName" : "nw1", - "packetCaptureName" : "pc1", - "parameters" : { - "properties" : { - "target" : "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1", - "bytesToCapturePerPacket" : 10000, - "totalBytesPerSession" : 100000, - "timeLimitInSeconds" : 100, - "storageLocation" : { - "storageId" : "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore", - "storagePath" : "https://mytestaccountname.blob.core.windows.net/capture/pc1.cap", - "filePath" : "D:\\capture\\pc1.cap" + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkWatcherName": "nw1", + "packetCaptureName": "pc1", + "parameters": { + "properties": { + "target": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1", + "bytesToCapturePerPacket": 10000, + "totalBytesPerSession": 100000, + "timeLimitInSeconds": 100, + "storageLocation": { + "storageId": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore", + "storagePath": "https://mytestaccountname.blob.core.windows.net/capture/pc1.cap", + "filePath": "D:\\capture\\pc1.cap" }, - "filters" : [ + "filters": [ { - "protocol" : "TCP", - "localIPAddress" : "10.0.0.4", - "localPort" : "80" + "protocol": "TCP", + "localIPAddress": "10.0.0.4", + "localPort": "80" } ] } } }, - "responses" : { - "201" : { - "body" : { - "name" : "pc1", - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1", - "properties" : { - "provisioningState" : "Updating", - "target" : "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1", - "bytesToCapturePerPacket" : 10000, - "totalBytesPerSession" : 100000, - "timeLimitInSeconds" : 100, - "storageLocation" : { - "storageId" : "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore", - "storagePath" : "https://mytestaccountname.blob.core.windows.net/capture/pc1.cap", - "filePath" : "D:\\capture\\pc1.cap" + "responses": { + "201": { + "body": { + "name": "pc1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1", + "properties": { + "provisioningState": "Updating", + "target": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1", + "bytesToCapturePerPacket": 10000, + "totalBytesPerSession": 100000, + "timeLimitInSeconds": 100, + "storageLocation": { + "storageId": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore", + "storagePath": "https://mytestaccountname.blob.core.windows.net/capture/pc1.cap", + "filePath": "D:\\capture\\pc1.cap" }, - "filters" : [ + "filters": [ { - "protocol" : "TCP", - "localIPAddress" : "10.0.0.4", - "localPort" : "80" + "protocol": "TCP", + "localIPAddress": "10.0.0.4", + "localPort": "80" } ] } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkWatcherPacketCaptureDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkWatcherPacketCaptureDelete.json index cdb823f9e115..28b72b362216 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkWatcherPacketCaptureDelete.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkWatcherPacketCaptureDelete.json @@ -1,13 +1,13 @@ { - "parameters" : { + "parameters": { "api-version": "2019-02-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", - "networkWatcherName" : "nw1", - "packetCaptureName" : "pc1" + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkWatcherName": "nw1", + "packetCaptureName": "pc1" }, - "responses" : { - "204" : {}, - "202" : {} + "responses": { + "204": {}, + "202": {} } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkWatcherPacketCaptureGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkWatcherPacketCaptureGet.json index a8e399807d27..919968270a94 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkWatcherPacketCaptureGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkWatcherPacketCaptureGet.json @@ -1,33 +1,33 @@ { - "parameters" : { + "parameters": { "api-version": "2019-02-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", - "networkWatcherName" : "nw1", - "packetCaptureName" : "pc1" + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkWatcherName": "nw1", + "packetCaptureName": "pc1" }, - "responses" : { - "200" : { - "body" : { - "name" : "pc1", - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1", - "etag" : "W/\"00000000-0000-0000-0000-000000000000\"", - "properties" : { - "provisioningState" : "Updating", - "target" : "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1", - "bytesToCapturePerPacket" : 10000, - "totalBytesPerSession" : 100000, - "timeLimitInSeconds" : 100, - "storageLocation" : { - "storageId" : "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore", - "storagePath" : "https://mytestaccountname.blob.core.windows.net/capture/pc1.cap", - "filePath" : "D:\\capture\\pc1.cap" + "responses": { + "200": { + "body": { + "name": "pc1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "properties": { + "provisioningState": "Updating", + "target": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1", + "bytesToCapturePerPacket": 10000, + "totalBytesPerSession": 100000, + "timeLimitInSeconds": 100, + "storageLocation": { + "storageId": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore", + "storagePath": "https://mytestaccountname.blob.core.windows.net/capture/pc1.cap", + "filePath": "D:\\capture\\pc1.cap" }, - "filters" : [ + "filters": [ { - "protocol" : "TCP", - "localIPAddress" : "10.0.0.4", - "localPort" : "80" + "protocol": "TCP", + "localIPAddress": "10.0.0.4", + "localPort": "80" } ] } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkWatcherPacketCaptureQueryStatus.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkWatcherPacketCaptureQueryStatus.json index 4943d1068477..c3b836b785a2 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkWatcherPacketCaptureQueryStatus.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkWatcherPacketCaptureQueryStatus.json @@ -1,30 +1,30 @@ { - "parameters" : { + "parameters": { "api-version": "2019-02-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", - "networkWatcherName" : "nw1", - "packetCaptureName" : "pc1" + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkWatcherName": "nw1", + "packetCaptureName": "pc1" }, - "responses" : { - "200" : { - "body" : { - "name" : "pc1", - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1", - "captureStartTime" : "2016-09-07T12:35:24Z", - "packetCaptureStatus" : "Stopped", - "stopReason" : "TimeExceeded", - "packetCaptureError" : [] + "responses": { + "200": { + "body": { + "name": "pc1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1", + "captureStartTime": "2016-09-07T12:35:24Z", + "packetCaptureStatus": "Stopped", + "stopReason": "TimeExceeded", + "packetCaptureError": [] } }, - "202" : { - "body" : { - "name" : "pc1", - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1", - "captureStartTime" : "2016-09-07T12:35:24Z", - "packetCaptureStatus" : "Stopped", - "stopReason" : "TimeExceeded", - "packetCaptureError" : [] + "202": { + "body": { + "name": "pc1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1", + "captureStartTime": "2016-09-07T12:35:24Z", + "packetCaptureStatus": "Stopped", + "stopReason": "TimeExceeded", + "packetCaptureError": [] } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkWatcherPacketCaptureStop.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkWatcherPacketCaptureStop.json index 53d5b14f3109..a4138bab8519 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkWatcherPacketCaptureStop.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkWatcherPacketCaptureStop.json @@ -1,13 +1,13 @@ { - "parameters" : { + "parameters": { "api-version": "2019-02-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", - "networkWatcherName" : "nw1", - "packetCaptureName" : "pc1" + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkWatcherName": "nw1", + "packetCaptureName": "pc1" }, - "responses" : { - "200" : {}, - "202" : {} + "responses": { + "200": {}, + "202": {} } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkWatcherPacketCapturesList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkWatcherPacketCapturesList.json index b9f13313c6b4..03c240d29c33 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkWatcherPacketCapturesList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkWatcherPacketCapturesList.json @@ -1,54 +1,54 @@ { - "parameters" : { + "parameters": { "api-version": "2019-02-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", - "networkWatcherName" : "nw1" + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkWatcherName": "nw1" }, - "responses" : { - "200" : { - "body" : { - "value" : [ + "responses": { + "200": { + "body": { + "value": [ { - "name" : "pc1", - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1", - "etag" : "W/\"00000000-0000-0000-0000-000000000000\"", - "properties" : { - "provisioningState" : "Updating", - "target" : "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1", - "bytesToCapturePerPacket" : 10000, - "totalBytesPerSession" : 100000, - "timeLimitInSeconds" : 100, - "storageLocation" : { - "storageId" : "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore", - "storagePath" : "https://mytestaccountname.blob.core.windows.net/capture/pc1.cap", - "filePath" : "D:\\capture\\pc1.cap" + "name": "pc1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "properties": { + "provisioningState": "Updating", + "target": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1", + "bytesToCapturePerPacket": 10000, + "totalBytesPerSession": 100000, + "timeLimitInSeconds": 100, + "storageLocation": { + "storageId": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore", + "storagePath": "https://mytestaccountname.blob.core.windows.net/capture/pc1.cap", + "filePath": "D:\\capture\\pc1.cap" }, - "filters" : [ + "filters": [ { - "protocol" : "TCP", - "localIPAddress" : "10.0.0.4", - "localPort" : "80" + "protocol": "TCP", + "localIPAddress": "10.0.0.4", + "localPort": "80" } ] } }, { - "name" : "pc2", - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc2", - "etag" : "W/\"00000000-0000-0000-0000-000000000000\"", - "properties" : { - "provisioningState" : "Succeeded", - "target" : "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1", - "bytesToCapturePerPacket" : 10000, - "totalBytesPerSession" : 100000, - "timeLimitInSeconds" : 100, - "storageLocation" : { - "storageId" : "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore", - "storagePath" : "https://mytestaccountname.blob.core.windows.net/capture/pc2.cap", - "filePath" : "D:\\capture\\pc2.cap" + "name": "pc2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc2", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "properties": { + "provisioningState": "Succeeded", + "target": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1", + "bytesToCapturePerPacket": 10000, + "totalBytesPerSession": 100000, + "timeLimitInSeconds": 100, + "storageLocation": { + "storageId": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore", + "storagePath": "https://mytestaccountname.blob.core.windows.net/capture/pc2.cap", + "filePath": "D:\\capture\\pc2.cap" }, - "filters" : [] + "filters": [] } } ] diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkWatcherSecurityGroupViewGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkWatcherSecurityGroupViewGet.json index 075b84ed66ab..1b9daf0a1fb9 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkWatcherSecurityGroupViewGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkWatcherSecurityGroupViewGet.json @@ -1,71 +1,71 @@ { - "parameters" : { + "parameters": { "api-version": "2019-02-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", - "networkWatcherName" : "nw1", - "parameters" : { - "targetResourceId" : "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1" + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkWatcherName": "nw1", + "parameters": { + "targetResourceId": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1" } }, - "responses" : { - "200" : { - "body" : { - "networkInterfaces" : [ + "responses": { + "200": { + "body": { + "networkInterfaces": [ { "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic1", - "securityRuleAssociations" : { - "subnetAssociation" : { + "securityRuleAssociations": { + "subnetAssociation": { "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1", - "securityRules" : [ + "securityRules": [ { - "name" : "fe_rule", - "id" : "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/AppNSG/securityRules/fe_rule", - "etag" : "W/\"00000000-0000-0000-0000-000000000000\"", - "properties" : { - "provisioningState" : "Succeeded", - "description" : "Allow Frontend", - "protocol" : "Tcp", - "sourcePortRange" : "*", - "destinationPortRange" : "*", - "sourceAddressPrefix" : "10.1.0.0/24", - "destinationAddressPrefix" : "*", - "access" : "Allow", - "priority" : 100, - "direction" : "Inbound" + "name": "fe_rule", + "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/AppNSG/securityRules/fe_rule", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "properties": { + "provisioningState": "Succeeded", + "description": "Allow Frontend", + "protocol": "Tcp", + "sourcePortRange": "*", + "destinationPortRange": "*", + "sourceAddressPrefix": "10.1.0.0/24", + "destinationAddressPrefix": "*", + "access": "Allow", + "priority": 100, + "direction": "Inbound" } } ] }, - "defaultSecurityRules" : [ + "defaultSecurityRules": [ { - "name" : "AllowVnetInBound", - "id" : "/subscriptions//resourceGroups//providers/Microsoft.Network/networkSecurityGroups//defaultSecurityRules/", - "properties" : { - "provisioningState" : "Succeeded", - "description" : "Allow inbound traffic from all VMs in VNET", - "protocol" : "*", - "sourcePortRange" : "*", - "destinationPortRange" : "*", - "sourceAddressPrefix" : "VirtualNetwork", - "destinationAddressPrefix" : "VirtualNetwork", - "access" : "Allow", - "priority" : 65000, - "direction" : "Inbound" + "name": "AllowVnetInBound", + "id": "/subscriptions//resourceGroups//providers/Microsoft.Network/networkSecurityGroups//defaultSecurityRules/", + "properties": { + "provisioningState": "Succeeded", + "description": "Allow inbound traffic from all VMs in VNET", + "protocol": "*", + "sourcePortRange": "*", + "destinationPortRange": "*", + "sourceAddressPrefix": "VirtualNetwork", + "destinationAddressPrefix": "VirtualNetwork", + "access": "Allow", + "priority": 65000, + "direction": "Inbound" } } - ], - "effectiveSecurityRules" : [ + ], + "effectiveSecurityRules": [ { - "name" : "DefaultOutboundDenyAll", - "protocol" : "All", - "sourcePortRange" : "0-65535", - "destinationPortRange" : "0-65535", - "sourceAddressPrefix" : "*", - "destinationAddressPrefix" : "*", - "access" : "Deny", - "priority" : 65500, - "direction" : "Outbound" + "name": "DefaultOutboundDenyAll", + "protocol": "All", + "sourcePortRange": "0-65535", + "destinationPortRange": "0-65535", + "sourceAddressPrefix": "*", + "destinationAddressPrefix": "*", + "access": "Deny", + "priority": 65500, + "direction": "Outbound" } ] } @@ -73,63 +73,63 @@ ] } }, - "202" : { - "body" : { + "202": { + "body": { "networkInterfaces": [ { - "id" : "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic1", - "securityRuleAssociations" : { - "subnetAssociation" : { - "id" : "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1", - "securityRules" : [ + "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic1", + "securityRuleAssociations": { + "subnetAssociation": { + "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1", + "securityRules": [ { - "name" : "fe_rule", - "id" : "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/AppNSG/securityRules/fe_rule", - "etag" : "W/\"00000000-0000-0000-0000-000000000000\"", - "properties" : { - "provisioningState" : "Succeeded", - "description" : "Allow Frontend", - "protocol" : "Tcp", - "sourcePortRange" : "*", - "destinationPortRange" : "*", - "sourceAddressPrefix" : "10.1.0.0/24", - "destinationAddressPrefix" : "*", - "access" : "Allow", - "priority" : 100, - "direction" : "Inbound" + "name": "fe_rule", + "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/AppNSG/securityRules/fe_rule", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "properties": { + "provisioningState": "Succeeded", + "description": "Allow Frontend", + "protocol": "Tcp", + "sourcePortRange": "*", + "destinationPortRange": "*", + "sourceAddressPrefix": "10.1.0.0/24", + "destinationAddressPrefix": "*", + "access": "Allow", + "priority": 100, + "direction": "Inbound" } } ] }, - "defaultSecurityRules" : [ + "defaultSecurityRules": [ { - "name" : "AllowVnetInBound", - "id" : "/subscriptions//resourceGroups//providers/Microsoft.Network/networkSecurityGroups//defaultSecurityRules/", - "properties" : { - "provisioningState" : "Succeeded", - "description" : "Allow inbound traffic from all VMs in VNET", - "protocol" : "*", - "sourcePortRange" : "*", - "destinationPortRange" : "*", - "sourceAddressPrefix" : "VirtualNetwork", - "destinationAddressPrefix" : "VirtualNetwork", - "access" : "Allow", - "priority" : 65000, - "direction" : "Inbound" + "name": "AllowVnetInBound", + "id": "/subscriptions//resourceGroups//providers/Microsoft.Network/networkSecurityGroups//defaultSecurityRules/", + "properties": { + "provisioningState": "Succeeded", + "description": "Allow inbound traffic from all VMs in VNET", + "protocol": "*", + "sourcePortRange": "*", + "destinationPortRange": "*", + "sourceAddressPrefix": "VirtualNetwork", + "destinationAddressPrefix": "VirtualNetwork", + "access": "Allow", + "priority": 65000, + "direction": "Inbound" } } - ], - "effectiveSecurityRules" : [ + ], + "effectiveSecurityRules": [ { - "name" : "DefaultOutboundDenyAll", - "protocol" : "All", - "sourcePortRange" : "0-65535", - "destinationPortRange" : "0-65535", - "sourceAddressPrefix" : "*", - "destinationAddressPrefix" : "*", - "access" : "Deny", - "priority" : 65500, - "direction" : "Outbound" + "name": "DefaultOutboundDenyAll", + "protocol": "All", + "sourcePortRange": "0-65535", + "destinationPortRange": "0-65535", + "sourceAddressPrefix": "*", + "destinationAddressPrefix": "*", + "access": "Deny", + "priority": 65500, + "direction": "Outbound" } ] } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkWatcherTopologyGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkWatcherTopologyGet.json index cb3f93ce39ce..2735d5f404c1 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkWatcherTopologyGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkWatcherTopologyGet.json @@ -1,34 +1,34 @@ { - "parameters" : { + "parameters": { "api-version": "2019-02-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", - "networkWatcherName" : "nw1", - "parameters" : { + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkWatcherName": "nw1", + "parameters": { "targetResourceGroupName": "rg2" } }, - "responses" : { - "200" : { - "body" : { - "id" : "ce592f46-8164-4bf2-ad36-b8e4acf6fb68", - "createdDateTime" : "2017-08-02T19:31:55.9461781Z", - "lastModified" : "2017-05-27T00:00:13.2005337Z", - "resources" : [ + "responses": { + "200": { + "body": { + "id": "ce592f46-8164-4bf2-ad36-b8e4acf6fb68", + "createdDateTime": "2017-08-02T19:31:55.9461781Z", + "lastModified": "2017-05-27T00:00:13.2005337Z", + "resources": [ { - "name" : "MultiTierApp0", - "id" : "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/MultiTierApp0", - "location" : "westus", - "associations" : [ + "name": "MultiTierApp0", + "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/MultiTierApp0", + "location": "westus", + "associations": [ { - "name" : "appNic0", - "resourceId" : "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/appNic0", - "associationType" : "Contains" + "name": "appNic0", + "resourceId": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/appNic0", + "associationType": "Contains" }, { - "name" : "appNic10", - "resourceId" : "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/appNic10", - "associationType" : "Contains" + "name": "appNic10", + "resourceId": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/appNic10", + "associationType": "Contains" } ] } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkWatcherTroubleshootGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkWatcherTroubleshootGet.json index 728cb69214eb..aabc2d91e10f 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkWatcherTroubleshootGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkWatcherTroubleshootGet.json @@ -1,69 +1,69 @@ { - "parameters" : { + "parameters": { "api-version": "2019-02-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", - "networkWatcherName" : "nw1", - "parameters" : { - "targetResourceId" : "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1", - "properties" : { - "storageId" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1", - "storagePath" : "https://st1.blob.core.windows.net/cn1" + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkWatcherName": "nw1", + "parameters": { + "targetResourceId": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1", + "properties": { + "storageId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1", + "storagePath": "https://st1.blob.core.windows.net/cn1" } } }, - "responses" : { - "200" : { - "body" : { - "startTime" : "2017-01-12T00:19:47.0442834Z", - "endTime" : "2017-01-12T00:20:09.914Z", - "code" : "UnHealthy", - "results" : [ - { - "id": "000000", - "reasonType" : "VipUnResponsive", - "summary": "We are sorry, your VPN gateway is unreachable from the Internet", - "detail": "During this time S2S VPN tunnels to on premises sites or other Azure virtual networks will be disconnected", - "recommendedActions": [ - { - "actionText": "Verify if there is a network security group (NSG) applied to the GatewaySubnet", + "responses": { + "200": { + "body": { + "startTime": "2017-01-12T00:19:47.0442834Z", + "endTime": "2017-01-12T00:20:09.914Z", + "code": "UnHealthy", + "results": [ + { + "id": "000000", + "reasonType": "VipUnResponsive", + "summary": "We are sorry, your VPN gateway is unreachable from the Internet", + "detail": "During this time S2S VPN tunnels to on premises sites or other Azure virtual networks will be disconnected", + "recommendedActions": [ + { + "actionText": "Verify if there is a network security group (NSG) applied to the GatewaySubnet", "actionUri": "https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-create-nsg-arm-pportal", - "actionUriText": "Verify" - }, - { - "actionText": "If your VPN gateway isn't up and running by the expected resolution time, contact support", - "actionUri": "http://azure.microsoft.com/support", + "actionUriText": "Verify" + }, + { + "actionText": "If your VPN gateway isn't up and running by the expected resolution time, contact support", + "actionUri": "http://azure.microsoft.com/support", "actionUriText": "contact support" - } - ] - } + } + ] + } ] } }, - "202" : { - "body" : { - "startTime" : "2017-01-12T00:19:47.0442834Z", - "endTime" : "2017-01-12T00:20:09.914Z", - "code" : "UnHealthy", - "results" : [ - { - "id": "000000", - "reasonType" : "VipUnResponsive", - "summary": "We are sorry, your VPN gateway is unreachable from the Internet", - "detail": "During this time S2S VPN tunnels to on premises sites or other Azure virtual networks will be disconnected", - "recommendedActions": [ - { - "actionText": "Verify if there is a network security group (NSG) applied to the GatewaySubnet", + "202": { + "body": { + "startTime": "2017-01-12T00:19:47.0442834Z", + "endTime": "2017-01-12T00:20:09.914Z", + "code": "UnHealthy", + "results": [ + { + "id": "000000", + "reasonType": "VipUnResponsive", + "summary": "We are sorry, your VPN gateway is unreachable from the Internet", + "detail": "During this time S2S VPN tunnels to on premises sites or other Azure virtual networks will be disconnected", + "recommendedActions": [ + { + "actionText": "Verify if there is a network security group (NSG) applied to the GatewaySubnet", "actionUri": "https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-create-nsg-arm-pportal", - "actionUriText": "Verify" - }, - { - "actionText": "If your VPN gateway isn't up and running by the expected resolution time, contact support", - "actionUri": "http://azure.microsoft.com/support", + "actionUriText": "Verify" + }, + { + "actionText": "If your VPN gateway isn't up and running by the expected resolution time, contact support", + "actionUri": "http://azure.microsoft.com/support", "actionUriText": "contact support" - } - ] - } + } + ] + } ] } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkWatcherTroubleshootResultQuery.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkWatcherTroubleshootResultQuery.json index cd85e0e99ca3..bd5a6632f256 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkWatcherTroubleshootResultQuery.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkWatcherTroubleshootResultQuery.json @@ -1,65 +1,65 @@ { - "parameters" : { + "parameters": { "api-version": "2019-02-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", - "networkWatcherName" : "nw1", - "parameters" : { - "targetResourceId" : "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1" + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkWatcherName": "nw1", + "parameters": { + "targetResourceId": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1" } }, - "responses" : { - "200" : { - "body" : { - "startTime" : "2017-01-12T00:19:47.0442834Z", - "endTime" : "2017-01-12T00:20:09.914Z", - "code" : "UnHealthy", - "results" : [ - { - "id": "000000", - "reasonType" : "VipUnResponsive", - "summary" : "We are sorry, your VPN gateway is unreachable from the Internet", - "detail" : "During this time S2S VPN tunnels to on premises sites or other Azure virtual networks will be disconnected", - "recommendedActions" : [ - { - "actionText" : "Verify if there is a network security group (NSG) applied to the GatewaySubnet", - "actionUri" : "https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-create-nsg-arm-pportal", - "actionUriText" : "Verify" - }, - { - "actionText" : "If your VPN gateway isn't up and running by the expected resolution time, contact support", - "actionUri" : "http://azure.microsoft.com/support", - "actionUriText" : "contact support" - } - ] - } + "responses": { + "200": { + "body": { + "startTime": "2017-01-12T00:19:47.0442834Z", + "endTime": "2017-01-12T00:20:09.914Z", + "code": "UnHealthy", + "results": [ + { + "id": "000000", + "reasonType": "VipUnResponsive", + "summary": "We are sorry, your VPN gateway is unreachable from the Internet", + "detail": "During this time S2S VPN tunnels to on premises sites or other Azure virtual networks will be disconnected", + "recommendedActions": [ + { + "actionText": "Verify if there is a network security group (NSG) applied to the GatewaySubnet", + "actionUri": "https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-create-nsg-arm-pportal", + "actionUriText": "Verify" + }, + { + "actionText": "If your VPN gateway isn't up and running by the expected resolution time, contact support", + "actionUri": "http://azure.microsoft.com/support", + "actionUriText": "contact support" + } + ] + } ] } }, - "202" : { - "body" : { - "startTime" : "2017-01-12T00:19:47.0442834Z", - "endTime" : "2017-01-12T00:20:09.914Z", - "code" : "UnHealthy", - "results" : [ - { - "id" : "000000", - "reasonType" : "VipUnResponsive", - "summary" : "We are sorry, your VPN gateway is unreachable from the Internet", - "detail" : "During this time S2S VPN tunnels to on premises sites or other Azure virtual networks will be disconnected", - "recommendedActions" : [ - { - "actionText" : "Verify if there is a network security group (NSG) applied to the GatewaySubnet", - "actionUri" : "https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-create-nsg-arm-pportal", - "actionUriText" : "Verify" - }, - { - "actionText" : "If your VPN gateway isn't up and running by the expected resolution time, contact support", - "actionUri" : "http://azure.microsoft.com/support", - "actionUriText" : "contact support" - } - ] - } + "202": { + "body": { + "startTime": "2017-01-12T00:19:47.0442834Z", + "endTime": "2017-01-12T00:20:09.914Z", + "code": "UnHealthy", + "results": [ + { + "id": "000000", + "reasonType": "VipUnResponsive", + "summary": "We are sorry, your VPN gateway is unreachable from the Internet", + "detail": "During this time S2S VPN tunnels to on premises sites or other Azure virtual networks will be disconnected", + "recommendedActions": [ + { + "actionText": "Verify if there is a network security group (NSG) applied to the GatewaySubnet", + "actionUri": "https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-create-nsg-arm-pportal", + "actionUriText": "Verify" + }, + { + "actionText": "If your VPN gateway isn't up and running by the expected resolution time, contact support", + "actionUri": "http://azure.microsoft.com/support", + "actionUriText": "contact support" + } + ] + } ] } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkWatcherUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkWatcherUpdateTags.json index a16986bc0e06..abeb8ec8d72e 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkWatcherUpdateTags.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NetworkWatcherUpdateTags.json @@ -1,30 +1,30 @@ { - "parameters" : { + "parameters": { "api-version": "2019-02-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", - "networkWatcherName" : "nw1", - "parameters" : { + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkWatcherName": "nw1", + "parameters": { "tags": { "tag1": "value1", "tag2": "value2" } } }, - "responses" : { - "200" : { - "body" : { - "name" : "nw1", - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1", - "etag" : "W/\"00000000-0000-0000-0000-000000000000\"", - "type" : "Microsoft.Network/networkWatchers", - "location" : "eastus", + "responses": { + "200": { + "body": { + "name": "nw1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "type": "Microsoft.Network/networkWatchers", + "location": "eastus", "tags": { "tag1": "value1", "tag2": "value2" }, - "properties" : { - "provisioningState" : "Succeeded" + "properties": { + "provisioningState": "Succeeded" } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/P2SVpnGatewayDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/P2SVpnGatewayDelete.json index e964058b3206..44b9a4f378f2 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/P2SVpnGatewayDelete.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/P2SVpnGatewayDelete.json @@ -1,13 +1,13 @@ { - "parameters": { - "gatewayName": "p2sVpnGateway1", - "resourceGroupName": "rg1", - "api-version": "2019-02-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { }, - "202": { }, - "204": { } - } + "parameters": { + "gatewayName": "p2sVpnGateway1", + "resourceGroupName": "rg1", + "api-version": "2019-02-01", + "subscriptionId": "subid" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/P2SVpnGatewayGenerateVpnProfile.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/P2SVpnGatewayGenerateVpnProfile.json index b60e5baa7e4a..065cea9d2732 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/P2SVpnGatewayGenerateVpnProfile.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/P2SVpnGatewayGenerateVpnProfile.json @@ -1,19 +1,17 @@ { + "parameters": { + "api-version": "2019-02-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "gatewayName": "p2sVpnGateway1", "parameters": { - "api-version": "2019-02-01", - "subscriptionId": "subid", - "resourceGroupName": "rg1", - "gatewayName" : "p2sVpnGateway1", - "parameters": { - "authenticationMethod": "EAPTLS" - } - }, - "responses" : { - "202" : { - }, - "200" : { - "body" : "" - } + "authenticationMethod": "EAPTLS" } + }, + "responses": { + "202": {}, + "200": { + "body": "" + } + } } - diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/P2SVpnGatewayGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/P2SVpnGatewayGet.json index aabe8807b466..571bb9d51065 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/P2SVpnGatewayGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/P2SVpnGatewayGet.json @@ -9,7 +9,7 @@ "200": { "body": { "name": "p2sVpnGateway1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/P2SvpnGateways/p2sVpnGateway1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/P2SvpnGateways/p2sVpnGateway1", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "location": "West US", "type": "Microsoft.Network/p2sVpnGateways", @@ -18,29 +18,29 @@ "virtualHub": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" }, - "p2SVpnServerConfiguration": { + "p2SVpnServerConfiguration": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1" - }, - "vpnClientAddressPool": { + }, + "vpnClientAddressPool": { "addressPrefixes": [ - "101.3.0.0/16" + "101.3.0.0/16" ] - }, - "customRoutes": { - "addressPrefixes": [ - "101.168.0.6/32" - ] - }, - "vpnGatewayScaleUnit": 1, - "vpnClientConnectionHealth": { - "vpnClientConnectionsCount": 2, - "allocatedIpAddresses": [ - "1.1.1.1", - "2.2.2.2" - ], - "totalIngressBytesTransferred":2000, - "totalEgressBytesTransferred":3000 - } + }, + "customRoutes": { + "addressPrefixes": [ + "101.168.0.6/32" + ] + }, + "vpnGatewayScaleUnit": 1, + "vpnClientConnectionHealth": { + "vpnClientConnectionsCount": 2, + "allocatedIpAddresses": [ + "1.1.1.1", + "2.2.2.2" + ], + "totalIngressBytesTransferred": 2000, + "totalEgressBytesTransferred": 3000 + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/P2SVpnGatewayList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/P2SVpnGatewayList.json index c613438517dd..1a98af490a2d 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/P2SVpnGatewayList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/P2SVpnGatewayList.json @@ -19,29 +19,29 @@ "virtualHub": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" }, - "p2SVpnServerConfiguration": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1" - }, - "vpnClientAddressPool": { - "addressPrefixes": [ - "101.3.0.0/16" - ] - }, - "customRoutes": { - "addressPrefixes": [ - "101.168.0.6/32" - ] - }, - "vpnGatewayScaleUnit": 1, - "vpnClientConnectionHealth": { - "vpnClientConnectionsCount": 2, - "allocatedIpAddresses": [ - "1.1.1.1", - "2.2.2.2" - ], - "totalIngressBytesTransferred":2000, - "totalEgressBytesTransferred":3000 - } + "p2SVpnServerConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1" + }, + "vpnClientAddressPool": { + "addressPrefixes": [ + "101.3.0.0/16" + ] + }, + "customRoutes": { + "addressPrefixes": [ + "101.168.0.6/32" + ] + }, + "vpnGatewayScaleUnit": 1, + "vpnClientConnectionHealth": { + "vpnClientConnectionsCount": 2, + "allocatedIpAddresses": [ + "1.1.1.1", + "2.2.2.2" + ], + "totalIngressBytesTransferred": 2000, + "totalEgressBytesTransferred": 3000 + } } }, { @@ -55,29 +55,29 @@ "virtualHub": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub2" }, - "p2SVpnServerConfiguration": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1" - }, - "vpnClientAddressPool": { - "addressPrefixes": [ - "101.4.0.0/16" - ] - }, - "customRoutes": { - "addressPrefixes": [ - "101.168.0.6/32" - ] - }, - "vpnGatewayScaleUnit": 1, - "vpnClientConnectionHealth": { - "vpnClientConnectionsCount": 2, - "allocatedIpAddresses": [ - "1.1.1.1", - "2.2.2.2" - ], - "totalIngressBytesTransferred":2000, - "totalEgressBytesTransferred":3000 - } + "p2SVpnServerConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1" + }, + "vpnClientAddressPool": { + "addressPrefixes": [ + "101.4.0.0/16" + ] + }, + "customRoutes": { + "addressPrefixes": [ + "101.168.0.6/32" + ] + }, + "vpnGatewayScaleUnit": 1, + "vpnClientConnectionHealth": { + "vpnClientConnectionsCount": 2, + "allocatedIpAddresses": [ + "1.1.1.1", + "2.2.2.2" + ], + "totalIngressBytesTransferred": 2000, + "totalEgressBytesTransferred": 3000 + } } } ] diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/P2SVpnGatewayListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/P2SVpnGatewayListByResourceGroup.json index c613438517dd..1a98af490a2d 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/P2SVpnGatewayListByResourceGroup.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/P2SVpnGatewayListByResourceGroup.json @@ -19,29 +19,29 @@ "virtualHub": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" }, - "p2SVpnServerConfiguration": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1" - }, - "vpnClientAddressPool": { - "addressPrefixes": [ - "101.3.0.0/16" - ] - }, - "customRoutes": { - "addressPrefixes": [ - "101.168.0.6/32" - ] - }, - "vpnGatewayScaleUnit": 1, - "vpnClientConnectionHealth": { - "vpnClientConnectionsCount": 2, - "allocatedIpAddresses": [ - "1.1.1.1", - "2.2.2.2" - ], - "totalIngressBytesTransferred":2000, - "totalEgressBytesTransferred":3000 - } + "p2SVpnServerConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1" + }, + "vpnClientAddressPool": { + "addressPrefixes": [ + "101.3.0.0/16" + ] + }, + "customRoutes": { + "addressPrefixes": [ + "101.168.0.6/32" + ] + }, + "vpnGatewayScaleUnit": 1, + "vpnClientConnectionHealth": { + "vpnClientConnectionsCount": 2, + "allocatedIpAddresses": [ + "1.1.1.1", + "2.2.2.2" + ], + "totalIngressBytesTransferred": 2000, + "totalEgressBytesTransferred": 3000 + } } }, { @@ -55,29 +55,29 @@ "virtualHub": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub2" }, - "p2SVpnServerConfiguration": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1" - }, - "vpnClientAddressPool": { - "addressPrefixes": [ - "101.4.0.0/16" - ] - }, - "customRoutes": { - "addressPrefixes": [ - "101.168.0.6/32" - ] - }, - "vpnGatewayScaleUnit": 1, - "vpnClientConnectionHealth": { - "vpnClientConnectionsCount": 2, - "allocatedIpAddresses": [ - "1.1.1.1", - "2.2.2.2" - ], - "totalIngressBytesTransferred":2000, - "totalEgressBytesTransferred":3000 - } + "p2SVpnServerConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1" + }, + "vpnClientAddressPool": { + "addressPrefixes": [ + "101.4.0.0/16" + ] + }, + "customRoutes": { + "addressPrefixes": [ + "101.168.0.6/32" + ] + }, + "vpnGatewayScaleUnit": 1, + "vpnClientConnectionHealth": { + "vpnClientConnectionsCount": 2, + "allocatedIpAddresses": [ + "1.1.1.1", + "2.2.2.2" + ], + "totalIngressBytesTransferred": 2000, + "totalEgressBytesTransferred": 3000 + } } } ] diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/P2SVpnGatewayPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/P2SVpnGatewayPut.json index 6587fb8654be..0cf6db19e4a8 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/P2SVpnGatewayPut.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/P2SVpnGatewayPut.json @@ -14,19 +14,19 @@ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" }, "p2SVpnServerConfiguration": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1" + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1" }, "vpnClientAddressPool": { - "addressPrefixes": [ - "101.3.0.0/16" - ] + "addressPrefixes": [ + "101.3.0.0/16" + ] }, - "customRoutes": { - "addressPrefixes": [ - "101.168.0.6/32" - ] - }, - "vpnGatewayScaleUnit": 1 + "customRoutes": { + "addressPrefixes": [ + "101.168.0.6/32" + ] + }, + "vpnGatewayScaleUnit": 1 } } }, @@ -43,25 +43,25 @@ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" }, "p2SVpnServerConfiguration": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1" + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1" }, "vpnClientAddressPool": { - "addressPrefixes": [ - "101.3.0.0/16" - ] + "addressPrefixes": [ + "101.3.0.0/16" + ] + }, + "customRoutes": { + "addressPrefixes": [ + "101.168.0.6/32" + ] }, - "customRoutes": { - "addressPrefixes": [ - "101.168.0.6/32" - ] - }, "vpnGatewayScaleUnit": 1, - "vpnClientConnectionHealth": { - "vpnClientConnectionsCount": 0, - "allocatedIpAddresses": [], - "totalIngressBytesTransferred": 0, - "totalEgressBytesTransferred": 0 - } + "vpnClientConnectionHealth": { + "vpnClientConnectionsCount": 0, + "allocatedIpAddresses": [], + "totalIngressBytesTransferred": 0, + "totalEgressBytesTransferred": 0 + } } }, "201": { @@ -76,25 +76,25 @@ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" }, "p2SVpnServerConfiguration": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1" + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1" }, "vpnClientAddressPool": { - "addressPrefixes": [ - "101.3.0.0/16" - ] + "addressPrefixes": [ + "101.3.0.0/16" + ] + }, + "customRoutes": { + "addressPrefixes": [ + "101.168.0.6/32" + ] }, - "customRoutes": { - "addressPrefixes": [ - "101.168.0.6/32" - ] - }, "vpnGatewayScaleUnit": 1, - "vpnClientConnectionHealth": { - "vpnClientConnectionsCount": 0, - "allocatedIpAddresses": [], - "totalIngressBytesTransferred": 0, - "totalEgressBytesTransferred": 0 - } + "vpnClientConnectionHealth": { + "vpnClientConnectionsCount": 0, + "allocatedIpAddresses": [], + "totalIngressBytesTransferred": 0, + "totalEgressBytesTransferred": 0 + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/P2SVpnGatewayUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/P2SVpnGatewayUpdateTags.json index 988a08d674da..c954562108ae 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/P2SVpnGatewayUpdateTags.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/P2SVpnGatewayUpdateTags.json @@ -28,28 +28,28 @@ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" }, "p2SVpnServerConfiguration": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1" + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1" }, "vpnClientAddressPool": { - "addressPrefixes": [ - "101.3.0.0/16" - ] + "addressPrefixes": [ + "101.3.0.0/16" + ] + }, + "customRoutes": { + "addressPrefixes": [ + "101.168.0.6/32" + ] }, - "customRoutes": { - "addressPrefixes": [ - "101.168.0.6/32" - ] - }, "vpnGatewayScaleUnit": 1, - "vpnClientConnectionHealth": { - "vpnClientConnectionsCount": 2, - "allocatedIpAddresses": [ - "1.1.1.1", - "2.2.2.2" - ], - "totalIngressBytesTransferred":2000, - "totalEgressBytesTransferred":3000 - } + "vpnClientConnectionHealth": { + "vpnClientConnectionsCount": 2, + "allocatedIpAddresses": [ + "1.1.1.1", + "2.2.2.2" + ], + "totalIngressBytesTransferred": 2000, + "totalEgressBytesTransferred": 3000 + } } }, "201": { @@ -68,30 +68,29 @@ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" }, "p2SVpnServerConfiguration": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1" + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1" }, "vpnClientAddressPool": { - "addressPrefixes": [ - "101.3.0.0/16" - ] + "addressPrefixes": [ + "101.3.0.0/16" + ] + }, + "customRoutes": { + "addressPrefixes": [ + "101.168.0.6/32" + ] }, - "customRoutes": { - "addressPrefixes": [ - "101.168.0.6/32" - ] - }, "vpnGatewayScaleUnit": 1, - "vpnClientConnectionHealth": { - "vpnClientConnectionsCount": 2, - "allocatedIpAddresses": [ - "1.1.1.1", - "2.2.2.2" - ], - "totalIngressBytesTransferred":2000, - "totalEgressBytesTransferred":3000 - } + "vpnClientConnectionHealth": { + "vpnClientConnectionsCount": 2, + "allocatedIpAddresses": [ + "1.1.1.1", + "2.2.2.2" + ], + "totalIngressBytesTransferred": 2000, + "totalEgressBytesTransferred": 3000 + } } } } } - diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/P2SVpnServerConfigurationDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/P2SVpnServerConfigurationDelete.json index 883ea689ae06..7b08f881c107 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/P2SVpnServerConfigurationDelete.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/P2SVpnServerConfigurationDelete.json @@ -1,14 +1,14 @@ { - "parameters": { - "p2SVpnServerConfigurationName": "p2sVpnServerConfiguration1", - "virtualWanName": "virtualWan1", - "resourceGroupName": "rg1", - "api-version": "2019-02-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { }, - "202": { }, - "204": { } - } + "parameters": { + "p2SVpnServerConfigurationName": "p2sVpnServerConfiguration1", + "virtualWanName": "virtualWan1", + "resourceGroupName": "rg1", + "api-version": "2019-02-01", + "subscriptionId": "subid" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/P2SVpnServerConfigurationGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/P2SVpnServerConfigurationGet.json index 33b8fb2dbbe7..ee2e1c1ca573 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/P2SVpnServerConfigurationGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/P2SVpnServerConfigurationGet.json @@ -14,62 +14,72 @@ "properties": { "provisioningState": "Succeeded", "vpnProtocols": [ - "IkeV2" - ], - "vpnClientIpsecPolicies": [{ - "saLifeTimeSeconds": 86472, - "saDataSizeKilobytes": 429497, - "ipsecEncryption": "AES256", - "ipsecIntegrity": "SHA256", - "ikeEncryption": "AES256", - "ikeIntegrity": "SHA384", - "dhGroup": "DHGroup14", - "pfsGroup": "PFS14" - }], - "p2SVpnServerConfigVpnClientRootCertificates": [{ - "name": "p2sVpnServerConfigVpnClientRootCert1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigVpnClientRootCertificates/p2sVpnServerConfigVpnClientRootCert1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuN" - }, - "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigVpnClientRootCertificates" - }], - "p2SVpnServerConfigVpnClientRevokedCertificates": [{ - "name": "p2sVpnServerConfigVpnClientRevokedCert1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigVpnClientRevokedCertificates/p2sVpnServerConfigVpnClientRevokedCert1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "Thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" - }, - "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigVpnClientRevokedCertificates" - }], - "radiusServerAddress": "8.9.9.9", - "radiusServerSecret":"123_abc", - "p2SVpnServerConfigRadiusServerRootCertificates": [{ - "name": "p2sVpnServerConfigRadiusServerRootCer1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigRadiusServerRootCertificates/p2sVpnServerConfigRadiusServerRootCer1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuM" - }, - "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigRadiusServerRootCertificates" - }], - "p2SVpnServerConfigRadiusClientRootCertificates": [{ - "name": "p2sVpnServerConfigRadiusClientRootCert1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigRadiusClientRootCertificates/p2sVpnServerConfigRadiusClientRootCert1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "Thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" - }, - "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigRadiusClientRootCertificates" - }] + "IkeV2" + ], + "vpnClientIpsecPolicies": [ + { + "saLifeTimeSeconds": 86472, + "saDataSizeKilobytes": 429497, + "ipsecEncryption": "AES256", + "ipsecIntegrity": "SHA256", + "ikeEncryption": "AES256", + "ikeIntegrity": "SHA384", + "dhGroup": "DHGroup14", + "pfsGroup": "PFS14" + } + ], + "p2SVpnServerConfigVpnClientRootCertificates": [ + { + "name": "p2sVpnServerConfigVpnClientRootCert1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigVpnClientRootCertificates/p2sVpnServerConfigVpnClientRootCert1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuN" + }, + "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigVpnClientRootCertificates" + } + ], + "p2SVpnServerConfigVpnClientRevokedCertificates": [ + { + "name": "p2sVpnServerConfigVpnClientRevokedCert1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigVpnClientRevokedCertificates/p2sVpnServerConfigVpnClientRevokedCert1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "Thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" + }, + "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigVpnClientRevokedCertificates" + } + ], + "radiusServerAddress": "8.9.9.9", + "radiusServerSecret": "123_abc", + "p2SVpnServerConfigRadiusServerRootCertificates": [ + { + "name": "p2sVpnServerConfigRadiusServerRootCer1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigRadiusServerRootCertificates/p2sVpnServerConfigRadiusServerRootCer1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuM" + }, + "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigRadiusServerRootCertificates" + } + ], + "p2SVpnServerConfigRadiusClientRootCertificates": [ + { + "name": "p2sVpnServerConfigRadiusClientRootCert1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigRadiusClientRootCertificates/p2sVpnServerConfigRadiusClientRootCert1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "Thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" + }, + "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigRadiusClientRootCertificates" + } + ] }, - "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations" + "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations" } - } + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/P2SVpnServerConfigurationList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/P2SVpnServerConfigurationList.json index 63801405426c..e58e1f62744d 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/P2SVpnServerConfigurationList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/P2SVpnServerConfigurationList.json @@ -1,6 +1,6 @@ { - "parameters": { - "virtualWanName": "virtualWan1", + "parameters": { + "virtualWanName": "virtualWan1", "api-version": "2019-02-01", "resourceGroupName": "rg1", "subscriptionId": "subid" @@ -9,66 +9,76 @@ "200": { "body": [ { - "name": "p2sVpnServerConfiguration1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "name": "p2sVpnServerConfiguration1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "properties": { "provisioningState": "Succeeded", - "vpnProtocols": [ - "IkeV2" - ], - "vpnClientIpsecPolicies": [{ - "saLifeTimeSeconds": 86472, - "saDataSizeKilobytes": 429497, - "ipsecEncryption": "AES256", - "ipsecIntegrity": "SHA256", - "ikeEncryption": "AES256", - "ikeIntegrity": "SHA384", - "dhGroup": "DHGroup14", - "pfsGroup": "PFS14" - }], - "p2SVpnServerConfigVpnClientRootCertificates": [{ - "name": "p2sVpnServerConfigVpnClientRootCert1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigVpnClientRootCertificates/p2sVpnServerConfigVpnClientRootCert1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuN" - }, - "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigVpnClientRootCertificates" - }], - "p2SVpnServerConfigVpnClientRevokedCertificates": [{ - "name": "p2sVpnServerConfigVpnClientRevokedCert1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigVpnClientRevokedCertificates/VpnClientRevokedCert2", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "Thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" - }, - "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigVpnClientRevokedCertificates" - }], - "radiusServerAddress": "8.9.9.9", - "radiusServerSecret":"123_abc", - "p2SVpnServerConfigRadiusServerRootCertificates": [{ - "name": "p2sVpnServerConfigRadiusServerRootCert1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigRadiusServerRootCertificates/p2sVpnServerConfigRadiusServerRootCert", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuM" - }, - "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigRadiusServerRootCertificates" - }], - "p2SVpnServerConfigRadiusClientRootCertificates": [{ - "name": "p2sVpnServerConfigRadiusClientRootCert1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigRadiusClientRootCertificates/p2sVpnServerConfigRadiusClientRootCert1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "Thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" - }, - "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigRadiusClientRootCertificates" - }] + "vpnProtocols": [ + "IkeV2" + ], + "vpnClientIpsecPolicies": [ + { + "saLifeTimeSeconds": 86472, + "saDataSizeKilobytes": 429497, + "ipsecEncryption": "AES256", + "ipsecIntegrity": "SHA256", + "ikeEncryption": "AES256", + "ikeIntegrity": "SHA384", + "dhGroup": "DHGroup14", + "pfsGroup": "PFS14" + } + ], + "p2SVpnServerConfigVpnClientRootCertificates": [ + { + "name": "p2sVpnServerConfigVpnClientRootCert1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigVpnClientRootCertificates/p2sVpnServerConfigVpnClientRootCert1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuN" + }, + "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigVpnClientRootCertificates" + } + ], + "p2SVpnServerConfigVpnClientRevokedCertificates": [ + { + "name": "p2sVpnServerConfigVpnClientRevokedCert1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigVpnClientRevokedCertificates/VpnClientRevokedCert2", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "Thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" + }, + "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigVpnClientRevokedCertificates" + } + ], + "radiusServerAddress": "8.9.9.9", + "radiusServerSecret": "123_abc", + "p2SVpnServerConfigRadiusServerRootCertificates": [ + { + "name": "p2sVpnServerConfigRadiusServerRootCert1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigRadiusServerRootCertificates/p2sVpnServerConfigRadiusServerRootCert", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuM" + }, + "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigRadiusServerRootCertificates" + } + ], + "p2SVpnServerConfigRadiusClientRootCertificates": [ + { + "name": "p2sVpnServerConfigRadiusClientRootCert1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigRadiusClientRootCertificates/p2sVpnServerConfigRadiusClientRootCert1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "Thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" + }, + "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigRadiusClientRootCertificates" + } + ] } } ] diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/P2SVpnServerConfigurationPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/P2SVpnServerConfigurationPut.json index 1df3b4d40bfc..19dcf65db7bb 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/P2SVpnServerConfigurationPut.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/P2SVpnServerConfigurationPut.json @@ -8,44 +8,54 @@ "p2SVpnServerConfigurationParameters": { "properties": { "vpnProtocols": [ - "IkeV2" - ], - "vpnClientIpsecPolicies": [{ - "saLifeTimeSeconds": 86472, - "saDataSizeKilobytes": 429497, - "ipsecEncryption": "AES256", - "ipsecIntegrity": "SHA256", - "ikeEncryption": "AES256", - "ikeIntegrity": "SHA384", - "dhGroup": "DHGroup14", - "pfsGroup": "PFS14" - }], - "p2SVpnServerConfigVpnClientRootCertificates": [{ - "name": "p2sVpnServerConfigVpnClientRootCert1", - "properties": { - "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuN" - } - }], - "p2SVpnServerConfigVpnClientRevokedCertificates": [{ - "name": "p2sVpnServerConfigVpnClientRevokedCert1", - "properties": { - "thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" - } - }], - "radiusServerAddress": "8.9.9.9", - "radiusServerSecret":"123_abc", - "p2SVpnServerConfigRadiusServerRootCertificates": [{ - "name": "p2sVpnServerConfigRadiusServerRootCert1", - "properties": { - "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuM" - } - }], - "p2SVpnServerConfigRadiusClientRootCertificates": [{ - "name": "p2sVpnServerConfigRadiusClientRootCert1", - "properties": { - "thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" - } - }] + "IkeV2" + ], + "vpnClientIpsecPolicies": [ + { + "saLifeTimeSeconds": 86472, + "saDataSizeKilobytes": 429497, + "ipsecEncryption": "AES256", + "ipsecIntegrity": "SHA256", + "ikeEncryption": "AES256", + "ikeIntegrity": "SHA384", + "dhGroup": "DHGroup14", + "pfsGroup": "PFS14" + } + ], + "p2SVpnServerConfigVpnClientRootCertificates": [ + { + "name": "p2sVpnServerConfigVpnClientRootCert1", + "properties": { + "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuN" + } + } + ], + "p2SVpnServerConfigVpnClientRevokedCertificates": [ + { + "name": "p2sVpnServerConfigVpnClientRevokedCert1", + "properties": { + "thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" + } + } + ], + "radiusServerAddress": "8.9.9.9", + "radiusServerSecret": "123_abc", + "p2SVpnServerConfigRadiusServerRootCertificates": [ + { + "name": "p2sVpnServerConfigRadiusServerRootCert1", + "properties": { + "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuM" + } + } + ], + "p2SVpnServerConfigRadiusClientRootCertificates": [ + { + "name": "p2sVpnServerConfigRadiusClientRootCert1", + "properties": { + "thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" + } + } + ] } } }, @@ -57,62 +67,72 @@ "properties": { "provisioningState": "Succeeded", "vpnProtocols": [ - "IkeV2" - ], - "vpnClientIpsecPolicies": [{ - "saLifeTimeSeconds": 86472, - "saDataSizeKilobytes": 429497, - "ipsecEncryption": "AES256", - "ipsecIntegrity": "SHA256", - "ikeEncryption": "AES256", - "ikeIntegrity": "SHA384", - "dhGroup": "DHGroup14", - "pfsGroup": "PFS14" - }], - "p2SVpnServerConfigVpnClientRootCertificates": [{ - "name": "p2sVpnServerConfigVpnClientRootCert1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigVpnClientRootCertificates/p2sVpnServerConfigVpnClientRootCert1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuN" - }, - "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigVpnClientRootCertificates" - }], - "p2SVpnServerConfigVpnClientRevokedCertificates": [{ - "name": "p2sVpnServerConfigVpnClientRevokedCert1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigVpnClientRevokedCertificates/p2sVpnServerConfigVpnClientRevokedCert1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "Thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" - }, - "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigVpnClientRevokedCertificates" - }], - "radiusServerAddress": "8.9.9.9", - "radiusServerSecret":"123_abc", - "p2SVpnServerConfigRadiusServerRootCertificates": [{ - "name": "p2sVpnServerConfigRadiusServerRootCert1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigRadiusServerRootCertificates/p2sVpnServerConfigRadiusServerRootCert1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuM" - }, - "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigRadiusServerRootCertificates" - }], - "p2SVpnServerConfigRadiusClientRootCertificates": [{ - "name": "p2sVpnServerConfigRadiusClientRootCert1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigRadiusClientRootCertificates/p2sVpnServerConfigRadiusClientRootCert1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "Thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" - }, - "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigRadiusClientRootCertificates" - }] + "IkeV2" + ], + "vpnClientIpsecPolicies": [ + { + "saLifeTimeSeconds": 86472, + "saDataSizeKilobytes": 429497, + "ipsecEncryption": "AES256", + "ipsecIntegrity": "SHA256", + "ikeEncryption": "AES256", + "ikeIntegrity": "SHA384", + "dhGroup": "DHGroup14", + "pfsGroup": "PFS14" + } + ], + "p2SVpnServerConfigVpnClientRootCertificates": [ + { + "name": "p2sVpnServerConfigVpnClientRootCert1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigVpnClientRootCertificates/p2sVpnServerConfigVpnClientRootCert1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuN" + }, + "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigVpnClientRootCertificates" + } + ], + "p2SVpnServerConfigVpnClientRevokedCertificates": [ + { + "name": "p2sVpnServerConfigVpnClientRevokedCert1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigVpnClientRevokedCertificates/p2sVpnServerConfigVpnClientRevokedCert1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "Thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" + }, + "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigVpnClientRevokedCertificates" + } + ], + "radiusServerAddress": "8.9.9.9", + "radiusServerSecret": "123_abc", + "p2SVpnServerConfigRadiusServerRootCertificates": [ + { + "name": "p2sVpnServerConfigRadiusServerRootCert1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigRadiusServerRootCertificates/p2sVpnServerConfigRadiusServerRootCert1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuM" + }, + "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigRadiusServerRootCertificates" + } + ], + "p2SVpnServerConfigRadiusClientRootCertificates": [ + { + "name": "p2sVpnServerConfigRadiusClientRootCert1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigRadiusClientRootCertificates/p2sVpnServerConfigRadiusClientRootCert1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "Thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" + }, + "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigRadiusClientRootCertificates" + } + ] }, - "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations" + "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations" }, "201": { "name": "p2sVpnServerConfiguration1", @@ -121,62 +141,72 @@ "properties": { "provisioningState": "Succeeded", "vpnProtocols": [ - "IkeV2" - ], - "vpnClientIpsecPolicies": [{ - "saLifeTimeSeconds": 86472, - "saDataSizeKilobytes": 429497, - "ipsecEncryption": "AES256", - "ipsecIntegrity": "SHA256", - "ikeEncryption": "AES256", - "ikeIntegrity": "SHA384", - "dhGroup": "DHGroup14", - "pfsGroup": "PFS14" - }], - "p2SVpnServerConfigVpnClientRootCertificates": [{ - "name": "p2sVpnServerConfigVpnClientRootCert1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigVpnClientRootCertificates/p2sVpnServerConfigVpnClientRootCert1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuN" - }, - "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigVpnClientRootCertificates" - }], - "p2SVpnServerConfigVpnClientRevokedCertificates": [{ - "name": "p2sVpnServerConfigVpnClientRevokedCert1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigVpnClientRevokedCertificates/p2sVpnServerConfigVpnClientRevokedCert1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "Thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" - }, - "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigVpnClientRevokedCertificates" - }], - "radiusServerAddress": "8.9.9.9", - "radiusServerSecret":"123_abc", - "p2SVpnServerConfigRadiusServerRootCertificates": [{ - "name": "p2sVpnServerConfigRadiusServerRootCert1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigRadiusServerRootCertificates/p2sVpnServerConfigRadiusServerRootCert1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuM" - }, - "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigRadiusServerRootCertificates" - }], - "p2SVpnServerConfigRadiusClientRootCertificates": [{ - "name": "p2sVpnServerConfigRadiusClientRootCert1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigRadiusClientRootCertificates/p2sVpnServerConfigRadiusClientRootCert1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "Thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" - }, - "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigRadiusClientRootCertificates" - }] + "IkeV2" + ], + "vpnClientIpsecPolicies": [ + { + "saLifeTimeSeconds": 86472, + "saDataSizeKilobytes": 429497, + "ipsecEncryption": "AES256", + "ipsecIntegrity": "SHA256", + "ikeEncryption": "AES256", + "ikeIntegrity": "SHA384", + "dhGroup": "DHGroup14", + "pfsGroup": "PFS14" + } + ], + "p2SVpnServerConfigVpnClientRootCertificates": [ + { + "name": "p2sVpnServerConfigVpnClientRootCert1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigVpnClientRootCertificates/p2sVpnServerConfigVpnClientRootCert1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuN" + }, + "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigVpnClientRootCertificates" + } + ], + "p2SVpnServerConfigVpnClientRevokedCertificates": [ + { + "name": "p2sVpnServerConfigVpnClientRevokedCert1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigVpnClientRevokedCertificates/p2sVpnServerConfigVpnClientRevokedCert1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "Thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" + }, + "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigVpnClientRevokedCertificates" + } + ], + "radiusServerAddress": "8.9.9.9", + "radiusServerSecret": "123_abc", + "p2SVpnServerConfigRadiusServerRootCertificates": [ + { + "name": "p2sVpnServerConfigRadiusServerRootCert1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigRadiusServerRootCertificates/p2sVpnServerConfigRadiusServerRootCert1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuM" + }, + "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigRadiusServerRootCertificates" + } + ], + "p2SVpnServerConfigRadiusClientRootCertificates": [ + { + "name": "p2sVpnServerConfigRadiusClientRootCert1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigRadiusClientRootCertificates/p2sVpnServerConfigRadiusClientRootCert1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "Thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" + }, + "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigRadiusClientRootCertificates" + } + ] }, - "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations" + "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations" } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/PeerExpressRouteCircuitConnectionList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/PeerExpressRouteCircuitConnectionList.json index 5fb70db1bd6b..cb5d406dd30a 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/PeerExpressRouteCircuitConnectionList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/PeerExpressRouteCircuitConnectionList.json @@ -1,53 +1,53 @@ { - "parameters": { - "resourceGroupName": "rg1", - "api-version": "2019-02-01", - "subscriptionId": "subid1", - "circuitName": "ExpressRouteARMCircuitA", - "peeringName": "AzurePrivatePeering" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "60aee347-e889-4a42-8c1b-0aae8b1e4013", - "id": "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering/peerConnections/60aee347-e889-4a42-8c1b-0aae8b1e4013", - "etag": "W/\"6ffbbb06-da20-44ca-a34f-280c4653b1e9\"", - "properties": { - "provisioningState": "Succeeded", - "expressRouteCircuitPeering": { - "id": "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering" - }, - "peerExpressRouteCircuitPeering": { - "id": "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitB/peerings/AzurePrivatePeering" - }, - "addressPrefix": "20.0.0.0/29", - "circuitConnectionStatus": "Connected", - "connectionName": "circuitConnectionWestusEastus", - "authResourceGuid": "" - } + "parameters": { + "resourceGroupName": "rg1", + "api-version": "2019-02-01", + "subscriptionId": "subid1", + "circuitName": "ExpressRouteARMCircuitA", + "peeringName": "AzurePrivatePeering" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "60aee347-e889-4a42-8c1b-0aae8b1e4013", + "id": "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering/peerConnections/60aee347-e889-4a42-8c1b-0aae8b1e4013", + "etag": "W/\"6ffbbb06-da20-44ca-a34f-280c4653b1e9\"", + "properties": { + "provisioningState": "Succeeded", + "expressRouteCircuitPeering": { + "id": "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering" }, - { - "name": "c8b17193-8dd3-4f61-866d-8cdd2e2e268e", - "id": "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering/peerConnections/c8b17193-8dd3-4f61-866d-8cdd2e2e268e", - "etag": "W/\"6ffbbb06-da20-44ca-a34f-280c4653b1e9\"", - "properties": { - "provisioningState": "Succeeded", - "expressRouteCircuitPeering": { - "id": "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering" - }, - "peerExpressRouteCircuitPeering": { - "id": "/subscriptions/subid2/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitC/peerings/AzurePrivatePeering" - }, - "addressPrefix": "30.0.0.0/29", - "circuitConnectionStatus": "Connected", - "connectionName": "circuitConnectionCentralusEastus", - "authResourceGuid": "64283012-d377-421d-8398-f6aeb2ac7ea0" - } - } - ] - } + "peerExpressRouteCircuitPeering": { + "id": "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitB/peerings/AzurePrivatePeering" + }, + "addressPrefix": "20.0.0.0/29", + "circuitConnectionStatus": "Connected", + "connectionName": "circuitConnectionWestusEastus", + "authResourceGuid": "" + } + }, + { + "name": "c8b17193-8dd3-4f61-866d-8cdd2e2e268e", + "id": "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering/peerConnections/c8b17193-8dd3-4f61-866d-8cdd2e2e268e", + "etag": "W/\"6ffbbb06-da20-44ca-a34f-280c4653b1e9\"", + "properties": { + "provisioningState": "Succeeded", + "expressRouteCircuitPeering": { + "id": "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering" + }, + "peerExpressRouteCircuitPeering": { + "id": "/subscriptions/subid2/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitC/peerings/AzurePrivatePeering" + }, + "addressPrefix": "30.0.0.0/29", + "circuitConnectionStatus": "Connected", + "connectionName": "circuitConnectionCentralusEastus", + "authResourceGuid": "64283012-d377-421d-8398-f6aeb2ac7ea0" + } + } + ] } } - } \ No newline at end of file + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/PublicIpAddressCreateCustomizedValues.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/PublicIpAddressCreateCustomizedValues.json index 1dbc122d3f44..595a7949750c 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/PublicIpAddressCreateCustomizedValues.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/PublicIpAddressCreateCustomizedValues.json @@ -1,10 +1,12 @@ { - "parameters" : { + "parameters": { "api-version": "2019-02-01", - "subscriptionId" : "subid", + "subscriptionId": "subid", "resourceGroupName": "rg1", "publicIpAddressName": "test-ip", - "zones": [ "1" ], + "zones": [ + "1" + ], "parameters": { "properties": { "publicIPAllocationMethod": "Static", @@ -17,47 +19,51 @@ "location": "eastus" } }, - "responses" : { - "200" : { - "body" : { - "name" : "testDNS-ip", - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip", - "location" : "eastus", - "zones": [ "1" ], - "properties" : { - "provisioningState" : "Succeeded", - "publicIPAddressVersion" : "IPv4", - "publicIPAllocationMethod" : "Static", - "idleTimeoutInMinutes" : 10, - "ipConfiguration" : { - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1" + "responses": { + "200": { + "body": { + "name": "testDNS-ip", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip", + "location": "eastus", + "zones": [ + "1" + ], + "properties": { + "provisioningState": "Succeeded", + "publicIPAddressVersion": "IPv4", + "publicIPAllocationMethod": "Static", + "idleTimeoutInMinutes": 10, + "ipConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1" } }, "sku": { - "name": "Standard" + "name": "Standard" }, - "type" : "Microsoft.Network/publicIPAddresses" + "type": "Microsoft.Network/publicIPAddresses" } }, - "201" : { - "body" : { - "name" : "testDNS-ip", - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip", - "location" : "eastus", - "zones": [ "1" ], - "properties" : { - "provisioningState" : "Succeeded", - "publicIPAddressVersion" : "IPv4", - "publicIPAllocationMethod" : "Static", - "idleTimeoutInMinutes" : 10, - "ipConfiguration" : { - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1" + "201": { + "body": { + "name": "testDNS-ip", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip", + "location": "eastus", + "zones": [ + "1" + ], + "properties": { + "provisioningState": "Succeeded", + "publicIPAddressVersion": "IPv4", + "publicIPAllocationMethod": "Static", + "idleTimeoutInMinutes": 10, + "ipConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1" } }, "sku": { - "name": "Standard" + "name": "Standard" }, - "type" : "Microsoft.Network/publicIPAddresses" + "type": "Microsoft.Network/publicIPAddresses" } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/PublicIpAddressCreateDefaults.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/PublicIpAddressCreateDefaults.json index aee04e256321..97c9bd433e51 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/PublicIpAddressCreateDefaults.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/PublicIpAddressCreateDefaults.json @@ -1,52 +1,52 @@ { - "parameters" : { + "parameters": { "api-version": "2019-02-01", - "subscriptionId" : "subid", + "subscriptionId": "subid", "resourceGroupName": "rg1", "publicIpAddressName": "test-ip", "parameters": { "location": "eastus" } }, - "responses" : { - "200" : { - "body" : { - "name" : "testDNS-ip", - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip", - "location" : "eastus", - "properties" : { - "provisioningState" : "Succeeded", - "publicIPAddressVersion" : "IPv4", - "publicIPAllocationMethod" : "Dynamic", - "idleTimeoutInMinutes" : 4, - "ipConfiguration" : { - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1" + "responses": { + "200": { + "body": { + "name": "testDNS-ip", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded", + "publicIPAddressVersion": "IPv4", + "publicIPAllocationMethod": "Dynamic", + "idleTimeoutInMinutes": 4, + "ipConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1" } }, "sku": { - "name": "Basic" + "name": "Basic" }, - "type" : "Microsoft.Network/publicIPAddresses" + "type": "Microsoft.Network/publicIPAddresses" } }, - "201" : { - "body" : { - "name" : "testDNS-ip", - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip", - "location" : "eastus", - "properties" : { - "provisioningState" : "Succeeded", - "publicIPAddressVersion" : "IPv4", - "publicIPAllocationMethod" : "Dynamic", - "idleTimeoutInMinutes" : 4, - "ipConfiguration" : { - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1" + "201": { + "body": { + "name": "testDNS-ip", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded", + "publicIPAddressVersion": "IPv4", + "publicIPAllocationMethod": "Dynamic", + "idleTimeoutInMinutes": 4, + "ipConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1" } }, "sku": { - "name": "Basic" + "name": "Basic" }, - "type" : "Microsoft.Network/publicIPAddresses" + "type": "Microsoft.Network/publicIPAddresses" } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/PublicIpAddressCreateDns.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/PublicIpAddressCreateDns.json index 8320982ebad3..7abf16822512 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/PublicIpAddressCreateDns.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/PublicIpAddressCreateDns.json @@ -1,7 +1,7 @@ { - "parameters" : { + "parameters": { "api-version": "2019-02-01", - "subscriptionId" : "subid", + "subscriptionId": "subid", "resourceGroupName": "rg1", "publicIpAddressName": "test-ip", "parameters": { @@ -13,47 +13,47 @@ "location": "eastus" } }, - "responses" : { - "200" : { - "body" : { - "name" : "testDNS-ip", - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip", - "location" : "eastus", - "properties" : { - "provisioningState" : "Succeeded", - "publicIPAddressVersion" : "IPv4", - "publicIPAllocationMethod" : "Dynamic", - "idleTimeoutInMinutes" : 4, - "dnsSettings" : { - "domainNameLabel" : "dnslbl", - "fqdn" : "dnslbl.westus.cloudapp.azure.com" + "responses": { + "200": { + "body": { + "name": "testDNS-ip", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded", + "publicIPAddressVersion": "IPv4", + "publicIPAllocationMethod": "Dynamic", + "idleTimeoutInMinutes": 4, + "dnsSettings": { + "domainNameLabel": "dnslbl", + "fqdn": "dnslbl.westus.cloudapp.azure.com" }, - "ipConfiguration" : { - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1" + "ipConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1" } }, - "type" : "Microsoft.Network/publicIPAddresses" + "type": "Microsoft.Network/publicIPAddresses" } }, - "201" : { - "body" : { - "name" : "testDNS-ip", - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip", - "location" : "eastus", - "properties" : { - "provisioningState" : "Succeeded", - "publicIPAddressVersion" : "IPv4", - "publicIPAllocationMethod" : "Dynamic", - "idleTimeoutInMinutes" : 4, - "dnsSettings" : { - "domainNameLabel" : "dnslbl", - "fqdn" : "dnslbl.westus.cloudapp.azure.com" + "201": { + "body": { + "name": "testDNS-ip", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded", + "publicIPAddressVersion": "IPv4", + "publicIPAllocationMethod": "Dynamic", + "idleTimeoutInMinutes": 4, + "dnsSettings": { + "domainNameLabel": "dnslbl", + "fqdn": "dnslbl.westus.cloudapp.azure.com" }, - "ipConfiguration" : { - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1" + "ipConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1" } }, - "type" : "Microsoft.Network/publicIPAddresses" + "type": "Microsoft.Network/publicIPAddresses" } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/PublicIpAddressDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/PublicIpAddressDelete.json index 4c37624715c5..93d6a0b5e687 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/PublicIpAddressDelete.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/PublicIpAddressDelete.json @@ -1,13 +1,13 @@ { - "parameters" : { + "parameters": { "api-version": "2019-02-01", - "subscriptionId" : "subid", + "subscriptionId": "subid", "resourceGroupName": "rg1", "publicIpAddressName": "test-ip" }, - "responses" : { - "200" : { }, - "202" : { }, - "204" : { } + "responses": { + "200": {}, + "202": {}, + "204": {} } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/PublicIpAddressGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/PublicIpAddressGet.json index e412f170250a..538ca72a14ed 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/PublicIpAddressGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/PublicIpAddressGet.json @@ -1,36 +1,36 @@ { - "parameters" : { + "parameters": { "api-version": "2019-02-01", - "subscriptionId" : "subid", + "subscriptionId": "subid", "resourceGroupName": "rg1", "publicIpAddressName": "testDNS-ip" }, - "responses" : { - "200" : { - "body" : { - "name" : "testDNS-ip", - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/testDNS-ip", - "location" : "westus", - "properties" : { - "provisioningState" : "Succeeded", - "publicIPAddressVersion" : "IPv4", - "publicIPAllocationMethod" : "Dynamic", - "idleTimeoutInMinutes" : 4, - "ipConfiguration" : { - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1" + "responses": { + "200": { + "body": { + "name": "testDNS-ip", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/testDNS-ip", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "publicIPAddressVersion": "IPv4", + "publicIPAllocationMethod": "Dynamic", + "idleTimeoutInMinutes": 4, + "ipConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1" }, - "ipTags" : [ + "ipTags": [ { - "ipTagType" : "FirstPartyUsage", - "tag" : "SQL" + "ipTagType": "FirstPartyUsage", + "tag": "SQL" }, { - "ipTagType" : "FirstPartyUsage", - "tag" : "Storage" + "ipTagType": "FirstPartyUsage", + "tag": "Storage" } - ] - }, - "type" : "Microsoft.Network/publicIPAddresses" + ] + }, + "type": "Microsoft.Network/publicIPAddresses" } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/PublicIpAddressList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/PublicIpAddressList.json index 8b262bff2acc..94bfdf90345b 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/PublicIpAddressList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/PublicIpAddressList.json @@ -1,57 +1,57 @@ { - "parameters" : { + "parameters": { "api-version": "2019-02-01", - "subscriptionId" : "subid", + "subscriptionId": "subid", "resourceGroupName": "rg1" }, - "responses" : { - "200" : { - "body" : { - "value" : [ + "responses": { + "200": { + "body": { + "value": [ { - "name" : "testDNS-ip", - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/testDNS-ip", - "location" : "westus", - "properties" : { - "provisioningState" : "Succeeded", - "publicIPAddressVersion" : "IPv4", - "publicIPAllocationMethod" : "Dynamic", - "idleTimeoutInMinutes" : 4, - "ipConfiguration" : { - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1" + "name": "testDNS-ip", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/testDNS-ip", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "publicIPAddressVersion": "IPv4", + "publicIPAllocationMethod": "Dynamic", + "idleTimeoutInMinutes": 4, + "ipConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1" }, - "ipTags" : [ + "ipTags": [ { - "ipTagType" : "FirstPartyUsage", - "tag" : "SQL" + "ipTagType": "FirstPartyUsage", + "tag": "SQL" }, { - "ipTagType" : "FirstPartyUsage", - "tag" : "Storage" + "ipTagType": "FirstPartyUsage", + "tag": "Storage" } - ] - }, - "type" : "Microsoft.Network/publicIPAddresses" + ] + }, + "type": "Microsoft.Network/publicIPAddresses" }, { - "name" : "ip03", - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/ip03", - "location" : "westus", - "properties" : { - "provisioningState" : "Succeeded", - "ipAddress" : "40.85.154.247", - "publicIPAddressVersion" : "IPv4", - "publicIPAllocationMethod" : "Dynamic", - "idleTimeoutInMinutes" : 4, - "dnsSettings" : { - "domainNameLabel" : "testlbl", - "fqdn" : "testlbl.westus.cloudapp.azure.com" + "name": "ip03", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/ip03", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "ipAddress": "40.85.154.247", + "publicIPAddressVersion": "IPv4", + "publicIPAllocationMethod": "Dynamic", + "idleTimeoutInMinutes": 4, + "dnsSettings": { + "domainNameLabel": "testlbl", + "fqdn": "testlbl.westus.cloudapp.azure.com" }, - "ipConfiguration" : { - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/testLb/frontendIPConfigurations/LoadBalancerFrontEnd" + "ipConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/testLb/frontendIPConfigurations/LoadBalancerFrontEnd" } }, - "type" : "Microsoft.Network/publicIPAddresses" + "type": "Microsoft.Network/publicIPAddresses" } ] } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/PublicIpAddressListAll.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/PublicIpAddressListAll.json index 581d29e32218..37ce1577922b 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/PublicIpAddressListAll.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/PublicIpAddressListAll.json @@ -1,46 +1,46 @@ { - "parameters" : { + "parameters": { "api-version": "2019-02-01", - "subscriptionId" : "subid" + "subscriptionId": "subid" }, - "responses" : { - "200" : { - "body" : { - "value" : [ + "responses": { + "200": { + "body": { + "value": [ { - "name" : "testDNS-ip", - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/testDNS-ip", - "location" : "westus", - "properties" : { - "provisioningState" : "Succeeded", - "publicIPAddressVersion" : "IPv4", - "publicIPAllocationMethod" : "Dynamic", - "idleTimeoutInMinutes" : 4, - "ipConfiguration" : { - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1" + "name": "testDNS-ip", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/testDNS-ip", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "publicIPAddressVersion": "IPv4", + "publicIPAllocationMethod": "Dynamic", + "idleTimeoutInMinutes": 4, + "ipConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1" } }, - "type" : "Microsoft.Network/publicIPAddresses" + "type": "Microsoft.Network/publicIPAddresses" }, { - "name" : "ip01", - "id" : "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/publicIPAddresses/ip01", - "location" : "westus", - "properties" : { - "provisioningState" : "Succeeded", - "ipAddress" : "40.85.154.247", - "publicIPAddressVersion" : "IPv4", - "publicIPAllocationMethod" : "Dynamic", - "idleTimeoutInMinutes" : 4, - "dnsSettings" : { - "domainNameLabel" : "testlbl", - "fqdn" : "testlbl.westus.cloudapp.azure.com" + "name": "ip01", + "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/publicIPAddresses/ip01", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "ipAddress": "40.85.154.247", + "publicIPAddressVersion": "IPv4", + "publicIPAllocationMethod": "Dynamic", + "idleTimeoutInMinutes": 4, + "dnsSettings": { + "domainNameLabel": "testlbl", + "fqdn": "testlbl.westus.cloudapp.azure.com" }, - "ipConfiguration" : { - "id" : "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/loadBalancers/testLb/frontendIPConfigurations/LoadBalancerFrontEnd" + "ipConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/loadBalancers/testLb/frontendIPConfigurations/LoadBalancerFrontEnd" } }, - "type" : "Microsoft.Network/publicIPAddresses" + "type": "Microsoft.Network/publicIPAddresses" } ] } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/PublicIpAddressUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/PublicIpAddressUpdateTags.json index 03896dbb2d13..97de4e65ec87 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/PublicIpAddressUpdateTags.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/PublicIpAddressUpdateTags.json @@ -1,7 +1,7 @@ { - "parameters" : { + "parameters": { "api-version": "2019-02-01", - "subscriptionId" : "subid", + "subscriptionId": "subid", "resourceGroupName": "rg1", "publicIpAddressName": "test-ip", "parameters": { @@ -11,26 +11,26 @@ } } }, - "responses" : { - "200" : { - "body" : { - "name" : "testDNS-ip", - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip", - "location" : "westus", - "properties" : { - "provisioningState" : "Succeeded", - "publicIPAddressVersion" : "IPv4", - "publicIPAllocationMethod" : "Static", - "idleTimeoutInMinutes" : 10, - "ipConfiguration" : { - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1" + "responses": { + "200": { + "body": { + "name": "testDNS-ip", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "publicIPAddressVersion": "IPv4", + "publicIPAllocationMethod": "Static", + "idleTimeoutInMinutes": 10, + "ipConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1" } }, "tags": { "tag1": "value1", "tag2": "value2" }, - "type" : "Microsoft.Network/publicIPAddresses" + "type": "Microsoft.Network/publicIPAddresses" } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/PublicIpPrefixCreateCustomizedValues.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/PublicIpPrefixCreateCustomizedValues.json index 65534493d44e..60e2e952c2a8 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/PublicIpPrefixCreateCustomizedValues.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/PublicIpPrefixCreateCustomizedValues.json @@ -1,54 +1,60 @@ { - "parameters" : { - "api-version": "2019-02-01", - "subscriptionId" : "subid", - "resourceGroupName": "rg1", - "publicIpPrefixName": "test-ipprefix", - "zones": [ "1" ], - "parameters": { + "parameters": { + "api-version": "2019-02-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "publicIpPrefixName": "test-ipprefix", + "zones": [ + "1" + ], + "parameters": { + "properties": { + "publicIPAddressVersion": "IPv4", + "prefixLength": 30 + }, + "sku": { + "name": "Standard" + } + } + }, + "responses": { + "200": { + "body": { + "name": "test-ipprefix", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix", + "location": "westus", + "zones": [ + "1" + ], "properties": { + "provisioningState": "Succeeded", "publicIPAddressVersion": "IPv4", - "prefixLength":30 + "prefixLength": 30 }, "sku": { "name": "Standard" - } + }, + "type": "Microsoft.Network/publicIPPrefixes" } }, - "responses" : { - "200" : { - "body" : { - "name" : "test-ipprefix", - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix", - "location" : "westus", - "zones": [ "1" ], - "properties" : { - "provisioningState" : "Succeeded", - "publicIPAddressVersion" : "IPv4", - "prefixLength":30 - }, - "sku": { - "name": "Standard" - }, - "type" : "Microsoft.Network/publicIPPrefixes" - } - }, - "201" : { - "body" : { - "name" : "test-ipprefix", - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ipprefix", - "location" : "westus", - "zones": [ "1" ], - "properties" : { - "provisioningState" : "Succeeded", - "publicIPAddressVersion" : "IPv4", - "prefixLength":30 - }, - "sku": { - "name": "Standard" - }, - "type" : "Microsoft.Network/publicIPPrefixes" - } + "201": { + "body": { + "name": "test-ipprefix", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ipprefix", + "location": "westus", + "zones": [ + "1" + ], + "properties": { + "provisioningState": "Succeeded", + "publicIPAddressVersion": "IPv4", + "prefixLength": 30 + }, + "sku": { + "name": "Standard" + }, + "type": "Microsoft.Network/publicIPPrefixes" } } - } \ No newline at end of file + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/PublicIpPrefixCreateDefaults.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/PublicIpPrefixCreateDefaults.json index bdd3c18dd9d0..4fceba6ab78d 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/PublicIpPrefixCreateDefaults.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/PublicIpPrefixCreateDefaults.json @@ -1,43 +1,43 @@ { - "parameters" : { - "api-version": "2019-02-01", - "subscriptionId" : "subid", - "resourceGroupName": "rg1", - "publicIpPrefixName": "test-ipprefix", - "parameters": {} + "parameters": { + "api-version": "2019-02-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "publicIpPrefixName": "test-ipprefix", + "parameters": {} + }, + "responses": { + "200": { + "body": { + "name": "test-ipprefix", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "publicIPAddressVersion": "IPv4", + "prefixLength": 30 + }, + "sku": { + "name": "Standard" + }, + "type": "Microsoft.Network/publicIPPrefixes" + } }, - "responses" : { - "200" : { - "body" : { - "name" : "test-ipprefix", - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix", - "location" : "westus", - "properties" : { - "provisioningState" : "Succeeded", - "publicIPAddressVersion" : "IPv4", - "prefixLength":30 - }, - "sku": { - "name": "Standard" - }, - "type" : "Microsoft.Network/publicIPPrefixes" - } - }, - "201" : { - "body" : { - "name" : "test-ipprefix", - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix", - "location" : "westus", - "properties" : { - "provisioningState" : "Succeeded", - "publicIPAddressVersion" : "IPv4", - "prefixLength":30 - }, - "sku": { - "name": "Standard" - }, - "type" : "Microsoft.Network/publicIPPrefixes" - } + "201": { + "body": { + "name": "test-ipprefix", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "publicIPAddressVersion": "IPv4", + "prefixLength": 30 + }, + "sku": { + "name": "Standard" + }, + "type": "Microsoft.Network/publicIPPrefixes" } } - } \ No newline at end of file + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/PublicIpPrefixDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/PublicIpPrefixDelete.json index 1e5e9a683307..5bd82595a112 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/PublicIpPrefixDelete.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/PublicIpPrefixDelete.json @@ -1,13 +1,13 @@ { - "parameters" : { - "api-version": "2019-02-01", - "subscriptionId" : "subid", - "resourceGroupName": "rg1", - "publicIpPrefixName": "test-ipprefix" - }, - "responses" : { - "200" : { }, - "202" : { }, - "204" : { } - } - } \ No newline at end of file + "parameters": { + "api-version": "2019-02-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "publicIpPrefixName": "test-ipprefix" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/PublicIpPrefixGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/PublicIpPrefixGet.json index b7b34907aa56..e7d2f00d6e48 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/PublicIpPrefixGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/PublicIpPrefixGet.json @@ -1,32 +1,30 @@ { - "parameters" : { - "api-version": "2019-02-01", - "subscriptionId" : "subid", - "resourceGroupName": "rg1", - "publicIpPrefixName": "test-ipprefix" - }, - "responses" : { - "200" : { - "body" : { - "name" : "test-ipprefix", - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix", - "location" : "westus", - "properties" : { - "provisioningState" : "Succeeded", - "publicIPAddressVersion" : "IPv4", - "prefixLength":30, - "ipPrefix":"192.168.254.2/30", - "ipTags" : [ - ], - "publicIPAddresses": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1" - } - ] - }, - "type" : "Microsoft.Network/publicIPPrefixes" - } + "parameters": { + "api-version": "2019-02-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "publicIpPrefixName": "test-ipprefix" + }, + "responses": { + "200": { + "body": { + "name": "test-ipprefix", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "publicIPAddressVersion": "IPv4", + "prefixLength": 30, + "ipPrefix": "192.168.254.2/30", + "ipTags": [], + "publicIPAddresses": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1" + } + ] + }, + "type": "Microsoft.Network/publicIPPrefixes" } } } - \ No newline at end of file +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/PublicIpPrefixList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/PublicIpPrefixList.json index 9a3c526f3986..d52890e7748b 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/PublicIpPrefixList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/PublicIpPrefixList.json @@ -1,45 +1,45 @@ { - "parameters" : { - "api-version": "2019-02-01", - "subscriptionId" : "subid", - "resourceGroupName": "rg1" - }, - "responses" : { - "200" : { - "body" : { - "value" : [ - { - "name" : "test-ipprefix", - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix", - "location" : "westus", - "properties" : { - "provisioningState" : "Succeeded", - "publicIPAddressVersion" : "IPv4", - "prefixLength":30, - "ipPrefix":"40.85.154.2/30", - "ipTags" : [ - { - "ipTagType" : "FirstPartyUsage", - "tag" : "SQL" - } - ] - }, - "type" : "Microsoft.Network/publicIPPrefixes" + "parameters": { + "api-version": "2019-02-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "test-ipprefix", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "publicIPAddressVersion": "IPv4", + "prefixLength": 30, + "ipPrefix": "40.85.154.2/30", + "ipTags": [ + { + "ipTagType": "FirstPartyUsage", + "tag": "SQL" + } + ] }, - { - "name" : "ipprefix03", - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/ipprefix03", - "location" : "westus", - "properties" : { - "provisioningState" : "Succeeded", - "publicIPAddressVersion" : "IPv4", - "prefixLength":31, - "ipPrefix" : "40.85.153.2/31" - }, - "type" : "Microsoft.Network/publicIPPrefixes" - } - ] - } + "type": "Microsoft.Network/publicIPPrefixes" + }, + { + "name": "ipprefix03", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/ipprefix03", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "publicIPAddressVersion": "IPv4", + "prefixLength": 31, + "ipPrefix": "40.85.153.2/31" + }, + "type": "Microsoft.Network/publicIPPrefixes" + } + ] } } -} \ No newline at end of file + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/PublicIpPrefixListAll.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/PublicIpPrefixListAll.json index 8554b4f5ea17..975911ef0c4a 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/PublicIpPrefixListAll.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/PublicIpPrefixListAll.json @@ -1,44 +1,43 @@ { - "parameters" : { - "api-version": "2019-02-01", - "subscriptionId" : "subid" - }, - "responses" : { - "200" : { - "body" : { - "value" : [ - { - "name" : "test-ipprefix", - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix", - "location" : "westus", - "properties" : { - "provisioningState" : "Succeeded", - "publicIPAddressVersion" : "IPv4", - "prefixLength":30, - "ipPrefix":"41.85.154.247/30", - "publicIPAddresses": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1" - } - ] - }, - "type" : "Microsoft.Network/publicIPPrefixes" + "parameters": { + "api-version": "2019-02-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "test-ipprefix", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "publicIPAddressVersion": "IPv4", + "prefixLength": 30, + "ipPrefix": "41.85.154.247/30", + "publicIPAddresses": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1" + } + ] }, - { - "name" : "ipprefix01", - "id" : "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/publicIPPrefixes/ipprefix01", - "location" : "westus", - "properties" : { - "provisioningState" : "Succeeded", - "ipPrefix" : "40.85.154.247/30", - "publicIPAddressVersion" : "IPv4", - "prefixLength":30 - }, - "type" : "Microsoft.Network/publicIPPrefixes" - } - ] - } + "type": "Microsoft.Network/publicIPPrefixes" + }, + { + "name": "ipprefix01", + "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/publicIPPrefixes/ipprefix01", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "ipPrefix": "40.85.154.247/30", + "publicIPAddressVersion": "IPv4", + "prefixLength": 30 + }, + "type": "Microsoft.Network/publicIPPrefixes" + } + ] } } } - \ No newline at end of file +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/PublicIpPrefixUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/PublicIpPrefixUpdateTags.json index f408104132bf..cc3a94ff72ba 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/PublicIpPrefixUpdateTags.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/PublicIpPrefixUpdateTags.json @@ -1,33 +1,33 @@ { - "parameters" : { - "api-version": "2019-02-01", - "subscriptionId" : "subid", - "resourceGroupName": "rg1", - "publicIpPrefixName": "test-ipprefix", - "parameters": { + "parameters": { + "api-version": "2019-02-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "publicIpPrefixName": "test-ipprefix", + "parameters": { + "tags": { + "tag1": "value1", + "tag2": "value2" + } + } + }, + "responses": { + "200": { + "body": { + "name": "test-ipprefix", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "publicIPAddressVersion": "IPv4", + "prefixLength": 30 + }, "tags": { "tag1": "value1", "tag2": "value2" - } - } - }, - "responses" : { - "200" : { - "body" : { - "name" : "test-ipprefix", - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix", - "location" : "westus", - "properties" : { - "provisioningState" : "Succeeded", - "publicIPAddressVersion" : "IPv4", - "prefixLength":30 - }, - "tags": { - "tag1": "value1", - "tag2": "value2" - }, - "type" : "Microsoft.Network/publicIPPrefixes" - } + }, + "type": "Microsoft.Network/publicIPPrefixes" } } - } \ No newline at end of file + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/RouteFilterCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/RouteFilterCreate.json index 8101368637a9..de68815654f3 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/RouteFilterCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/RouteFilterCreate.json @@ -1,96 +1,96 @@ { - "parameters": { - "routeFilterName": "filterName", - "resourceGroupName": "rg1", - "api-version": "2019-02-01", - "subscriptionId": "subid", - "routeFilterParameters": { - "location": "West US", - "tags": { - "key1": "value1" - }, + "parameters": { + "routeFilterName": "filterName", + "resourceGroupName": "rg1", + "api-version": "2019-02-01", + "subscriptionId": "subid", + "routeFilterParameters": { + "location": "West US", + "tags": { + "key1": "value1" + }, + "properties": { + "rules": [ + { + "name": "ruleName", "properties": { - "rules": [ - { - "name": "ruleName", - "properties": { - "access": "Allow", - "routeFilterRuleType": "Community", - "communities": [ - "12076:5030", - "12076:5040" - ] - } - } - ], - "peerings": [ ] + "access": "Allow", + "routeFilterRuleType": "Community", + "communities": [ + "12076:5030", + "12076:5040" + ] } + } + ], + "peerings": [] + } + } + }, + "responses": { + "201": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "name": "filterName", + "type": "Microsofot.Network/routeFilters", + "tags": { + "key1": "value1" + }, + "properties": { + "provisioningState": "Succeeded", + "rules": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "name": "ruleName", + "properties": { + "provisioningState": "Succeeded", + "access": "Allow", + "routeFilterRuleType": "Community", + "communities": [ + "12076:5030", + "12076:5040" + ] + } + } + ], + "peerings": [] } + } }, - "responses": { - "201": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "location": "West US", - "name": "filterName", - "type": "Microsofot.Network/routeFilters", - "tags": { - "key1": "value1" - }, - "properties": { - "provisioningState": "Succeeded", - "rules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "name": "ruleName", - "properties": { - "provisioningState": "Succeeded", - "access": "Allow", - "routeFilterRuleType": "Community", - "communities": [ - "12076:5030", - "12076:5040" - ] - } - } - ], - "peerings": [ ] - } - } + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "name": "filterName", + "type": "Microsofot.Network/routeFilters", + "tags": { + "key1": "value1" }, - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "location": "West US", - "name": "filterName", - "type": "Microsofot.Network/routeFilters", - "tags": { - "key1": "value1" - }, - "properties": { - "provisioningState": "Succeeded", - "rules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "name": "ruleName", - "properties": { - "provisioningState": "Succeeded", - "access": "Allow", - "routeFilterRuleType": "Community", - "communities": [ - "12076:5030", - "12076:5040" - ] - } - } - ], - "peerings": [ ] - } + "properties": { + "provisioningState": "Succeeded", + "rules": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "name": "ruleName", + "properties": { + "provisioningState": "Succeeded", + "access": "Allow", + "routeFilterRuleType": "Community", + "communities": [ + "12076:5030", + "12076:5040" + ] + } } + ], + "peerings": [] } + } } + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/RouteFilterDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/RouteFilterDelete.json index 45d9bbc38767..0debe132e39a 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/RouteFilterDelete.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/RouteFilterDelete.json @@ -6,8 +6,8 @@ "subscriptionId": "subid" }, "responses": { - "200": { }, - "202": { }, - "204": { } + "200": {}, + "202": {}, + "204": {} } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/RouteFilterList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/RouteFilterList.json index 57e685eea039..0eff809810d6 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/RouteFilterList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/RouteFilterList.json @@ -8,34 +8,34 @@ "body": { "value": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "location": "West US", - "name": "filterName", - "type": "Microsofot.Network/routeFilters", - "tags": { - "key1": "value1" - }, - "properties": { - "provisioningState": "Succeeded", - "rules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "name": "ruleName", - "properties": { - "provisioningState": "Succeeded", - "access": "Allow", - "routeFilterRuleType": "Community", - "communities": [ - "12076:5030", - "12076:5040" - ] - } + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "name": "filterName", + "type": "Microsofot.Network/routeFilters", + "tags": { + "key1": "value1" + }, + "properties": { + "provisioningState": "Succeeded", + "rules": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "name": "ruleName", + "properties": { + "provisioningState": "Succeeded", + "access": "Allow", + "routeFilterRuleType": "Community", + "communities": [ + "12076:5030", + "12076:5040" + ] } - ], - "peerings": [] - } + } + ], + "peerings": [] + } } ] } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/RouteFilterListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/RouteFilterListByResourceGroup.json index 53f21bbf7ffd..3abdb6e0541a 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/RouteFilterListByResourceGroup.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/RouteFilterListByResourceGroup.json @@ -9,34 +9,34 @@ "body": { "value": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "location": "West US", - "name": "filterName", - "type": "Microsofot.Network/routeFilters", - "tags": { - "key1": "value1" - }, - "properties": { - "provisioningState": "Succeeded", - "rules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "name": "ruleName", - "properties": { - "provisioningState": "Succeeded", - "access": "Allow", - "routeFilterRuleType": "Community", - "communities": [ - "12076:5030", - "12076:5040" - ] - } + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "name": "filterName", + "type": "Microsofot.Network/routeFilters", + "tags": { + "key1": "value1" + }, + "properties": { + "provisioningState": "Succeeded", + "rules": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "name": "ruleName", + "properties": { + "provisioningState": "Succeeded", + "access": "Allow", + "routeFilterRuleType": "Community", + "communities": [ + "12076:5030", + "12076:5040" + ] } - ], - "peerings": [] - } + } + ], + "peerings": [] + } } ] } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/RouteFilterRuleDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/RouteFilterRuleDelete.json index d8f310f6a660..b6a8e575e044 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/RouteFilterRuleDelete.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/RouteFilterRuleDelete.json @@ -7,8 +7,8 @@ "subscriptionId": "subid" }, "responses": { - "200": { }, - "202": { }, - "204": { } + "200": {}, + "202": {}, + "204": {} } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/RouteTableCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/RouteTableCreate.json index 8f7422038f04..6e664a1c1854 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/RouteTableCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/RouteTableCreate.json @@ -1,29 +1,29 @@ { - "parameters" : { + "parameters": { "api-version": "2019-02-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", - "routeTableName" : "testrt", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "routeTableName": "testrt", "parameters": { "location": "westus" } }, - "responses" : { - "200" : { - "body" : { + "responses": { + "200": { + "body": { "name": "testrt", "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeTables/testrt", "type": "Microsoft.Network/routeTables", "location": "westus", "properties": { "provisioningState": "Succeeded", - "routes": [ ], + "routes": [], "disableBgpRoutePropagation": true } } }, - "201" : { - "body" : { + "201": { + "body": { "name": "testrt", "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeTables/testrt", "type": "Microsoft.Network/routeTables", @@ -31,7 +31,7 @@ "properties": { "provisioningState": "Succeeded", "disableBgpRoutePropagation": true, - "routes": [ ] + "routes": [] } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/RouteTableCreateWithRoute.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/RouteTableCreateWithRoute.json index e7f4104b6164..d21389b58d01 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/RouteTableCreateWithRoute.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/RouteTableCreateWithRoute.json @@ -1,9 +1,9 @@ { - "parameters" : { + "parameters": { "api-version": "2019-02-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", - "routeTableName" : "testrt", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "routeTableName": "testrt", "parameters": { "properties": { "disableBgpRoutePropagation": true, @@ -20,9 +20,9 @@ "location": "westus" } }, - "responses" : { - "200" : { - "body" : { + "responses": { + "200": { + "body": { "name": "testrt", "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeTables/testrt", "type": "Microsoft.Network/routeTables", @@ -44,8 +44,8 @@ } } }, - "201" : { - "body" : { + "201": { + "body": { "name": "testrt", "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeTables/testrt", "type": "Microsoft.Network/routeTables", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/RouteTableDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/RouteTableDelete.json index 68367aebde1e..f0bfb3caf9ce 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/RouteTableDelete.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/RouteTableDelete.json @@ -1,13 +1,13 @@ { - "parameters" : { + "parameters": { "api-version": "2019-02-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", - "routeTableName" : "testrt" + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "routeTableName": "testrt" }, - "responses" : { - "200" : { }, - "202" : { }, - "204" : { } + "responses": { + "200": {}, + "202": {}, + "204": {} } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/RouteTableGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/RouteTableGet.json index 0faa57d1356a..18fb1862828e 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/RouteTableGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/RouteTableGet.json @@ -1,13 +1,13 @@ { - "parameters" : { + "parameters": { "api-version": "2019-02-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", - "routeTableName" : "testrt" + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "routeTableName": "testrt" }, - "responses" : { - "200" : { - "body" : { + "responses": { + "200": { + "body": { "name": "testrt", "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeTables/testrt", "type": "Microsoft.Network/routeTables", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/RouteTableList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/RouteTableList.json index 0b4611a3517d..fc583de1e162 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/RouteTableList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/RouteTableList.json @@ -1,12 +1,12 @@ { - "parameters" : { + "parameters": { "api-version": "2019-02-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1" + "subscriptionId": "subid", + "resourceGroupName": "rg1" }, - "responses" : { - "200" : { - "body" : { + "responses": { + "200": { + "body": { "value": [ { "name": "testrt", @@ -37,7 +37,7 @@ "properties": { "disableBgpRoutePropagation": true, "provisioningState": "Succeeded", - "routes": [ ] + "routes": [] } } ] diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/RouteTableListAll.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/RouteTableListAll.json index f312b6a03bb9..72416263f55b 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/RouteTableListAll.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/RouteTableListAll.json @@ -1,11 +1,11 @@ { - "parameters" : { + "parameters": { "api-version": "2019-02-01", - "subscriptionId" : "subid" + "subscriptionId": "subid" }, - "responses" : { - "200" : { - "body" : { + "responses": { + "200": { + "body": { "value": [ { "name": "testrt", @@ -34,7 +34,7 @@ "location": "westus", "properties": { "provisioningState": "Succeeded", - "routes": [ ] + "routes": [] } } ] diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/RouteTableRouteCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/RouteTableRouteCreate.json index 29fa57c743b4..5e0bf3914d32 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/RouteTableRouteCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/RouteTableRouteCreate.json @@ -1,9 +1,9 @@ { - "parameters" : { + "parameters": { "api-version": "2019-02-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", - "routeTableName" : "testrt", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "routeTableName": "testrt", "routeName": "route1", "routeParameters": { "properties": { @@ -12,9 +12,9 @@ } } }, - "responses" : { - "200" : { - "body" : { + "responses": { + "200": { + "body": { "name": "route1", "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeTables/testrt/routes/route1", "properties": { @@ -24,8 +24,8 @@ } } }, - "201" : { - "body" : { + "201": { + "body": { "name": "route1", "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeTables/testrt/routes/route1", "properties": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/RouteTableRouteDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/RouteTableRouteDelete.json index daf95bd51c34..3c47f224fdfd 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/RouteTableRouteDelete.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/RouteTableRouteDelete.json @@ -1,14 +1,14 @@ { - "parameters" : { + "parameters": { "api-version": "2019-02-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", - "routeTableName" : "testrt", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "routeTableName": "testrt", "routeName": "route1" }, - "responses" : { - "200" : { }, - "202" : { }, - "204" : { } + "responses": { + "200": {}, + "202": {}, + "204": {} } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/RouteTableRouteGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/RouteTableRouteGet.json index be1210602591..9f005e4dab00 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/RouteTableRouteGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/RouteTableRouteGet.json @@ -1,14 +1,14 @@ { - "parameters" : { + "parameters": { "api-version": "2019-02-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", - "routeTableName" : "testrt", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "routeTableName": "testrt", "routeName": "route1" }, - "responses" : { - "200" : { - "body" : { + "responses": { + "200": { + "body": { "name": "route1", "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeTables/testrt/routes/route1", "properties": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/RouteTableRouteList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/RouteTableRouteList.json index edb9be7293fb..a960f05df504 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/RouteTableRouteList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/RouteTableRouteList.json @@ -1,13 +1,13 @@ { - "parameters" : { + "parameters": { "api-version": "2019-02-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", - "routeTableName" : "testrt" + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "routeTableName": "testrt" }, - "responses" : { - "200" : { - "body" : { + "responses": { + "200": { + "body": { "value": [ { "name": "route1", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/RouteTableUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/RouteTableUpdateTags.json index 12da156d39c9..794119492a9c 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/RouteTableUpdateTags.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/RouteTableUpdateTags.json @@ -1,9 +1,9 @@ { - "parameters" : { + "parameters": { "api-version": "2019-02-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", - "routeTableName" : "testrt", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "routeTableName": "testrt", "parameters": { "tags": { "tag1": "value1", @@ -11,9 +11,9 @@ } } }, - "responses" : { - "200" : { - "body" : { + "responses": { + "200": { + "body": { "name": "testrt", "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeTables/testrt", "type": "Microsoft.Network/routeTables", @@ -24,7 +24,7 @@ }, "properties": { "provisioningState": "Succeeded", - "routes": [ ] + "routes": [] } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ServiceCommunityList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ServiceCommunityList.json index 34127868dba6..3a3bec1e6dec 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ServiceCommunityList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ServiceCommunityList.json @@ -12,7 +12,7 @@ "name": "skype", "type": "Microsofot.Network/bgpServiceCommunities", "properties": { - "serviceName" : "skype", + "serviceName": "skype", "bgpCommunities": [ { "serviceSupportedRegion": "Global", @@ -23,7 +23,7 @@ "13.67.186.105/32" ], "isAuthorizedToUse": true, - "serviceGroup" : "O365" + "serviceGroup": "O365" } ] } @@ -33,7 +33,7 @@ "name": "exchange", "type": "Microsofot.Network/bgpServiceCommunities", "properties": { - "serviceName" : "exchange", + "serviceName": "exchange", "bgpCommunities": [ { "serviceSupportedRegion": "Global", @@ -44,7 +44,7 @@ "13.67.186.105/32" ], "isAuthorizedToUse": true, - "serviceGroup" : "O365" + "serviceGroup": "O365" } ] } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ServiceEndpointPolicyCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ServiceEndpointPolicyCreate.json index 5c84315e4884..b0811b41d870 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ServiceEndpointPolicyCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ServiceEndpointPolicyCreate.json @@ -1,40 +1,38 @@ { - "parameters" : { + "parameters": { "api-version": "2019-02-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", - "serviceEndpointPolicyName" : "testPolicy", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "serviceEndpointPolicyName": "testPolicy", "parameters": {} }, - "responses" : { - "200" : { - "body" : { + "responses": { + "200": { + "body": { "name": "testnsg", "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ServiceEndpointPolicies/testpolicy", "type": "Microsoft.Network/ServiceEndpointPolicies", "location": "westus", - "properties": - { - "serviceEndpointPolicyDefinitions": [ ], - "subnets": [ ], + "properties": { + "serviceEndpointPolicyDefinitions": [], + "subnets": [], "provisioningState": "Succeeded", "resourceGuid": "6A7C139D-8B8D-499B-B7CB-4F3F02A8A44F" - } + } } }, - "201" : { - "body" : { + "201": { + "body": { "name": "testnsg", "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testpolicy", "type": "Microsoft.Network/ServiceEndpointPolicies", "location": "westus", - "properties": - { + "properties": { "serviceEndpointPolicyDefinitions": [], - "subnets": [ ], + "subnets": [], "provisioningState": "Succeeded", "resourceGuid": "6A7C139D-8B8D-499B-B7CB-4F3F02A8A44F" - } + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ServiceEndpointPolicyCreateWithDefinition.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ServiceEndpointPolicyCreateWithDefinition.json index 5bccc1ddcaa0..6ebff16dd775 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ServiceEndpointPolicyCreateWithDefinition.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ServiceEndpointPolicyCreateWithDefinition.json @@ -1,80 +1,78 @@ { - "parameters" : { + "parameters": { "api-version": "2019-02-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", - "serviceEndpointPolicyName" : "testPolicy", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "serviceEndpointPolicyName": "testPolicy", "parameters": { - "properties": { - "serviceEndpointPolicyDefinitions": [ + "properties": { + "serviceEndpointPolicyDefinitions": [ { "name": "StorageServiceEndpointPolicyDefinition", "properties": { - "description": "Storage Service EndpointPolicy Definition", - "service": "Microsoft.Storage", - "serviceResources": [ + "description": "Storage Service EndpointPolicy Definition", + "service": "Microsoft.Storage", + "serviceResources": [ "/subscriptions/subid1", "/subscriptions/subid1/resourceGroups/storageRg", "/subscriptions/subid1/resourceGroups/storageRg/providers/Microsoft.Storage/storageAccounts/stAccount" - ] + ] } - } - ] - } + } + ] } + } }, - "responses" : { - "200" : { - "body" : { + "responses": { + "200": { + "body": { "name": "testnsg", "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ServiceEndpointPolicies/testpolicy", "type": "Microsoft.Network/ServiceEndpointPolicies", "location": "westus", - "properties": - { + "properties": { "serviceEndpointPolicyDefinitions": [ - { - "name": "StorageServiceEndpointPolicyDefinition", - "properties": { - "description": "Storage Service EndpointPolicy Definition", - "service": "Microsoft.Storage", - "serviceResources": [ - "/subscriptions/subid1", - "/subscriptions/subid1/resourceGroups/storageRg", - "/subscriptions/subid1/resourceGroups/storageRg/providers/Microsoft.Storage/storageAccounts/stAccount" - ] + { + "name": "StorageServiceEndpointPolicyDefinition", + "properties": { + "description": "Storage Service EndpointPolicy Definition", + "service": "Microsoft.Storage", + "serviceResources": [ + "/subscriptions/subid1", + "/subscriptions/subid1/resourceGroups/storageRg", + "/subscriptions/subid1/resourceGroups/storageRg/providers/Microsoft.Storage/storageAccounts/stAccount" + ] + } } - } ], - "subnets": [ ], + "subnets": [], "provisioningState": "Succeeded", "resourceGuid": "6A7C139D-8B8D-499B-B7CB-4F3F02A8A44F" } } }, - "201" : { - "body" : { + "201": { + "body": { "name": "testnsg", "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ServiceEndpointPolicies/testpolicy", "type": "Microsoft.Network/ServiceEndpointPolicies", "location": "westus", - "properties": - { + "properties": { "serviceEndpointPolicyDefinitions": [ - { - "name": "StorageServiceEndpointPolicyDefinition", - "properties": { - "description": "Storage Service EndpointPolicy Definition", - "service": "Microsoft.Storage", - "serviceResources": [ - "/subscriptions/subid1", - "/subscriptions/subid1/resourceGroups/storageRg", - "/subscriptions/subid1/resourceGroups/storageRg/providers/Microsoft.Storage/storageAccounts/stAccount" - ] + { + "name": "StorageServiceEndpointPolicyDefinition", + "properties": { + "description": "Storage Service EndpointPolicy Definition", + "service": "Microsoft.Storage", + "serviceResources": [ + "/subscriptions/subid1", + "/subscriptions/subid1/resourceGroups/storageRg", + "/subscriptions/subid1/resourceGroups/storageRg/providers/Microsoft.Storage/storageAccounts/stAccount" + ] + } } - } ], - "subnets": [ ], + "subnets": [], "provisioningState": "Succeeded", "resourceGuid": "6A7C139D-8B8D-499B-B7CB-4F3F02A8A44F" } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ServiceEndpointPolicyDefinitionCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ServiceEndpointPolicyDefinitionCreate.json index 8edccbf3b4ad..998e10207396 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ServiceEndpointPolicyDefinitionCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ServiceEndpointPolicyDefinitionCreate.json @@ -1,50 +1,50 @@ { - "parameters" : { + "parameters": { "api-version": "2019-02-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", - "serviceEndpointPolicyName" : "testPolicy", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "serviceEndpointPolicyName": "testPolicy", "serviceEndpointPolicyDefinitionName": "testDefinition", "ServiceEndpointPolicyDefinitions": { - "properties": { - "description": "Storage Service EndpointPolicy Definition", - "service": "Microsoft.Storage", - "serviceResources": [ - "/subscriptions/subid1", - "/subscriptions/subid1/resourceGroups/storageRg", - "/subscriptions/subid1/resourceGroups/storageRg/providers/Microsoft.Storage/storageAccounts/stAccount" - ] + "properties": { + "description": "Storage Service EndpointPolicy Definition", + "service": "Microsoft.Storage", + "serviceResources": [ + "/subscriptions/subid1", + "/subscriptions/subid1/resourceGroups/storageRg", + "/subscriptions/subid1/resourceGroups/storageRg/providers/Microsoft.Storage/storageAccounts/stAccount" + ] + } } - } }, - "responses" : { - "200" : { - "body" : { + "responses": { + "200": { + "body": { "name": "testDefinition", - "id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/serviceEndpointPolicies/testPolicy/serviceEndpointPolicyDefinitions/testDefinition", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/serviceEndpointPolicies/testPolicy/serviceEndpointPolicyDefinitions/testDefinition", "properties": { - "description": "Storage Service EndpointPolicy Definition", - "service": "Microsoft.Storage", - "serviceResources": [ + "description": "Storage Service EndpointPolicy Definition", + "service": "Microsoft.Storage", + "serviceResources": [ "/subscriptions/subid1", "/subscriptions/subid1/resourceGroups/storageRg", "/subscriptions/subid1/resourceGroups/storageRg/providers/Microsoft.Storage/storageAccounts/stAccount" - ] - } + ] + } } }, - "201" : { - "body" : { + "201": { + "body": { "name": "rule1", - "id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1", "properties": { - "description": "Storage Service EndpointPolicy Definition", - "service": "Microsoft.Storage", - "serviceResources": [ + "description": "Storage Service EndpointPolicy Definition", + "service": "Microsoft.Storage", + "serviceResources": [ "/subscriptions/subid1", "/subscriptions/subid1/resourceGroups/storageRg", "/subscriptions/subid1/resourceGroups/storageRg/providers/Microsoft.Storage/storageAccounts/stAccount" - ] + ] } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ServiceEndpointPolicyDefinitionDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ServiceEndpointPolicyDefinitionDelete.json index fa8a8182b0d6..6ffe300eb930 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ServiceEndpointPolicyDefinitionDelete.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ServiceEndpointPolicyDefinitionDelete.json @@ -1,14 +1,14 @@ { - "parameters" : { + "parameters": { "api-version": "2019-02-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", - "serviceEndpointPolicyName" : "testPolicy", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "serviceEndpointPolicyName": "testPolicy", "serviceEndpointPolicyDefinitionName": "testDefinition" }, - "responses" : { - "200" : { }, - "202" : { }, - "204" : { } + "responses": { + "200": {}, + "202": {}, + "204": {} } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ServiceEndpointPolicyDefinitionGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ServiceEndpointPolicyDefinitionGet.json index 2d64f5302038..472d86deaf29 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ServiceEndpointPolicyDefinitionGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ServiceEndpointPolicyDefinitionGet.json @@ -1,25 +1,25 @@ { - "parameters" : { + "parameters": { "api-version": "2019-02-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", - "serviceEndpointPolicyName" : "testPolicy", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "serviceEndpointPolicyName": "testPolicy", "serviceEndpointPolicyDefinitionName": "testDefinition" }, - "responses" : { - "200" : { - "body" : { + "responses": { + "200": { + "body": { "name": "testDefinition", - "id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/serviceEndpointPolicies/testPolicy/serviceEndpointPolicyDefinitions/testDefinition", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/serviceEndpointPolicies/testPolicy/serviceEndpointPolicyDefinitions/testDefinition", "properties": { - "description": "Storage Service EndpointPolicy Definition", - "service": "Microsoft.Storage", - "serviceResources": [ + "description": "Storage Service EndpointPolicy Definition", + "service": "Microsoft.Storage", + "serviceResources": [ "/subscriptions/subid1", "/subscriptions/subid1/resourceGroups/storageRg", "/subscriptions/subid1/resourceGroups/storageRg/providers/Microsoft.Storage/storageAccounts/stAccount" - ] - } + ] + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ServiceEndpointPolicyDefinitionList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ServiceEndpointPolicyDefinitionList.json index 6ddf507fa041..8bd632e3dbf3 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ServiceEndpointPolicyDefinitionList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ServiceEndpointPolicyDefinitionList.json @@ -1,25 +1,25 @@ { - "parameters" : { + "parameters": { "api-version": "2019-02-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", - "serviceEndpointPolicyName" : "testPolicy" + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "serviceEndpointPolicyName": "testPolicy" }, - "responses" : { - "200" : { - "body" : { + "responses": { + "200": { + "body": { "value": [ { "name": "testDef", - "id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/serviceEndpointPolicies/testPolicy/serviceEndpointPolicyDefinitions/testDef", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/serviceEndpointPolicies/testPolicy/serviceEndpointPolicyDefinitions/testDef", "properties": { - "description": "Storage Service EndpointPolicy Definition", - "service": "Microsoft.Storage", - "serviceResources": [ + "description": "Storage Service EndpointPolicy Definition", + "service": "Microsoft.Storage", + "serviceResources": [ "/subscriptions/subid1", "/subscriptions/subid1/resourceGroups/storageRg", "/subscriptions/subid1/resourceGroups/storageRg/providers/Microsoft.Storage/storageAccounts/stAccount" - ] + ] } } ] diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ServiceEndpointPolicyDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ServiceEndpointPolicyDelete.json index 618c41eef679..8148ba39939f 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ServiceEndpointPolicyDelete.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ServiceEndpointPolicyDelete.json @@ -1,13 +1,13 @@ { - "parameters" : { + "parameters": { "api-version": "2019-02-01", - "subscriptionId" : "subid", + "subscriptionId": "subid", "resourceGroupName": "rg1", "serviceEndpointPolicyName": "serviceEndpointPolicy1" }, - "responses" : { - "200" : { }, - "202" : { }, - "204" : { } + "responses": { + "200": {}, + "202": {}, + "204": {} } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ServiceEndpointPolicyGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ServiceEndpointPolicyGet.json index f884981fc4ce..83949d0a1935 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ServiceEndpointPolicyGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ServiceEndpointPolicyGet.json @@ -1,39 +1,37 @@ { - "parameters" : { + "parameters": { "api-version": "2019-02-01", - "subscriptionId" : "subid", + "subscriptionId": "subid", "resourceGroupName": "rg1", "serviceEndpointPolicyName": "testServiceEndpointPolicy" }, - "responses" : { - "200" : { - "body" : { - "name" : "testServiceEndpointPolicy", - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/serviceEndpointPolicies/testServiceEndpointPolicy", + "responses": { + "200": { + "body": { + "name": "testServiceEndpointPolicy", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/serviceEndpointPolicies/testServiceEndpointPolicy", "type": "Microsoft.Network/serviceEndpointPolicies", - "location" : "westus", - "properties": - { + "location": "westus", + "properties": { "serviceEndpointPolicyDefinitions": [ - { - "name": "StorageServiceEndpointPolicyDefinition", - "properties": { - "description": "Storage Service EndpointPolicy Definition", - "service": "Microsoft.Storage", - "serviceResources": [ - "/subscriptions/subid1", - "/subscriptions/subid1/resourceGroups/storageRg", - "/subscriptions/subid1/resourceGroups/storageRg/providers/Microsoft.Storage/storageAccounts/stAccount" - ] + { + "name": "StorageServiceEndpointPolicyDefinition", + "properties": { + "description": "Storage Service EndpointPolicy Definition", + "service": "Microsoft.Storage", + "serviceResources": [ + "/subscriptions/subid1", + "/subscriptions/subid1/resourceGroups/storageRg", + "/subscriptions/subid1/resourceGroups/storageRg/providers/Microsoft.Storage/storageAccounts/stAccount" + ] + } } - } - ], - "subnets": [ ], - "provisioningState": "Succeeded", - "resourceGuid": "6A7C139D-8B8D-499B-B7CB-4F3F02A8A44F" - } - } - } - } + ], + "subnets": [], + "provisioningState": "Succeeded", + "resourceGuid": "6A7C139D-8B8D-499B-B7CB-4F3F02A8A44F" + } + } + } + } } - diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ServiceEndpointPolicyList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ServiceEndpointPolicyList.json index ce939f6c3469..656f68af880f 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ServiceEndpointPolicyList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ServiceEndpointPolicyList.json @@ -1,59 +1,57 @@ { - "parameters" : { + "parameters": { "api-version": "2019-02-01", - "subscriptionId" : "subid", + "subscriptionId": "subid", "resourceGroupName": "rg1" }, - "responses" : { - "200" : { - "body" : { - "value" : [ + "responses": { + "200": { + "body": { + "value": [ { - "name" : "testServiceEndpointPolicy", - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/serviceEndpointPolicies/testServiceEndpointPolicy", - "location" : "westus", - "properties": - { + "name": "testServiceEndpointPolicy", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/serviceEndpointPolicies/testServiceEndpointPolicy", + "location": "westus", + "properties": { "serviceEndpointPolicyDefinitions": [ - { - "name": "StorageServiceEndpointPolicyDefinition", - "properties": { - "description": "Storage Service EndpointPolicy Definition", - "service": "Microsoft.Storage", - "serviceResources": [ - "/subscriptions/subid1", - "/subscriptions/subid1resourceGroups/storageRg", - "/subscriptions/subid1/resourceGroups/storageRg/providers/Microsoft.Storage/storageAccounts/stAccount" - ] + { + "name": "StorageServiceEndpointPolicyDefinition", + "properties": { + "description": "Storage Service EndpointPolicy Definition", + "service": "Microsoft.Storage", + "serviceResources": [ + "/subscriptions/subid1", + "/subscriptions/subid1resourceGroups/storageRg", + "/subscriptions/subid1/resourceGroups/storageRg/providers/Microsoft.Storage/storageAccounts/stAccount" + ] + } } - } ], - "subnets": [ ], + "subnets": [], "provisioningState": "Succeeded", "resourceGuid": "6A7C139D-8B8D-499B-B7CB-4F3F02A8A44F" - } + } }, { - "name" : "testServiceEndpointPolicy1", - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/serviceEndpointPolicies/testServiceEndpointPolicy1", - "location" : "westus", - "properties": - { + "name": "testServiceEndpointPolicy1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/serviceEndpointPolicies/testServiceEndpointPolicy1", + "location": "westus", + "properties": { "serviceEndpointPolicyDefinitions": [ - { - "name": "StorageServiceEndpointPolicyDefinition1", - "properties": { - "description": "Storage Service EndpointPolicy Definition", - "service": "Microsoft.Storage", - "serviceResources": [ - "/subscriptions/subid1", - "/subscriptions/subid1/resourceGroups/storageRg", - "/subscriptions/subid1/resourceGroups/storageRg/providers/Microsoft.Storage/storageAccounts/stAccount" - ] + { + "name": "StorageServiceEndpointPolicyDefinition1", + "properties": { + "description": "Storage Service EndpointPolicy Definition", + "service": "Microsoft.Storage", + "serviceResources": [ + "/subscriptions/subid1", + "/subscriptions/subid1/resourceGroups/storageRg", + "/subscriptions/subid1/resourceGroups/storageRg/providers/Microsoft.Storage/storageAccounts/stAccount" + ] + } } - } ], - "subnets": [ ], + "subnets": [], "provisioningState": "Succeeded", "resourceGuid": "6A7C139D-8B8D-499B-B7CB-4F3F02A8A44F" } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ServiceEndpointPolicyListAll.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ServiceEndpointPolicyListAll.json index 865d92af3da2..a320d2561bc0 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ServiceEndpointPolicyListAll.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ServiceEndpointPolicyListAll.json @@ -1,34 +1,33 @@ { - "parameters" : { + "parameters": { "api-version": "2019-02-01", - "subscriptionId" : "subid" + "subscriptionId": "subid" }, - "responses" : { - "200" : { - "body" : { + "responses": { + "200": { + "body": { "value": [ { "name": "testPolicy", "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/serviceEndpointPolicies/testPolicy", "type": "Microsoft.Network/serviceEndpointPolicies", "location": "westus", - "properties": - { + "properties": { "serviceEndpointPolicyDefinitions": [ - { - "name": "StorageServiceEndpointPolicyDefinition1", - "properties": { - "description": "Storage Service EndpointPolicy Definition", - "service": "Microsoft.Storage", - "serviceResources": [ - "/subscriptions/subid1", - "/subscriptions/subid1/resourceGroups/storageRg", - "/subscriptions/subid1/resourceGroups/storageRg/providers/Microsoft.Storage/storageAccounts/stAccount" - ] + { + "name": "StorageServiceEndpointPolicyDefinition1", + "properties": { + "description": "Storage Service EndpointPolicy Definition", + "service": "Microsoft.Storage", + "serviceResources": [ + "/subscriptions/subid1", + "/subscriptions/subid1/resourceGroups/storageRg", + "/subscriptions/subid1/resourceGroups/storageRg/providers/Microsoft.Storage/storageAccounts/stAccount" + ] + } } - } ], - "subnets": [ ], + "subnets": [], "provisioningState": "Succeeded", "resourceGuid": "6A7C139D-8B8D-499B-B7CB-4F3F02A8A44F" } @@ -38,23 +37,22 @@ "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/serviceEndpointPolicies/testPolicy2", "type": "Microsoft.Network/serviceEndpointPolicies", "location": "westus", - "properties": - { + "properties": { "serviceEndpointPolicyDefinitions": [ - { - "name": "StorageServiceEndpointPolicyDefinition2", - "properties": { - "description": "Storage Service EndpointPolicy Definition", - "service": "Microsoft.Storage", - "serviceResources": [ - "/subscriptions/subid1", - "/subscriptions/subid1/resourceGroups/storageRg", - "/subscriptions/subid1/resourceGroups/storageRg/providers/Microsoft.Storage/storageAccounts/stAccount" - ] + { + "name": "StorageServiceEndpointPolicyDefinition2", + "properties": { + "description": "Storage Service EndpointPolicy Definition", + "service": "Microsoft.Storage", + "serviceResources": [ + "/subscriptions/subid1", + "/subscriptions/subid1/resourceGroups/storageRg", + "/subscriptions/subid1/resourceGroups/storageRg/providers/Microsoft.Storage/storageAccounts/stAccount" + ] + } } - } ], - "subnets": [ ], + "subnets": [], "provisioningState": "Succeeded", "resourceGuid": "6A7C139D-8B8D-499B-B7CB-4F3F02A8A44F" } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ServiceEndpointPolicyUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ServiceEndpointPolicyUpdateTags.json index e820af9b5d2f..cc72ffe4c8e0 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ServiceEndpointPolicyUpdateTags.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ServiceEndpointPolicyUpdateTags.json @@ -1,7 +1,7 @@ { - "parameters" : { + "parameters": { "api-version": "2019-02-01", - "subscriptionId" : "subid", + "subscriptionId": "subid", "resourceGroupName": "rg1", "serviceEndpointPolicyName": "testServiceEndpointPolicy", "parameters": { @@ -11,13 +11,13 @@ } } }, - "responses" : { - "200" : { - "body" : { - "name" : "testServiceEndpointPolicy", - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/serviceEndpointPolicies/testServiceEndpointPolicy", + "responses": { + "200": { + "body": { + "name": "testServiceEndpointPolicy", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/serviceEndpointPolicies/testServiceEndpointPolicy", "type": "Microsoft.Network/serviceEndpointPolicies", - "location" : "westus", + "location": "westus", "tags": { "tag1": "value1", "tag2": "value2" diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/SubnetCreateServiceEndpoint.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/SubnetCreateServiceEndpoint.json index 41d7550f1334..fd318148f4aa 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/SubnetCreateServiceEndpoint.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/SubnetCreateServiceEndpoint.json @@ -9,7 +9,9 @@ "properties": { "addressPrefix": "10.0.0.0/16", "serviceEndpoints": [ - { "service": "Microsoft.Storage" } + { + "service": "Microsoft.Storage" + } ] } } @@ -21,14 +23,16 @@ "name": "subnet1", "properties": { "addressPrefix": "10.0.0.0/16", - "serviceEndpoints": [{ - "service": "Microsoft.Storage", - "locations": [ - "eastus2(stage)", - "usnorth(stage)" - ], - "provisioningState": "Succeeded" - }], + "serviceEndpoints": [ + { + "service": "Microsoft.Storage", + "locations": [ + "eastus2(stage)", + "usnorth(stage)" + ], + "provisioningState": "Succeeded" + } + ], "provisioningState": "Succeeded" } } @@ -39,14 +43,16 @@ "name": "subnet1", "properties": { "addressPrefix": "10.0.0.0/16", - "serviceEndpoints": [{ - "service": "Microsoft.Storage", - "locations": [ - "eastus2(stage)", - "usnorth(stage)" - ], - "provisioningState": "Succeeded" - }], + "serviceEndpoints": [ + { + "service": "Microsoft.Storage", + "locations": [ + "eastus2(stage)", + "usnorth(stage)" + ], + "provisioningState": "Succeeded" + } + ], "provisioningState": "Succeeded" } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/SubnetDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/SubnetDelete.json index 6189a2c113e6..0686ac6806d4 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/SubnetDelete.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/SubnetDelete.json @@ -7,8 +7,8 @@ "subscriptionId": "subid" }, "responses": { - "200": { }, - "202": { }, - "204": { } + "200": {}, + "202": {}, + "204": {} } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualHubDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualHubDelete.json index 06a8cc472364..3d3e4140e08a 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualHubDelete.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualHubDelete.json @@ -1,13 +1,13 @@ { - "parameters": { - "virtualHubName": "virtualHub1", - "resourceGroupName": "rg1", - "api-version": "2019-02-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { }, - "202": { }, - "204": { } - } + "parameters": { + "virtualHubName": "virtualHub1", + "resourceGroupName": "rg1", + "api-version": "2019-02-01", + "subscriptionId": "subid" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualHubGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualHubGet.json index 64044adb89ff..af76b50f34a4 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualHubGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualHubGet.json @@ -1,27 +1,27 @@ { - "parameters": { - "virtualHubName": "virtualHub1", - "resourceGroupName": "rg1", - "api-version": "2019-02-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "location": "West US", - "name": "virtualHub1", - "type": "Microsoft.Network/virtualHubs", - "properties": { - "provisioningState": "Succeeded", - "virtualWan": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1" - }, - "virtualNetworkConnections": [ ], - "addressPrefix": "10.10.1.0/24" - } - } + "parameters": { + "virtualHubName": "virtualHub1", + "resourceGroupName": "rg1", + "api-version": "2019-02-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "name": "virtualHub1", + "type": "Microsoft.Network/virtualHubs", + "properties": { + "provisioningState": "Succeeded", + "virtualWan": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1" + }, + "virtualNetworkConnections": [], + "addressPrefix": "10.10.1.0/24" } + } } + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualHubList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualHubList.json index 1ce34e0930b4..82aedbae4c74 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualHubList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualHubList.json @@ -7,64 +7,64 @@ "200": { "body": { "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "location": "West US", - "name": "virtualHub1", - "type": "Microsoft.Network/virtualHubs", - "properties": { + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "name": "virtualHub1", + "type": "Microsoft.Network/virtualHubs", + "properties": { + "provisioningState": "Succeeded", + "virtualWan": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1" + }, + "virtualNetworkConnections": [ + { + "name": "connection1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualHubs/virtualHub1/hubVirtualNetworkConnections/connection1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { "provisioningState": "Succeeded", - "virtualWan": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1" + "remoteVirtualNetwork": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualNetworks/SpokeVnet1" }, - "virtualNetworkConnections": [ - { - "name": "connection1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualHubs/virtualHub1/hubVirtualNetworkConnections/connection1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "remoteVirtualNetwork": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualNetworks/SpokeVnet1" - }, - "allowHubToRemoteVnetTransit": true, - "allowRemoteVnetToUseHubVnetGateways": false - } - } - ], - "addressPrefix": "10.10.1.0/24" + "allowHubToRemoteVnetTransit": true, + "allowRemoteVnetToUseHubVnetGateways": false + } } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualHubs/virtualHub2", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "location": "East US", - "name": "virtualHub2", - "type": "Microsoft.Network/virtualHubs", - "properties": { + ], + "addressPrefix": "10.10.1.0/24" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualHubs/virtualHub2", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "East US", + "name": "virtualHub2", + "type": "Microsoft.Network/virtualHubs", + "properties": { + "provisioningState": "Succeeded", + "virtualWan": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1" + }, + "virtualNetworkConnections": [ + { + "name": "connection2", + "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsofot.Network/virtualHubs/virtualHub2/hubVirtualNetworkConnections/connection2", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { "provisioningState": "Succeeded", - "virtualWan": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1" + "remoteVirtualNetwork": { + "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsofot.Network/virtualNetworks/SpokeVnet2" }, - "virtualNetworkConnections": [ - { - "name": "connection2", - "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsofot.Network/virtualHubs/virtualHub2/hubVirtualNetworkConnections/connection2", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "remoteVirtualNetwork": { - "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsofot.Network/virtualNetworks/SpokeVnet2" - }, - "allowHubToRemoteVnetTransit": true, - "allowRemoteVnetToUseHubVnetGateways": false - } - } - ], - "addressPrefix": "210.10.1.0/24" + "allowHubToRemoteVnetTransit": true, + "allowRemoteVnetToUseHubVnetGateways": false + } } + ], + "addressPrefix": "210.10.1.0/24" } + } ] } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualHubListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualHubListByResourceGroup.json index 500f0d7fc300..3d12da4f07f2 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualHubListByResourceGroup.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualHubListByResourceGroup.json @@ -8,64 +8,64 @@ "200": { "body": { "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "location": "West US", - "name": "virtualHub1", - "type": "Microsoft.Network/virtualHubs", - "properties": { + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "name": "virtualHub1", + "type": "Microsoft.Network/virtualHubs", + "properties": { + "provisioningState": "Succeeded", + "virtualWan": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1" + }, + "virtualNetworkConnections": [ + { + "name": "connection1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualHubs/virtualHub1/hubVirtualNetworkConnections/connection1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { "provisioningState": "Succeeded", - "virtualWan": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1" + "remoteVirtualNetwork": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualNetworks/SpokeVnet1" }, - "virtualNetworkConnections": [ - { - "name": "connection1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualHubs/virtualHub1/hubVirtualNetworkConnections/connection1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "remoteVirtualNetwork": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualNetworks/SpokeVnet1" - }, - "allowHubToRemoteVnetTransit": true, - "allowRemoteVnetToUseHubVnetGateways": false - } - } - ], - "addressPrefix": "10.10.1.0/24" + "allowHubToRemoteVnetTransit": true, + "allowRemoteVnetToUseHubVnetGateways": false + } } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub2", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "location": "East US", - "name": "virtualHub2", - "type": "Microsoft.Network/virtualHubs", - "properties": { + ], + "addressPrefix": "10.10.1.0/24" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub2", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "East US", + "name": "virtualHub2", + "type": "Microsoft.Network/virtualHubs", + "properties": { + "provisioningState": "Succeeded", + "virtualWan": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1" + }, + "virtualNetworkConnections": [ + { + "name": "connection2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualHubs/virtualHub2/hubVirtualNetworkConnections/connection2", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { "provisioningState": "Succeeded", - "virtualWan": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1" + "remoteVirtualNetwork": { + "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsofot.Network/virtualNetworks/SpokeVnet2" }, - "virtualNetworkConnections": [ - { - "name": "connection2", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualHubs/virtualHub2/hubVirtualNetworkConnections/connection2", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "remoteVirtualNetwork": { - "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsofot.Network/virtualNetworks/SpokeVnet2" - }, - "allowHubToRemoteVnetTransit": true, - "allowRemoteVnetToUseHubVnetGateways": false - } - } - ], - "addressPrefix": "210.10.1.0/24" + "allowHubToRemoteVnetTransit": true, + "allowRemoteVnetToUseHubVnetGateways": false + } } + ], + "addressPrefix": "210.10.1.0/24" } + } ] } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualHubPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualHubPut.json index e76720d86782..28406f8fcb22 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualHubPut.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualHubPut.json @@ -1,56 +1,56 @@ { - "parameters": { - "virtualHubName": "virtualHub2", - "resourceGroupName": "rg1", - "api-version": "2019-02-01", - "subscriptionId": "subid", - "virtualHubParameters": { - "location": "West US", - "tags": { - "key1": "value1" - }, - "properties": { - "virtualWan": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1" - }, - "addressPrefix": "10.168.0.0/24" - } + "parameters": { + "virtualHubName": "virtualHub2", + "resourceGroupName": "rg1", + "api-version": "2019-02-01", + "subscriptionId": "subid", + "virtualHubParameters": { + "location": "West US", + "tags": { + "key1": "value1" + }, + "properties": { + "virtualWan": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1" + }, + "addressPrefix": "10.168.0.0/24" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub2", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "name": "virtualHub2", + "type": "Microsoft.Network/virtualHubs", + "properties": { + "provisioningState": "Succeeded", + "virtualWan": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1" + }, + "virtualNetworkConnections": [], + "addressPrefix": "10.168.0.0/24" } + } }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub2", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "location": "West US", - "name": "virtualHub2", - "type": "Microsoft.Network/virtualHubs", - "properties": { - "provisioningState": "Succeeded", - "virtualWan": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1" - }, - "virtualNetworkConnections": [ ], - "addressPrefix": "10.168.0.0/24" - } - } - }, - "201": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub2", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "location": "West US", - "name": "virtualHub2", - "type": "Microsoft.Network/virtualHubs", - "properties": { - "provisioningState": "Succeeded", - "virtualWan": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1" - }, - "virtualNetworkConnections": [ ], - "addressPrefix": "10.168.0.0/24" - } - } + "201": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub2", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "name": "virtualHub2", + "type": "Microsoft.Network/virtualHubs", + "properties": { + "provisioningState": "Succeeded", + "virtualWan": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1" + }, + "virtualNetworkConnections": [], + "addressPrefix": "10.168.0.0/24" } + } } + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualHubUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualHubUpdateTags.json index 26f4627ead29..717e660edb2f 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualHubUpdateTags.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualHubUpdateTags.json @@ -28,7 +28,7 @@ "virtualWan": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1" }, - "virtualNetworkConnections": [ ], + "virtualNetworkConnections": [], "addressPrefix": "10.168.0.0/24" } } @@ -49,7 +49,7 @@ "virtualWan": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1" }, - "virtualNetworkConnections": [ ], + "virtualNetworkConnections": [], "addressPrefix": "10.168.0.0/24" } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkCheckIPAddressAvailability.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkCheckIPAddressAvailability.json index 49f48575af94..c94babf56c71 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkCheckIPAddressAvailability.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkCheckIPAddressAvailability.json @@ -1,14 +1,14 @@ { - "parameters" : { + "parameters": { "api-version": "2019-02-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", - "virtualNetworkName" : "test-vnet", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "virtualNetworkName": "test-vnet", "ipAddress": "10.0.1.4" }, - "responses" : { - "200" : { - "body" : { + "responses": { + "200": { + "body": { "available": false, "availableIPAddresses": [ "10.0.1.5", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkCreate.json index 5e20caaa4a1a..f0c9333cf559 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkCreate.json @@ -1,9 +1,9 @@ { - "parameters" : { + "parameters": { "api-version": "2019-02-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", - "virtualNetworkName" : "test-vnet", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "virtualNetworkName": "test-vnet", "parameters": { "properties": { "addressSpace": { @@ -15,40 +15,40 @@ "location": "eastus" } }, - "responses" : { - "200" : { - "body" : { - "name" : "test-vnet", - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet", - "type" : "Microsoft.Network/virtualNetworks", - "location" : "eastus", - "properties" : { - "provisioningState" : "Succeeded", - "addressSpace" : { - "addressPrefixes" : [ + "responses": { + "200": { + "body": { + "name": "test-vnet", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet", + "type": "Microsoft.Network/virtualNetworks", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded", + "addressSpace": { + "addressPrefixes": [ "10.0.0.0/16" ] }, - "subnets" : [], - "virtualNetworkPeerings" : [] + "subnets": [], + "virtualNetworkPeerings": [] } } }, - "201" : { - "body" : { - "name" : "test-vnet", - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet", - "type" : "Microsoft.Network/virtualNetworks", - "location" : "eastus", - "properties" : { - "provisioningState" : "Succeeded", - "addressSpace" : { - "addressPrefixes" : [ + "201": { + "body": { + "name": "test-vnet", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet", + "type": "Microsoft.Network/virtualNetworks", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded", + "addressSpace": { + "addressPrefixes": [ "10.0.0.0/16" ] }, - "subnets" : [], - "virtualNetworkPeerings" : [] + "subnets": [], + "virtualNetworkPeerings": [] } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkCreateServiceEndpointPolicy.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkCreateServiceEndpointPolicy.json index 79a0600f154d..1166b998940e 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkCreateServiceEndpointPolicy.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkCreateServiceEndpointPolicy.json @@ -1,9 +1,9 @@ { - "parameters" : { + "parameters": { "api-version": "2019-02-01", - "subscriptionId" : "subid", - "resourceGroupName" : "vnetTest", - "virtualNetworkName" : "vnet1", + "subscriptionId": "subid", + "resourceGroupName": "vnetTest", + "virtualNetworkName": "vnet1", "parameters": { "properties": { "addressSpace": { @@ -33,17 +33,17 @@ "location": "eastus" } }, - "responses" : { - "200" : { - "body" : { - "name" : "vnet1", - "id" : "/subscriptions/subid/resourceGroups/vnetTest/providers/Microsoft.Network/virtualNetworks/vnet1", - "type" : "Microsoft.Network/virtualNetworks", - "location" : "eastus", - "properties" : { - "provisioningState" : "Succeeded", - "addressSpace" : { - "addressPrefixes" : [ + "responses": { + "200": { + "body": { + "name": "vnet1", + "id": "/subscriptions/subid/resourceGroups/vnetTest/providers/Microsoft.Network/virtualNetworks/vnet1", + "type": "Microsoft.Network/virtualNetworks", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded", + "addressSpace": { + "addressPrefixes": [ "10.0.0.0/16" ] }, @@ -74,20 +74,20 @@ } } ], - "virtualNetworkPeerings" : [] + "virtualNetworkPeerings": [] } } }, - "201" : { - "body" : { - "name" : "vnet1", - "id" : "/subscriptions/subid/resourceGroups/vnetTest/providers/Microsoft.Network/virtualNetworks/vnet1", - "type" : "Microsoft.Network/virtualNetworks", - "location" : "eastus", - "properties" : { - "provisioningState" : "Succeeded", - "addressSpace" : { - "addressPrefixes" : [ + "201": { + "body": { + "name": "vnet1", + "id": "/subscriptions/subid/resourceGroups/vnetTest/providers/Microsoft.Network/virtualNetworks/vnet1", + "type": "Microsoft.Network/virtualNetworks", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded", + "addressSpace": { + "addressPrefixes": [ "10.0.0.0/16" ] }, @@ -118,7 +118,7 @@ } } ], - "virtualNetworkPeerings" : [] + "virtualNetworkPeerings": [] } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkCreateServiceEndpoints.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkCreateServiceEndpoints.json index 75ac363cd07b..8c51e2a0cf21 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkCreateServiceEndpoints.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkCreateServiceEndpoints.json @@ -1,9 +1,9 @@ { - "parameters" : { + "parameters": { "api-version": "2019-02-01", - "subscriptionId" : "subid", - "resourceGroupName" : "vnetTest", - "virtualNetworkName" : "vnet1", + "subscriptionId": "subid", + "resourceGroupName": "vnetTest", + "virtualNetworkName": "vnet1", "parameters": { "properties": { "addressSpace": { @@ -28,17 +28,17 @@ "location": "eastus" } }, - "responses" : { - "200" : { - "body" : { - "name" : "vnet1", - "id" : "/subscriptions/subid/resourceGroups/vnetTest/providers/Microsoft.Network/virtualNetworks/vnet1", - "type" : "Microsoft.Network/virtualNetworks", - "location" : "eastus", - "properties" : { - "provisioningState" : "Succeeded", - "addressSpace" : { - "addressPrefixes" : [ + "responses": { + "200": { + "body": { + "name": "vnet1", + "id": "/subscriptions/subid/resourceGroups/vnetTest/providers/Microsoft.Network/virtualNetworks/vnet1", + "type": "Microsoft.Network/virtualNetworks", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded", + "addressSpace": { + "addressPrefixes": [ "10.0.0.0/16" ] }, @@ -64,20 +64,20 @@ } } ], - "virtualNetworkPeerings" : [] + "virtualNetworkPeerings": [] } } }, - "201" : { - "body" : { - "name" : "vnet1", - "id" : "/subscriptions/subid/resourceGroups/vnetTest/providers/Microsoft.Network/virtualNetworks/vnet1", - "type" : "Microsoft.Network/virtualNetworks", - "location" : "eastus", - "properties" : { - "provisioningState" : "Succeeded", - "addressSpace" : { - "addressPrefixes" : [ + "201": { + "body": { + "name": "vnet1", + "id": "/subscriptions/subid/resourceGroups/vnetTest/providers/Microsoft.Network/virtualNetworks/vnet1", + "type": "Microsoft.Network/virtualNetworks", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded", + "addressSpace": { + "addressPrefixes": [ "10.0.0.0/16" ] }, @@ -103,7 +103,7 @@ } } ], - "virtualNetworkPeerings" : [] + "virtualNetworkPeerings": [] } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkCreateSubnet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkCreateSubnet.json index 72db176ab81b..438908a2580b 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkCreateSubnet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkCreateSubnet.json @@ -1,9 +1,9 @@ { - "parameters" : { + "parameters": { "api-version": "2019-02-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", - "virtualNetworkName" : "test-vnet", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "virtualNetworkName": "test-vnet", "parameters": { "properties": { "addressSpace": { @@ -23,17 +23,17 @@ "location": "eastus" } }, - "responses" : { - "200" : { - "body" : { - "name" : "test-vnet", - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet", - "type" : "Microsoft.Network/virtualNetworks", - "location" : "eastus", - "properties" : { - "provisioningState" : "Succeeded", - "addressSpace" : { - "addressPrefixes" : [ + "responses": { + "200": { + "body": { + "name": "test-vnet", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet", + "type": "Microsoft.Network/virtualNetworks", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded", + "addressSpace": { + "addressPrefixes": [ "10.0.0.0/16" ] }, @@ -47,20 +47,20 @@ } } ], - "virtualNetworkPeerings" : [] + "virtualNetworkPeerings": [] } } }, - "201" : { - "body" : { - "name" : "test-vnet", - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet", - "type" : "Microsoft.Network/virtualNetworks", - "location" : "eastus", - "properties" : { - "provisioningState" : "Succeeded", - "addressSpace" : { - "addressPrefixes" : [ + "201": { + "body": { + "name": "test-vnet", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet", + "type": "Microsoft.Network/virtualNetworks", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded", + "addressSpace": { + "addressPrefixes": [ "10.0.0.0/16" ] }, @@ -74,7 +74,7 @@ } } ], - "virtualNetworkPeerings" : [] + "virtualNetworkPeerings": [] } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkCreateSubnetWithAddressPrefixes.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkCreateSubnetWithAddressPrefixes.json index f7c9a56807ef..41abc0a00a85 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkCreateSubnetWithAddressPrefixes.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkCreateSubnetWithAddressPrefixes.json @@ -1,9 +1,9 @@ { - "parameters" : { + "parameters": { "api-version": "2019-02-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", - "virtualNetworkName" : "test-vnet", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "virtualNetworkName": "test-vnet", "parameters": { "properties": { "addressSpace": { @@ -26,17 +26,17 @@ "location": "eastus" } }, - "responses" : { - "200" : { - "body" : { - "name" : "test-vnet", - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet", - "type" : "Microsoft.Network/virtualNetworks", - "location" : "eastus", - "properties" : { - "provisioningState" : "Succeeded", - "addressSpace" : { - "addressPrefixes" : [ + "responses": { + "200": { + "body": { + "name": "test-vnet", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet", + "type": "Microsoft.Network/virtualNetworks", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded", + "addressSpace": { + "addressPrefixes": [ "10.0.0.0/16" ] }, @@ -53,20 +53,20 @@ } } ], - "virtualNetworkPeerings" : [] + "virtualNetworkPeerings": [] } } }, - "201" : { - "body" : { - "name" : "test-vnet", - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet", - "type" : "Microsoft.Network/virtualNetworks", - "location" : "eastus", - "properties" : { - "provisioningState" : "Succeeded", - "addressSpace" : { - "addressPrefixes" : [ + "201": { + "body": { + "name": "test-vnet", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet", + "type": "Microsoft.Network/virtualNetworks", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded", + "addressSpace": { + "addressPrefixes": [ "10.0.0.0/16" ] }, @@ -83,7 +83,7 @@ } } ], - "virtualNetworkPeerings" : [] + "virtualNetworkPeerings": [] } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkCreateSubnetWithDelegation.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkCreateSubnetWithDelegation.json index 368184418a7f..d8d883f2f4b3 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkCreateSubnetWithDelegation.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkCreateSubnetWithDelegation.json @@ -1,9 +1,9 @@ { - "parameters" : { + "parameters": { "api-version": "2019-02-01", - "subscriptionId" : "subId", - "resourceGroupName" : "rg1", - "virtualNetworkName" : "test-vnet", + "subscriptionId": "subId", + "resourceGroupName": "rg1", + "virtualNetworkName": "test-vnet", "parameters": { "properties": { "addressSpace": { @@ -31,17 +31,17 @@ "location": "eastus" } }, - "responses" : { - "200" : { - "body" : { - "name" : "test-vnet", - "id" : "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet", - "type" : "Microsoft.Network/virtualNetworks", - "location" : "eastus", - "properties" : { - "provisioningState" : "Succeeded", - "addressSpace" : { - "addressPrefixes" : [ + "responses": { + "200": { + "body": { + "name": "test-vnet", + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet", + "type": "Microsoft.Network/virtualNetworks", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded", + "addressSpace": { + "addressPrefixes": [ "10.0.0.0/16" ] }, @@ -67,20 +67,20 @@ } } ], - "virtualNetworkPeerings" : [] + "virtualNetworkPeerings": [] } } }, - "201" : { - "body" : { - "name" : "test-vnet", - "id" : "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet", - "type" : "Microsoft.Network/virtualNetworks", - "location" : "eastus", - "properties" : { - "provisioningState" : "Succeeded", - "addressSpace" : { - "addressPrefixes" : [ + "201": { + "body": { + "name": "test-vnet", + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet", + "type": "Microsoft.Network/virtualNetworks", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded", + "addressSpace": { + "addressPrefixes": [ "10.0.0.0/16" ] }, @@ -106,7 +106,7 @@ } } ], - "virtualNetworkPeerings" : [] + "virtualNetworkPeerings": [] } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkDelete.json index 1aac77d48f00..5fc44a74a2b5 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkDelete.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkDelete.json @@ -1,13 +1,13 @@ { - "parameters" : { + "parameters": { "api-version": "2019-02-01", - "subscriptionId" : "subid", + "subscriptionId": "subid", "resourceGroupName": "rg1", "virtualNetworkName": "test-vnet" }, - "responses" : { - "200" : { }, - "202" : { }, - "204" : { } + "responses": { + "200": {}, + "202": {}, + "204": {} } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkGatewayConnectionCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkGatewayConnectionCreate.json index 83b9b59d8841..e2fddf2c0ced 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkGatewayConnectionCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkGatewayConnectionCreate.json @@ -1,136 +1,136 @@ { + "parameters": { + "api-version": "2019-02-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "virtualNetworkGatewayConnectionName": "connS2S", "parameters": { - "api-version": "2019-02-01", - "subscriptionId": "subid", - "resourceGroupName": "rg1", - "virtualNetworkGatewayConnectionName" : "connS2S", - "parameters": { - "properties": { - "virtualNetworkGateway1": { - "properties": { - "ipConfigurations": [ - { - "properties": { - "privateIPAllocationMethod": "Dynamic", - "subnet": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/GatewaySubnet" - }, - "publicIPAddress": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/gwpip" - } - }, - "name": "gwipconfig1", - "etag": "W/\"00000000-0000-0000-0000-000000000000\"", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/ipConfigurations/gwipconfig1" - } - ], - "gatewayType": "Vpn", - "vpnType": "RouteBased", - "enableBgp": false, - "activeActive": false, - "sku": { - "name": "VpnGw1", - "tier": "VpnGw1", - "capacity": 2 - }, - "bgpSettings": { - "asn": 65514, - "bgpPeeringAddress": "10.0.1.30", - "peerWeight": 0 - }, - "resourceGuid": "00000000-0000-0000-0000-000000000000" - }, - "etag": "W/\"00000000-0000-0000-0000-000000000000\"", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw", - "location": "centralus", - "tags": {} - }, - "localNetworkGateway2": { - "properties": { - "localNetworkAddressSpace": { - "addressPrefixes": [ - "10.1.0.0/16" - ] - }, - "gatewayIpAddress": "x.x.x.x", - "resourceGuid": "00000000-0000-0000-0000-000000000000" - }, - "etag": "W/\"00000000-0000-0000-0000-000000000000\"", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/localgw", - "location": "centralus", - "tags": {} + "properties": { + "virtualNetworkGateway1": { + "properties": { + "ipConfigurations": [ + { + "properties": { + "privateIPAllocationMethod": "Dynamic", + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/GatewaySubnet" + }, + "publicIPAddress": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/gwpip" + } }, - "connectionType": "IPsec", - "connectionProtocol": "IKEv2", - "routingWeight": 0, - "sharedKey": "Abc123", - "enableBgp": false, - "usePolicyBasedTrafficSelectors": false, - "ipsecPolicies": [] + "name": "gwipconfig1", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/ipConfigurations/gwipconfig1" + } + ], + "gatewayType": "Vpn", + "vpnType": "RouteBased", + "enableBgp": false, + "activeActive": false, + "sku": { + "name": "VpnGw1", + "tier": "VpnGw1", + "capacity": 2 + }, + "bgpSettings": { + "asn": 65514, + "bgpPeeringAddress": "10.0.1.30", + "peerWeight": 0 }, - "location": "centralus" + "resourceGuid": "00000000-0000-0000-0000-000000000000" + }, + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw", + "location": "centralus", + "tags": {} + }, + "localNetworkGateway2": { + "properties": { + "localNetworkAddressSpace": { + "addressPrefixes": [ + "10.1.0.0/16" + ] + }, + "gatewayIpAddress": "x.x.x.x", + "resourceGuid": "00000000-0000-0000-0000-000000000000" + }, + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/localgw", + "location": "centralus", + "tags": {} + }, + "connectionType": "IPsec", + "connectionProtocol": "IKEv2", + "routingWeight": 0, + "sharedKey": "Abc123", + "enableBgp": false, + "usePolicyBasedTrafficSelectors": false, + "ipsecPolicies": [] + }, + "location": "centralus" + } + }, + "responses": { + "201": { + "body": { + "name": "connS2S", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/connections/connS2S", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "type": "Microsoft.Network/connections", + "location": "centralus", + "properties": { + "provisioningState": "Updating", + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "virtualNetworkGateway1": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw", + "properties": {} + }, + "localNetworkGateway2": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/localgw", + "properties": {} + }, + "connectionType": "IPsec", + "connectionProtocol": "IKEv2", + "routingWeight": 0, + "sharedKey": "Abc123", + "enableBgp": false, + "usePolicyBasedTrafficSelectors": false, + "ipsecPolicies": [], + "ingressBytesTransferred": 0, + "egressBytesTransferred": 0 } + } }, - "responses" : { - "201" : { - "body" : { - "name": "connS2S", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/connections/connS2S", - "etag": "W/\"00000000-0000-0000-0000-000000000000\"", - "type": "Microsoft.Network/connections", - "location": "centralus", - "properties": { - "provisioningState": "Updating", - "resourceGuid": "00000000-0000-0000-0000-000000000000", - "virtualNetworkGateway1": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw", - "properties": {} - }, - "localNetworkGateway2": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/localgw", - "properties": {} - }, - "connectionType": "IPsec", - "connectionProtocol": "IKEv2", - "routingWeight": 0, - "sharedKey": "Abc123", - "enableBgp": false, - "usePolicyBasedTrafficSelectors": false, - "ipsecPolicies": [], - "ingressBytesTransferred": 0, - "egressBytesTransferred": 0 - } - } - }, - "200" : { - "body" : { - "name": "connS2S", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/connections/connS2S", - "etag": "W/\"00000000-0000-0000-0000-000000000000\"", - "type": "Microsoft.Network/connections", - "location": "centralus", - "properties": { - "provisioningState": "Updating", - "resourceGuid": "00000000-0000-0000-0000-000000000000", - "virtualNetworkGateway1": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw", - "properties": {} - }, - "localNetworkGateway2": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/localgw", - "properties": {} - }, - "connectionType": "IPsec", - "connectionProtocol": "IKEv2", - "routingWeight": 0, - "sharedKey": "Abc123", - "enableBgp": false, - "usePolicyBasedTrafficSelectors": false, - "ipsecPolicies": [], - "ingressBytesTransferred": 0, - "egressBytesTransferred": 0 - } - } + "200": { + "body": { + "name": "connS2S", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/connections/connS2S", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "type": "Microsoft.Network/connections", + "location": "centralus", + "properties": { + "provisioningState": "Updating", + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "virtualNetworkGateway1": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw", + "properties": {} + }, + "localNetworkGateway2": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/localgw", + "properties": {} + }, + "connectionType": "IPsec", + "connectionProtocol": "IKEv2", + "routingWeight": 0, + "sharedKey": "Abc123", + "enableBgp": false, + "usePolicyBasedTrafficSelectors": false, + "ipsecPolicies": [], + "ingressBytesTransferred": 0, + "egressBytesTransferred": 0 } + } } + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkGatewayConnectionDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkGatewayConnectionDelete.json index df77d0ec3821..3e77f31a72c5 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkGatewayConnectionDelete.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkGatewayConnectionDelete.json @@ -1,13 +1,13 @@ { - "parameters": { - "api-version": "2019-02-01", - "subscriptionId": "subid", - "resourceGroupName": "rg1", - "virtualNetworkGatewayConnectionName" : "conn1" - }, - "responses" : { - "202" : { }, - "200" : { }, - "204" : { } - } + "parameters": { + "api-version": "2019-02-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "virtualNetworkGatewayConnectionName": "conn1" + }, + "responses": { + "202": {}, + "200": {}, + "204": {} + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkGatewayConnectionGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkGatewayConnectionGet.json index cc0d8bf105d6..91dce70d6fda 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkGatewayConnectionGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkGatewayConnectionGet.json @@ -1,41 +1,41 @@ { - "parameters": { - "api-version": "2019-02-01", - "subscriptionId": "subid", - "resourceGroupName": "rg1", - "virtualNetworkGatewayConnectionName" : "connS2S" - }, - "responses" : { - "200" : { - "body" : { - "name": "connS2S", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/connections/connS2S", - "etag": "W/\"00000000-0000-0000-0000-000000000000\"", - "type": "Microsoft.Network/connections", - "location": "centralus", - "properties": { - "provisioningState": "Succeeded", - "resourceGuid": "00000000-0000-0000-0000-000000000000", - "virtualNetworkGateway1": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw", - "properties": {} - }, - "localNetworkGateway2": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/localgw", - "properties": {} - }, - "connectionType": "IPsec", - "connectionProtocol": "IKEv2", - "routingWeight": 0, - "sharedKey": "Abc123", - "enableBgp": false, - "usePolicyBasedTrafficSelectors": false, - "ipsecPolicies": [], - "connectionStatus": "Connecting", - "ingressBytesTransferred": 0, - "egressBytesTransferred": 0 - } - } + "parameters": { + "api-version": "2019-02-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "virtualNetworkGatewayConnectionName": "connS2S" + }, + "responses": { + "200": { + "body": { + "name": "connS2S", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/connections/connS2S", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "type": "Microsoft.Network/connections", + "location": "centralus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "virtualNetworkGateway1": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw", + "properties": {} + }, + "localNetworkGateway2": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/localgw", + "properties": {} + }, + "connectionType": "IPsec", + "connectionProtocol": "IKEv2", + "routingWeight": 0, + "sharedKey": "Abc123", + "enableBgp": false, + "usePolicyBasedTrafficSelectors": false, + "ipsecPolicies": [], + "connectionStatus": "Connecting", + "ingressBytesTransferred": 0, + "egressBytesTransferred": 0 } + } } + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkGatewayConnectionGetSharedKey.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkGatewayConnectionGetSharedKey.json index 648c6422951a..0ba2b38e5d68 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkGatewayConnectionGetSharedKey.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkGatewayConnectionGetSharedKey.json @@ -1,15 +1,15 @@ { - "parameters": { - "api-version": "2019-02-01", - "subscriptionId": "subid", - "resourceGroupName": "rg1", - "virtualNetworkGatewayConnectionName" : "connS2S" - }, - "responses" : { - "200" : { - "body" : { - "value": "AzureAbc123" - } - } + "parameters": { + "api-version": "2019-02-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "virtualNetworkGatewayConnectionName": "connS2S" + }, + "responses": { + "200": { + "body": { + "value": "AzureAbc123" + } } + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkGatewayConnectionResetSharedKey.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkGatewayConnectionResetSharedKey.json index ee1c279a56c6..7bd5d5103cab 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkGatewayConnectionResetSharedKey.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkGatewayConnectionResetSharedKey.json @@ -1,19 +1,19 @@ { + "parameters": { + "api-version": "2019-02-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "virtualNetworkGatewayConnectionName": "conn1", "parameters": { - "api-version": "2019-02-01", - "subscriptionId": "subid", - "resourceGroupName": "rg1", - "virtualNetworkGatewayConnectionName" : "conn1", - "parameters": { - "keyLength": 128 - } - }, - "responses" : { - "200" : { - "body" : { - "keyLength": 128 - } - }, - "202" : { } + "keyLength": 128 } + }, + "responses": { + "200": { + "body": { + "keyLength": 128 + } + }, + "202": {} + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkGatewayConnectionSetSharedKey.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkGatewayConnectionSetSharedKey.json index 8faa44bb1767..69ed1d45220e 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkGatewayConnectionSetSharedKey.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkGatewayConnectionSetSharedKey.json @@ -1,23 +1,23 @@ { + "parameters": { + "api-version": "2019-02-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "virtualNetworkGatewayConnectionName": "connS2S", "parameters": { - "api-version": "2019-02-01", - "subscriptionId": "subid", - "resourceGroupName": "rg1", - "virtualNetworkGatewayConnectionName" : "connS2S", - "parameters": { - "value": "AzureAbc123" - } + "value": "AzureAbc123" + } + }, + "responses": { + "200": { + "body": { + "value": "AzureAbc123" + } }, - "responses" : { - "200" : { - "body" : { - "value": "AzureAbc123" - } - }, - "201" : { - "body" : { - "value": "AzureAbc123" - } - } + "201": { + "body": { + "value": "AzureAbc123" + } } + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkGatewayConnectionUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkGatewayConnectionUpdateTags.json index d7f2e41519c6..fb685dbef365 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkGatewayConnectionUpdateTags.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkGatewayConnectionUpdateTags.json @@ -1,8 +1,8 @@ { - "parameters" : { + "parameters": { "api-version": "2019-02-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", + "subscriptionId": "subid", + "resourceGroupName": "rg1", "virtualNetworkGatewayConnectionName": "test", "parameters": { "tags": { @@ -11,9 +11,9 @@ } } }, - "responses" : { - "200" : { - "body" : { + "responses": { + "200": { + "body": { "name": "test", "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/connections/test", "type": "Microsoft.Network/connections", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkGatewayConnectionsList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkGatewayConnectionsList.json index 87b6feeb4575..052695e9fe78 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkGatewayConnectionsList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkGatewayConnectionsList.json @@ -1,69 +1,69 @@ { - "parameters": { - "api-version": "2019-02-01", - "subscriptionId": "subid", - "resourceGroupName": "rg1" - }, - "responses" : { - "200" : { - "body" : { - "value": [ - { - "name": "conn1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/connections/conn1", - "etag": "W/\"00000000-0000-0000-0000-000000000000\"", - "type": "Microsoft.Network/connections", - "location": "centralus", - "properties": { - "provisioningState": "Succeeded", - "resourceGuid": "00000000-0000-0000-0000-000000000000", - "virtualNetworkGateway1": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw1", - "properties": {} - }, - "localNetworkGateway2": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/localgw1", - "properties": {} - }, - "connectionType": "IPsec", - "connectionProtocol": "IKEv1", - "routingWeight": 0, - "enableBgp": false, - "usePolicyBasedTrafficSelectors": false, - "ipsecPolicies": [], - "ingressBytesTransferred": 0, - "egressBytesTransferred": 0 - } - }, - { - "name": "conn2", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/connections/conn2", - "etag": "W/\"00000000-0000-0000-0000-000000000000\"", - "type": "Microsoft.Network/connections", - "location": "eastus", - "properties": { - "provisioningState": "Succeeded", - "resourceGuid": "00000000-0000-0000-0000-000000000000", - "virtualNetworkGateway1": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw2", - "properties": {} - }, - "localNetworkGateway2": { - "properties": {}, - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/localgw2" - }, - "connectionType": "IPsec", - "connectionProtocol": "IKEv2", - "routingWeight": 0, - "enableBgp": false, - "usePolicyBasedTrafficSelectors": false, - "ipsecPolicies": [], - "ingressBytesTransferred": 0, - "egressBytesTransferred": 0 - } - } - ] - } - } + "parameters": { + "api-version": "2019-02-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "conn1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/connections/conn1", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "type": "Microsoft.Network/connections", + "location": "centralus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "virtualNetworkGateway1": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw1", + "properties": {} + }, + "localNetworkGateway2": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/localgw1", + "properties": {} + }, + "connectionType": "IPsec", + "connectionProtocol": "IKEv1", + "routingWeight": 0, + "enableBgp": false, + "usePolicyBasedTrafficSelectors": false, + "ipsecPolicies": [], + "ingressBytesTransferred": 0, + "egressBytesTransferred": 0 + } + }, + { + "name": "conn2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/connections/conn2", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "type": "Microsoft.Network/connections", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "virtualNetworkGateway1": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw2", + "properties": {} + }, + "localNetworkGateway2": { + "properties": {}, + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/localgw2" + }, + "connectionType": "IPsec", + "connectionProtocol": "IKEv2", + "routingWeight": 0, + "enableBgp": false, + "usePolicyBasedTrafficSelectors": false, + "ipsecPolicies": [], + "ingressBytesTransferred": 0, + "egressBytesTransferred": 0 + } + } + ] + } } + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkGatewayDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkGatewayDelete.json index 0854f5cc492e..3c52998ca752 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkGatewayDelete.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkGatewayDelete.json @@ -1,13 +1,13 @@ { - "parameters": { - "api-version": "2019-02-01", - "subscriptionId": "subid", - "resourceGroupName": "rg1", - "virtualNetworkGatewayName" : "vpngw" - }, - "responses" : { - "202" : { }, - "200" : { }, - "204" : { } - } + "parameters": { + "api-version": "2019-02-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "virtualNetworkGatewayName": "vpngw" + }, + "responses": { + "202": {}, + "200": {}, + "204": {} + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkGatewayGenerateVpnClientPackage.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkGatewayGenerateVpnClientPackage.json index 4a278350706a..73010c984fce 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkGatewayGenerateVpnClientPackage.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkGatewayGenerateVpnClientPackage.json @@ -1,16 +1,15 @@ { - "parameters": { - "api-version": "2019-02-01", - "subscriptionId": "subid", - "resourceGroupName": "rg1", - "virtualNetworkGatewayName" : "vpngw", - "parameters": { - } + "parameters": { + "api-version": "2019-02-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "virtualNetworkGatewayName": "vpngw", + "parameters": {} + }, + "responses": { + "200": { + "body": "" }, - "responses" : { - "200" : { - "body" : "" - }, - "202": {} - } + "202": {} + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkGatewayGenerateVpnProfile.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkGatewayGenerateVpnProfile.json index 73efb6c44bde..75f68c36428d 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkGatewayGenerateVpnProfile.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkGatewayGenerateVpnProfile.json @@ -1,16 +1,15 @@ { - "parameters": { - "api-version": "2019-02-01", - "subscriptionId": "subid", - "resourceGroupName": "rg1", - "virtualNetworkGatewayName" : "vpngw", - "parameters": {} - }, - "responses" : { - "202" : { - }, - "200" : { - "body" : "" - } + "parameters": { + "api-version": "2019-02-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "virtualNetworkGatewayName": "vpngw", + "parameters": {} + }, + "responses": { + "202": {}, + "200": { + "body": "" } + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkGatewayGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkGatewayGet.json index 0ff5dcad51b5..2aa166dc7f9b 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkGatewayGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkGatewayGet.json @@ -1,59 +1,59 @@ { - "parameters": { - "api-version": "2019-02-01", - "subscriptionId": "subid", - "resourceGroupName": "rg1", - "virtualNetworkGatewayName" : "vpngw" - }, - "responses" : { - "200" : { - "body" : { - "name": "vpngw", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw", - "etag": "W/\"00000000-0000-0000-0000-000000000000\"", - "type": "Microsoft.Network/virtualNetworkGateways", - "location": "centralus", - "properties": { - "provisioningState": "Succeeded", - "resourceGuid": "00000000-0000-0000-0000-000000000000", - "ipConfigurations": [ - { - "name": "gwipconfig1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/ipConfigurations/gwipconfig1", - "etag": "W/\"00000000-0000-0000-0000-000000000000\"", - "properties": { - "provisioningState": "Succeeded", - "privateIPAllocationMethod": "Dynamic", - "publicIPAddress": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/gwpip" - }, - "subnet": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/GatewaySubnet" - } - } - } - ], - "sku": { - "name": "VpnGw1", - "tier": "VpnGw1", - "capacity": 0 - }, - "gatewayType": "Vpn", - "vpnType": "RouteBased", - "enableBgp": false, - "activeActive": false, - "bgpSettings": { - "asn": 65514, - "bgpPeeringAddress": "10.0.1.30", - "peerWeight": 0 - }, - "customRoutes": { - "addressPrefixes": [ - "101.168.0.6/32" - ] - } + "parameters": { + "api-version": "2019-02-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "virtualNetworkGatewayName": "vpngw" + }, + "responses": { + "200": { + "body": { + "name": "vpngw", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "type": "Microsoft.Network/virtualNetworkGateways", + "location": "centralus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "ipConfigurations": [ + { + "name": "gwipconfig1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/ipConfigurations/gwipconfig1", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "properties": { + "provisioningState": "Succeeded", + "privateIPAllocationMethod": "Dynamic", + "publicIPAddress": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/gwpip" + }, + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/GatewaySubnet" } + } } + ], + "sku": { + "name": "VpnGw1", + "tier": "VpnGw1", + "capacity": 0 + }, + "gatewayType": "Vpn", + "vpnType": "RouteBased", + "enableBgp": false, + "activeActive": false, + "bgpSettings": { + "asn": 65514, + "bgpPeeringAddress": "10.0.1.30", + "peerWeight": 0 + }, + "customRoutes": { + "addressPrefixes": [ + "101.168.0.6/32" + ] + } } + } } + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkGatewayGetAdvertisedRoutes.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkGatewayGetAdvertisedRoutes.json index c75f5154b2c4..37a9729aa264 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkGatewayGetAdvertisedRoutes.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkGatewayGetAdvertisedRoutes.json @@ -1,17 +1,15 @@ { - "parameters": { - "api-version": "2019-02-01", - "subscriptionId": "subid", - "resourceGroupName": "rg1", - "virtualNetworkGatewayName" : "vpngw", - "peer": "test" - }, - "responses" : { - "202" : { }, - "200" : { - "body" : { - - } - } + "parameters": { + "api-version": "2019-02-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "virtualNetworkGatewayName": "vpngw", + "peer": "test" + }, + "responses": { + "202": {}, + "200": { + "body": {} } + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkGatewayGetBGPPeerStatus.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkGatewayGetBGPPeerStatus.json index aaaddf9e9d1b..2d61d8f947fa 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkGatewayGetBGPPeerStatus.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkGatewayGetBGPPeerStatus.json @@ -1,16 +1,14 @@ { - "parameters": { - "api-version": "2019-02-01", - "subscriptionId": "subid", - "resourceGroupName": "rg1", - "virtualNetworkGatewayName" : "vpngw" - }, - "responses" : { - "202" : { }, - "200" : { - "body" : { - - } - } + "parameters": { + "api-version": "2019-02-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "virtualNetworkGatewayName": "vpngw" + }, + "responses": { + "202": {}, + "200": { + "body": {} } + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkGatewayGetVpnClientIpsecParameters.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkGatewayGetVpnClientIpsecParameters.json index 1683b3bba04d..c8f224eed580 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkGatewayGetVpnClientIpsecParameters.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkGatewayGetVpnClientIpsecParameters.json @@ -1,20 +1,20 @@ { - "parameters": { - "api-version": "2019-02-01", - "subscriptionId": "subid", - "resourceGroupName": "rg1", - "virtualNetworkGatewayName" : "vpngw" - }, - "responses" : { - "200" : { - "saLifeTimeSeconds": 86473, - "saDataSizeKilobytes": 429497, - "ipsecEncryption": "AES256", - "ipsecIntegrity": "SHA256", - "ikeEncryption": "AES256", - "ikeIntegrity": "SHA384", - "dhGroup": "DHGroup2", - "pfsGroup": "PFS2" - } + "parameters": { + "api-version": "2019-02-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "virtualNetworkGatewayName": "vpngw" + }, + "responses": { + "200": { + "saLifeTimeSeconds": 86473, + "saDataSizeKilobytes": 429497, + "ipsecEncryption": "AES256", + "ipsecIntegrity": "SHA256", + "ikeEncryption": "AES256", + "ikeIntegrity": "SHA384", + "dhGroup": "DHGroup2", + "pfsGroup": "PFS2" } + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkGatewayGetVpnProfilePackageUrl.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkGatewayGetVpnProfilePackageUrl.json index b970490da777..baaba131fb5f 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkGatewayGetVpnProfilePackageUrl.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkGatewayGetVpnProfilePackageUrl.json @@ -1,14 +1,14 @@ { - "parameters": { - "api-version": "2019-02-01", - "subscriptionId": "subid", - "resourceGroupName": "rg1", - "virtualNetworkGatewayName" : "vpngw" - }, - "responses" : { - "202" : { }, - "200" : { - "body" : "" - } + "parameters": { + "api-version": "2019-02-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "virtualNetworkGatewayName": "vpngw" + }, + "responses": { + "202": {}, + "200": { + "body": "" } + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkGatewayLearnedRoutes.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkGatewayLearnedRoutes.json index 11d03c25f787..2d61d8f947fa 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkGatewayLearnedRoutes.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkGatewayLearnedRoutes.json @@ -1,16 +1,14 @@ { - "parameters": { - "api-version": "2019-02-01", - "subscriptionId": "subid", - "resourceGroupName": "rg1", - "virtualNetworkGatewayName" : "vpngw" - }, - "responses" : { - "202" : {}, - "200" : { - "body" : { - - } - } + "parameters": { + "api-version": "2019-02-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "virtualNetworkGatewayName": "vpngw" + }, + "responses": { + "202": {}, + "200": { + "body": {} } + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkGatewayList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkGatewayList.json index 47a08c7cb119..f11f0946e656 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkGatewayList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkGatewayList.json @@ -1,119 +1,119 @@ { - "parameters": { - "api-version": "2019-02-01", - "subscriptionId": "subid", - "resourceGroupName": "rg1" - }, - "responses" : { - "200" : { - "body" : { - "value": [ - { - "name": "vpngw1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw1", - "etag": "W/\"00000000-0000-0000-0000-000000000000\"", - "type": "Microsoft.Network/virtualNetworkGateways", - "location": "loc1", - "properties": { - "provisioningState": "Succeeded", - "resourceGuid": "00000000-0000-0000-0000-000000000000", - "ipConfigurations": [ - { - "name": "default", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw1/ipConfigurations/default", - "etag": "W/\"00000000-0000-0000-0000-000000000000\"", - "properties": { - "provisioningState": "Succeeded", - "privateIPAllocationMethod": "Dynamic", - "publicIPAddress": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/vpngw1-ip" - }, - "subnet": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/GatewaySubnet" - } - } - } - ], - "sku": { - "name": "VpnGw1", - "tier": "VpnGw1", - "capacity": 2 - }, - "gatewayType": "Vpn", - "vpnType": "RouteBased", - "enableBgp": false, - "activeActive": false, - "vpnClientConfiguration": { - "vpnClientProtocols": [], - "vpnClientRootCertificates": [], - "vpnClientRevokedCertificates": [] - }, - "bgpSettings": { - "asn": 65515, - "bgpPeeringAddress": "10.0.0.14", - "peerWeight": 0 - }, - "customRoutes": { - "addressPrefixes": [ - "101.168.0.6/32" - ] - } - } + "parameters": { + "api-version": "2019-02-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "vpngw1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw1", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "type": "Microsoft.Network/virtualNetworkGateways", + "location": "loc1", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "ipConfigurations": [ + { + "name": "default", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw1/ipConfigurations/default", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "properties": { + "provisioningState": "Succeeded", + "privateIPAllocationMethod": "Dynamic", + "publicIPAddress": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/vpngw1-ip" }, - { - "name": "vpngw2", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw2", - "etag": "W/\"00000000-0000-0000-0000-000000000000\"", - "type": "Microsoft.Network/virtualNetworkGateways", - "location": "loc2", - "properties": { - "provisioningState": "Succeeded", - "resourceGuid": "00000000-0000-0000-0000-000000000000", - "ipConfigurations": [ - { - "name": "default", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw2/ipConfigurations/default", - "etag": "W/\"00000000-0000-0000-0000-000000000000\"", - "properties": { - "provisioningState": "Succeeded", - "privateIPAllocationMethod": "Dynamic", - "publicIPAddress": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/vpngw2-ip" - }, - "subnet": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/GatewaySubnet" - } - } - } - ], - "sku": { - "name": "VpnGw1", - "tier": "VpnGw1", - "capacity": 2 - }, - "gatewayType": "Vpn", - "vpnType": "RouteBased", - "enableBgp": false, - "activeActive": false, - "vpnClientConfiguration": { - "vpnClientProtocols": [], - "vpnClientRootCertificates": [], - "vpnClientRevokedCertificates": [] - }, - "bgpSettings": { - "asn": 65515, - "bgpPeeringAddress": "10.1.0.46", - "peerWeight": 0 - }, - "customRoutes": { - "addressPrefixes": [ - "101.168.0.6/32" - ] - } - } + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/GatewaySubnet" } + } + } + ], + "sku": { + "name": "VpnGw1", + "tier": "VpnGw1", + "capacity": 2 + }, + "gatewayType": "Vpn", + "vpnType": "RouteBased", + "enableBgp": false, + "activeActive": false, + "vpnClientConfiguration": { + "vpnClientProtocols": [], + "vpnClientRootCertificates": [], + "vpnClientRevokedCertificates": [] + }, + "bgpSettings": { + "asn": 65515, + "bgpPeeringAddress": "10.0.0.14", + "peerWeight": 0 + }, + "customRoutes": { + "addressPrefixes": [ + "101.168.0.6/32" ] + } } - } + }, + { + "name": "vpngw2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw2", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "type": "Microsoft.Network/virtualNetworkGateways", + "location": "loc2", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "ipConfigurations": [ + { + "name": "default", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw2/ipConfigurations/default", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "properties": { + "provisioningState": "Succeeded", + "privateIPAllocationMethod": "Dynamic", + "publicIPAddress": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/vpngw2-ip" + }, + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/GatewaySubnet" + } + } + } + ], + "sku": { + "name": "VpnGw1", + "tier": "VpnGw1", + "capacity": 2 + }, + "gatewayType": "Vpn", + "vpnType": "RouteBased", + "enableBgp": false, + "activeActive": false, + "vpnClientConfiguration": { + "vpnClientProtocols": [], + "vpnClientRootCertificates": [], + "vpnClientRevokedCertificates": [] + }, + "bgpSettings": { + "asn": 65515, + "bgpPeeringAddress": "10.1.0.46", + "peerWeight": 0 + }, + "customRoutes": { + "addressPrefixes": [ + "101.168.0.6/32" + ] + } + } + } + ] + } } + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkGatewayReset.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkGatewayReset.json index 994d5e754674..fda647292ea3 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkGatewayReset.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkGatewayReset.json @@ -1,60 +1,60 @@ { - "parameters": { - "api-version": "2019-02-01", - "subscriptionId": "subid", - "resourceGroupName": "rg1", - "virtualNetworkGatewayName" : "vpngw" - }, - "responses" : { - "202" : { }, - "200" : { - "body" : { - "name": "vpngw", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw", - "etag": "W/\"00000000-0000-0000-0000-000000000000\"", - "type": "Microsoft.Network/virtualNetworkGateways", - "location": "centralus", - "properties": { - "provisioningState": "Succeeded", - "resourceGuid": "00000000-0000-0000-0000-000000000000", - "ipConfigurations": [ - { - "name": "gwipconfig1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/ipConfigurations/gwipconfig1", - "etag": "W/\"00000000-0000-0000-0000-000000000000\"", - "properties": { - "provisioningState": "Succeeded", - "privateIPAllocationMethod": "Dynamic", - "publicIPAddress": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/gwpip" - }, - "subnet": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/GatewaySubnet" - } - } - } - ], - "sku": { - "name": "VpnGw1", - "tier": "VpnGw1", - "capacity": 0 - }, - "gatewayType": "Vpn", - "vpnType": "RouteBased", - "enableBgp": false, - "activeActive": false, - "bgpSettings": { - "asn": 65514, - "bgpPeeringAddress": "10.0.1.30", - "peerWeight": 0 - }, - "customRoutes": { - "addressPrefixes": [ - "101.168.0.6/32" - ] - } + "parameters": { + "api-version": "2019-02-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "virtualNetworkGatewayName": "vpngw" + }, + "responses": { + "202": {}, + "200": { + "body": { + "name": "vpngw", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "type": "Microsoft.Network/virtualNetworkGateways", + "location": "centralus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "ipConfigurations": [ + { + "name": "gwipconfig1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/ipConfigurations/gwipconfig1", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "properties": { + "provisioningState": "Succeeded", + "privateIPAllocationMethod": "Dynamic", + "publicIPAddress": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/gwpip" + }, + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/GatewaySubnet" } + } } + ], + "sku": { + "name": "VpnGw1", + "tier": "VpnGw1", + "capacity": 0 + }, + "gatewayType": "Vpn", + "vpnType": "RouteBased", + "enableBgp": false, + "activeActive": false, + "bgpSettings": { + "asn": 65514, + "bgpPeeringAddress": "10.0.1.30", + "peerWeight": 0 + }, + "customRoutes": { + "addressPrefixes": [ + "101.168.0.6/32" + ] + } } + } } + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkGatewayResetVpnClientSharedKey.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkGatewayResetVpnClientSharedKey.json index c18ee722ccb7..a66e026b5702 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkGatewayResetVpnClientSharedKey.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkGatewayResetVpnClientSharedKey.json @@ -1,12 +1,12 @@ { - "parameters": { - "api-version": "2019-02-01", - "subscriptionId": "subid", - "resourceGroupName": "rg1", - "virtualNetworkGatewayName" : "vpngw" - }, - "responses" : { - "202" : { }, - "200" : { } - } -} \ No newline at end of file + "parameters": { + "api-version": "2019-02-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "virtualNetworkGatewayName": "vpngw" + }, + "responses": { + "202": {}, + "200": {} + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkGatewaySetVpnClientIpsecParameters.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkGatewaySetVpnClientIpsecParameters.json index 2d72148f24f4..8afa019037d6 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkGatewaySetVpnClientIpsecParameters.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkGatewaySetVpnClientIpsecParameters.json @@ -1,25 +1,24 @@ { - "parameters": { - "api-version": "2019-02-01", - "subscriptionId": "subid", - "resourceGroupName": "rg1", - "virtualNetworkGatewayName" : "vpngw", - "vpnclientIpsecParams": { - "saLifeTimeSeconds": 86473, - "saDataSizeKilobytes": 429497, - "ipsecEncryption": "AES256", - "ipsecIntegrity": "SHA256", - "ikeEncryption": "AES256", - "ikeIntegrity": "SHA384", - "dhGroup": "DHGroup2", - "pfsGroup": "PFS2" - } - }, - "responses" : { - "202" : { - }, - "200" : { - "body" : "" - } + "parameters": { + "api-version": "2019-02-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "virtualNetworkGatewayName": "vpngw", + "vpnclientIpsecParams": { + "saLifeTimeSeconds": 86473, + "saDataSizeKilobytes": 429497, + "ipsecEncryption": "AES256", + "ipsecIntegrity": "SHA256", + "ikeEncryption": "AES256", + "ikeIntegrity": "SHA384", + "dhGroup": "DHGroup2", + "pfsGroup": "PFS2" } + }, + "responses": { + "202": {}, + "200": { + "body": "" + } + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkGatewaySupportedVpnDevice.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkGatewaySupportedVpnDevice.json index 907800865a78..d7fa115c3357 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkGatewaySupportedVpnDevice.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkGatewaySupportedVpnDevice.json @@ -1,13 +1,13 @@ { - "parameters": { - "api-version": "2019-02-01", - "subscriptionId": "subid", - "resourceGroupName": "rg1", - "virtualNetworkGatewayName" : "vpngw" - }, - "responses" : { - "200" : { - "body" : "" - } + "parameters": { + "api-version": "2019-02-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "virtualNetworkGatewayName": "vpngw" + }, + "responses": { + "200": { + "body": "" } + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkGatewayUpdate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkGatewayUpdate.json index 04de4cc5d65f..2ffb37afa159 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkGatewayUpdate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkGatewayUpdate.json @@ -1,161 +1,161 @@ { + "parameters": { + "api-version": "2019-02-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "virtualNetworkGatewayName": "vpngw", "parameters": { - "api-version": "2019-02-01", - "subscriptionId": "subid", - "resourceGroupName": "rg1", - "virtualNetworkGatewayName" : "vpngw", - "parameters": { + "properties": { + "ipConfigurations": [ + { "properties": { - "ipConfigurations": [ - { - "properties": { - "privateIPAllocationMethod": "Dynamic", - "subnet": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/GatewaySubnet" - }, - "publicIPAddress": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/gwpip" - } - }, - "name": "gwipconfig1" - } - ], - "gatewayType": "Vpn", - "vpnType": "RouteBased", - "enableBgp": false, - "activeActive": false, - "sku": { - "name": "VpnGw1", - "tier": "VpnGw1" - }, - "bgpSettings": { - "asn": 65515, - "bgpPeeringAddress": "10.0.1.30", - "peerWeight": 0 - }, - "customRoutes": { - "addressPrefixes": [ - "101.168.0.6/32" - ] - } + "privateIPAllocationMethod": "Dynamic", + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/GatewaySubnet" + }, + "publicIPAddress": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/gwpip" + } }, - "location": "centralus" + "name": "gwipconfig1" + } + ], + "gatewayType": "Vpn", + "vpnType": "RouteBased", + "enableBgp": false, + "activeActive": false, + "sku": { + "name": "VpnGw1", + "tier": "VpnGw1" + }, + "bgpSettings": { + "asn": 65515, + "bgpPeeringAddress": "10.0.1.30", + "peerWeight": 0 + }, + "customRoutes": { + "addressPrefixes": [ + "101.168.0.6/32" + ] } - }, - "responses" : { - "200" : { - "body" : { - "name": "vpngw", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw", - "etag": "W/\"00000000-0000-0000-0000-000000000000\"", - "type": "Microsoft.Network/virtualNetworkGateways", - "location": "centralus", - "properties": { - "provisioningState": "Succeeded", - "resourceGuid": "00000000-0000-0000-0000-000000000000", - "ipConfigurations": [ - { - "name": "gwipconfig1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/ipConfigurations/gwipconfig1", - "etag": "W/\"00000000-0000-0000-0000-000000000000\"", - "properties": { - "provisioningState": "Succeeded", - "privateIPAllocationMethod": "Dynamic", - "publicIPAddress": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/gwpip" - }, - "subnet": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/GatewaySubnet" - } - } - } - ], - "sku": { - "name": "VpnGw1", - "tier": "VpnGw1", - "capacity": 0 - }, - "gatewayType": "Vpn", - "vpnType": "RouteBased", - "enableBgp": false, - "activeActive": false, - "vpnClientConfiguration": { - "vpnClientProtocols": [ - "SSTP", - "IkeV2" - ], - "vpnClientRootCertificates": [], - "vpnClientRevokedCertificates": [] - }, - "bgpSettings": { - "asn": 65515, - "bgpPeeringAddress": "10.0.1.30", - "peerWeight": 0 - }, - "customRoutes": { - "addressPrefixes": [ - "101.168.0.6/32" - ] - } + }, + "location": "centralus" + } + }, + "responses": { + "200": { + "body": { + "name": "vpngw", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "type": "Microsoft.Network/virtualNetworkGateways", + "location": "centralus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "ipConfigurations": [ + { + "name": "gwipconfig1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/ipConfigurations/gwipconfig1", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "properties": { + "provisioningState": "Succeeded", + "privateIPAllocationMethod": "Dynamic", + "publicIPAddress": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/gwpip" + }, + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/GatewaySubnet" } + } } - }, - "201" : { - "body" : { - "name": "vpngw", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw", - "etag": "W/\"00000000-0000-0000-0000-000000000000\"", - "type": "Microsoft.Network/virtualNetworkGateways", - "location": "centralus", - "properties": { - "provisioningState": "Succeeded", - "resourceGuid": "00000000-0000-0000-0000-000000000000", - "ipConfigurations": [ - { - "name": "gwipconfig1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/ipConfigurations/gwipconfig1", - "etag": "W/\"00000000-0000-0000-0000-000000000000\"", - "properties": { - "provisioningState": "Succeeded", - "privateIPAllocationMethod": "Dynamic", - "publicIPAddress": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/gwpip" - }, - "subnet": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/GatewaySubnet" - } - } - } - ], - "sku": { - "name": "VpnGw1", - "tier": "VpnGw1", - "capacity": 0 - }, - "gatewayType": "Vpn", - "vpnType": "RouteBased", - "enableBgp": false, - "activeActive": false, - "vpnClientConfiguration": { - "vpnClientProtocols": [ - "SSTP", - "IkeV2" - ], - "vpnClientRootCertificates": [], - "vpnClientRevokedCertificates": [] - }, - "bgpSettings": { - "asn": 65515, - "bgpPeeringAddress": "10.0.1.30", - "peerWeight": 0 - }, - "customRoutes": { - "addressPrefixes": [ - "101.168.0.6/32" - ] - } + ], + "sku": { + "name": "VpnGw1", + "tier": "VpnGw1", + "capacity": 0 + }, + "gatewayType": "Vpn", + "vpnType": "RouteBased", + "enableBgp": false, + "activeActive": false, + "vpnClientConfiguration": { + "vpnClientProtocols": [ + "SSTP", + "IkeV2" + ], + "vpnClientRootCertificates": [], + "vpnClientRevokedCertificates": [] + }, + "bgpSettings": { + "asn": 65515, + "bgpPeeringAddress": "10.0.1.30", + "peerWeight": 0 + }, + "customRoutes": { + "addressPrefixes": [ + "101.168.0.6/32" + ] + } + } + } + }, + "201": { + "body": { + "name": "vpngw", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "type": "Microsoft.Network/virtualNetworkGateways", + "location": "centralus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "ipConfigurations": [ + { + "name": "gwipconfig1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/ipConfigurations/gwipconfig1", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "properties": { + "provisioningState": "Succeeded", + "privateIPAllocationMethod": "Dynamic", + "publicIPAddress": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/gwpip" + }, + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/GatewaySubnet" } + } } + ], + "sku": { + "name": "VpnGw1", + "tier": "VpnGw1", + "capacity": 0 + }, + "gatewayType": "Vpn", + "vpnType": "RouteBased", + "enableBgp": false, + "activeActive": false, + "vpnClientConfiguration": { + "vpnClientProtocols": [ + "SSTP", + "IkeV2" + ], + "vpnClientRootCertificates": [], + "vpnClientRevokedCertificates": [] + }, + "bgpSettings": { + "asn": 65515, + "bgpPeeringAddress": "10.0.1.30", + "peerWeight": 0 + }, + "customRoutes": { + "addressPrefixes": [ + "101.168.0.6/32" + ] + } } + } } + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkGatewayUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkGatewayUpdateTags.json index 932c26207516..8aa72d3d0115 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkGatewayUpdateTags.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkGatewayUpdateTags.json @@ -1,9 +1,9 @@ { - "parameters" : { + "parameters": { "api-version": "2019-02-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", - "virtualNetworkGatewayName" : "vpngw", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "virtualNetworkGatewayName": "vpngw", "parameters": { "tags": { "tag1": "value1", @@ -11,9 +11,9 @@ } } }, - "responses" : { - "200" : { - "body" : { + "responses": { + "200": { + "body": { "name": "vpngw", "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw", "type": "Microsoft.Network/virtualNetworkGateways", @@ -55,11 +55,11 @@ "bgpPeeringAddress": "10.0.0.254", "peerWeight": 0 }, - "customRoutes": { - "addressPrefixes": [ - "101.168.0.6/32" - ] - } + "customRoutes": { + "addressPrefixes": [ + "101.168.0.6/32" + ] + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkGatewayVpnDeviceConfigurationScript.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkGatewayVpnDeviceConfigurationScript.json index 77c65de44b22..5516e93b8ff0 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkGatewayVpnDeviceConfigurationScript.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkGatewayVpnDeviceConfigurationScript.json @@ -1,18 +1,18 @@ { + "parameters": { + "api-version": "2019-02-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "virtualNetworkGatewayConnectionName": "vpngw", "parameters": { - "api-version": "2019-02-01", - "subscriptionId": "subid", - "resourceGroupName": "rg1", - "virtualNetworkGatewayConnectionName" : "vpngw", - "parameters": { - "vendor": "Cisco", - "deviceFamily": "ISR", - "firmwareVersion": "IOS 15.1 (Preview)" - } - }, - "responses" : { - "200" : { - "body" : "! Microsoft Corporation\r\n! ---------------------------------------------------------------------------------------------------------------------\r\n! Sample VPN tunnel configuration template for IOS-based devices\r\n!\r\n! This configuration template applies to Cisco VPN devices running IOS 15.1 or beyond (ISR or ASR)\r\n!\r\n\r\n\r\n\t\t\r\n\r\n! ---------------------------------------------------------------------------------------------------------------------\r\n! ACL rules\r\n!\r\n! Some VPN devices require explicit ACL rules to allow cross-premises traffic:\r\n!\r\n! 1. Allow traffic between on premises address ranges and VNet address ranges\r\n! 2. Allow IKE traffic (UDP:500) between on premises VPN devices and Azure VPN gateway\r\n! 3. Allow IPsec traffic (Proto:ESP) between on premises VPN devices and Azure VPN gateway\r\n!\r\n\t\t\r\naccess-list 101 permit ip 10.1.0.0 0.0.255.255 10.0.0.0 0.0.255.255\r\n\r\n! ---------------------------------------------------------------------------------------------------------------------\r\n! Internet Key Exchange (IKE) configuration\r\n!\r\n! This section specifies the authentication, encryption, hashing, and Diffie-Hellman group parameters for IKE\r\n! main mode or phase 1\r\n!\r\n\r\ncrypto ikev2 proposal SwaggerS2S-proposal\r\n encryption DES3\r\n integrity SHA384\r\n group DHGroup24\r\n lifetime 3600\r\n exit\r\n\r\ncrypto ikev2 policy SwaggerS2S-policy\r\n proposal SwaggerS2S-proposal\r\n exit\r\n\r\ncrypto ikev2 keyring SwaggerBranch-keyring\r\n\t\t\r\n\t\tpeer 52.173.199.254\r\n\t\taddress 52.173.199.254\r\n\t\tpre-shared-key lALEHuppeopJmA94exRNiRr2QzuZ6lOsvzu5IlJUEA6LthbTc8g5MTT86MCsGNMzGkTAaLuLnEJoD1Cn4cIlr94qKZm9drsgllzWvsPNezS71stAkaW1Bb7h6GBnDlDP\r\n exit\r\n\r\ncrypto ikev2 profile SwaggerS2S-profile\r\n match address local 10.3.0.0\r\n\tmatch identity remote address 52.173.199.254 255.255.255.255\r\n\t\t\r\n authentication remote pre-share\r\n authentication local pre-share\r\n keyring SwaggerBranch-keyring\r\n exit\r\n\r\n! ---------------------------------------------------------------------------------------------------------------------\r\n! IPsec configuration\r\n!\r\n! This section specifies encryption, authentication, tunnel mode properties for the Phase 2 negotiation\r\n!\r\ncrypto ipsec transform-set SwaggerS2S-TransformSet DES3 DES3\r\n mode tunnel\r\n exit\r\n\r\n! ---------------------------------------------------------------------------------------------------------------------\r\n! Crypto map configuration\r\n!\r\n! This section defines a crypto profile that binds the cross-premises network traffic to the IPsec and IKE\r\n! policy profiles for this connection. Then defines the VTI (virtual tunnel interface) with the crypto\r\n! profile. A random interface number (tunnel 1) was used with a random link local address (169.254.0.1/28)\r\n! for the tunnel interface. If either selection is already used in the VPN device, please select another\r\n! interface number or address. The only requirement is that they must not overlap with another interface\r\n! on the same VPN device.\r\n!\r\ncrypto ipsec profile SwaggerS2S-IPsecProfile\r\n set transform-set SwaggerS2S-TransformSet\r\n set ikev2-profile SwaggerS2S-profile\r\n set pfs None\r\n set security-association lifetime 3600\r\n exit\r\n\r\n\r\nint tunnel 52.173.199.254\r\n ip address 169.254.0.1 255.255.255.252\r\n ip tcp adjust-mss 1350\r\n tunnel source 10.3.0.0\r\n tunnel mode ipsec ipv4\r\n tunnel destination 52.173.199.254\r\n tunnel protection ipsec profile SwaggerS2S-IPsecProfile\r\n exit\r\n\r\n\tip route 10.0.0.0 255.255.0.0 tunnel 52.173.199.254 " - } + "vendor": "Cisco", + "deviceFamily": "ISR", + "firmwareVersion": "IOS 15.1 (Preview)" } + }, + "responses": { + "200": { + "body": "! Microsoft Corporation\r\n! ---------------------------------------------------------------------------------------------------------------------\r\n! Sample VPN tunnel configuration template for IOS-based devices\r\n!\r\n! This configuration template applies to Cisco VPN devices running IOS 15.1 or beyond (ISR or ASR)\r\n!\r\n\r\n\r\n\t\t\r\n\r\n! ---------------------------------------------------------------------------------------------------------------------\r\n! ACL rules\r\n!\r\n! Some VPN devices require explicit ACL rules to allow cross-premises traffic:\r\n!\r\n! 1. Allow traffic between on premises address ranges and VNet address ranges\r\n! 2. Allow IKE traffic (UDP:500) between on premises VPN devices and Azure VPN gateway\r\n! 3. Allow IPsec traffic (Proto:ESP) between on premises VPN devices and Azure VPN gateway\r\n!\r\n\t\t\r\naccess-list 101 permit ip 10.1.0.0 0.0.255.255 10.0.0.0 0.0.255.255\r\n\r\n! ---------------------------------------------------------------------------------------------------------------------\r\n! Internet Key Exchange (IKE) configuration\r\n!\r\n! This section specifies the authentication, encryption, hashing, and Diffie-Hellman group parameters for IKE\r\n! main mode or phase 1\r\n!\r\n\r\ncrypto ikev2 proposal SwaggerS2S-proposal\r\n encryption DES3\r\n integrity SHA384\r\n group DHGroup24\r\n lifetime 3600\r\n exit\r\n\r\ncrypto ikev2 policy SwaggerS2S-policy\r\n proposal SwaggerS2S-proposal\r\n exit\r\n\r\ncrypto ikev2 keyring SwaggerBranch-keyring\r\n\t\t\r\n\t\tpeer 52.173.199.254\r\n\t\taddress 52.173.199.254\r\n\t\tpre-shared-key lALEHuppeopJmA94exRNiRr2QzuZ6lOsvzu5IlJUEA6LthbTc8g5MTT86MCsGNMzGkTAaLuLnEJoD1Cn4cIlr94qKZm9drsgllzWvsPNezS71stAkaW1Bb7h6GBnDlDP\r\n exit\r\n\r\ncrypto ikev2 profile SwaggerS2S-profile\r\n match address local 10.3.0.0\r\n\tmatch identity remote address 52.173.199.254 255.255.255.255\r\n\t\t\r\n authentication remote pre-share\r\n authentication local pre-share\r\n keyring SwaggerBranch-keyring\r\n exit\r\n\r\n! ---------------------------------------------------------------------------------------------------------------------\r\n! IPsec configuration\r\n!\r\n! This section specifies encryption, authentication, tunnel mode properties for the Phase 2 negotiation\r\n!\r\ncrypto ipsec transform-set SwaggerS2S-TransformSet DES3 DES3\r\n mode tunnel\r\n exit\r\n\r\n! ---------------------------------------------------------------------------------------------------------------------\r\n! Crypto map configuration\r\n!\r\n! This section defines a crypto profile that binds the cross-premises network traffic to the IPsec and IKE\r\n! policy profiles for this connection. Then defines the VTI (virtual tunnel interface) with the crypto\r\n! profile. A random interface number (tunnel 1) was used with a random link local address (169.254.0.1/28)\r\n! for the tunnel interface. If either selection is already used in the VPN device, please select another\r\n! interface number or address. The only requirement is that they must not overlap with another interface\r\n! on the same VPN device.\r\n!\r\ncrypto ipsec profile SwaggerS2S-IPsecProfile\r\n set transform-set SwaggerS2S-TransformSet\r\n set ikev2-profile SwaggerS2S-profile\r\n set pfs None\r\n set security-association lifetime 3600\r\n exit\r\n\r\n\r\nint tunnel 52.173.199.254\r\n ip address 169.254.0.1 255.255.255.252\r\n ip tcp adjust-mss 1350\r\n tunnel source 10.3.0.0\r\n tunnel mode ipsec ipv4\r\n tunnel destination 52.173.199.254\r\n tunnel protection ipsec profile SwaggerS2S-IPsecProfile\r\n exit\r\n\r\n\tip route 10.0.0.0 255.255.0.0 tunnel 52.173.199.254 " + } + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkGatewaysListConnections.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkGatewaysListConnections.json index b9115d1aece2..5ac11704b333 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkGatewaysListConnections.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkGatewaysListConnections.json @@ -9,7 +9,7 @@ "200": { "body": { "value": [ - { + { "name": "test-vpn-connection", "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/connections/test-vpn-connection", "etag": "W/\\\"00000000-0000-0000-0000-000000000000\\\"", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkGet.json index 6bae3c39f454..f1cd400c414c 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkGet.json @@ -1,38 +1,40 @@ { - "parameters" : { + "parameters": { "api-version": "2019-02-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", - "virtualNetworkName" : "test-vnet" + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "virtualNetworkName": "test-vnet" }, - "responses" : { - "200" : { - "body" : { - "name" : "test-vnet", - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet", - "type" : "Microsoft.Network/virtualNetworks", - "location" : "westus", - "properties" : { - "provisioningState" : "Succeeded", - "addressSpace" : { - "addressPrefixes" : [ + "responses": { + "200": { + "body": { + "name": "test-vnet", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet", + "type": "Microsoft.Network/virtualNetworks", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "addressSpace": { + "addressPrefixes": [ "10.0.0.0/16" ] }, - "subnets" : [{ - "name" : "subnet1", - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1", - "properties" : { - "provisioningState" : "Succeeded", - "addressPrefix" : "10.0.1.0/24", - "ipConfigurations" : [{ - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe" + "subnets": [ + { + "name": "subnet1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1", + "properties": { + "provisioningState": "Succeeded", + "addressPrefix": "10.0.1.0/24", + "ipConfigurations": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe" } ] } } ], - "virtualNetworkPeerings" : [] + "virtualNetworkPeerings": [] } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkGetWithServiceAssociationLink.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkGetWithServiceAssociationLink.json index 1f263ec2850d..89716a81209e 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkGetWithServiceAssociationLink.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkGetWithServiceAssociationLink.json @@ -22,43 +22,43 @@ "subnets": [ { "name": "subnet1", - "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1", - "etag": "W/\"4d3e91b4-f67f-48be-880b-e4a8abdd019e\"", - "properties": { - "provisioningState": "Succeeded", - "addressPrefix": "10.0.214.0/24", - "ipConfigurationProfiles": [ - { - "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0/ipConfigurations/ipconfigprofile1" - } - ], - "serviceAssociationLinks": [ - { - "name": "serviceAssociationLink1", - "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1/serviceAssociationLinks/serviceAssociationLink1", - "etag": "W/\"4d3e91b4-f67f-48be-880b-e4a8abdd019e\"", - "properties": { - "provisioningState": "Succeeded", - "linkedResourceType": "Microsoft.Provider/resourceType" - } - } - ], - "serviceEndpoints": [], - "delegations": [ - { - "name": "aciDelegation", - "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1/delegations/aciDelegation", - "etag": "W/\"4d3e91b4-f67f-48be-880b-e4a8abdd019e\"", - "properties": { - "provisioningState": "Succeeded", - "serviceName": "Microsoft.Provider/resourceType", - "actions": [ - "Microsoft.Network/virtualNetworks/subnets/action" - ] - } - } - ] - } + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1", + "etag": "W/\"4d3e91b4-f67f-48be-880b-e4a8abdd019e\"", + "properties": { + "provisioningState": "Succeeded", + "addressPrefix": "10.0.214.0/24", + "ipConfigurationProfiles": [ + { + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0/ipConfigurations/ipconfigprofile1" + } + ], + "serviceAssociationLinks": [ + { + "name": "serviceAssociationLink1", + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1/serviceAssociationLinks/serviceAssociationLink1", + "etag": "W/\"4d3e91b4-f67f-48be-880b-e4a8abdd019e\"", + "properties": { + "provisioningState": "Succeeded", + "linkedResourceType": "Microsoft.Provider/resourceType" + } + } + ], + "serviceEndpoints": [], + "delegations": [ + { + "name": "aciDelegation", + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1/delegations/aciDelegation", + "etag": "W/\"4d3e91b4-f67f-48be-880b-e4a8abdd019e\"", + "properties": { + "provisioningState": "Succeeded", + "serviceName": "Microsoft.Provider/resourceType", + "actions": [ + "Microsoft.Network/virtualNetworks/subnets/action" + ] + } + } + ] + } } ], "virtualNetworkPeerings": [] @@ -66,4 +66,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkGetWithSubnetDelegation.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkGetWithSubnetDelegation.json index b97c14c221ae..99eb43e3f37c 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkGetWithSubnetDelegation.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkGetWithSubnetDelegation.json @@ -1,48 +1,54 @@ { - "parameters": { - "api-version": "2019-02-01", - "subscriptionId": "subId", - "resourceGroupName": "rg1", - "virtualNetworkName": "test-vnet" - }, - "responses": { - "200": { - "body": { - "name": "test-vnet", - "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet", - "type": "Microsoft.Network/virtualNetworks", - "location": "westus", - "properties": { - "provisioningState": "Succeeded", - "addressSpace": { - "addressPrefixes": [ - "10.0.0.0/16" - ] - }, - "subnets": [{ - "name": "subnet1", - "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1", - "properties": { - "provisioningState": "Succeeded", - "addressPrefix": "10.0.1.0/24", - "ipConfigurations": [{ - "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe" - }], - "delegations": [{ - "name": "myDelegation", - "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1/delegations/myDelegation", - "properties": { - "provisioningState": "Succeeded", - "serviceName": "Microsoft.Provider/resourceType", - "actions": [] - } - }], - "purpose": "" - } - }], - "virtualNetworkPeerings": [] - } - } - } - } -} \ No newline at end of file + "parameters": { + "api-version": "2019-02-01", + "subscriptionId": "subId", + "resourceGroupName": "rg1", + "virtualNetworkName": "test-vnet" + }, + "responses": { + "200": { + "body": { + "name": "test-vnet", + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet", + "type": "Microsoft.Network/virtualNetworks", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "addressSpace": { + "addressPrefixes": [ + "10.0.0.0/16" + ] + }, + "subnets": [ + { + "name": "subnet1", + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1", + "properties": { + "provisioningState": "Succeeded", + "addressPrefix": "10.0.1.0/24", + "ipConfigurations": [ + { + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe" + } + ], + "delegations": [ + { + "name": "myDelegation", + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1/delegations/myDelegation", + "properties": { + "provisioningState": "Succeeded", + "serviceName": "Microsoft.Provider/resourceType", + "actions": [] + } + } + ], + "purpose": "" + } + } + ], + "virtualNetworkPeerings": [] + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkList.json index 8ca6ef5e1b1d..08204bc0879f 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkList.json @@ -1,12 +1,12 @@ { - "parameters" : { + "parameters": { "api-version": "2019-02-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1" + "subscriptionId": "subid", + "resourceGroupName": "rg1" }, - "responses" : { - "200" : { - "body" : { + "responses": { + "200": { + "body": { "value": [ { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkListAll.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkListAll.json index d2efa3846ed9..aea738ae7432 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkListAll.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkListAll.json @@ -1,11 +1,11 @@ { - "parameters" : { + "parameters": { "api-version": "2019-02-01", - "subscriptionId" : "subid" + "subscriptionId": "subid" }, - "responses" : { - "200" : { - "body" : { + "responses": { + "200": { + "body": { "value": [ { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkPeeringDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkPeeringDelete.json index cd86128c3752..3d7d62635bea 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkPeeringDelete.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkPeeringDelete.json @@ -7,8 +7,8 @@ "subscriptionId": "subid" }, "responses": { - "200": { }, - "202": { }, - "204": { } + "200": {}, + "202": {}, + "204": {} } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkTapCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkTapCreate.json index f567dc92fbac..f9daa5a56875 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkTapCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkTapCreate.json @@ -1,61 +1,61 @@ { - "parameters" : { + "parameters": { "api-version": "2019-02-01", - "subscriptionId" : "subid", + "subscriptionId": "subid", "resourceGroupName": "rg1", "tapName": "test-vtap", "parameters": { "properties": { "destinationNetworkInterfaceIPConfiguration": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface/ipConfigurations/ipconfig1" + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface/ipConfigurations/ipconfig1" } }, "location": "centraluseuap" } }, - "responses" : { - "200" : { - "body" : { + "responses": { + "200": { + "body": { "name": "testvtap", "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkTaps/testvtap", "etag": "etag", "type": "Microsoft.Network/virtualNetworkTaps", "location": "centraluseuap", "properties": { - "destinationNetworkInterfaceIPConfiguration": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface/ipConfigurations/testIPConfig1" - }, - "destinationPort": 4789, - "provisioningState": "Succeded", - "resourceGuid": "6A7C139D-8B8D-499B-B7CB-4F3F02A8A44F", - "networkInterfaceTapConfigurations": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface2/tapConfigurations/testtapConfiguration" - } - ] - } + "destinationNetworkInterfaceIPConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface/ipConfigurations/testIPConfig1" + }, + "destinationPort": 4789, + "provisioningState": "Succeded", + "resourceGuid": "6A7C139D-8B8D-499B-B7CB-4F3F02A8A44F", + "networkInterfaceTapConfigurations": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface2/tapConfigurations/testtapConfiguration" + } + ] + } } }, - "201" : { - "body" : { + "201": { + "body": { "name": "testvtap", "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkTaps/testvtap", "etag": "etag", "type": "Microsoft.Network/virtualNetworkTaps", "location": "centraluseuap", "properties": { - "destinationNetworkInterfaceIPConfiguration": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface/ipConfigurations/testIPConfig1" - }, - "destinationPort": 4789, - "provisioningState": "Succeded", - "resourceGuid": "6A7C139D-8B8D-499B-B7CB-4F3F02A8A44F", - "networkInterfaceTapConfigurations": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface2/tapConfigurations/testtapConfiguration" - } - ] - } + "destinationNetworkInterfaceIPConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface/ipConfigurations/testIPConfig1" + }, + "destinationPort": 4789, + "provisioningState": "Succeded", + "resourceGuid": "6A7C139D-8B8D-499B-B7CB-4F3F02A8A44F", + "networkInterfaceTapConfigurations": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface2/tapConfigurations/testtapConfiguration" + } + ] + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkTapDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkTapDelete.json index 167030529149..f97eadad5bc5 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkTapDelete.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkTapDelete.json @@ -1,13 +1,13 @@ { - "parameters" : { + "parameters": { "api-version": "2019-02-01", - "subscriptionId" : "subid", + "subscriptionId": "subid", "resourceGroupName": "rg1", "tapName": "test-vtap" }, - "responses" : { - "200" : { }, - "202" : { }, - "204" : { } + "responses": { + "200": {}, + "202": {}, + "204": {} } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkTapGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkTapGet.json index 8511d4186bca..b97371afcf6e 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkTapGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkTapGet.json @@ -1,31 +1,31 @@ { - "parameters" : { + "parameters": { "api-version": "2019-02-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", - "tapName" : "testvtap" + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "tapName": "testvtap" }, - "responses" : { - "200" : { - "body" : { + "responses": { + "200": { + "body": { "name": "testvtap", "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkTaps/testvtap", "etag": "etag", "type": "Microsoft.Network/virtualNetworkTaps", "location": "centraluseuap", "properties": { - "destinationNetworkInterfaceIPConfiguration": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface/ipConfigurations/testIPConfig1" - }, - "destinationPort": 4789, - "provisioningState": "Succeded", - "resourceGuid": "6A7C139D-8B8D-499B-B7CB-4F3F02A8A44F", - "networkInterfaceTapConfigurations": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface2/tapConfigurations/testtapConfiguration" - } - ] - } + "destinationNetworkInterfaceIPConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface/ipConfigurations/testIPConfig1" + }, + "destinationPort": 4789, + "provisioningState": "Succeded", + "resourceGuid": "6A7C139D-8B8D-499B-B7CB-4F3F02A8A44F", + "networkInterfaceTapConfigurations": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface2/tapConfigurations/testtapConfiguration" + } + ] + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkTapList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkTapList.json index 5cd6859f897d..2504217a9976 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkTapList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkTapList.json @@ -1,53 +1,53 @@ { - "parameters" : { + "parameters": { "api-version": "2019-02-01", - "subscriptionId" : "subid", + "subscriptionId": "subid", "resourceGroupName": "rg1" }, - "responses" : { - "200" : { - "body" : { + "responses": { + "200": { + "body": { "value": [ - { + { "name": "testvtap", "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkTaps/testvtap", "etag": "etag", "type": "Microsoft.Network/virtualNetworkTaps", "location": "centraluseuap", "properties": { - "destinationNetworkInterfaceIPConfiguration": { + "destinationNetworkInterfaceIPConfiguration": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface/ipConfigurations/testIPConfig1" - }, - "destinationPort": 4789, - "provisioningState": "Succeded", - "resourceGuid": "6A7C139D-8B8D-499B-B7CB-4F3F02A8A44F", - "networkInterfaceTapConfigurations": [ + }, + "destinationPort": 4789, + "provisioningState": "Succeded", + "resourceGuid": "6A7C139D-8B8D-499B-B7CB-4F3F02A8A44F", + "networkInterfaceTapConfigurations": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface2/tapConfigurations/testtapConfiguration" + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface2/tapConfigurations/testtapConfiguration" } - ] - } - }, - { + ] + } + }, + { "name": "testvtap2", "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkTaps/testvtap2", "etag": "etag", "type": "Microsoft.Network/virtualNetworkTaps", "location": "centraluseuap", "properties": { - "destinationNetworkInterfaceIPConfiguration": { + "destinationNetworkInterfaceIPConfiguration": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface/ipConfigurations/testIPConfig1" - }, - "destinationPort": 4789, - "provisioningState": "Succeded", - "resourceGuid": "6A7C139D-8B8D-499B-B7CB-4F3F02A8A44F", - "networkInterfaceTapConfigurations": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface3/tapConfigurations/testtapConfiguration" - } - ] - } - } + }, + "destinationPort": 4789, + "provisioningState": "Succeded", + "resourceGuid": "6A7C139D-8B8D-499B-B7CB-4F3F02A8A44F", + "networkInterfaceTapConfigurations": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface3/tapConfigurations/testtapConfiguration" + } + ] + } + } ] } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkTapListAll.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkTapListAll.json index 15f989eb33a9..6f6424643102 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkTapListAll.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkTapListAll.json @@ -1,52 +1,52 @@ { - "parameters" : { + "parameters": { "api-version": "2019-02-01", - "subscriptionId" : "subid" + "subscriptionId": "subid" }, - "responses" : { - "200" : { - "body" : { + "responses": { + "200": { + "body": { "value": [ - { + { "name": "testvtap", "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkTaps/testvtap", "etag": "etag", "type": "Microsoft.Network/virtualNetworkTaps", "location": "centraluseuap", "properties": { - "destinationNetworkInterfaceIPConfiguration": { + "destinationNetworkInterfaceIPConfiguration": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface/ipConfigurations/testIPConfig1" - }, - "destinationPort": 4789, - "provisioningState": "Succeded", - "resourceGuid": "6A7C139D-8B8D-499B-B7CB-4F3F02A8A44F", - "networkInterfaceTapConfigurations": [ + }, + "destinationPort": 4789, + "provisioningState": "Succeded", + "resourceGuid": "6A7C139D-8B8D-499B-B7CB-4F3F02A8A44F", + "networkInterfaceTapConfigurations": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface2/tapConfigurations/testtapConfiguration" + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface2/tapConfigurations/testtapConfiguration" } - ] - } - }, - { + ] + } + }, + { "name": "testvtap2", "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkTaps/testvtap2", "etag": "etag", "type": "Microsoft.Network/virtualNetworkTaps", "location": "centraluseuap", "properties": { - "destinationNetworkInterfaceIPConfiguration": { + "destinationNetworkInterfaceIPConfiguration": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface/ipConfigurations/testIPConfig1" - }, - "destinationPort": 4789, - "provisioningState": "Succeded", - "resourceGuid": "6A7C139D-8B8D-499B-B7CB-4F3F02A8A44F", - "networkInterfaceTapConfigurations": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface3/tapConfigurations/testtapConfiguration" - } - ] - } - } + }, + "destinationPort": 4789, + "provisioningState": "Succeded", + "resourceGuid": "6A7C139D-8B8D-499B-B7CB-4F3F02A8A44F", + "networkInterfaceTapConfigurations": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface3/tapConfigurations/testtapConfiguration" + } + ] + } + } ] } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkTapUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkTapUpdateTags.json index c75d69fe5bdc..612bc36483af 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkTapUpdateTags.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkTapUpdateTags.json @@ -1,7 +1,7 @@ { - "parameters" : { + "parameters": { "api-version": "2019-02-01", - "subscriptionId" : "subid", + "subscriptionId": "subid", "resourceGroupName": "rg1", "tapName": "test-vtap", "tapParameters": { @@ -11,29 +11,29 @@ } } }, - "responses" : { - "200" : { - "body" : { - "name" : "test-vtap", - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkTaps/test-vtap", - "location" : "eastus", + "responses": { + "200": { + "body": { + "name": "test-vtap", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkTaps/test-vtap", + "location": "eastus", "tags": { "tag1": "value1", "tag2": "value2" }, - "properties" : { - "destinationNetworkInterfaceIPConfiguration": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface/ipConfigurations/testIPConfig1" - }, - "destinationPort": 4789, - "provisioningState": "Succeded", - "networkInterfaceTapConfigurations": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface2/tapConfigurations/testtapConfiguration" - } - ] + "properties": { + "destinationNetworkInterfaceIPConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface/ipConfigurations/testIPConfig1" + }, + "destinationPort": 4789, + "provisioningState": "Succeded", + "networkInterfaceTapConfigurations": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface2/tapConfigurations/testtapConfiguration" + } + ] }, - "type" : "Microsoft.Network/virtualNetworkTaps" + "type": "Microsoft.Network/virtualNetworkTaps" } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkUpdateTags.json index be4a3ae22f8b..ab54c677b373 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkUpdateTags.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkUpdateTags.json @@ -1,9 +1,9 @@ { - "parameters" : { + "parameters": { "api-version": "2019-02-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", - "virtualNetworkName" : "test-vnet", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "virtualNetworkName": "test-vnet", "location": "westus", "parameters": { "tags": { @@ -12,26 +12,26 @@ } } }, - "responses" : { - "200" : { - "body" : { - "name" : "test-vnet", - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet", - "type" : "Microsoft.Network/virtualNetworks", - "location" : "westus", + "responses": { + "200": { + "body": { + "name": "test-vnet", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet", + "type": "Microsoft.Network/virtualNetworks", + "location": "westus", "tags": { "tag1": "value1", "tag2": "value2" }, - "properties" : { - "provisioningState" : "Succeeded", - "addressSpace" : { - "addressPrefixes" : [ + "properties": { + "provisioningState": "Succeeded", + "addressSpace": { + "addressPrefixes": [ "10.0.0.0/16" ] }, - "subnets" : [], - "virtualNetworkPeerings" : [] + "subnets": [], + "virtualNetworkPeerings": [] } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualWANDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualWANDelete.json index ab6637017851..5c9757587fbb 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualWANDelete.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualWANDelete.json @@ -1,13 +1,13 @@ { - "parameters": { - "VirtualWANName": "virtualWan1", - "resourceGroupName": "rg1", - "api-version": "2019-02-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { }, - "202": { }, - "204": { } - } + "parameters": { + "VirtualWANName": "virtualWan1", + "resourceGroupName": "rg1", + "api-version": "2019-02-01", + "subscriptionId": "subid" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualWANGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualWANGet.json index 49827ba1987b..3af90dce0e1c 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualWANGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualWANGet.json @@ -1,34 +1,34 @@ { - "parameters": { - "VirtualWANName": "wan1", - "resourceGroupName": "rg1", - "api-version": "2019-02-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWANs/wan1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "location": "West US", - "name": "wan1", - "type": "Microsoft.Network/virtualWANs", - "tags": { - "key1": "value1" - }, - "properties": { - "provisioningState": "Succeeded", - "disableVpnEncryption": false, - "virtualHubs": [ - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1", - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub2" - ], - "vpnSites": [ - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1", - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite2" - ] - } - } + "parameters": { + "VirtualWANName": "wan1", + "resourceGroupName": "rg1", + "api-version": "2019-02-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWANs/wan1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "name": "wan1", + "type": "Microsoft.Network/virtualWANs", + "tags": { + "key1": "value1" + }, + "properties": { + "provisioningState": "Succeeded", + "disableVpnEncryption": false, + "virtualHubs": [ + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1", + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub2" + ], + "vpnSites": [ + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1", + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite2" + ] } + } } + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualWANList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualWANList.json index 46dbf298ad9a..0a9c51193ef5 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualWANList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualWANList.json @@ -7,50 +7,50 @@ "200": { "body": { "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWANs/wan1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "location": "West US", - "name": "wan1", - "type": "Microsoft.Network/virtualWANs", - "tags": { - "key1": "value1" - }, - "properties": { - "provisioningState": "Succeeded", - "disableVpnEncryption": false, - "virtualHubs": [ - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1", - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub2" - ], - "vpnSites": [ - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1", - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite2" - ] - } + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWANs/wan1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "name": "wan1", + "type": "Microsoft.Network/virtualWANs", + "tags": { + "key1": "value1" }, - { - "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualWANs/wan2", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "location": "East US", - "name": "wan2", - "type": "Microsoft.Network/virtualWANs", - "tags": { - "key1": "value1" - }, - "properties": { - "provisioningState": "Succeeded", - "disableVpnEncryption": false, - "virtualHubs": [ - "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualHubs/hub1", - "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualHubs/hub2" - ], - "vpnSites": [ - "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/vpnSites/vpnSite1", - "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/vpnSites/vpnSite2" - ] - } + "properties": { + "provisioningState": "Succeeded", + "disableVpnEncryption": false, + "virtualHubs": [ + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1", + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub2" + ], + "vpnSites": [ + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1", + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite2" + ] } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualWANs/wan2", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "East US", + "name": "wan2", + "type": "Microsoft.Network/virtualWANs", + "tags": { + "key1": "value1" + }, + "properties": { + "provisioningState": "Succeeded", + "disableVpnEncryption": false, + "virtualHubs": [ + "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualHubs/hub1", + "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualHubs/hub2" + ], + "vpnSites": [ + "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/vpnSites/vpnSite1", + "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/vpnSites/vpnSite2" + ] + } + } ] } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualWANListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualWANListByResourceGroup.json index 3f9887544d49..8b6fb333e3de 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualWANListByResourceGroup.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualWANListByResourceGroup.json @@ -8,50 +8,50 @@ "200": { "body": { "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWANs/wan1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "location": "West US", - "name": "wan1", - "type": "Microsoft.Network/virtualWANs", - "tags": { - "key1": "value1" - }, - "properties": { - "provisioningState": "Succeeded", - "disableVpnEncryption": false, - "virtualHubs": [ - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1", - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub2" - ], - "vpnSites": [ - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1", - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite2" - ] - } + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWANs/wan1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "name": "wan1", + "type": "Microsoft.Network/virtualWANs", + "tags": { + "key1": "value1" }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWANs/wan2", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "location": "East US", - "name": "wan2", - "type": "Microsoft.Network/virtualWANs", - "tags": { - "key1": "value1" - }, - "properties": { - "provisioningState": "Succeeded", - "disableVpnEncryption": false, - "virtualHubs": [ - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub3", - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub4" - ], - "vpnSites": [ - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite3", - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite4" - ] - } + "properties": { + "provisioningState": "Succeeded", + "disableVpnEncryption": false, + "virtualHubs": [ + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1", + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub2" + ], + "vpnSites": [ + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1", + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite2" + ] } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWANs/wan2", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "East US", + "name": "wan2", + "type": "Microsoft.Network/virtualWANs", + "tags": { + "key1": "value1" + }, + "properties": { + "provisioningState": "Succeeded", + "disableVpnEncryption": false, + "virtualHubs": [ + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub3", + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub4" + ], + "vpnSites": [ + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite3", + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite4" + ] + } + } ] } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualWANPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualWANPut.json index ddbba1ae391a..5887cbf335c4 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualWANPut.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualWANPut.json @@ -1,67 +1,67 @@ { - "parameters": { - "VirtualWANName": "wan1", - "resourceGroupName": "rg1", - "api-version": "2019-02-01", - "subscriptionId": "subid", - "WANParameters": { - "location": "West US", - "tags": { - "key1": "value1" - }, - "properties": { - "disableVpnEncryption": false - } + "parameters": { + "VirtualWANName": "wan1", + "resourceGroupName": "rg1", + "api-version": "2019-02-01", + "subscriptionId": "subid", + "WANParameters": { + "location": "West US", + "tags": { + "key1": "value1" + }, + "properties": { + "disableVpnEncryption": false + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWANs/wan1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "name": "wan1", + "type": "Microsoft.Network/virtualWANs", + "tags": { + "key1": "value1" + }, + "properties": { + "provisioningState": "Succeeded", + "disableVpnEncryption": false, + "virtualHubs": [ + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1", + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub2" + ], + "vpnSites": [ + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1", + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite2" + ] } + } }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWANs/wan1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "location": "West US", - "name": "wan1", - "type": "Microsoft.Network/virtualWANs", - "tags": { - "key1": "value1" - }, - "properties": { - "provisioningState": "Succeeded", - "disableVpnEncryption": false, - "virtualHubs": [ - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1", - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub2" - ], - "vpnSites": [ - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1", - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite2" - ] - } - } + "201": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWANs/wan1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "name": "wan1", + "type": "Microsoft.Network/virtualWANs", + "tags": { + "key1": "value1" }, - "201": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWANs/wan1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "location": "West US", - "name": "wan1", - "type": "Microsoft.Network/virtualWANs", - "tags": { - "key1": "value1" - }, - "properties": { - "provisioningState": "Succeeded", - "disableVpnEncryption": false, - "virtualHubs": [ - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1", - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub2" - ], - "vpnSites": [ - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1", - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite2" - ] - } - } + "properties": { + "provisioningState": "Succeeded", + "disableVpnEncryption": false, + "virtualHubs": [ + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1", + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub2" + ], + "vpnSites": [ + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1", + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite2" + ] } + } } + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualWANUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualWANUpdateTags.json index 87a321c38ff5..403e7e98737c 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualWANUpdateTags.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualWANUpdateTags.json @@ -1,66 +1,66 @@ { - "parameters": { - "VirtualWANName": "wan1", - "resourceGroupName": "rg1", - "api-version": "2019-02-01", - "subscriptionId": "subid", - "WANParameters": { - "tags": { - "key1": "value1", - "key2": "value2" - } + "parameters": { + "VirtualWANName": "wan1", + "resourceGroupName": "rg1", + "api-version": "2019-02-01", + "subscriptionId": "subid", + "WANParameters": { + "tags": { + "key1": "value1", + "key2": "value2" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWANs/wan1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "name": "wan1", + "type": "Microsoft.Network/virtualWANs", + "tags": { + "key1": "value1", + "key2": "value2" + }, + "properties": { + "provisioningState": "Succeeded", + "disableVpnEncryption": false, + "virtualHubs": [ + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1", + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub2" + ], + "vpnSites": [ + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1", + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite2" + ] } + } }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWANs/wan1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "location": "West US", - "name": "wan1", - "type": "Microsoft.Network/virtualWANs", - "tags": { - "key1": "value1", - "key2": "value2" - }, - "properties": { - "provisioningState": "Succeeded", - "disableVpnEncryption": false, - "virtualHubs": [ - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1", - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub2" - ], - "vpnSites": [ - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1", - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite2" - ] - } - } + "201": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWANs/wan1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "name": "wan1", + "type": "Microsoft.Network/virtualWANs", + "tags": { + "key1": "value1", + "key2": "value2" }, - "201": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWANs/wan1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "location": "West US", - "name": "wan1", - "type": "Microsoft.Network/virtualWANs", - "tags": { - "key1": "value1", - "key2": "value2" - }, - "properties": { - "provisioningState": "Succeeded", - "disableVpnEncryption": false, - "virtualHubs": [ - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1", - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub2" - ], - "vpnSites": [ - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1", - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite2" - ] - } - } + "properties": { + "provisioningState": "Succeeded", + "disableVpnEncryption": false, + "virtualHubs": [ + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1", + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub2" + ], + "vpnSites": [ + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1", + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite2" + ] } + } } + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VmssNetworkInterfaceGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VmssNetworkInterfaceGet.json index de8b2d4a7ec5..bb1b21c63014 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VmssNetworkInterfaceGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VmssNetworkInterfaceGet.json @@ -1,62 +1,62 @@ { - "parameters" : { + "parameters": { "api-version": "2017-03-30", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", - "networkInterfaceName" : "nic1", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkInterfaceName": "nic1", "virtualMachineScaleSetName": "vmss1", "virtualmachineIndex": "1" }, - "responses" : { - "200" : { - "body" : { - "name" : "nic1", - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1", - "properties" : { - "provisioningState" : "Succeeded", - "ipConfigurations" : [ + "responses": { + "200": { + "body": { + "name": "nic1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1", + "properties": { + "provisioningState": "Succeeded", + "ipConfigurations": [ { - "name" : "ip1", - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1/ipConfigurations/ip1", - "properties" : { - "provisioningState" : "Succeeded", - "privateIPAddress" : "10.0.0.5", - "privateIPAllocationMethod" : "Dynamic", - "publicIPAddress" : { - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1/ipConfigurations/ip1/publicIPAddresses/pub1" + "name": "ip1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1/ipConfigurations/ip1", + "properties": { + "provisioningState": "Succeeded", + "privateIPAddress": "10.0.0.5", + "privateIPAllocationMethod": "Dynamic", + "publicIPAddress": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1/ipConfigurations/ip1/publicIPAddresses/pub1" }, - "subnet" : { - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1" + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1" }, - "primary" : true, - "privateIPAddressVersion" : "IPv4", - "loadBalancerBackendAddressPools" : [ + "primary": true, + "privateIPAddressVersion": "IPv4", + "loadBalancerBackendAddressPools": [ { - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/addressPool1" + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/addressPool1" } ], - "loadBalancerInboundNatRules" : [ + "loadBalancerInboundNatRules": [ { - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natPool1.1" + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natPool1.1" } ] } } ], - "dnsSettings" : { - "dnsServers" : [], - "appliedDnsServers" : [], - "internalDomainNameSuffix" : "dns.cdmx.internal.cloudapp.net" + "dnsSettings": { + "dnsServers": [], + "appliedDnsServers": [], + "internalDomainNameSuffix": "dns.cdmx.internal.cloudapp.net" }, - "macAddress" : "00-00-00-00-00-00", - "enableAcceleratedNetworking" : false, - "enableIPForwarding" : false, - "networkSecurityGroup" : { - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1" + "macAddress": "00-00-00-00-00-00", + "enableAcceleratedNetworking": false, + "enableIPForwarding": false, + "networkSecurityGroup": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1" }, - "primary" : true, - "virtualMachine" : { - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1" + "primary": true, + "virtualMachine": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1" } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VmssNetworkInterfaceIpConfigGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VmssNetworkInterfaceIpConfigGet.json index 445dae399b7d..3b0b460e3e5d 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VmssNetworkInterfaceIpConfigGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VmssNetworkInterfaceIpConfigGet.json @@ -1,16 +1,16 @@ { - "parameters" : { + "parameters": { "api-version": "2017-03-30", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", + "subscriptionId": "subid", + "resourceGroupName": "rg1", "virtualMachineScaleSetName": "vmss1", "virtualmachineIndex": "2", "networkInterfaceName": "nic1", "ipConfigurationName": "ip1" }, - "responses" : { - "200" : { - "body" : { + "responses": { + "200": { + "body": { "name": "ip1", "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/2/networkInterfaces/nic1/ipConfigurations/ip1", "properties": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VmssNetworkInterfaceIpConfigList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VmssNetworkInterfaceIpConfigList.json index 1758de1ee444..096c72dd6cd5 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VmssNetworkInterfaceIpConfigList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VmssNetworkInterfaceIpConfigList.json @@ -1,15 +1,15 @@ { - "parameters" : { + "parameters": { "api-version": "2017-03-30", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", + "subscriptionId": "subid", + "resourceGroupName": "rg1", "virtualMachineScaleSetName": "vmss1", "virtualmachineIndex": "2", "networkInterfaceName": "nic1" }, - "responses" : { - "200" : { - "body" : { + "responses": { + "200": { + "body": { "value": [ { "name": "ip1", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VmssNetworkInterfaceList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VmssNetworkInterfaceList.json index aa3be3aba845..a554ba43fc16 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VmssNetworkInterfaceList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VmssNetworkInterfaceList.json @@ -1,13 +1,13 @@ { - "parameters" : { + "parameters": { "api-version": "2017-03-30", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", + "subscriptionId": "subid", + "resourceGroupName": "rg1", "virtualMachineScaleSetName": "vmss1" }, - "responses" : { - "200" : { - "body" : { + "responses": { + "200": { + "body": { "value": [ { "name": "nic1", @@ -42,7 +42,7 @@ ] } } - ], + ], "dnsSettings": { "dnsServers": [], "appliedDnsServers": [], @@ -74,7 +74,7 @@ "privateIPAddress": "10.0.0.5", "privateIPAllocationMethod": "Dynamic", "publicIPAddress": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1/ipConfigurations/ip1/publicIPAddresses/pub1" + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1/ipConfigurations/ip1/publicIPAddresses/pub1" }, "subnet": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1" diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VmssVmNetworkInterfaceList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VmssVmNetworkInterfaceList.json index e44ecaa437fd..b351fa9dce32 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VmssVmNetworkInterfaceList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VmssVmNetworkInterfaceList.json @@ -1,14 +1,14 @@ { - "parameters" : { + "parameters": { "api-version": "2017-03-30", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", + "subscriptionId": "subid", + "resourceGroupName": "rg1", "virtualMachineScaleSetName": "vmss1", "virtualmachineIndex": "1" }, - "responses" : { - "200" : { - "body" : { + "responses": { + "200": { + "body": { "value": [ { "name": "nic1", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VpnConnectionDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VpnConnectionDelete.json index 87593ed468db..11748fd342b4 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VpnConnectionDelete.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VpnConnectionDelete.json @@ -1,14 +1,14 @@ { - "parameters": { - "connectionName": "vpnConnection1", - "gatewayName": "gateway1", - "resourceGroupName": "rg1", - "api-version": "2019-02-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { }, - "202": { }, - "204": { } - } + "parameters": { + "connectionName": "vpnConnection1", + "gatewayName": "gateway1", + "resourceGroupName": "rg1", + "api-version": "2019-02-01", + "subscriptionId": "subid" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VpnConnectionGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VpnConnectionGet.json index 5940dc3d4b5e..f023a5dc3419 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VpnConnectionGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VpnConnectionGet.json @@ -25,8 +25,8 @@ "connectionBandwidth": 100, "sharedKey": "key", "enableBgp": false, - "useLocalAzureIpAddress": false, - "ipsecPolicies": [ ] + "useLocalAzureIpAddress": false, + "ipsecPolicies": [] } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VpnConnectionList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VpnConnectionList.json index e7e684b424bc..ef771562bf5a 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VpnConnectionList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VpnConnectionList.json @@ -25,8 +25,8 @@ "connectionBandwidth": 100, "sharedKey": "key", "enableBgp": false, - "useLocalAzureIpAddress": false, - "ipsecPolicies": [ ] + "useLocalAzureIpAddress": false, + "ipsecPolicies": [] } } ] diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VpnConnectionPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VpnConnectionPut.json index 9b193f0f497d..1fd2d8545759 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VpnConnectionPut.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VpnConnectionPut.json @@ -10,7 +10,7 @@ "remoteVpnSite": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" }, - "vpnConnectionProtocolType" : "IKEv1", + "vpnConnectionProtocolType": "IKEv1", "sharedKey": "key" } } @@ -33,8 +33,8 @@ "connectionBandwidth": 100, "sharedKey": "key", "enableBgp": false, - "useLocalAzureIpAddress": false, - "ipsecPolicies": [ ] + "useLocalAzureIpAddress": false, + "ipsecPolicies": [] } }, "201": { @@ -54,8 +54,8 @@ "connectionBandwidth": 100, "sharedKey": "key", "enableBgp": false, - "useLocalAzureIpAddress": false, - "ipsecPolicies": [ ] + "useLocalAzureIpAddress": false, + "ipsecPolicies": [] } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VpnGatewayDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VpnGatewayDelete.json index d8b6973750b1..9fe4ee6f4730 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VpnGatewayDelete.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VpnGatewayDelete.json @@ -1,13 +1,13 @@ { - "parameters": { - "gatewayName": "gateway1", - "resourceGroupName": "rg1", - "api-version": "2019-02-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { }, - "202": { }, - "204": { } - } + "parameters": { + "gatewayName": "gateway1", + "resourceGroupName": "rg1", + "api-version": "2019-02-01", + "subscriptionId": "subid" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VpnGatewayGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VpnGatewayGet.json index 4556e11edf8d..6ae8dea0c53d 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VpnGatewayGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VpnGatewayGet.json @@ -35,8 +35,8 @@ "connectionBandwidth": 100, "sharedKey": "key", "enableBgp": false, - "useLocalAzureIpAddress": false, - "ipsecPolicies": [ ] + "useLocalAzureIpAddress": false, + "ipsecPolicies": [] } } ], diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VpnGatewayList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VpnGatewayList.json index 117ba6b4654e..b0e4f212b729 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VpnGatewayList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VpnGatewayList.json @@ -36,8 +36,8 @@ "connectionBandwidth": 100, "sharedKey": "key", "enableBgp": false, - "useLocalAzureIpAddress": false, - "ipsecPolicies": [ ] + "useLocalAzureIpAddress": false, + "ipsecPolicies": [] } } ], @@ -76,8 +76,8 @@ "connectionBandwidth": 100, "sharedKey": "key", "enableBgp": false, - "useLocalAzureIpAddress": false, - "ipsecPolicies": [ ] + "useLocalAzureIpAddress": false, + "ipsecPolicies": [] } } ], diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VpnGatewayListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VpnGatewayListByResourceGroup.json index 9735614bb09d..9770704800eb 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VpnGatewayListByResourceGroup.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VpnGatewayListByResourceGroup.json @@ -36,8 +36,8 @@ "connectionBandwidth": 100, "sharedKey": "key", "enableBgp": false, - "useLocalAzureIpAddress": false, - "ipsecPolicies": [ ] + "useLocalAzureIpAddress": false, + "ipsecPolicies": [] } } ], @@ -76,8 +76,8 @@ "connectionBandwidth": 100, "sharedKey": "key", "enableBgp": false, - "useLocalAzureIpAddress": false, - "ipsecPolicies": [ ] + "useLocalAzureIpAddress": false, + "ipsecPolicies": [] } } ], diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VpnGatewayPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VpnGatewayPut.json index ec97bf9fa765..26cdd63dfd82 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VpnGatewayPut.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VpnGatewayPut.json @@ -61,8 +61,8 @@ "connectionBandwidth": 100, "sharedKey": "key", "enableBgp": false, - "useLocalAzureIpAddress": false, - "ipsecPolicies": [ ] + "useLocalAzureIpAddress": false, + "ipsecPolicies": [] } } ], @@ -101,8 +101,8 @@ "connectionBandwidth": 100, "sharedKey": "key", "enableBgp": false, - "useLocalAzureIpAddress": false, - "ipsecPolicies": [ ] + "useLocalAzureIpAddress": false, + "ipsecPolicies": [] } } ], diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VpnGatewayUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VpnGatewayUpdateTags.json index d90bbd6886f0..7744e0f84bb0 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VpnGatewayUpdateTags.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VpnGatewayUpdateTags.json @@ -44,7 +44,7 @@ "connectionBandwidthInMbps": 100, "sharedKey": "key", "enableBgp": false, - "ipsecPolicies": [ ] + "ipsecPolicies": [] } } ], @@ -91,7 +91,7 @@ "connectionBandwidthInMbps": 100, "sharedKey": "key", "enableBgp": false, - "ipsecPolicies": [ ] + "ipsecPolicies": [] } } ], diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VpnSiteDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VpnSiteDelete.json index 111e4cb8808c..52273732e485 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VpnSiteDelete.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VpnSiteDelete.json @@ -1,13 +1,13 @@ { - "parameters": { - "vpnSiteName": "vpnSite1", - "resourceGroupName": "rg1", - "api-version": "2019-02-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { }, - "202": { }, - "204": { } - } + "parameters": { + "vpnSiteName": "vpnSite1", + "resourceGroupName": "rg1", + "api-version": "2019-02-01", + "subscriptionId": "subid" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VpnSiteGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VpnSiteGet.json index 9c9ad2d6f4da..f7f27b021ca1 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VpnSiteGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VpnSiteGet.json @@ -1,41 +1,41 @@ { - "parameters": { - "vpnSiteName": "vpnSite1", - "resourceGroupName": "rg1", - "api-version": "2019-02-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "location": "West US", - "name": "vpnSite1", - "type": "Microsoft.Network/vpnSites", - "tags": { - "key1": "value1" - }, - "properties": { - "provisioningState": "Succeeded", - "virtualWan": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWANs/wan1", - "deviceProperties": { - "deviceVendor": "vendor1", - "deviceModel": "model01", - "linkSpeedInMbps": 200 - }, - "ipAddress": "10.0.0.0", - "addressSpace": { - "addressPrefixes": [ - "10.0.0.0/16" - ] - }, - "bgpProperties": { - "bgpPeeringAddress": "192.168.0.0", - "asn": 1234 - } - } - } + "parameters": { + "vpnSiteName": "vpnSite1", + "resourceGroupName": "rg1", + "api-version": "2019-02-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "name": "vpnSite1", + "type": "Microsoft.Network/vpnSites", + "tags": { + "key1": "value1" + }, + "properties": { + "provisioningState": "Succeeded", + "virtualWan": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWANs/wan1", + "deviceProperties": { + "deviceVendor": "vendor1", + "deviceModel": "model01", + "linkSpeedInMbps": 200 + }, + "ipAddress": "10.0.0.0", + "addressSpace": { + "addressPrefixes": [ + "10.0.0.0/16" + ] + }, + "bgpProperties": { + "bgpPeeringAddress": "192.168.0.0", + "asn": 1234 + } } + } } - } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VpnSiteList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VpnSiteList.json index adcca8defecb..536132bd14eb 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VpnSiteList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VpnSiteList.json @@ -1,72 +1,72 @@ { - "parameters": { - "api-version": "2019-02-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "location": "West US", - "name": "vpnSite1", - "type": "Microsoft.Network/vpnSites", - "tags": { - "key1": "value1" - }, - "properties": { - "provisioningState": "Succeeded", - "virtualWan": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWANs/wan1", - "deviceProperties": { - "deviceVendor": "vendor1", - "deviceModel": "model01", - "linkSpeedInMbps": 200 - }, - "ipAddress": "10.0.0.0", - "addressSpace": { - "addressPrefixes": [ - "10.0.0.0/16" - ] - }, - "bgpProperties": { - "bgpPeeringAddress": "192.168.0.0", - "asn": 1234 - } - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/vpnSites/vpnSite2", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "location": "East US", - "name": "vpnSite2", - "type": "Microsoft.Network/vpnSites", - "tags": { - "key1": "value1" - }, - "properties": { - "provisioningState": "Succeeded", - "virtualWan": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualWANs/wan1", - "deviceProperties": { - "deviceVendor": "vendor1", - "deviceModel": "model01", - "linkSpeedInMbps": 200 - }, - "ipAddress": "10.1.0.0", - "addressSpace": { - "addressPrefixes": [ - "10.0.0.0/16" - ] - }, - "bgpProperties": { - "bgpPeeringAddress": "192.168.0.0", - "asn": 1234 - } - } - } + "parameters": { + "api-version": "2019-02-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "name": "vpnSite1", + "type": "Microsoft.Network/vpnSites", + "tags": { + "key1": "value1" + }, + "properties": { + "provisioningState": "Succeeded", + "virtualWan": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWANs/wan1", + "deviceProperties": { + "deviceVendor": "vendor1", + "deviceModel": "model01", + "linkSpeedInMbps": 200 + }, + "ipAddress": "10.0.0.0", + "addressSpace": { + "addressPrefixes": [ + "10.0.0.0/16" ] + }, + "bgpProperties": { + "bgpPeeringAddress": "192.168.0.0", + "asn": 1234 + } } - } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/vpnSites/vpnSite2", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "East US", + "name": "vpnSite2", + "type": "Microsoft.Network/vpnSites", + "tags": { + "key1": "value1" + }, + "properties": { + "provisioningState": "Succeeded", + "virtualWan": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualWANs/wan1", + "deviceProperties": { + "deviceVendor": "vendor1", + "deviceModel": "model01", + "linkSpeedInMbps": 200 + }, + "ipAddress": "10.1.0.0", + "addressSpace": { + "addressPrefixes": [ + "10.0.0.0/16" + ] + }, + "bgpProperties": { + "bgpPeeringAddress": "192.168.0.0", + "asn": 1234 + } + } + } + ] + } } + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VpnSiteListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VpnSiteListByResourceGroup.json index de777bd09920..49e49f1a6458 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VpnSiteListByResourceGroup.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VpnSiteListByResourceGroup.json @@ -1,73 +1,73 @@ { - "parameters": { - "api-version": "2019-02-01", - "resourceGroupName": "rg1", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "location": "West US", - "name": "vpnSite1", - "type": "Microsoft.Network/vpnSites", - "tags": { - "key1": "value1" - }, - "properties": { - "provisioningState": "Succeeded", - "virtualWan": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWANs/wan1", - "deviceProperties": { - "deviceVendor": "vendor1", - "deviceModel": "model01", - "linkSpeedInMbps": 200 - }, - "ipAddress": "10.0.0.0", - "addressSpace": { - "addressPrefixes": [ - "10.0.0.0/16" - ] - }, - "bgpProperties": { - "bgpPeeringAddress": "192.168.0.0", - "asn": 1234 - } - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite2", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "location": "West US", - "name": "vpnSite2", - "type": "Microsoft.Network/vpnSites", - "tags": { - "key1": "value1" - }, - "properties": { - "provisioningState": "Succeeded", - "virtualWan": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWANs/wan1", - "deviceProperties": { - "deviceVendor": "vendor1", - "deviceModel": "model01", - "linkSpeedInMbps": 200 - }, - "ipAddress": "10.1.0.0", - "addressSpace": { - "addressPrefixes": [ - "10.0.0.0/16" - ] - }, - "bgpProperties": { - "bgpPeeringAddress": "192.168.0.0", - "asn": 1234 - } - } - } + "parameters": { + "api-version": "2019-02-01", + "resourceGroupName": "rg1", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "name": "vpnSite1", + "type": "Microsoft.Network/vpnSites", + "tags": { + "key1": "value1" + }, + "properties": { + "provisioningState": "Succeeded", + "virtualWan": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWANs/wan1", + "deviceProperties": { + "deviceVendor": "vendor1", + "deviceModel": "model01", + "linkSpeedInMbps": 200 + }, + "ipAddress": "10.0.0.0", + "addressSpace": { + "addressPrefixes": [ + "10.0.0.0/16" ] + }, + "bgpProperties": { + "bgpPeeringAddress": "192.168.0.0", + "asn": 1234 + } } - } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite2", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "name": "vpnSite2", + "type": "Microsoft.Network/vpnSites", + "tags": { + "key1": "value1" + }, + "properties": { + "provisioningState": "Succeeded", + "virtualWan": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWANs/wan1", + "deviceProperties": { + "deviceVendor": "vendor1", + "deviceModel": "model01", + "linkSpeedInMbps": 200 + }, + "ipAddress": "10.1.0.0", + "addressSpace": { + "addressPrefixes": [ + "10.0.0.0/16" + ] + }, + "bgpProperties": { + "bgpPeeringAddress": "192.168.0.0", + "asn": 1234 + } + } + } + ] + } } + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VpnSitePut.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VpnSitePut.json index 69863a9837aa..747c3cf5d124 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VpnSitePut.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VpnSitePut.json @@ -1,96 +1,96 @@ { - "parameters": { - "vpnSiteName": "vpnSite1", - "resourceGroupName": "rg1", - "api-version": "2019-02-01", - "subscriptionId": "subid", - "VpnSiteParameters": { - "tags": { - "key1": "value1" - }, - "location": "West US", - "properties": { - "virtualWan": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/VirtualWans/virtualWan1", - "deviceProperties": { - "deviceVendor": "vendor1", - "deviceModel": "model01", - "linkSpeedInMbps": 200 - }, - "ipAddress": "10.0.0.0", - "addressSpace": { - "addressPrefixes": [ - "10.0.0.0/16" - ] - }, - "bgpProperties": { - "bgpPeeringAddress": "192.168.0.0", - "asn": 1234 - } - } + "parameters": { + "vpnSiteName": "vpnSite1", + "resourceGroupName": "rg1", + "api-version": "2019-02-01", + "subscriptionId": "subid", + "VpnSiteParameters": { + "tags": { + "key1": "value1" + }, + "location": "West US", + "properties": { + "virtualWan": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/VirtualWans/virtualWan1", + "deviceProperties": { + "deviceVendor": "vendor1", + "deviceModel": "model01", + "linkSpeedInMbps": 200 + }, + "ipAddress": "10.0.0.0", + "addressSpace": { + "addressPrefixes": [ + "10.0.0.0/16" + ] + }, + "bgpProperties": { + "bgpPeeringAddress": "192.168.0.0", + "asn": 1234 + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "name": "vpnSite1", + "type": "Microsoft.Network/vpnSites", + "tags": { + "key1": "value1" + }, + "properties": { + "provisioningState": "Succeeded", + "virtualWan": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/VirtualWans/virtualWan1", + "deviceProperties": { + "deviceVendor": "vendor1", + "deviceModel": "model01", + "linkSpeedInMbps": 200 + }, + "ipAddress": "10.1.0.0", + "addressSpace": { + "addressPrefixes": [ + "10.0.0.0/16" + ] + }, + "bgpProperties": { + "bgpPeeringAddress": "192.168.0.0", + "asn": 1234 + } } + } }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "location": "West US", - "name": "vpnSite1", - "type": "Microsoft.Network/vpnSites", - "tags": { - "key1": "value1" - }, - "properties": { - "provisioningState": "Succeeded", - "virtualWan": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/VirtualWans/virtualWan1", - "deviceProperties": { - "deviceVendor": "vendor1", - "deviceModel": "model01", - "linkSpeedInMbps": 200 - }, - "ipAddress": "10.1.0.0", - "addressSpace": { - "addressPrefixes": [ - "10.0.0.0/16" - ] - }, - "bgpProperties": { - "bgpPeeringAddress": "192.168.0.0", - "asn": 1234 - } - } - } + "201": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "name": "vpnSite1", + "type": "Microsoft.Network/vpnSites", + "tags": { + "key1": "value1" }, - "201": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "location": "West US", - "name": "vpnSite1", - "type": "Microsoft.Network/vpnSites", - "tags": { - "key1": "value1" - }, - "properties": { - "provisioningState": "Succeeded", - "virtualWan": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/VirtualWans/virtualWan1", - "deviceProperties": { - "deviceVendor": "vendor1", - "deviceModel": "model01", - "linkSpeedInMbps": 200 - }, - "ipAddress": "10.1.0.0", - "addressSpace": { - "addressPrefixes": [ - "10.0.0.0/16" - ] - }, - "bgpProperties": { - "bgpPeeringAddress": "192.168.0.0", - "asn": 1234 - } - } - } + "properties": { + "provisioningState": "Succeeded", + "virtualWan": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/VirtualWans/virtualWan1", + "deviceProperties": { + "deviceVendor": "vendor1", + "deviceModel": "model01", + "linkSpeedInMbps": 200 + }, + "ipAddress": "10.1.0.0", + "addressSpace": { + "addressPrefixes": [ + "10.0.0.0/16" + ] + }, + "bgpProperties": { + "bgpPeeringAddress": "192.168.0.0", + "asn": 1234 + } } + } } + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/WafListAllPolicies.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/WafListAllPolicies.json index eed224479818..4fc29db2cbe3 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/WafListAllPolicies.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/WafListAllPolicies.json @@ -25,27 +25,27 @@ }, "customRules": [ { - "name": "Rule1", - "priority": 1, - "ruleType": "MatchRule", - "matchConditions": [ + "name": "Rule1", + "priority": 1, + "ruleType": "MatchRule", + "matchConditions": [ + { + "matchVariables": [ { - "matchVariables": [ - { - "variableName": "RemoteAddr", - "selector": null - } - ], - "operator": "IPMatch", - "negationConditon": false, - "matchValues": [ - "192.168.1.0/24", - "10.0.0.0/24" - ], - "transforms": [] + "variableName": "RemoteAddr", + "selector": null } - ], - "action": "Block" + ], + "operator": "IPMatch", + "negationConditon": false, + "matchValues": [ + "192.168.1.0/24", + "10.0.0.0/24" + ], + "transforms": [] + } + ], + "action": "Block" }, { "name": "Rule2", @@ -88,4 +88,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/WafListPolicies.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/WafListPolicies.json index ae8992d52c1c..b1a09aacca6e 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/WafListPolicies.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/WafListPolicies.json @@ -26,27 +26,27 @@ }, "customRules": [ { - "name": "Rule1", - "priority": 1, - "ruleType": "MatchRule", - "matchConditions": [ + "name": "Rule1", + "priority": 1, + "ruleType": "MatchRule", + "matchConditions": [ + { + "matchVariables": [ { - "matchVariables": [ - { - "variableName": "RemoteAddr", - "selector": null - } - ], - "operator": "IPMatch", - "negationConditon": false, - "matchValues": [ - "192.168.1.0/24", - "10.0.0.0/24" - ], - "transforms": [] + "variableName": "RemoteAddr", + "selector": null } - ], - "action": "Block" + ], + "operator": "IPMatch", + "negationConditon": false, + "matchValues": [ + "192.168.1.0/24", + "10.0.0.0/24" + ], + "transforms": [] + } + ], + "action": "Block" }, { "name": "Rule2", @@ -89,4 +89,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/WafPolicyCreateOrUpdate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/WafPolicyCreateOrUpdate.json index 6d21a3edc9c3..f6807c6b43ec 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/WafPolicyCreateOrUpdate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/WafPolicyCreateOrUpdate.json @@ -43,7 +43,7 @@ ], "operator": "IPMatch", "matchValues": [ - "192.168.1.0/24" + "192.168.1.0/24" ] }, { @@ -55,7 +55,7 @@ ], "operator": "Contains", "matchValues": [ - "Windows" + "Windows" ] } ], @@ -85,27 +85,27 @@ }, "customRules": [ { - "name": "Rule1", - "priority": 1, - "ruleType": "MatchRule", - "matchConditions": [ + "name": "Rule1", + "priority": 1, + "ruleType": "MatchRule", + "matchConditions": [ + { + "matchVariables": [ { - "matchVariables": [ - { - "variableName": "RemoteAddr", - "selector": null - } - ], - "operator": "IPMatch", - "negationConditon": false, - "matchValues": [ - "192.168.1.0/24", - "10.0.0.0/24" - ], - "transforms": [] + "variableName": "RemoteAddr", + "selector": null } - ], - "action": "Block" + ], + "operator": "IPMatch", + "negationConditon": false, + "matchValues": [ + "192.168.1.0/24", + "10.0.0.0/24" + ], + "transforms": [] + } + ], + "action": "Block" }, { "name": "Rule2", @@ -164,27 +164,27 @@ }, "customRules": [ { - "name": "Rule1", - "priority": 1, - "ruleType": "MatchRule", - "matchConditions": [ + "name": "Rule1", + "priority": 1, + "ruleType": "MatchRule", + "matchConditions": [ + { + "matchVariables": [ { - "matchVariables": [ - { - "variableName": "RemoteAddr", - "selector": null - } - ], - "operator": "IPMatch", - "negationConditon": false, - "matchValues": [ - "192.168.1.0/24", - "10.0.0.0/24" - ], - "transforms": [] + "variableName": "RemoteAddr", + "selector": null } - ], - "action": "Block" + ], + "operator": "IPMatch", + "negationConditon": false, + "matchValues": [ + "192.168.1.0/24", + "10.0.0.0/24" + ], + "transforms": [] + } + ], + "action": "Block" }, { "name": "Rule2", @@ -225,4 +225,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/WafPolicyDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/WafPolicyDelete.json index 5db10a1963f0..b3acb7d6ffde 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/WafPolicyDelete.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/WafPolicyDelete.json @@ -10,4 +10,4 @@ "202": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/WafPolicyGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/WafPolicyGet.json index ee70d972fc47..3573ad081da3 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/WafPolicyGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/WafPolicyGet.json @@ -25,27 +25,27 @@ }, "customRules": [ { - "name": "Rule1", - "priority": 1, - "ruleType": "MatchRule", - "matchConditions": [ + "name": "Rule1", + "priority": 1, + "ruleType": "MatchRule", + "matchConditions": [ + { + "matchVariables": [ { - "matchVariables": [ - { - "variableName": "RemoteAddr", - "selector": null - } - ], - "operator": "IPMatch", - "negationConditon": false, - "matchValues": [ - "192.168.1.0/24", - "10.0.0.0/24" - ], - "transforms": [] + "variableName": "RemoteAddr", + "selector": null } - ], - "action": "Block" + ], + "operator": "IPMatch", + "negationConditon": false, + "matchValues": [ + "192.168.1.0/24", + "10.0.0.0/24" + ], + "transforms": [] + } + ], + "action": "Block" }, { "name": "Rule2", @@ -86,4 +86,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/expressRouteCircuit.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/expressRouteCircuit.json index d7e039b2b5f9..9230dcd0e302 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/expressRouteCircuit.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/expressRouteCircuit.json @@ -86,7 +86,9 @@ "final-state-via": "location" }, "x-ms-examples": { - "Delete ExpressRouteCircuit Authorization": { "$ref": "./examples/ExpressRouteCircuitAuthorizationDelete.json" } + "Delete ExpressRouteCircuit Authorization": { + "$ref": "./examples/ExpressRouteCircuitAuthorizationDelete.json" + } } }, "get": { @@ -133,7 +135,9 @@ } }, "x-ms-examples": { - "Get ExpressRouteCircuit Authorization": { "$ref": "./examples/ExpressRouteCircuitAuthorizationGet.json" } + "Get ExpressRouteCircuit Authorization": { + "$ref": "./examples/ExpressRouteCircuitAuthorizationGet.json" + } } }, "put": { @@ -199,7 +203,9 @@ "final-state-via": "azure-async-operation" }, "x-ms-examples": { - "Create ExpressRouteCircuit Authorization": { "$ref": "./examples/ExpressRouteCircuitAuthorizationCreate.json" } + "Create ExpressRouteCircuit Authorization": { + "$ref": "./examples/ExpressRouteCircuitAuthorizationCreate.json" + } } } }, @@ -244,7 +250,9 @@ "nextLinkName": "nextLink" }, "x-ms-examples": { - "List ExpressRouteCircuit Authorization": { "$ref": "./examples/ExpressRouteCircuitAuthorizationList.json" } + "List ExpressRouteCircuit Authorization": { + "$ref": "./examples/ExpressRouteCircuitAuthorizationList.json" + } } } }, @@ -300,7 +308,9 @@ "final-state-via": "location" }, "x-ms-examples": { - "Delete ExpressRouteCircuit Peerings": { "$ref": "./examples/ExpressRouteCircuitPeeringDelete.json" } + "Delete ExpressRouteCircuit Peerings": { + "$ref": "./examples/ExpressRouteCircuitPeeringDelete.json" + } } }, "get": { @@ -347,7 +357,9 @@ } }, "x-ms-examples": { - "Get ExpressRouteCircuit Peering": { "$ref": "./examples/ExpressRouteCircuitPeeringGet.json" } + "Get ExpressRouteCircuit Peering": { + "$ref": "./examples/ExpressRouteCircuitPeeringGet.json" + } } }, "put": { @@ -413,7 +425,9 @@ "final-state-via": "azure-async-operation" }, "x-ms-examples": { - "Create ExpressRouteCircuit Peerings": { "$ref": "./examples/ExpressRouteCircuitPeeringCreate.json" } + "Create ExpressRouteCircuit Peerings": { + "$ref": "./examples/ExpressRouteCircuitPeeringCreate.json" + } } } }, @@ -457,8 +471,10 @@ "x-ms-pageable": { "nextLinkName": "nextLink" }, - "x-ms-examples":{ - "List ExpressRouteCircuit Peerings": { "$ref": "./examples/ExpressRouteCircuitPeeringList.json" } + "x-ms-examples": { + "List ExpressRouteCircuit Peerings": { + "$ref": "./examples/ExpressRouteCircuitPeeringList.json" + } } } }, @@ -517,7 +533,9 @@ } }, "x-ms-examples": { - "Delete ExpressRouteCircuit": { "$ref": "./examples/ExpressRouteCircuitConnectionDelete.json" } + "Delete ExpressRouteCircuit": { + "$ref": "./examples/ExpressRouteCircuitConnectionDelete.json" + } }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { @@ -704,7 +722,9 @@ "nextLinkName": "nextLink" }, "x-ms-examples": { - "List ExpressRouteCircuit Connection": { "$ref": "./examples/ExpressRouteCircuitConnectionList.json" } + "List ExpressRouteCircuit Connection": { + "$ref": "./examples/ExpressRouteCircuitConnectionList.json" + } } } }, @@ -814,7 +834,9 @@ "nextLinkName": "nextLink" }, "x-ms-examples": { - "List Peer ExpressRouteCircuit Connection": { "$ref": "./examples/PeerExpressRouteCircuitConnectionList.json" } + "List Peer ExpressRouteCircuit Connection": { + "$ref": "./examples/PeerExpressRouteCircuitConnectionList.json" + } } } }, @@ -863,7 +885,9 @@ "final-state-via": "location" }, "x-ms-examples": { - "Delete ExpressRouteCircuit": { "$ref": "./examples/ExpressRouteCircuitDelete.json" } + "Delete ExpressRouteCircuit": { + "$ref": "./examples/ExpressRouteCircuitDelete.json" + } } }, "get": { @@ -903,7 +927,9 @@ } }, "x-ms-examples": { - "Get ExpressRouteCircuit": { "$ref": "./examples/ExpressRouteCircuitGet.json" } + "Get ExpressRouteCircuit": { + "$ref": "./examples/ExpressRouteCircuitGet.json" + } } }, "put": { @@ -962,8 +988,12 @@ "final-state-via": "azure-async-operation" }, "x-ms-examples": { - "Create ExpressRouteCircuit": { "$ref": "./examples/ExpressRouteCircuitCreate.json" }, - "Create ExpressRouteCircuit on ExpressRoutePort": { "$ref": "./examples/ExpressRouteCircuitCreateOnExpressRoutePort.json" } + "Create ExpressRouteCircuit": { + "$ref": "./examples/ExpressRouteCircuitCreate.json" + }, + "Create ExpressRouteCircuit on ExpressRoutePort": { + "$ref": "./examples/ExpressRouteCircuitCreateOnExpressRoutePort.json" + } } }, "patch": { @@ -1078,7 +1108,9 @@ "final-state-via": "location" }, "x-ms-examples": { - "List ARP Table": { "$ref": "./examples/ExpressRouteCircuitARPTableList.json" } + "List ARP Table": { + "$ref": "./examples/ExpressRouteCircuitARPTableList.json" + } } } }, @@ -1141,7 +1173,9 @@ "final-state-via": "location" }, "x-ms-examples": { - "List Route Tables": { "$ref": "./examples/ExpressRouteCircuitRouteTableList.json" } + "List Route Tables": { + "$ref": "./examples/ExpressRouteCircuitRouteTableList.json" + } } } }, @@ -1204,7 +1238,9 @@ "final-state-via": "location" }, "x-ms-examples": { - "List Route Table Summary": { "$ref": "./examples/ExpressRouteCircuitRouteTableSummaryList.json" } + "List Route Table Summary": { + "$ref": "./examples/ExpressRouteCircuitRouteTableSummaryList.json" + } } } }, @@ -1246,7 +1282,9 @@ } }, "x-ms-examples": { - "Get ExpressRoute Circuit Traffic Stats": { "$ref": "./examples/ExpressRouteCircuitStats.json" } + "Get ExpressRoute Circuit Traffic Stats": { + "$ref": "./examples/ExpressRouteCircuitStats.json" + } } } }, @@ -1295,7 +1333,9 @@ } }, "x-ms-examples": { - "Get ExpressRoute Circuit Peering Traffic Stats": { "$ref": "./examples/ExpressRouteCircuitPeeringStats.json" } + "Get ExpressRoute Circuit Peering Traffic Stats": { + "$ref": "./examples/ExpressRouteCircuitPeeringStats.json" + } } } }, @@ -1333,7 +1373,9 @@ "nextLinkName": "nextLink" }, "x-ms-examples": { - "List ExpressRouteCircuits in a resource group": { "$ref": "./examples/ExpressRouteCircuitListByResourceGroup.json" } + "List ExpressRouteCircuits in a resource group": { + "$ref": "./examples/ExpressRouteCircuitListByResourceGroup.json" + } } } }, @@ -1364,7 +1406,9 @@ "nextLinkName": "nextLink" }, "x-ms-examples": { - "List ExpressRouteCircuits in a subscription": { "$ref": "./examples/ExpressRouteCircuitListBySubscription.json" } + "List ExpressRouteCircuits in a subscription": { + "$ref": "./examples/ExpressRouteCircuitListBySubscription.json" + } } } }, @@ -1395,7 +1439,9 @@ "nextLinkName": "nextLink" }, "x-ms-examples": { - "List ExpressRoute providers": { "$ref": "./examples/ExpressRouteProviderList.json" } + "List ExpressRoute providers": { + "$ref": "./examples/ExpressRouteProviderList.json" + } } } } @@ -1646,7 +1692,7 @@ "$ref": "#/definitions/Ipv6ExpressRouteCircuitPeeringConfig", "description": "The IPv6 peering configuration." }, - "expressRouteConnection" : { + "expressRouteConnection": { "$ref": "./expressRouteGateway.json#/definitions/ExpressRouteConnectionId", "description": "The ExpressRoute connection." }, diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/expressRouteCrossConnection.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/expressRouteCrossConnection.json index 272e2a67b456..98a1821ad175 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/expressRouteCrossConnection.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/expressRouteCrossConnection.json @@ -109,11 +109,11 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}": { "get": { - "tags": [ - "ExpressRouteCrossConnections" - ], - "operationId": "ExpressRouteCrossConnections_Get", - "description": "Gets details about the specified ExpressRouteCrossConnection.", + "tags": [ + "ExpressRouteCrossConnections" + ], + "operationId": "ExpressRouteCrossConnections_Get", + "description": "Gets details about the specified ExpressRouteCrossConnection.", "parameters": [ { "name": "resourceGroupName", @@ -176,7 +176,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/ExpressRouteCrossConnection" + "$ref": "#/definitions/ExpressRouteCrossConnection" }, "description": "Parameters supplied to the update express route crossConnection operation." }, @@ -192,7 +192,7 @@ "description": "Update successful. The operation returns the resulting ExpressRouteCrossConnection resource.", "schema": { "$ref": "#/definitions/ExpressRouteCrossConnection" - } + } } }, "x-ms-examples": { @@ -207,48 +207,48 @@ }, "patch": { "tags": [ - "ExpressRouteCrossConnections" + "ExpressRouteCrossConnections" ], "operationId": "ExpressRouteCrossConnections_UpdateTags", "description": "Updates an express route cross connection tags.", "parameters": [ - { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group." - }, - { - "name": "crossConnectionName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the cross connection." - }, - { - "name": "crossConnectionParameters", - "in": "body", - "required": true, - "schema": { - "$ref": "./network.json#/definitions/TagsObject" + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." }, - "description": "Parameters supplied to update express route cross connection tags." - }, - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - } + { + "name": "crossConnectionName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the cross connection." + }, + { + "name": "crossConnectionParameters", + "in": "body", + "required": true, + "schema": { + "$ref": "./network.json#/definitions/TagsObject" + }, + "description": "Parameters supplied to update express route cross connection tags." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } ], "responses": { - "200": { - "description": "Update successful. The operation returns the resulting ExpressRouteCrossConnection resource.", - "schema": { - "$ref": "#/definitions/ExpressRouteCrossConnection" + "200": { + "description": "Update successful. The operation returns the resulting ExpressRouteCrossConnection resource.", + "schema": { + "$ref": "#/definitions/ExpressRouteCrossConnection" + } } - } }, "x-ms-examples": { "UpdateExpressRouteCrossConnectionTags": { @@ -719,7 +719,7 @@ "ExpressRouteCircuitReference": { "properties": { "id": { - "type":"string", + "type": "string", "description": "Corresponding Express Route Circuit Id." } }, diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/expressRouteGateway.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/expressRouteGateway.json index 8c96bae5d5df..95341ee2c86f 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/expressRouteGateway.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/expressRouteGateway.json @@ -1,640 +1,640 @@ { - "swagger": "2.0", - "info": { - "title": "NetworkManagementClient", - "description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.", - "version": "2019-02-01" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] + "swagger": "2.0", + "info": { + "title": "NetworkManagementClient", + "description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.", + "version": "2019-02-01" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteGateways": { + "get": { + "tags": [ + "ExpressRouteGateways" + ], + "operationId": "ExpressRouteGateways_ListBySubscription", + "x-ms-examples": { + "ExpressRouteGatewayListBySubscription": { + "$ref": "./examples/ExpressRouteGatewayListBySubscription.json" + } + }, + "description": "Lists ExpressRoute gateways under a given subscription.", + "parameters": [ + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful.", + "schema": { + "$ref": "#/definitions/ExpressRouteGatewayList" + } + } } - ], - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "description": "Azure Active Directory OAuth2 Flow", - "scopes": { - "user_impersonation": "impersonate your user account" + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways": { + "get": { + "tags": [ + "ExpressRouteGateways" + ], + "operationId": "ExpressRouteGateways_ListByResourceGroup", + "x-ms-examples": { + "ExpressRouteGatewayListByResourceGroup": { + "$ref": "./examples/ExpressRouteGatewayListByResourceGroup.json" + } + }, + "description": "Lists ExpressRoute gateways in a given resource group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Operation successful.", + "schema": { + "$ref": "#/definitions/ExpressRouteGatewayList" } + } } + } }, - "paths": { - "/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteGateways": { - "get": { - "tags": [ - "ExpressRouteGateways" - ], - "operationId": "ExpressRouteGateways_ListBySubscription", - "x-ms-examples": { - "ExpressRouteGatewayListBySubscription": { - "$ref": "./examples/ExpressRouteGatewayListBySubscription.json" - } - }, - "description": "Lists ExpressRoute gateways under a given subscription.", - "parameters": [ - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Request successful.", - "schema": { - "$ref": "#/definitions/ExpressRouteGatewayList" - } - } - } + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}": { + "put": { + "tags": [ + "ExpressRouteGateways" + ], + "operationId": "ExpressRouteGateways_CreateOrUpdate", + "x-ms-examples": { + "ExpressRouteGatewayCreate": { + "$ref": "./examples/ExpressRouteGatewayCreate.json" + } + }, + "description": "Creates or updates a ExpressRoute gateway in a specified resource group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "expressRouteGatewayName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the ExpressRoute gateway." + }, + { + "name": "putExpressRouteGatewayParameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ExpressRouteGateway" + }, + "description": "Parameters required in an ExpressRoute gateway PUT operation." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Update successful. The operation returns the resulting ExpressRoute gateway resource.", + "schema": { + "$ref": "#/definitions/ExpressRouteGateway" + } + }, + "201": { + "description": "Create successful. The operation returns the resulting ExpressRoute gateway resource.", + "schema": { + "$ref": "#/definitions/ExpressRouteGateway" } + } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways": { - "get": { - "tags": [ - "ExpressRouteGateways" - ], - "operationId": "ExpressRouteGateways_ListByResourceGroup", - "x-ms-examples": { - "ExpressRouteGatewayListByResourceGroup": { - "$ref": "./examples/ExpressRouteGatewayListByResourceGroup.json" - } - }, - "description": "Lists ExpressRoute gateways in a given resource group.", - "parameters": [ - { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group." - }, - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Operation successful.", - "schema": { - "$ref": "#/definitions/ExpressRouteGatewayList" - } - } - } + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } + }, + "get": { + "tags": [ + "ExpressRouteGateways" + ], + "operationId": "ExpressRouteGateways_Get", + "x-ms-examples": { + "ExpressRouteGatewayGet": { + "$ref": "./examples/ExpressRouteGatewayGet.json" + } + }, + "description": "Fetches the details of a ExpressRoute gateway in a resource group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "expressRouteGatewayName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the ExpressRoute gateway." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Operation succeeded. The operation returns the ExpressRoute gateway.", + "schema": { + "$ref": "#/definitions/ExpressRouteGateway" } + } + } + }, + "delete": { + "tags": [ + "ExpressRouteGateways" + ], + "operationId": "ExpressRouteGateways_Delete", + "x-ms-examples": { + "ExpressRouteGatewayDelete": { + "$ref": "./examples/ExpressRouteGatewayDelete.json" + } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}": { - "put": { - "tags": [ - "ExpressRouteGateways" - ], - "operationId": "ExpressRouteGateways_CreateOrUpdate", - "x-ms-examples": { - "ExpressRouteGatewayCreate": { - "$ref": "./examples/ExpressRouteGatewayCreate.json" - } - }, - "description": "Creates or updates a ExpressRoute gateway in a specified resource group.", - "parameters": [ - { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group." - }, - { - "name": "expressRouteGatewayName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the ExpressRoute gateway." - }, - { - "name": "putExpressRouteGatewayParameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/ExpressRouteGateway" - }, - "description": "Parameters required in an ExpressRoute gateway PUT operation." - }, - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Update successful. The operation returns the resulting ExpressRoute gateway resource.", - "schema": { - "$ref": "#/definitions/ExpressRouteGateway" - } - }, - "201": { - "description": "Create successful. The operation returns the resulting ExpressRoute gateway resource.", - "schema": { - "$ref": "#/definitions/ExpressRouteGateway" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - } - }, - "get": { - "tags": [ - "ExpressRouteGateways" - ], - "operationId": "ExpressRouteGateways_Get", - "x-ms-examples": { - "ExpressRouteGatewayGet": { - "$ref": "./examples/ExpressRouteGatewayGet.json" - } - }, - "description": "Fetches the details of a ExpressRoute gateway in a resource group.", - "parameters": [ - { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group." - }, - { - "name": "expressRouteGatewayName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the ExpressRoute gateway." - }, - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Operation succeeded. The operation returns the ExpressRoute gateway.", - "schema": { - "$ref": "#/definitions/ExpressRouteGateway" - } - } - } + "description": "Deletes the specified ExpressRoute gateway in a resource group. An ExpressRoute gateway resource can only be deleted when there are no connection subresources.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "expressRouteGatewayName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the ExpressRoute gateway." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "202": { + "description": "Accepted and the operation will complete asynchronously." + }, + "200": { + "description": "Delete successful." + }, + "204": { + "description": "Delete successful." + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}/expressRouteConnections/{connectionName}": { + "put": { + "tags": [ + "ExpressRouteConnections" + ], + "operationId": "ExpressRouteConnections_CreateOrUpdate", + "x-ms-examples": { + "ExpressRouteConnectionCreate": { + "$ref": "./examples/ExpressRouteConnectionCreate.json" + } + }, + "description": "Creates a connection between an ExpressRoute gateway and an ExpressRoute circuit.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "expressRouteGatewayName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the ExpressRoute gateway." + }, + { + "name": "connectionName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the connection subresource." + }, + { + "name": "putExpressRouteConnectionParameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ExpressRouteConnection" }, - "delete": { - "tags": [ - "ExpressRouteGateways" - ], - "operationId": "ExpressRouteGateways_Delete", - "x-ms-examples": { - "ExpressRouteGatewayDelete": { - "$ref": "./examples/ExpressRouteGatewayDelete.json" - } - }, - "description": "Deletes the specified ExpressRoute gateway in a resource group. An ExpressRoute gateway resource can only be deleted when there are no connection subresources.", - "parameters": [ - { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group." - }, - { - "name": "expressRouteGatewayName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the ExpressRoute gateway." - }, - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "202": { - "description": "Accepted and the operation will complete asynchronously." - }, - "200": { - "description": "Delete successful." - }, - "204": { - "description": "Delete successful." - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - } + "description": "Parameters required in an ExpressRouteConnection PUT operation." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Update successful. The operation returns the ExpressRouteConnection.", + "schema": { + "$ref": "#/definitions/ExpressRouteConnection" + } + }, + "201": { + "description": "Create successful. The operation returns the ExpressRouteConnection.", + "schema": { + "$ref": "#/definitions/ExpressRouteConnection" } + } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}/expressRouteConnections/{connectionName}": { - "put": { - "tags": [ - "ExpressRouteConnections" - ], - "operationId": "ExpressRouteConnections_CreateOrUpdate", - "x-ms-examples": { - "ExpressRouteConnectionCreate": { - "$ref": "./examples/ExpressRouteConnectionCreate.json" - } - }, - "description": "Creates a connection between an ExpressRoute gateway and an ExpressRoute circuit.", - "parameters": [ - { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group." - }, - { - "name": "expressRouteGatewayName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the ExpressRoute gateway." - }, - { - "name": "connectionName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the connection subresource." - }, - { - "name": "putExpressRouteConnectionParameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/ExpressRouteConnection" - }, - "description": "Parameters required in an ExpressRouteConnection PUT operation." - }, - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Update successful. The operation returns the ExpressRouteConnection.", - "schema": { - "$ref": "#/definitions/ExpressRouteConnection" - } - }, - "201": { - "description": "Create successful. The operation returns the ExpressRouteConnection.", - "schema": { - "$ref": "#/definitions/ExpressRouteConnection" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - } - }, - "get": { - "tags": [ - "ExpressRouteConnections" - ], - "operationId": "ExpressRouteConnections_Get", - "x-ms-examples": { - "ExpressRouteConnectionGet": { - "$ref": "./examples/ExpressRouteConnectionGet.json" - } - }, - "description": "Gets the specified ExpressRouteConnection.", - "parameters": [ - { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group." - }, - { - "name": "expressRouteGatewayName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the ExpressRoute gateway." - }, - { - "name": "connectionName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the ExpressRoute connection." - }, - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Request successful. The operation returns the ExpressRouteConnection.", - "schema": { - "$ref": "#/definitions/ExpressRouteConnection" - } - } - } - }, - "delete": { - "tags": [ - "ExpressRouteConnections" - ], - "operationId": "ExpressRouteConnections_Delete", - "x-ms-examples": { - "ExpressRouteConnectionDelete": { - "$ref": "./examples/ExpressRouteConnectionDelete.json" - } - }, - "description": "Deletes a connection to a ExpressRoute circuit.", - "parameters": [ - { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group." - }, - { - "name": "expressRouteGatewayName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the ExpressRoute gateway." - }, - { - "name": "connectionName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the connection subresource." - }, - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "202": { - "description": "Accepted, and the operation will continue asynchronously." - }, - "200": { - "description": "Delete successful." - }, - "204": { - "description": "Delete successful." - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - } + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } + }, + "get": { + "tags": [ + "ExpressRouteConnections" + ], + "operationId": "ExpressRouteConnections_Get", + "x-ms-examples": { + "ExpressRouteConnectionGet": { + "$ref": "./examples/ExpressRouteConnectionGet.json" + } + }, + "description": "Gets the specified ExpressRouteConnection.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "expressRouteGatewayName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the ExpressRoute gateway." + }, + { + "name": "connectionName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the ExpressRoute connection." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns the ExpressRouteConnection.", + "schema": { + "$ref": "#/definitions/ExpressRouteConnection" } + } + } + }, + "delete": { + "tags": [ + "ExpressRouteConnections" + ], + "operationId": "ExpressRouteConnections_Delete", + "x-ms-examples": { + "ExpressRouteConnectionDelete": { + "$ref": "./examples/ExpressRouteConnectionDelete.json" + } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}/expressRouteConnections": { - "get": { - "tags": [ - "ExpressRouteConnections" - ], - "operationId": "ExpressRouteConnections_List", - "x-ms-examples": { - "ExpressRouteConnectionList": { - "$ref": "./examples/ExpressRouteConnectionList.json" - } - }, - "description": "Lists ExpressRouteConnections.", - "parameters": [ - { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group." - }, - { - "name": "expressRouteGatewayName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the ExpressRoute gateway." - }, - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Request successful.", - "schema": { - "$ref": "#/definitions/ExpressRouteConnectionList" - } - } - } + "description": "Deletes a connection to a ExpressRoute circuit.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "expressRouteGatewayName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the ExpressRoute gateway." + }, + { + "name": "connectionName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the connection subresource." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "202": { + "description": "Accepted, and the operation will continue asynchronously." + }, + "200": { + "description": "Delete successful." + }, + "204": { + "description": "Delete successful." + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}/expressRouteConnections": { + "get": { + "tags": [ + "ExpressRouteConnections" + ], + "operationId": "ExpressRouteConnections_List", + "x-ms-examples": { + "ExpressRouteConnectionList": { + "$ref": "./examples/ExpressRouteConnectionList.json" + } + }, + "description": "Lists ExpressRouteConnections.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "expressRouteGatewayName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the ExpressRoute gateway." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful.", + "schema": { + "$ref": "#/definitions/ExpressRouteConnectionList" } + } + } + } + } + }, + "definitions": { + "VirtualHubId": { + "properties": { + "id": { + "type": "string", + "description": "The resource URI for the Virtual Hub where the ExpressRoute gateway is or will be deployed. The Virtual Hub resource and the ExpressRoute gateway resource reside in the same subscription." + } + }, + "description": "Virtual Hub identifier." + }, + "ExpressRouteCircuitPeeringId": { + "properties": { + "id": { + "type": "string", + "description": "The ID of the ExpressRoute circuit peering." + } + }, + "description": "ExpressRoute circuit peering identifier." + }, + "ExpressRouteConnectionId": { + "properties": { + "id": { + "type": "string", + "readOnly": true, + "description": "The ID of the ExpressRouteConnection." } + }, + "description": "The ID of the ExpressRouteConnection." }, - "definitions": { - "VirtualHubId": { - "properties": { - "id": { - "type": "string", - "description": "The resource URI for the Virtual Hub where the ExpressRoute gateway is or will be deployed. The Virtual Hub resource and the ExpressRoute gateway resource reside in the same subscription." + "ExpressRouteGatewayProperties": { + "required": [ + "virtualHub" + ], + "properties": { + "autoScaleConfiguration": { + "properties": { + "bounds": { + "properties": { + "min": { + "type": "integer", + "description": "Minimum number of scale units deployed for ExpressRoute gateway." + }, + "max": { + "type": "integer", + "description": "Maximum number of scale units deployed for ExpressRoute gateway." } - }, - "description": "Virtual Hub identifier." + }, + "description": "Minimum and maximum number of scale units to deploy." + } + }, + "description": "Configuration for auto scaling." }, - "ExpressRouteCircuitPeeringId": { - "properties": { - "id": { - "type": "string", - "description": "The ID of the ExpressRoute circuit peering." - } - }, - "description": "ExpressRoute circuit peering identifier." + "expressRouteConnections": { + "type": "array", + "readOnly": true, + "description": "List of ExpressRoute connections to the ExpressRoute gateway.", + "items": { + "$ref": "#/definitions/ExpressRouteConnection" + } }, - "ExpressRouteConnectionId": { - "properties": { - "id": { - "type": "string", - "readOnly": true, - "description": "The ID of the ExpressRouteConnection." - } - }, - "description": "The ID of the ExpressRouteConnection." + "provisioningState": { + "$ref": "./network.json#/definitions/ProvisioningState", + "description": "The provisioning state of the resource." }, - "ExpressRouteGatewayProperties": { - "required": [ - "virtualHub" - ], - "properties": { - "autoScaleConfiguration": { - "properties": { - "bounds": { - "properties": { - "min": { - "type": "integer", - "description": "Minimum number of scale units deployed for ExpressRoute gateway." - }, - "max": { - "type": "integer", - "description": "Maximum number of scale units deployed for ExpressRoute gateway." - } - }, - "description": "Minimum and maximum number of scale units to deploy." - } - }, - "description": "Configuration for auto scaling." - }, - "expressRouteConnections": { - "type": "array", - "readOnly": true, - "description": "List of ExpressRoute connections to the ExpressRoute gateway.", - "items": { - "$ref": "#/definitions/ExpressRouteConnection" - } - }, - "provisioningState": { - "$ref": "./network.json#/definitions/ProvisioningState", - "description": "The provisioning state of the resource." - }, - "virtualHub": { - "$ref": "#/definitions/VirtualHubId", - "description": "The Virtual Hub where the ExpressRoute gateway is or will be deployed." - } - }, - "description": "ExpressRoute gateway resource properties." + "virtualHub": { + "$ref": "#/definitions/VirtualHubId", + "description": "The Virtual Hub where the ExpressRoute gateway is or will be deployed." + } + }, + "description": "ExpressRoute gateway resource properties." + }, + "ExpressRouteGateway": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ExpressRouteGatewayProperties", + "description": "Properties of the express route gateway." }, - "ExpressRouteGateway": { - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/ExpressRouteGatewayProperties", - "description": "Properties of the express route gateway." - }, - "etag": { - "type": "string", - "readOnly": true, - "description": "A unique read-only string that changes whenever the resource is updated." - } - }, - "allOf": [ - { - "$ref": "./network.json#/definitions/Resource" - } - ], - "description": "ExpressRoute gateway resource." + "etag": { + "type": "string", + "readOnly": true, + "description": "A unique read-only string that changes whenever the resource is updated." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/Resource" + } + ], + "description": "ExpressRoute gateway resource." + }, + "ExpressRouteGatewayList": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/ExpressRouteGateway" + }, + "description": "List of ExpressRoute gateways." + } + }, + "description": "List of ExpressRoute gateways." + }, + "ExpressRouteConnectionProperties": { + "required": [ + "expressRouteCircuitPeering" + ], + "properties": { + "provisioningState": { + "$ref": "./network.json#/definitions/ProvisioningState", + "description": "The provisioning state of the resource." }, - "ExpressRouteGatewayList": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/ExpressRouteGateway" - }, - "description": "List of ExpressRoute gateways." - } - }, - "description": "List of ExpressRoute gateways." + "expressRouteCircuitPeering": { + "$ref": "#/definitions/ExpressRouteCircuitPeeringId", + "description": "The ExpressRoute circuit peering." }, - "ExpressRouteConnectionProperties": { - "required": [ - "expressRouteCircuitPeering" - ], - "properties": { - "provisioningState": { - "$ref": "./network.json#/definitions/ProvisioningState", - "description": "The provisioning state of the resource." - }, - "expressRouteCircuitPeering": { - "$ref": "#/definitions/ExpressRouteCircuitPeeringId", - "description": "The ExpressRoute circuit peering." - }, - "authorizationKey": { - "type": "string", - "description": "Authorization key to establish the connection." - }, - "routingWeight": { - "type": "integer", - "description": "The routing weight associated to the connection." - } - }, - "description": "Properties of the ExpressRouteConnection subresource." + "authorizationKey": { + "type": "string", + "description": "Authorization key to establish the connection." }, - "ExpressRouteConnection": { - "required": [ - "name" - ], - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/ExpressRouteConnectionProperties", - "description": "Properties of the express route connection." - }, - "name": { - "type": "string", - "description": "The name of the resource." - } - }, - "allOf": [ - { - "$ref": "./network.json#/definitions/SubResource" - } - ], - "description": "ExpressRouteConnection resource." + "routingWeight": { + "type": "integer", + "description": "The routing weight associated to the connection." + } + }, + "description": "Properties of the ExpressRouteConnection subresource." + }, + "ExpressRouteConnection": { + "required": [ + "name" + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ExpressRouteConnectionProperties", + "description": "Properties of the express route connection." }, - "ExpressRouteConnectionList": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/ExpressRouteConnection" - }, - "description": "The list of ExpressRoute connections" - } - }, - "description": "ExpressRouteConnection list" + "name": { + "type": "string", + "description": "The name of the resource." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/SubResource" + } + ], + "description": "ExpressRouteConnection resource." + }, + "ExpressRouteConnectionList": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/ExpressRouteConnection" + }, + "description": "The list of ExpressRoute connections" } + }, + "description": "ExpressRouteConnection list" } + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/expressRoutePort.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/expressRoutePort.json index 6a4789b6962c..06c3745ff9d7 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/expressRoutePort.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/expressRoutePort.json @@ -1,753 +1,775 @@ { - "swagger": "2.0", - "info": { - "title": "NetworkManagementClient", - "description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.", - "version": "2019-02-01" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] - } - ], - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "description": "Azure Active Directory OAuth2 Flow", - "scopes": { - "user_impersonation": "impersonate your user account" + "swagger": "2.0", + "info": { + "title": "NetworkManagementClient", + "description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.", + "version": "2019-02-01" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/ExpressRoutePortsLocations": { + "get": { + "tags": [ + "ExpressRoutePortsLocations" + ], + "operationId": "ExpressRoutePortsLocations_List", + "description": "Retrieves all ExpressRoutePort peering locations. Does not return available bandwidths for each location. Available bandwidths can only be obtained when retrieving a specific peering location.", + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns the list of all ExpressRoutePort peering locations.", + "schema": { + "$ref": "#/definitions/ExpressRoutePortsLocationListResult" } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "ExpressRoutePortsLocationList": { + "$ref": "./examples/ExpressRoutePortsLocationList.json" + } } + } }, - "paths": { - "/subscriptions/{subscriptionId}/providers/Microsoft.Network/ExpressRoutePortsLocations": { - "get": { - "tags": [ - "ExpressRoutePortsLocations" - ], - "operationId": "ExpressRoutePortsLocations_List", - "description": "Retrieves all ExpressRoutePort peering locations. Does not return available bandwidths for each location. Available bandwidths can only be obtained when retrieving a specific peering location.", - "parameters": [ - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Request successful. The operation returns the list of all ExpressRoutePort peering locations.", - "schema": { - "$ref": "#/definitions/ExpressRoutePortsLocationListResult" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "ExpressRoutePortsLocationList": { "$ref": "./examples/ExpressRoutePortsLocationList.json" } - } + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/ExpressRoutePortsLocations/{locationName}": { + "get": { + "tags": [ + "ExpressRoutePortsLocations" + ], + "operationId": "ExpressRoutePortsLocations_Get", + "description": "Retrieves a single ExpressRoutePort peering location, including the list of available bandwidths available at said peering location.", + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "name": "locationName", + "in": "path", + "required": true, + "type": "string", + "description": "Name of the requested ExpressRoutePort peering location." + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns the requested ExpressRoutePort peering location.", + "schema": { + "$ref": "#/definitions/ExpressRoutePortsLocation" } + } + }, + "x-ms-examples": { + "ExpressRoutePortsLocationGet": { + "$ref": "./examples/ExpressRoutePortsLocationGet.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}": { + "delete": { + "tags": [ + "ExpressRoutePorts" + ], + "operationId": "ExpressRoutePorts_Delete", + "description": "Deletes the specified ExpressRoutePort resource.", + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "expressRoutePortName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the ExpressRoutePort resource." + } + ], + "responses": { + "200": { + "description": "Delete successful." + }, + "202": { + "description": "Accepted and the operation will complete asynchronously." + }, + "204": { + "description": "Request successful. Resource does not exist." + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Network/ExpressRoutePortsLocations/{locationName}": { - "get": { - "tags": [ - "ExpressRoutePortsLocations" - ], - "operationId": "ExpressRoutePortsLocations_Get", - "description": "Retrieves a single ExpressRoutePort peering location, including the list of available bandwidths available at said peering location.", - "parameters": [ - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "name": "locationName", - "in": "path", - "required": true, - "type": "string", - "description": "Name of the requested ExpressRoutePort peering location." - } - ], - "responses": { - "200": { - "description": "Request successful. The operation returns the requested ExpressRoutePort peering location.", - "schema": { - "$ref": "#/definitions/ExpressRoutePortsLocation" - } - } - }, - "x-ms-examples": { - "ExpressRoutePortsLocationGet": { "$ref": "./examples/ExpressRoutePortsLocationGet.json" } - } + "x-ms-examples": { + "ExpressRoutePortDelete": { + "$ref": "./examples/ExpressRoutePortDelete.json" + } + } + }, + "get": { + "tags": [ + "ExpressRoutePorts" + ], + "operationId": "ExpressRoutePorts_Get", + "description": "Retrieves the requested ExpressRoutePort resource.", + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "expressRoutePortName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of ExpressRoutePort." + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns the requested ExpressRoutePort resource.", + "schema": { + "$ref": "#/definitions/ExpressRoutePort" } + } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}": { - "delete": { - "tags": [ - "ExpressRoutePorts" - ], - "operationId": "ExpressRoutePorts_Delete", - "description": "Deletes the specified ExpressRoutePort resource.", - "parameters": [ - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group." - }, - { - "name": "expressRoutePortName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the ExpressRoutePort resource." - } - ], - "responses": { - "200": { - "description": "Delete successful." - }, - "202": { - "description": "Accepted and the operation will complete asynchronously." - }, - "204": { - "description": "Request successful. Resource does not exist." - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-examples": { - "ExpressRoutePortDelete": { "$ref": "./examples/ExpressRoutePortDelete.json" } - } - }, - "get": { - "tags": [ - "ExpressRoutePorts" - ], - "operationId": "ExpressRoutePorts_Get", - "description": "Retrieves the requested ExpressRoutePort resource.", - "parameters": [ - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group." - }, - { - "name": "expressRoutePortName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of ExpressRoutePort." - } - ], - "responses": { - "200": { - "description": "Request successful. The operation returns the requested ExpressRoutePort resource.", - "schema": { - "$ref": "#/definitions/ExpressRoutePort" - } - } - }, - "x-ms-examples": { - "ExpressRoutePortGet": { "$ref": "./examples/ExpressRoutePortGet.json" } - } - }, - "put": { - "tags": [ - "ExpressRoutePorts" - ], - "operationId": "ExpressRoutePorts_CreateOrUpdate", - "description": "Creates or updates the specified ExpressRoutePort resource.", - "parameters": [ - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group." - }, - { - "name": "expressRoutePortName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the ExpressRoutePort resource." - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/ExpressRoutePort" - }, - "description": "Parameters supplied to the create ExpressRoutePort operation." - } - ], - "responses": { - "200": { - "description": "Update successful. The operation returns the resulting ExpressRoutePort resource.", - "schema": { - "$ref": "#/definitions/ExpressRoutePort" - } - }, - "201": { - "description": "Create successful. The operation returns the resulting ExpressRoutePort resource.", - "schema": { - "$ref": "#/definitions/ExpressRoutePort" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-examples": { - "ExpressRoutePortCreate": { "$ref": "./examples/ExpressRoutePortCreate.json" }, - "ExpressRoutePortUpdateLink": { "$ref": "./examples/ExpressRoutePortUpdateLink.json" } - } + "x-ms-examples": { + "ExpressRoutePortGet": { + "$ref": "./examples/ExpressRoutePortGet.json" + } + } + }, + "put": { + "tags": [ + "ExpressRoutePorts" + ], + "operationId": "ExpressRoutePorts_CreateOrUpdate", + "description": "Creates or updates the specified ExpressRoutePort resource.", + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "expressRoutePortName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the ExpressRoutePort resource." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ExpressRoutePort" }, - "patch": { - "tags": [ - "ExpressRoutePorts" - ], - "operationId": "ExpressRoutePorts_UpdateTags", - "description": "Update ExpressRoutePort tags", - "parameters": [ - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group." - }, - { - "name": "expressRoutePortName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the ExpressRoutePort resource." - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "./network.json#/definitions/TagsObject" - }, - "description": "Parameters supplied to update ExpressRoutePort resource tags." - } - ], - "responses": { - "200": { - "description": "Update successful. The operation returns the resulting ExpressRoutePort resource.", - "schema": { - "$ref": "#/definitions/ExpressRoutePort" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-examples": { - "ExpressRoutePortUpdateTags": { "$ref": "./examples/ExpressRoutePortUpdateTags.json" } - } + "description": "Parameters supplied to the create ExpressRoutePort operation." + } + ], + "responses": { + "200": { + "description": "Update successful. The operation returns the resulting ExpressRoutePort resource.", + "schema": { + "$ref": "#/definitions/ExpressRoutePort" } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts": { - "get": { - "tags": [ - "ExpressRoutePorts" - ], - "operationId": "ExpressRoutePorts_ListByResourceGroup", - "description": "List all the ExpressRoutePort resources in the specified resource group.", - "parameters": [ - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group." - } - ], - "responses": { - "200": { - "description": "Request successful. The operation returns a list of ExpressRoutePort resources. If there are no ExpressRoutePort resources then an empty list is returned.", - "schema": { - "$ref": "#/definitions/ExpressRoutePortListResult" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "ExpressRoutePortListByResourceGroup": { "$ref": "./examples/ExpressRoutePortListByResourceGroup.json" } - } + }, + "201": { + "description": "Create successful. The operation returns the resulting ExpressRoutePort resource.", + "schema": { + "$ref": "#/definitions/ExpressRoutePort" } + } }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Network/ExpressRoutePorts": { - "get": { - "tags": [ - "ExpressRoutePorts" - ], - "operationId": "ExpressRoutePorts_List", - "description": "List all the ExpressRoutePort resources in the specified subscription", - "parameters": [ - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Request successful. The operation returns a list of ExpressRoutePort resources. If there are no ExpressRoutePort resources then an empty list is returned.", - "schema": { - "$ref": "#/definitions/ExpressRoutePortListResult" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "ExpressRoutePortList": { "$ref": "./examples/ExpressRoutePortList.json" } - } - } + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}/links/{linkName}": { - "get": { - "tags": [ - "ExpressRouteLinks" - ], - "operationId": "ExpressRouteLinks_Get", - "description": "Retrieves the specified ExpressRouteLink resource.", - "parameters": [ - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group." - }, - { - "name": "expressRoutePortName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the ExpressRoutePort resource." - }, - { - "name": "linkName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the ExpressRouteLink resource." - } - ], - "responses": { - "200": { - "description": "Request successful. The operation returns the requested ExpressRouteLink resource.", - "schema": { - "$ref": "#/definitions/ExpressRouteLink" - } - } - }, - "x-ms-examples": { - "ExpressRouteLinkGet": { "$ref": "./examples/ExpressRouteLinkGet.json" } - } + "x-ms-examples": { + "ExpressRoutePortCreate": { + "$ref": "./examples/ExpressRoutePortCreate.json" + }, + "ExpressRoutePortUpdateLink": { + "$ref": "./examples/ExpressRoutePortUpdateLink.json" + } + } + }, + "patch": { + "tags": [ + "ExpressRoutePorts" + ], + "operationId": "ExpressRoutePorts_UpdateTags", + "description": "Update ExpressRoutePort tags", + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "expressRoutePortName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the ExpressRoutePort resource." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "./network.json#/definitions/TagsObject" + }, + "description": "Parameters supplied to update ExpressRoutePort resource tags." + } + ], + "responses": { + "200": { + "description": "Update successful. The operation returns the resulting ExpressRoutePort resource.", + "schema": { + "$ref": "#/definitions/ExpressRoutePort" } + } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}/links": { - "get": { - "tags": [ - "ExpressRouteLinks" - ], - "operationId": "ExpressRouteLinks_List", - "description": "Retrieve the ExpressRouteLink sub-resources of the specified ExpressRoutePort resource.", - "parameters": [ - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group." - }, - { - "name": "expressRoutePortName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the ExpressRoutePort resource." - } - ], - "responses": { - "200": { - "description": "Request successful. The operation returns a list of ExpressRouteLink resources. If there are no ExpressRouteLink resources then an empty list is returned.", - "schema": { - "$ref": "#/definitions/ExpressRouteLinkListResult" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "ExpressRouteLinkGet": { "$ref": "./examples/ExpressRouteLinkList.json" } - } - } + "x-ms-long-running-operation": true, + "x-ms-examples": { + "ExpressRoutePortUpdateTags": { + "$ref": "./examples/ExpressRoutePortUpdateTags.json" + } } + } }, - "definitions": { - "ExpressRoutePortsLocationBandwidths": { - "title": "ExpressRoutePorts Location Bandwidths", - "description" : "Real-time inventory of available ExpressRoute port bandwidths.", - "properties": { - "offerName": { - "type": "string", - "readOnly": true, - "description": "Bandwidth descriptive name" - }, - "valueInGbps": { - "type": "integer", - "readOnly": true, - "description": "Bandwidth value in Gbps" - } + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts": { + "get": { + "tags": [ + "ExpressRoutePorts" + ], + "operationId": "ExpressRoutePorts_ListByResourceGroup", + "description": "List all the ExpressRoutePort resources in the specified resource group.", + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns a list of ExpressRoutePort resources. If there are no ExpressRoutePort resources then an empty list is returned.", + "schema": { + "$ref": "#/definitions/ExpressRoutePortListResult" } + } }, - "ExpressRoutePortsLocationPropertiesFormat": { - "title": "ExpressRoutePorts Location Properties", - "description" : "Properties specific to ExpressRoutePorts peering location resources.", - "properties": { - "address": { - "type": "string", - "readOnly": true, - "description": "Address of peering location." - }, - "contact": { - "type": "string", - "readOnly": true, - "description": "Contact details of peering locations." - }, - "availableBandwidths": { - "type": "array", - "items": { - "$ref": "#/definitions/ExpressRoutePortsLocationBandwidths" - }, - "description": "The inventory of available ExpressRoutePort bandwidths." - }, - "provisioningState": { - "type": "string", - "readOnly": true, - "description": "The provisioning state of the ExpressRoutePortLocation resource. Possible values are: 'Succeeded', 'Updating', 'Deleting', and 'Failed'." - } - } + "x-ms-pageable": { + "nextLinkName": "nextLink" }, - "ExpressRoutePortsLocation": { - "title": "ExpressRoutePorts Peering Location", - "description": "Definition of the ExpressRoutePorts peering location resource.", - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/ExpressRoutePortsLocationPropertiesFormat", - "description": "ExpressRoutePort peering location properties" - } - }, - "allOf": [ - { - "$ref": "./network.json#/definitions/Resource" - } - ] - }, - "ExpressRoutePortsLocationListResult": { - "title": "ExpressRoutePorts Location List Result", - "description": "Response for ListExpressRoutePortsLocations API service call.", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/ExpressRoutePortsLocation" - }, - "description": "The list of all ExpressRoutePort peering locations." - }, - "nextLink": { - "type": "string", - "description": "The URL to get the next set of results." - } + "x-ms-examples": { + "ExpressRoutePortListByResourceGroup": { + "$ref": "./examples/ExpressRoutePortListByResourceGroup.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/ExpressRoutePorts": { + "get": { + "tags": [ + "ExpressRoutePorts" + ], + "operationId": "ExpressRoutePorts_List", + "description": "List all the ExpressRoutePort resources in the specified subscription", + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns a list of ExpressRoutePort resources. If there are no ExpressRoutePort resources then an empty list is returned.", + "schema": { + "$ref": "#/definitions/ExpressRoutePortListResult" } + } }, - "ExpressRouteLinkPropertiesFormat": { - "title": "ExpressRouteLink Resource Properties", - "description": "Properties specific to ExpressRouteLink resources.", - "properties": { - "routerName": { - "readOnly": true, - "type": "string", - "description": "Name of Azure router associated with physical port." - }, - "interfaceName": { - "readOnly": true, - "type": "string", - "description": "Name of Azure router interface." - }, - "patchPanelId": { - "readOnly": true, - "type": "string", - "description": "Mapping between physical port to patch panel port." - }, - "rackId": { - "readOnly": true, - "type": "string", - "description": "Mapping of physical patch panel to rack." - }, - "connectorType": { - "readOnly": true, - "type": "string", - "description": "Physical fiber port type.", - "enum": [ - "LC", - "SC" - ], - "x-ms-enum": { - "name": "ExpressRouteLinkConnectorType", - "modelAsString": true - } - }, - "adminState": { - "type": "string", - "description": "Administrative state of the physical port", - "enum": [ - "Enabled", - "Disabled" - ], - "x-ms-enum": { - "name": "ExpressRouteLinkAdminState", - "modelAsString": true - } - }, - "provisioningState": { - "type": "string", - "readOnly": true, - "description": "The provisioning state of the ExpressRouteLink resource. Possible values are: 'Succeeded', 'Updating', 'Deleting', and 'Failed'." - } - } + "x-ms-pageable": { + "nextLinkName": "nextLink" }, - "ExpressRouteLink": { - "title" : "ExpressRouteLink", - "description": "ExpressRouteLink child resource definition.", - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/ExpressRouteLinkPropertiesFormat", - "description": "ExpressRouteLink properties" - }, - "name": { - "type": "string", - "description": "Name of child port resource that is unique among child port resources of the parent." - }, - "etag": { - "readOnly": true, - "type": "string", - "description": "A unique read-only string that changes whenever the resource is updated." - } - }, - "allOf": [ - { - "$ref": "./network.json#/definitions/SubResource" - } - ] - }, - "ExpressRouteLinkListResult": { - "title": "ExpressRouteLink List Result", - "description": "Response for ListExpressRouteLinks API service call.", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/ExpressRouteLink" - }, - "description": "The list of ExpressRouteLink sub-resources." - }, - "nextLink": { - "type": "string", - "description": "The URL to get the next set of results." - } + "x-ms-examples": { + "ExpressRoutePortList": { + "$ref": "./examples/ExpressRoutePortList.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}/links/{linkName}": { + "get": { + "tags": [ + "ExpressRouteLinks" + ], + "operationId": "ExpressRouteLinks_Get", + "description": "Retrieves the specified ExpressRouteLink resource.", + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "expressRoutePortName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the ExpressRoutePort resource." + }, + { + "name": "linkName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the ExpressRouteLink resource." + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns the requested ExpressRouteLink resource.", + "schema": { + "$ref": "#/definitions/ExpressRouteLink" } + } }, - "ExpressRoutePortPropertiesFormat": { - "title": "ExpressRoutePort Properties", - "description" : "Properties specific to ExpressRoutePort resources.", - "properties": { - "peeringLocation": { - "type": "string", - "description": "The name of the peering location that the ExpressRoutePort is mapped to physically." - }, - "bandwidthInGbps": { - "type": "integer", - "description": "Bandwidth of procured ports in Gbps" - }, - "provisionedBandwidthInGbps": { - "readOnly": true, - "type": "number", - "description": "Aggregate Gbps of associated circuit bandwidths." - }, - "mtu": { - "readOnly": true, - "type": "string", - "description": "Maximum transmission unit of the physical port pair(s)" - }, - "encapsulation": { - "type": "string", - "description": "Encapsulation method on physical ports.", - "enum": [ - "Dot1Q", - "QinQ" - ], - "x-ms-enum": { - "name": "ExpressRoutePortsEncapsulation", - "modelAsString": true - } - }, - "etherType": { - "readOnly": true, - "type": "string", - "description": "Ether type of the physical port." - }, - "allocationDate": { - "readOnly": true, - "type": "string", - "description": "Date of the physical port allocation to be used in Letter of Authorization." - }, - "links": { - "title" : "ExpressRouteLink Sub-Resources", - "description" : "The set of physical links of the ExpressRoutePort resource", - "readOnly": false, - "type": "array", - "items": { - "$ref": "#/definitions/ExpressRouteLink" - } - }, - "circuits": { - "readOnly": true, - "type": "array", - "items": { - "$ref": "./network.json#/definitions/SubResource" - }, - "description": "Reference the ExpressRoute circuit(s) that are provisioned on this ExpressRoutePort resource." - }, - "provisioningState": { - "type": "string", - "readOnly": true, - "description": "The provisioning state of the ExpressRoutePort resource. Possible values are: 'Succeeded', 'Updating', 'Deleting', and 'Failed'." - }, - "resourceGuid": { - "type": "string", - "description": "The resource GUID property of the ExpressRoutePort resource." - } + "x-ms-examples": { + "ExpressRouteLinkGet": { + "$ref": "./examples/ExpressRouteLinkGet.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}/links": { + "get": { + "tags": [ + "ExpressRouteLinks" + ], + "operationId": "ExpressRouteLinks_List", + "description": "Retrieve the ExpressRouteLink sub-resources of the specified ExpressRoutePort resource.", + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "expressRoutePortName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the ExpressRoutePort resource." + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns a list of ExpressRouteLink resources. If there are no ExpressRouteLink resources then an empty list is returned.", + "schema": { + "$ref": "#/definitions/ExpressRouteLinkListResult" } + } }, - "ExpressRoutePort": { - "title": "ExpressRoute Port", - "description": "ExpressRoutePort resource definition.", - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/ExpressRoutePortPropertiesFormat", - "description": "ExpressRoutePort properties" - }, - "etag": { - "readOnly": true, - "type": "string", - "description": "A unique read-only string that changes whenever the resource is updated." - } - }, - "allOf": [ - { - "$ref": "./network.json#/definitions/Resource" - } - ] - }, - "ExpressRoutePortListResult": { - "title": "ExpressRoute Port List Result", - "description": "Response for ListExpressRoutePorts API service call.", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/ExpressRoutePort" - }, - "description": "A list of ExpressRoutePort resources." - }, - "nextLink": { - "type": "string", - "description": "The URL to get the next set of results." - } - } + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "ExpressRouteLinkGet": { + "$ref": "./examples/ExpressRouteLinkList.json" + } + } + } + } + }, + "definitions": { + "ExpressRoutePortsLocationBandwidths": { + "title": "ExpressRoutePorts Location Bandwidths", + "description": "Real-time inventory of available ExpressRoute port bandwidths.", + "properties": { + "offerName": { + "type": "string", + "readOnly": true, + "description": "Bandwidth descriptive name" + }, + "valueInGbps": { + "type": "integer", + "readOnly": true, + "description": "Bandwidth value in Gbps" + } + } + }, + "ExpressRoutePortsLocationPropertiesFormat": { + "title": "ExpressRoutePorts Location Properties", + "description": "Properties specific to ExpressRoutePorts peering location resources.", + "properties": { + "address": { + "type": "string", + "readOnly": true, + "description": "Address of peering location." + }, + "contact": { + "type": "string", + "readOnly": true, + "description": "Contact details of peering locations." + }, + "availableBandwidths": { + "type": "array", + "items": { + "$ref": "#/definitions/ExpressRoutePortsLocationBandwidths" + }, + "description": "The inventory of available ExpressRoutePort bandwidths." + }, + "provisioningState": { + "type": "string", + "readOnly": true, + "description": "The provisioning state of the ExpressRoutePortLocation resource. Possible values are: 'Succeeded', 'Updating', 'Deleting', and 'Failed'." + } + } + }, + "ExpressRoutePortsLocation": { + "title": "ExpressRoutePorts Peering Location", + "description": "Definition of the ExpressRoutePorts peering location resource.", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ExpressRoutePortsLocationPropertiesFormat", + "description": "ExpressRoutePort peering location properties" + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/Resource" + } + ] + }, + "ExpressRoutePortsLocationListResult": { + "title": "ExpressRoutePorts Location List Result", + "description": "Response for ListExpressRoutePortsLocations API service call.", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/ExpressRoutePortsLocation" + }, + "description": "The list of all ExpressRoutePort peering locations." + }, + "nextLink": { + "type": "string", + "description": "The URL to get the next set of results." + } + } + }, + "ExpressRouteLinkPropertiesFormat": { + "title": "ExpressRouteLink Resource Properties", + "description": "Properties specific to ExpressRouteLink resources.", + "properties": { + "routerName": { + "readOnly": true, + "type": "string", + "description": "Name of Azure router associated with physical port." + }, + "interfaceName": { + "readOnly": true, + "type": "string", + "description": "Name of Azure router interface." + }, + "patchPanelId": { + "readOnly": true, + "type": "string", + "description": "Mapping between physical port to patch panel port." + }, + "rackId": { + "readOnly": true, + "type": "string", + "description": "Mapping of physical patch panel to rack." + }, + "connectorType": { + "readOnly": true, + "type": "string", + "description": "Physical fiber port type.", + "enum": [ + "LC", + "SC" + ], + "x-ms-enum": { + "name": "ExpressRouteLinkConnectorType", + "modelAsString": true + } + }, + "adminState": { + "type": "string", + "description": "Administrative state of the physical port", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "ExpressRouteLinkAdminState", + "modelAsString": true + } + }, + "provisioningState": { + "type": "string", + "readOnly": true, + "description": "The provisioning state of the ExpressRouteLink resource. Possible values are: 'Succeeded', 'Updating', 'Deleting', and 'Failed'." + } + } + }, + "ExpressRouteLink": { + "title": "ExpressRouteLink", + "description": "ExpressRouteLink child resource definition.", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ExpressRouteLinkPropertiesFormat", + "description": "ExpressRouteLink properties" + }, + "name": { + "type": "string", + "description": "Name of child port resource that is unique among child port resources of the parent." + }, + "etag": { + "readOnly": true, + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/SubResource" + } + ] + }, + "ExpressRouteLinkListResult": { + "title": "ExpressRouteLink List Result", + "description": "Response for ListExpressRouteLinks API service call.", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/ExpressRouteLink" + }, + "description": "The list of ExpressRouteLink sub-resources." + }, + "nextLink": { + "type": "string", + "description": "The URL to get the next set of results." + } + } + }, + "ExpressRoutePortPropertiesFormat": { + "title": "ExpressRoutePort Properties", + "description": "Properties specific to ExpressRoutePort resources.", + "properties": { + "peeringLocation": { + "type": "string", + "description": "The name of the peering location that the ExpressRoutePort is mapped to physically." + }, + "bandwidthInGbps": { + "type": "integer", + "description": "Bandwidth of procured ports in Gbps" + }, + "provisionedBandwidthInGbps": { + "readOnly": true, + "type": "number", + "description": "Aggregate Gbps of associated circuit bandwidths." + }, + "mtu": { + "readOnly": true, + "type": "string", + "description": "Maximum transmission unit of the physical port pair(s)" + }, + "encapsulation": { + "type": "string", + "description": "Encapsulation method on physical ports.", + "enum": [ + "Dot1Q", + "QinQ" + ], + "x-ms-enum": { + "name": "ExpressRoutePortsEncapsulation", + "modelAsString": true + } + }, + "etherType": { + "readOnly": true, + "type": "string", + "description": "Ether type of the physical port." + }, + "allocationDate": { + "readOnly": true, + "type": "string", + "description": "Date of the physical port allocation to be used in Letter of Authorization." + }, + "links": { + "title": "ExpressRouteLink Sub-Resources", + "description": "The set of physical links of the ExpressRoutePort resource", + "readOnly": false, + "type": "array", + "items": { + "$ref": "#/definitions/ExpressRouteLink" + } + }, + "circuits": { + "readOnly": true, + "type": "array", + "items": { + "$ref": "./network.json#/definitions/SubResource" + }, + "description": "Reference the ExpressRoute circuit(s) that are provisioned on this ExpressRoutePort resource." + }, + "provisioningState": { + "type": "string", + "readOnly": true, + "description": "The provisioning state of the ExpressRoutePort resource. Possible values are: 'Succeeded', 'Updating', 'Deleting', and 'Failed'." + }, + "resourceGuid": { + "type": "string", + "description": "The resource GUID property of the ExpressRoutePort resource." + } + } + }, + "ExpressRoutePort": { + "title": "ExpressRoute Port", + "description": "ExpressRoutePort resource definition.", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ExpressRoutePortPropertiesFormat", + "description": "ExpressRoutePort properties" + }, + "etag": { + "readOnly": true, + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/Resource" + } + ] + }, + "ExpressRoutePortListResult": { + "title": "ExpressRoute Port List Result", + "description": "Response for ListExpressRoutePorts API service call.", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/ExpressRoutePort" + }, + "description": "A list of ExpressRoutePort resources." + }, + "nextLink": { + "type": "string", + "description": "The URL to get the next set of results." } + } } + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/interfaceEndpoint.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/interfaceEndpoint.json index c2ae4918a66a..25d707101b43 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/interfaceEndpoint.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/interfaceEndpoint.json @@ -79,7 +79,9 @@ "final-state-via": "location" }, "x-ms-examples": { - "Delete interface endpoint": { "$ref": "./examples/InterfaceEndpointDelete.json" } + "Delete interface endpoint": { + "$ref": "./examples/InterfaceEndpointDelete.json" + } } }, "get": { @@ -126,7 +128,9 @@ } }, "x-ms-examples": { - "Get interface endpoint": { "$ref": "./examples/InterfaceEndpointGet.json" } + "Get interface endpoint": { + "$ref": "./examples/InterfaceEndpointGet.json" + } } }, "put": { @@ -185,7 +189,9 @@ "final-state-via": "azure-async-operation" }, "x-ms-examples": { - "Create interface endpoint": { "$ref": "./examples/InterfaceEndpointCreate.json" } + "Create interface endpoint": { + "$ref": "./examples/InterfaceEndpointCreate.json" + } } } }, @@ -220,7 +226,9 @@ } }, "x-ms-examples": { - "List interface endpoints in resource group": { "$ref": "./examples/InterfaceEndpointList.json" } + "List interface endpoints in resource group": { + "$ref": "./examples/InterfaceEndpointList.json" + } }, "x-ms-pageable": { "nextLinkName": "nextLink" @@ -251,7 +259,9 @@ } }, "x-ms-examples": { - "List all interface endpoints": { "$ref": "./examples/InterfaceEndpointListAll.json" } + "List all interface endpoints": { + "$ref": "./examples/InterfaceEndpointListAll.json" + } }, "x-ms-pageable": { "nextLinkName": "nextLink" diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/loadBalancer.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/loadBalancer.json index 6569d3e0ab9b..426f54f933ef 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/loadBalancer.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/loadBalancer.json @@ -12,7 +12,6 @@ "consumes": [ "application/json" ], - "produces": [ "application/json" ], @@ -76,7 +75,9 @@ } }, "x-ms-examples": { - "Delete load balancer": { "$ref": "./examples/LoadBalancerDelete.json" } + "Delete load balancer": { + "$ref": "./examples/LoadBalancerDelete.json" + } }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { @@ -127,7 +128,9 @@ } }, "x-ms-examples": { - "Get load balancer": { "$ref": "./examples/LoadBalancerGet.json" } + "Get load balancer": { + "$ref": "./examples/LoadBalancerGet.json" + } } }, "put": { @@ -182,10 +185,18 @@ } }, "x-ms-examples": { - "Create load balancer": { "$ref": "./examples/LoadBalancerCreate.json" }, - "Create load balancer with Standard SKU": { "$ref": "./examples/LoadBalancerCreateStandardSku.json" }, - "Create load balancer with Frontend IP in Zone 1": { "$ref": "./examples/LoadBalancerCreateWithZones.json" }, - "Create load balancer with inbound nat pool": { "$ref": "./examples/LoadBalancerCreateWithInboundNatPool.json" } + "Create load balancer": { + "$ref": "./examples/LoadBalancerCreate.json" + }, + "Create load balancer with Standard SKU": { + "$ref": "./examples/LoadBalancerCreateStandardSku.json" + }, + "Create load balancer with Frontend IP in Zone 1": { + "$ref": "./examples/LoadBalancerCreateWithZones.json" + }, + "Create load balancer with inbound nat pool": { + "$ref": "./examples/LoadBalancerCreateWithInboundNatPool.json" + } }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { @@ -238,7 +249,9 @@ } }, "x-ms-examples": { - "Update load balancer tags": { "$ref": "./examples/LoadBalancerUpdateTags.json" } + "Update load balancer tags": { + "$ref": "./examples/LoadBalancerUpdateTags.json" + } }, "x-ms-long-running-operation": true } @@ -267,7 +280,9 @@ } }, "x-ms-examples": { - "List all load balancers": { "$ref": "./examples/LoadBalancerListAll.json" } + "List all load balancers": { + "$ref": "./examples/LoadBalancerListAll.json" + } }, "x-ms-pageable": { "nextLinkName": "nextLink" @@ -305,7 +320,9 @@ } }, "x-ms-examples": { - "List load balancers in resource group": { "$ref": "./examples/LoadBalancerList.json" } + "List load balancers in resource group": { + "$ref": "./examples/LoadBalancerList.json" + } }, "x-ms-pageable": { "nextLinkName": "nextLink" @@ -350,7 +367,9 @@ } }, "x-ms-examples": { - "LoadBalancerBackendAddressPoolList": { "$ref": "./examples/LoadBalancerBackendAddressPoolList.json" } + "LoadBalancerBackendAddressPoolList": { + "$ref": "./examples/LoadBalancerBackendAddressPoolList.json" + } }, "x-ms-pageable": { "nextLinkName": "nextLink" @@ -402,7 +421,9 @@ } }, "x-ms-examples": { - "LoadBalancerBackendAddressPoolGet": { "$ref": "./examples/LoadBalancerBackendAddressPoolGet.json" } + "LoadBalancerBackendAddressPoolGet": { + "$ref": "./examples/LoadBalancerBackendAddressPoolGet.json" + } } } }, @@ -444,7 +465,9 @@ } }, "x-ms-examples": { - "LoadBalancerFrontendIPConfigurationList": { "$ref": "./examples/LoadBalancerFrontendIPConfigurationList.json" } + "LoadBalancerFrontendIPConfigurationList": { + "$ref": "./examples/LoadBalancerFrontendIPConfigurationList.json" + } }, "x-ms-pageable": { "nextLinkName": "nextLink" @@ -496,7 +519,9 @@ } }, "x-ms-examples": { - "LoadBalancerFrontendIPConfigurationGet": { "$ref": "./examples/LoadBalancerFrontendIPConfigurationGet.json" } + "LoadBalancerFrontendIPConfigurationGet": { + "$ref": "./examples/LoadBalancerFrontendIPConfigurationGet.json" + } } } }, @@ -541,7 +566,9 @@ "nextLinkName": "nextLink" }, "x-ms-examples": { - "InboundNatRuleList": { "$ref": "./examples/InboundNatRuleList.json" } + "InboundNatRuleList": { + "$ref": "./examples/InboundNatRuleList.json" + } } } }, @@ -593,7 +620,9 @@ } }, "x-ms-examples": { - "InboundNatRuleDelete": { "$ref": "./examples/InboundNatRuleDelete.json" } + "InboundNatRuleDelete": { + "$ref": "./examples/InboundNatRuleDelete.json" + } }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { @@ -651,7 +680,9 @@ } }, "x-ms-examples": { - "InboundNatRuleGet": { "$ref": "./examples/InboundNatRuleGet.json" } + "InboundNatRuleGet": { + "$ref": "./examples/InboundNatRuleGet.json" + } } }, "put": { @@ -717,7 +748,9 @@ "final-state-via": "azure-async-operation" }, "x-ms-examples": { - "InboundNatRuleCreate": { "$ref": "./examples/InboundNatRuleCreate.json" } + "InboundNatRuleCreate": { + "$ref": "./examples/InboundNatRuleCreate.json" + } } } }, @@ -762,7 +795,9 @@ "nextLinkName": "nextLink" }, "x-ms-examples": { - "LoadBalancerLoadBalancingRuleList": { "$ref": "./examples/LoadBalancerLoadBalancingRuleList.json" } + "LoadBalancerLoadBalancingRuleList": { + "$ref": "./examples/LoadBalancerLoadBalancingRuleList.json" + } } } }, @@ -811,7 +846,9 @@ } }, "x-ms-examples": { - "LoadBalancerLoadBalancingRuleGet": { "$ref": "./examples/LoadBalancerLoadBalancingRuleGet.json" } + "LoadBalancerLoadBalancingRuleGet": { + "$ref": "./examples/LoadBalancerLoadBalancingRuleGet.json" + } } } }, @@ -856,7 +893,9 @@ "nextLinkName": "nextLink" }, "x-ms-examples": { - "LoadBalancerOutboundRuleList": { "$ref": "./examples/LoadBalancerOutboundRuleList.json" } + "LoadBalancerOutboundRuleList": { + "$ref": "./examples/LoadBalancerOutboundRuleList.json" + } } } }, @@ -905,7 +944,9 @@ } }, "x-ms-examples": { - "LoadBalancerOutboundRuleGet": { "$ref": "./examples/LoadBalancerOutboundRuleGet.json" } + "LoadBalancerOutboundRuleGet": { + "$ref": "./examples/LoadBalancerOutboundRuleGet.json" + } } } }, @@ -947,8 +988,12 @@ } }, "x-ms-examples": { - "LoadBalancerNetworkInterfaceListVmss": { "$ref": "./examples/LoadBalancerNetworkInterfaceListVmss.json" }, - "LoadBalancerNetworkInterfaceListSimple": { "$ref": "./examples/LoadBalancerNetworkInterfaceListSimple.json" } + "LoadBalancerNetworkInterfaceListVmss": { + "$ref": "./examples/LoadBalancerNetworkInterfaceListVmss.json" + }, + "LoadBalancerNetworkInterfaceListSimple": { + "$ref": "./examples/LoadBalancerNetworkInterfaceListSimple.json" + } }, "x-ms-pageable": { "nextLinkName": "nextLink" @@ -993,7 +1038,9 @@ } }, "x-ms-examples": { - "LoadBalancerProbeList": { "$ref": "./examples/LoadBalancerProbeList.json" } + "LoadBalancerProbeList": { + "$ref": "./examples/LoadBalancerProbeList.json" + } }, "x-ms-pageable": { "nextLinkName": "nextLink" @@ -1045,7 +1092,9 @@ } }, "x-ms-examples": { - "LoadBalancerProbeGet": { "$ref": "./examples/LoadBalancerProbeGet.json" } + "LoadBalancerProbeGet": { + "$ref": "./examples/LoadBalancerProbeGet.json" + } } } } @@ -1119,7 +1168,7 @@ "description": "The reference of the Public IP resource." }, "publicIPPrefix": { - "$ref":"./network.json#/definitions/SubResource", + "$ref": "./network.json#/definitions/SubResource", "description": "The reference of the Public IP Prefix resource." }, "provisioningState": { @@ -1269,7 +1318,7 @@ "disableOutboundSnat": { "type": "boolean", "description": "Configures SNAT for the VMs in the backend pool to use the publicIP address specified in the frontend of the load balancing rule." - }, + }, "provisioningState": { "type": "string", "description": "Gets the provisioning state of the PublicIP resource. Possible values are: 'Updating', 'Deleting', and 'Failed'." @@ -1558,12 +1607,12 @@ } }, "enableTcpReset": { - "type": "boolean", - "description": "Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP." + "type": "boolean", + "description": "Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP." }, "idleTimeoutInMinutes": { - "type": "integer", - "description": "The timeout for the TCP idle connection" + "type": "integer", + "description": "The timeout for the TCP idle connection" } }, "required": [ diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/natGateway.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/natGateway.json index 460187282935..071b3d847fae 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/natGateway.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/natGateway.json @@ -75,7 +75,9 @@ } }, "x-ms-examples": { - "Delete nat gateway": { "$ref": "./examples/NatGatewayDelete.json" } + "Delete nat gateway": { + "$ref": "./examples/NatGatewayDelete.json" + } }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { @@ -126,7 +128,9 @@ } }, "x-ms-examples": { - "Get nat gateway": { "$ref": "./examples/NatGatewayGet.json" } + "Get nat gateway": { + "$ref": "./examples/NatGatewayGet.json" + } } }, "put": { @@ -187,11 +191,13 @@ } }, "x-ms-examples": { - "Create nat gateway": { "$ref": "./examples/NatGatewayCreateOrUpdate.json" } + "Create nat gateway": { + "$ref": "./examples/NatGatewayCreateOrUpdate.json" + } }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" + "final-state-via": "azure-async-operation" } }, "patch": { @@ -240,7 +246,9 @@ } }, "x-ms-examples": { - "Update nat gateway tags": { "$ref": "./examples/NatGatewayUpdateTags.json" } + "Update nat gateway tags": { + "$ref": "./examples/NatGatewayUpdateTags.json" + } } } }, @@ -268,7 +276,9 @@ } }, "x-ms-examples": { - "List all nat gateways": { "$ref": "./examples/NatGatewayListAll.json" } + "List all nat gateways": { + "$ref": "./examples/NatGatewayListAll.json" + } }, "x-ms-pageable": { "nextLinkName": "nextLink" @@ -306,7 +316,9 @@ } }, "x-ms-examples": { - "List nat gateways in resource group": { "$ref": "./examples/NatGatewayList.json" } + "List nat gateways in resource group": { + "$ref": "./examples/NatGatewayList.json" + } }, "x-ms-pageable": { "nextLinkName": "nextLink" @@ -351,7 +363,7 @@ "$ref": "./network.json#/definitions/SubResource" }, "description": "An array of public ip prefixes associated with the nat gateway resource." - }, + }, "subnets": { "readOnly": true, "type": "array", @@ -411,4 +423,4 @@ "description": "Response for ListNatGateways API service call." } } -} \ No newline at end of file +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/network.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/network.json index d5110f6b9ea4..15949809e10d 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/network.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/network.json @@ -33,8 +33,7 @@ } } }, - "paths": { - }, + "paths": {}, "definitions": { "ErrorDetails": { "properties": { @@ -204,19 +203,19 @@ }, "description": "Identity for the resource." }, - "ProvisioningState":{ - "type":"string", - "readOnly":true, + "ProvisioningState": { + "type": "string", + "readOnly": true, "description": "The current provisioning state.", - "enum":[ + "enum": [ "Succeeded", "Updating", "Deleting", "Failed" ], - "x-ms-enum":{ - "name":"ProvisioningState", - "modelAsString":true + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true } }, "Access": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/networkInterface.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/networkInterface.json index bd5085c8ae0f..95a4f02abf7c 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/networkInterface.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/networkInterface.json @@ -75,7 +75,9 @@ } }, "x-ms-examples": { - "Delete network interface": { "$ref": "./examples/NetworkInterfaceDelete.json" } + "Delete network interface": { + "$ref": "./examples/NetworkInterfaceDelete.json" + } }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { @@ -126,7 +128,9 @@ } }, "x-ms-examples": { - "Get network interface": { "$ref": "./examples/NetworkInterfaceGet.json" } + "Get network interface": { + "$ref": "./examples/NetworkInterfaceGet.json" + } } }, "put": { @@ -181,7 +185,9 @@ } }, "x-ms-examples": { - "Create network interface": { "$ref": "./examples/NetworkInterfaceCreate.json" } + "Create network interface": { + "$ref": "./examples/NetworkInterfaceCreate.json" + } }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { @@ -234,7 +240,9 @@ } }, "x-ms-examples": { - "Update network interface tags": { "$ref": "./examples/NetworkInterfaceUpdateTags.json" } + "Update network interface tags": { + "$ref": "./examples/NetworkInterfaceUpdateTags.json" + } }, "x-ms-long-running-operation": true } @@ -263,7 +271,9 @@ } }, "x-ms-examples": { - "List all network interfaces": { "$ref": "./examples/NetworkInterfaceListAll.json" } + "List all network interfaces": { + "$ref": "./examples/NetworkInterfaceListAll.json" + } }, "x-ms-pageable": { "nextLinkName": "nextLink" @@ -301,7 +311,9 @@ } }, "x-ms-examples": { - "List network interfaces in resource group": { "$ref": "./examples/NetworkInterfaceList.json" } + "List network interfaces in resource group": { + "$ref": "./examples/NetworkInterfaceList.json" + } }, "x-ms-pageable": { "nextLinkName": "nextLink" @@ -349,7 +361,9 @@ } }, "x-ms-examples": { - "Show network interface effective route tables": { "$ref": "./examples/NetworkInterfaceEffectiveRouteTableList.json" } + "Show network interface effective route tables": { + "$ref": "./examples/NetworkInterfaceEffectiveRouteTableList.json" + } }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { @@ -398,7 +412,9 @@ } }, "x-ms-examples": { - "List network interface effective network security groups": { "$ref": "./examples/NetworkInterfaceEffectiveNSGList.json" } + "List network interface effective network security groups": { + "$ref": "./examples/NetworkInterfaceEffectiveNSGList.json" + } }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { @@ -447,7 +463,9 @@ "nextLinkName": "nextLink" }, "x-ms-examples": { - "NetworkInterfaceIPConfigurationList": { "$ref": "./examples/NetworkInterfaceIPConfigurationList.json" } + "NetworkInterfaceIPConfigurationList": { + "$ref": "./examples/NetworkInterfaceIPConfigurationList.json" + } } } }, @@ -496,7 +514,9 @@ } }, "x-ms-examples": { - "NetworkInterfaceIPConfigurationGet": { "$ref": "./examples/NetworkInterfaceIPConfigurationGet.json" } + "NetworkInterfaceIPConfigurationGet": { + "$ref": "./examples/NetworkInterfaceIPConfigurationGet.json" + } } } }, @@ -541,7 +561,9 @@ "nextLinkName": "nextLink" }, "x-ms-examples": { - "NetworkInterfaceLoadBalancerList": { "$ref": "./examples/NetworkInterfaceLoadBalancerList.json" } + "NetworkInterfaceLoadBalancerList": { + "$ref": "./examples/NetworkInterfaceLoadBalancerList.json" + } } } }, @@ -592,9 +614,10 @@ "description": "Delete successful." } }, - "x-ms-examples": - { - "Delete tap configuration": { "$ref": "./examples/NetworkInterfaceTapConfigurationDelete.json" } + "x-ms-examples": { + "Delete tap configuration": { + "$ref": "./examples/NetworkInterfaceTapConfigurationDelete.json" + } }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { @@ -644,9 +667,10 @@ } } }, - "x-ms-examples": - { - "Get Network Interface Tap Configurations": { "$ref": "./examples/NetworkInterfaceTapConfigurationGet.json" } + "x-ms-examples": { + "Get Network Interface Tap Configurations": { + "$ref": "./examples/NetworkInterfaceTapConfigurationGet.json" + } } }, "put": { @@ -707,9 +731,10 @@ } } }, - "x-ms-examples": - { - "Create Network Interface Tap Configurations": { "$ref": "./examples/NetworkInterfaceTapConfigurationCreate.json" } + "x-ms-examples": { + "Create Network Interface Tap Configurations": { + "$ref": "./examples/NetworkInterfaceTapConfigurationCreate.json" + } }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { @@ -755,7 +780,9 @@ } }, "x-ms-examples": { - "List virtual network tap configurations": { "$ref": "./examples/NetworkInterfaceTapConfigurationList.json" } + "List virtual network tap configurations": { + "$ref": "./examples/NetworkInterfaceTapConfigurationList.json" + } }, "x-ms-pageable": { "nextLinkName": "nextLink" @@ -795,14 +822,14 @@ "NetworkInterfaceTapConfigurationPropertiesFormat": { "properties": { "virtualNetworkTap": { - "$ref": "./virtualNetworkTap.json#/definitions/VirtualNetworkTap", - "description": "The reference of the Virtual Network Tap resource." - }, - "provisioningState": { - "readOnly": true, - "type": "string", - "description": "The provisioning state of the network interface tap configuration. Possible values are: 'Updating', 'Deleting', and 'Failed'." - } + "$ref": "./virtualNetworkTap.json#/definitions/VirtualNetworkTap", + "description": "The reference of the Virtual Network Tap resource." + }, + "provisioningState": { + "readOnly": true, + "type": "string", + "description": "The provisioning state of the network interface tap configuration. Possible values are: 'Updating', 'Deleting', and 'Failed'." + } }, "description": "Properties of Virtual Network Tap configuration." }, @@ -940,7 +967,7 @@ "description": "The reference of the NetworkSecurityGroup resource." }, "interfaceEndpoint": { - "readOnly": true, + "readOnly": true, "$ref": "./interfaceEndpoint.json#/definitions/InterfaceEndpoint", "description": "A reference to the interface endpoint to which the network interface is linked." }, @@ -1104,7 +1131,7 @@ "tagMap": { "type": "string", "additionalProperties": { - "type":"array", + "type": "array", "items": { "type": "string" }, @@ -1177,14 +1204,14 @@ "type": "string", "description": "The destination address prefix." }, - "sourceAddressPrefixes" : { + "sourceAddressPrefixes": { "type": "array", "items": { "type": "string" }, "description": "The source address prefixes. Expected values include CIDR IP ranges, Default Tags (VirtualNetwork, AzureLoadBalancer, Internet), System Tags, and the asterisk (*)." }, - "destinationAddressPrefixes" : { + "destinationAddressPrefixes": { "type": "array", "items": { "type": "string" diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/networkProfile.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/networkProfile.json index 5b3fcb330f55..8f7ac002ff14 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/networkProfile.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/networkProfile.json @@ -531,7 +531,7 @@ "description": "IP configuration profile child resource." }, "Container": { - "properties": { }, + "properties": {}, "allOf": [ { "$ref": "./network.json#/definitions/SubResource" diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/networkSecurityGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/networkSecurityGroup.json index 9e0d497339f8..0d38a19a48d1 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/networkSecurityGroup.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/networkSecurityGroup.json @@ -75,7 +75,9 @@ } }, "x-ms-examples": { - "Delete network security group": { "$ref": "./examples/NetworkSecurityGroupDelete.json" } + "Delete network security group": { + "$ref": "./examples/NetworkSecurityGroupDelete.json" + } }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { @@ -126,7 +128,9 @@ } }, "x-ms-examples": { - "Get network security group": { "$ref": "./examples/NetworkSecurityGroupGet.json" } + "Get network security group": { + "$ref": "./examples/NetworkSecurityGroupGet.json" + } } }, "put": { @@ -181,8 +185,12 @@ } }, "x-ms-examples": { - "Create network security group": { "$ref": "./examples/NetworkSecurityGroupCreate.json" }, - "Create network security group with rule": { "$ref": "./examples/NetworkSecurityGroupCreateWithRule.json" } + "Create network security group": { + "$ref": "./examples/NetworkSecurityGroupCreate.json" + }, + "Create network security group with rule": { + "$ref": "./examples/NetworkSecurityGroupCreateWithRule.json" + } }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { @@ -235,7 +243,9 @@ } }, "x-ms-examples": { - "Update network security group tags": { "$ref": "./examples/NetworkSecurityGroupUpdateTags.json" } + "Update network security group tags": { + "$ref": "./examples/NetworkSecurityGroupUpdateTags.json" + } }, "x-ms-long-running-operation": true } @@ -264,7 +274,9 @@ } }, "x-ms-examples": { - "List all network security groups": { "$ref": "./examples/NetworkSecurityGroupListAll.json" } + "List all network security groups": { + "$ref": "./examples/NetworkSecurityGroupListAll.json" + } }, "x-ms-pageable": { "nextLinkName": "nextLink" @@ -302,7 +314,9 @@ } }, "x-ms-examples": { - "List network security groups in resource group": { "$ref": "./examples/NetworkSecurityGroupList.json" } + "List network security groups in resource group": { + "$ref": "./examples/NetworkSecurityGroupList.json" + } }, "x-ms-pageable": { "nextLinkName": "nextLink" @@ -357,7 +371,9 @@ } }, "x-ms-examples": { - "Delete network security rule from network security group": { "$ref": "./examples/NetworkSecurityGroupRuleDelete.json" } + "Delete network security rule from network security group": { + "$ref": "./examples/NetworkSecurityGroupRuleDelete.json" + } }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { @@ -408,7 +424,9 @@ } }, "x-ms-examples": { - "Get network security rule in network security group": { "$ref": "./examples/NetworkSecurityGroupRuleGet.json" } + "Get network security rule in network security group": { + "$ref": "./examples/NetworkSecurityGroupRuleGet.json" + } } }, "put": { @@ -470,7 +488,9 @@ } }, "x-ms-examples": { - "Create security rule": { "$ref": "./examples/NetworkSecurityGroupRuleCreate.json" } + "Create security rule": { + "$ref": "./examples/NetworkSecurityGroupRuleCreate.json" + } }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { @@ -516,7 +536,9 @@ } }, "x-ms-examples": { - "List network security rules in network security group": { "$ref": "./examples/NetworkSecurityGroupRuleList.json" } + "List network security rules in network security group": { + "$ref": "./examples/NetworkSecurityGroupRuleList.json" + } }, "x-ms-pageable": { "nextLinkName": "nextLink" @@ -561,14 +583,16 @@ } }, "x-ms-examples": { - "DefaultSecurityRuleList": { "$ref": "./examples/DefaultSecurityRuleList.json" } + "DefaultSecurityRuleList": { + "$ref": "./examples/DefaultSecurityRuleList.json" + } }, "x-ms-pageable": { "nextLinkName": "nextLink" } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/defaultSecurityRules/{defaultSecurityRuleName}" : { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/defaultSecurityRules/{defaultSecurityRuleName}": { "get": { "tags": [ "SecurityRules" @@ -613,7 +637,9 @@ } }, "x-ms-examples": { - "DefaultSecurityRuleGet": { "$ref": "./examples/DefaultSecurityRuleGet.json" } + "DefaultSecurityRuleGet": { + "$ref": "./examples/DefaultSecurityRuleGet.json" + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/networkWatcher.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/networkWatcher.json index ce54132581aa..69d1967c0311 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/networkWatcher.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/networkWatcher.json @@ -93,7 +93,9 @@ } }, "x-ms-examples": { - "Create network watcher": { "$ref": "./examples/NetworkWatcherCreate.json" } + "Create network watcher": { + "$ref": "./examples/NetworkWatcherCreate.json" + } } }, "get": { @@ -139,7 +141,9 @@ } }, "x-ms-examples": { - "Get network watcher": { "$ref": "./examples/NetworkWatcherGet.json" } + "Get network watcher": { + "$ref": "./examples/NetworkWatcherGet.json" + } } }, "delete": { @@ -185,7 +189,9 @@ } }, "x-ms-examples": { - "Delete network watcher": { "$ref": "./examples/NetworkWatcherDelete.json" } + "Delete network watcher": { + "$ref": "./examples/NetworkWatcherDelete.json" + } }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { @@ -244,7 +250,9 @@ } }, "x-ms-examples": { - "Update network watcher tags": { "$ref": "./examples/NetworkWatcherUpdateTags.json" } + "Update network watcher tags": { + "$ref": "./examples/NetworkWatcherUpdateTags.json" + } } } }, @@ -288,7 +296,9 @@ "nextLinkName": null }, "x-ms-examples": { - "List network watchers": { "$ref": "./examples/NetworkWatcherList.json" } + "List network watchers": { + "$ref": "./examples/NetworkWatcherList.json" + } } } }, @@ -325,7 +335,9 @@ "nextLinkName": null }, "x-ms-examples": { - "List all network watchers": { "$ref": "./examples/NetworkWatcherListAll.json" } + "List all network watchers": { + "$ref": "./examples/NetworkWatcherListAll.json" + } } } }, @@ -447,7 +459,9 @@ } }, "x-ms-examples": { - "Ip flow verify": { "$ref": "./examples/NetworkWatcherIpFlowVerify.json" } + "Ip flow verify": { + "$ref": "./examples/NetworkWatcherIpFlowVerify.json" + } }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { @@ -514,7 +528,9 @@ } }, "x-ms-examples": { - "Get next hop": { "$ref": "./examples/NetworkWatcherNextHopGet.json" } + "Get next hop": { + "$ref": "./examples/NetworkWatcherNextHopGet.json" + } }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { @@ -581,7 +597,9 @@ } }, "x-ms-examples": { - "Get security group view": { "$ref": "./examples/NetworkWatcherSecurityGroupViewGet.json" } + "Get security group view": { + "$ref": "./examples/NetworkWatcherSecurityGroupViewGet.json" + } }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { @@ -649,7 +667,9 @@ } }, "x-ms-examples": { - "Create packet capture": { "$ref": "./examples/NetworkWatcherPacketCaptureCreate.json" } + "Create packet capture": { + "$ref": "./examples/NetworkWatcherPacketCaptureCreate.json" + } }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { @@ -706,7 +726,9 @@ } }, "x-ms-examples": { - "Get packet capture": { "$ref": "./examples/NetworkWatcherPacketCaptureGet.json" } + "Get packet capture": { + "$ref": "./examples/NetworkWatcherPacketCaptureGet.json" + } } }, "delete": { @@ -759,7 +781,9 @@ } }, "x-ms-examples": { - "Delete packet capture": { "$ref": "./examples/NetworkWatcherPacketCaptureDelete.json" } + "Delete packet capture": { + "$ref": "./examples/NetworkWatcherPacketCaptureDelete.json" + } }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { @@ -818,7 +842,9 @@ } }, "x-ms-examples": { - "Stop packet capture": { "$ref": "./examples/NetworkWatcherPacketCaptureStop.json" } + "Stop packet capture": { + "$ref": "./examples/NetworkWatcherPacketCaptureStop.json" + } }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { @@ -883,7 +909,9 @@ } }, "x-ms-examples": { - "Query packet capture status": { "$ref": "./examples/NetworkWatcherPacketCaptureQueryStatus.json" } + "Query packet capture status": { + "$ref": "./examples/NetworkWatcherPacketCaptureQueryStatus.json" + } }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { @@ -938,7 +966,9 @@ "nextLinkName": null }, "x-ms-examples": { - "List packet captures": { "$ref": "./examples/NetworkWatcherPacketCapturesList.json" } + "List packet captures": { + "$ref": "./examples/NetworkWatcherPacketCapturesList.json" + } } } }, @@ -1001,7 +1031,9 @@ } }, "x-ms-examples": { - "Get troubleshooting": { "$ref": "./examples/NetworkWatcherTroubleshootGet.json" } + "Get troubleshooting": { + "$ref": "./examples/NetworkWatcherTroubleshootGet.json" + } }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { @@ -1068,7 +1100,9 @@ } }, "x-ms-examples": { - "Get troubleshoot result": { "$ref": "./examples/NetworkWatcherTroubleshootResultQuery.json" } + "Get troubleshoot result": { + "$ref": "./examples/NetworkWatcherTroubleshootResultQuery.json" + } }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { @@ -1136,7 +1170,9 @@ } }, "x-ms-examples": { - "Configure flow log": { "$ref": "./examples/NetworkWatcherFlowLogConfigure.json" } + "Configure flow log": { + "$ref": "./examples/NetworkWatcherFlowLogConfigure.json" + } }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { @@ -1204,7 +1240,9 @@ } }, "x-ms-examples": { - "Get flow log status": { "$ref": "./examples/NetworkWatcherFlowLogStatusQuery.json" } + "Get flow log status": { + "$ref": "./examples/NetworkWatcherFlowLogStatusQuery.json" + } }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { @@ -1271,7 +1309,9 @@ } }, "x-ms-examples": { - "Check connectivity": { "$ref": "./examples/NetworkWatcherConnectivityCheck.json" } + "Check connectivity": { + "$ref": "./examples/NetworkWatcherConnectivityCheck.json" + } }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { @@ -1483,7 +1523,9 @@ } }, "x-ms-examples": { - "Create connection monitor": { "$ref": "./examples/NetworkWatcherConnectionMonitorCreate.json" } + "Create connection monitor": { + "$ref": "./examples/NetworkWatcherConnectionMonitorCreate.json" + } }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { @@ -1540,7 +1582,9 @@ } }, "x-ms-examples": { - "Get connection monitor": { "$ref": "./examples/NetworkWatcherConnectionMonitorGet.json" } + "Get connection monitor": { + "$ref": "./examples/NetworkWatcherConnectionMonitorGet.json" + } } }, "delete": { @@ -1593,7 +1637,9 @@ } }, "x-ms-examples": { - "Delete connection monitor": { "$ref": "./examples/NetworkWatcherConnectionMonitorDelete.json" } + "Delete connection monitor": { + "$ref": "./examples/NetworkWatcherConnectionMonitorDelete.json" + } }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { @@ -1652,7 +1698,9 @@ } }, "x-ms-examples": { - "Stop connection monitor": { "$ref": "./examples/NetworkWatcherConnectionMonitorStop.json" } + "Stop connection monitor": { + "$ref": "./examples/NetworkWatcherConnectionMonitorStop.json" + } }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { @@ -1711,7 +1759,9 @@ } }, "x-ms-examples": { - "Start connection monitor": { "$ref": "./examples/NetworkWatcherConnectionMonitorStart.json" } + "Start connection monitor": { + "$ref": "./examples/NetworkWatcherConnectionMonitorStart.json" + } }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { @@ -1776,7 +1826,9 @@ } }, "x-ms-examples": { - "Query connection monitor": { "$ref": "./examples/NetworkWatcherConnectionMonitorQuery.json" } + "Query connection monitor": { + "$ref": "./examples/NetworkWatcherConnectionMonitorQuery.json" + } }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { @@ -1831,7 +1883,9 @@ "nextLinkName": null }, "x-ms-examples": { - "List connection monitors": { "$ref": "./examples/NetworkWatcherConnectionMonitorList.json" } + "List connection monitors": { + "$ref": "./examples/NetworkWatcherConnectionMonitorList.json" + } } } }, @@ -1894,7 +1948,9 @@ } }, "x-ms-examples": { - "Network configuration diagnostic": { "$ref": "./examples/NetworkWatcherNetworkConfigurationDiagnostic.json" } + "Network configuration diagnostic": { + "$ref": "./examples/NetworkWatcherNetworkConfigurationDiagnostic.json" + } }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { @@ -2696,7 +2752,7 @@ } } }, - "TrafficAnalyticsProperties": { + "TrafficAnalyticsProperties": { "description": "Parameters that define the configuration of traffic analytics.", "required": [ "networkWatcherFlowAnalyticsConfiguration" @@ -3443,7 +3499,7 @@ }, "startTime": { "type": "string", - "format": "date-time", + "format": "date-time", "description": "The start time of the connection snapshot." }, "endTime": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/operation.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/operation.json index eafb6779dff0..ac3cc4f37cce 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/operation.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/operation.json @@ -55,14 +55,16 @@ "nextLinkName": "nextLink" }, "x-ms-examples": { - "Get a list of operations for a resource provider": { "$ref": "./examples/OperationList.json" } + "Get a list of operations for a resource provider": { + "$ref": "./examples/OperationList.json" + } } } } }, "definitions": { "OperationListResult": { - "description": "Result of the request to list Network operations. It contains a list of operations and a URL link to get the next set of results.", + "description": "Result of the request to list Network operations. It contains a list of operations and a URL link to get the next set of results.", "properties": { "value": { "type": "array", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/publicIpAddress.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/publicIpAddress.json index fdcd000a11a4..d6d5d93e0a20 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/publicIpAddress.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/publicIpAddress.json @@ -75,7 +75,9 @@ } }, "x-ms-examples": { - "Delete public IP address": { "$ref": "./examples/PublicIpAddressDelete.json" } + "Delete public IP address": { + "$ref": "./examples/PublicIpAddressDelete.json" + } }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { @@ -126,7 +128,9 @@ } }, "x-ms-examples": { - "Get public IP address": { "$ref": "./examples/PublicIpAddressGet.json" } + "Get public IP address": { + "$ref": "./examples/PublicIpAddressGet.json" + } } }, "put": { @@ -181,9 +185,15 @@ } }, "x-ms-examples": { - "Create public IP address defaults": { "$ref": "./examples/PublicIpAddressCreateDefaults.json" }, - "Create public IP address allocation method": { "$ref": "./examples/PublicIpAddressCreateCustomizedValues.json" }, - "Create public IP address DNS": { "$ref": "./examples/PublicIpAddressCreateDns.json" } + "Create public IP address defaults": { + "$ref": "./examples/PublicIpAddressCreateDefaults.json" + }, + "Create public IP address allocation method": { + "$ref": "./examples/PublicIpAddressCreateCustomizedValues.json" + }, + "Create public IP address DNS": { + "$ref": "./examples/PublicIpAddressCreateDns.json" + } }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { @@ -236,7 +246,9 @@ } }, "x-ms-examples": { - "Update public IP address tags": { "$ref": "./examples/PublicIpAddressUpdateTags.json" } + "Update public IP address tags": { + "$ref": "./examples/PublicIpAddressUpdateTags.json" + } }, "x-ms-long-running-operation": true } @@ -265,7 +277,9 @@ } }, "x-ms-examples": { - "List all public IP addresses": { "$ref": "./examples/PublicIpAddressListAll.json" } + "List all public IP addresses": { + "$ref": "./examples/PublicIpAddressListAll.json" + } }, "x-ms-pageable": { "nextLinkName": "nextLink" @@ -303,7 +317,9 @@ } }, "x-ms-examples": { - "List resource group public IP addresses": { "$ref": "./examples/PublicIpAddressList.json" } + "List resource group public IP addresses": { + "$ref": "./examples/PublicIpAddressList.json" + } }, "x-ms-pageable": { "nextLinkName": "nextLink" @@ -364,7 +380,7 @@ "description": "The IP address associated with the public IP address resource." }, "publicIPPrefix": { - "$ref":"./network.json#/definitions/SubResource", + "$ref": "./network.json#/definitions/SubResource", "description": "The Public IP Prefix this Public IP Address should be allocated from." }, "idleTimeoutInMinutes": { @@ -450,7 +466,7 @@ "properties": { "ddosCustomPolicy": { "readOnly": false, - "$ref":"./network.json#/definitions/SubResource", + "$ref": "./network.json#/definitions/SubResource", "description": "The DDoS custom policy associated with the public IP." }, "protectionCoverage": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/publicIpPrefix.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/publicIpPrefix.json index dcbf63a1b647..445e186580cb 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/publicIpPrefix.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/publicIpPrefix.json @@ -1,426 +1,440 @@ { - "swagger": "2.0", - "info": { - "title": "NetworkManagementClient", - "description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.", - "version": "2019-02-01" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] - } - ], - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "description": "Azure Active Directory OAuth2 Flow", - "scopes": { - "user_impersonation": "impersonate your user account" - } + "swagger": "2.0", + "info": { + "title": "NetworkManagementClient", + "description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.", + "version": "2019-02-01" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" } - }, - "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIpPrefixName}": { - "delete": { - "tags": [ - "PublicIPPrefixes" - ], - "operationId": "PublicIPPrefixes_Delete", - "description": "Deletes the specified public IP prefix.", - "parameters": [ - { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group." - }, - { - "name": "publicIpPrefixName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the PublicIpPrefix." - }, - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "204": { - "description": "Request successful. Resource does not exist." - }, - "202": { - "description": "Accepted and the operation will complete asynchronously." - }, - "200": { - "description": "Delete successful." - } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIpPrefixName}": { + "delete": { + "tags": [ + "PublicIPPrefixes" + ], + "operationId": "PublicIPPrefixes_Delete", + "description": "Deletes the specified public IP prefix.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." }, - "x-ms-examples": { - "Delete public IP prefix": { "$ref": "./examples/PublicIpPrefixDelete.json" } + { + "name": "publicIpPrefixName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the PublicIpPrefix." }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - } - }, - "get": { - "tags": [ - "PublicIPPrefixes" - ], - "operationId": "PublicIPPrefixes_Get", - "description": "Gets the specified public IP prefix in a specified resource group.", - "parameters": [ - { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group." - }, - { - "name": "publicIpPrefixName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the public IP prefix." - }, - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - }, - { - "name": "$expand", - "in": "query", - "required": false, - "type": "string", - "description": "Expands referenced resources." - } - ], - "responses": { - "200": { - "description": "Request successful. The operation returns the resulting PublicIPPrefix resource.", - "schema": { - "$ref": "#/definitions/PublicIPPrefix" - } - } + { + "$ref": "./network.json#/parameters/ApiVersionParameter" }, - "x-ms-examples": { - "Get public IP prefix": { "$ref": "./examples/PublicIpPrefixGet.json" } + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" } - }, - "put": { - "tags": [ - "PublicIPPrefixes" - ], - "operationId": "PublicIPPrefixes_CreateOrUpdate", - "description": "Creates or updates a static or dynamic public IP prefix.", - "parameters": [ - { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group." - }, - { - "name": "publicIpPrefixName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the public IP prefix." - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/PublicIPPrefix" - }, - "description": "Parameters supplied to the create or update public IP prefix operation." - }, - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "201": { - "description": "Create successful. The operation returns the resulting PublicIPPrefix resource.", - "schema": { - "$ref": "#/definitions/PublicIPPrefix" - } - }, - "200": { - "description": "Update successful. The operation returns the resulting PublicIPPrefix resource.", - "schema": { - "$ref": "#/definitions/PublicIPPrefix" - } - } + ], + "responses": { + "204": { + "description": "Request successful. Resource does not exist." }, - "x-ms-examples": { - "Create public IP prefix defaults": { "$ref": "./examples/PublicIpPrefixCreateDefaults.json" }, - "Create public IP prefix allocation method": { "$ref": "./examples/PublicIpPrefixCreateCustomizedValues.json" } + "202": { + "description": "Accepted and the operation will complete asynchronously." }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" + "200": { + "description": "Delete successful." } }, - "patch": { - "tags": [ - "PublicIPPrefixes" - ], - "operationId": "PublicIPPrefixes_UpdateTags", - "description": "Updates public IP prefix tags.", - "parameters": [ - { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group." - }, - { - "name": "publicIpPrefixName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the public IP prefix." - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "./network.json#/definitions/TagsObject" - }, - "description": "Parameters supplied to update public IP prefix tags." - }, - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Update successful. The operation returns the resulting PublicIPPrefix resource.", - "schema": { - "$ref": "#/definitions/PublicIPPrefix" - } - } - }, - "x-ms-examples": { - "Update public IP prefix tags": { "$ref": "./examples/PublicIpPrefixUpdateTags.json" } - }, - "x-ms-long-running-operation": true + "x-ms-examples": { + "Delete public IP prefix": { + "$ref": "./examples/PublicIpPrefixDelete.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" } }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Network/publicIPPrefixes": { - "get": { - "tags": [ - "PublicIPPrefixes" - ], - "operationId": "PublicIPPrefixes_ListAll", - "description": "Gets all the public IP prefixes in a subscription.", - "parameters": [ - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Request successful. The operation returns a list of PublicIPPrefix resources.", - "schema": { - "$ref": "#/definitions/PublicIPPrefixListResult" - } - } + "get": { + "tags": [ + "PublicIPPrefixes" + ], + "operationId": "PublicIPPrefixes_Get", + "description": "Gets the specified public IP prefix in a specified resource group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." }, - "x-ms-examples": { - "List all public IP prefixes": { "$ref": "./examples/PublicIpPrefixListAll.json" } + { + "name": "publicIpPrefixName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the public IP prefix." }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes": { - "get": { - "tags": [ - "PublicIPPrefixes" - ], - "operationId": "PublicIPPrefixes_List", - "description": "Gets all public IP prefixes in a resource group.", - "parameters": [ - { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group." - }, - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Request successful. The operation returns a list of PublicIPPrefix resources.", - "schema": { - "$ref": "#/definitions/PublicIPPrefixListResult" - } - } + { + "$ref": "./network.json#/parameters/ApiVersionParameter" }, - "x-ms-examples": { - "List resource group public IP prefixes": { "$ref": "./examples/PublicIpPrefixList.json" } + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - } - }, - "definitions": { - "PublicIPPrefixSku": { - "properties": { - "name": { + { + "name": "$expand", + "in": "query", + "required": false, "type": "string", - "description": "Name of a public IP prefix SKU.", - "enum": [ - "Standard" - ], - "x-ms-enum": { - "name": "PublicIPPrefixSkuName", - "modelAsString": true + "description": "Expands referenced resources." + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns the resulting PublicIPPrefix resource.", + "schema": { + "$ref": "#/definitions/PublicIPPrefix" } } }, - "description": "SKU of a public IP prefix" + "x-ms-examples": { + "Get public IP prefix": { + "$ref": "./examples/PublicIpPrefixGet.json" + } + } }, - "PublicIPPrefixPropertiesFormat": { - "properties": { - "publicIPAddressVersion": { - "$ref": "./network.json#/definitions/IPVersion", - "description": "The public IP address version." + "put": { + "tags": [ + "PublicIPPrefixes" + ], + "operationId": "PublicIPPrefixes_CreateOrUpdate", + "description": "Creates or updates a static or dynamic public IP prefix.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." }, - "ipTags": { - "type": "array", - "items": { - "$ref": "./publicIpAddress.json#/definitions/IpTag" - }, - "description": "The list of tags associated with the public IP prefix." + { + "name": "publicIpPrefixName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the public IP prefix." }, - "prefixLength": { - "type": "integer", - "format":"int32", - "description": "The Length of the Public IP Prefix." + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/PublicIPPrefix" + }, + "description": "Parameters supplied to the create or update public IP prefix operation." }, - "ipPrefix" : { - "type":"string", - "description": "The allocated Prefix" + { + "$ref": "./network.json#/parameters/ApiVersionParameter" }, - "publicIPAddresses": { - "type":"array", - "items":{ - "$ref": "#/definitions/ReferencedPublicIpAddress" - }, - "description":"The list of all referenced PublicIPAddresses" + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "201": { + "description": "Create successful. The operation returns the resulting PublicIPPrefix resource.", + "schema": { + "$ref": "#/definitions/PublicIPPrefix" + } }, - "resourceGuid": { - "type": "string", - "description": "The resource GUID property of the public IP prefix resource." + "200": { + "description": "Update successful. The operation returns the resulting PublicIPPrefix resource.", + "schema": { + "$ref": "#/definitions/PublicIPPrefix" + } + } + }, + "x-ms-examples": { + "Create public IP prefix defaults": { + "$ref": "./examples/PublicIpPrefixCreateDefaults.json" }, - "provisioningState": { - "type": "string", - "description": "The provisioning state of the Public IP prefix resource. Possible values are: 'Updating', 'Deleting', and 'Failed'." + "Create public IP prefix allocation method": { + "$ref": "./examples/PublicIpPrefixCreateCustomizedValues.json" } }, - "description": "Public IP prefix properties." + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } }, - "PublicIPPrefix": { - "properties": { - "sku": { - "$ref": "#/definitions/PublicIPPrefixSku", - "description": "The public IP prefix SKU." - }, - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/PublicIPPrefixPropertiesFormat", - "description": "Public IP prefix properties." + "patch": { + "tags": [ + "PublicIPPrefixes" + ], + "operationId": "PublicIPPrefixes_UpdateTags", + "description": "Updates public IP prefix tags.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." }, - "etag": { + { + "name": "publicIpPrefixName", + "in": "path", + "required": true, "type": "string", - "description": "A unique read-only string that changes whenever the resource is updated." + "description": "The name of the public IP prefix." }, - "zones": { - "type": "array", - "items": { - "type": "string" + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "./network.json#/definitions/TagsObject" }, - "description": "A list of availability zones denoting the IP allocated for the resource needs to come from." - } - }, - "allOf": [ + "description": "Parameters supplied to update public IP prefix tags." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, { - "$ref": "./network.json#/definitions/Resource" + "$ref": "./network.json#/parameters/SubscriptionIdParameter" } ], - "description": "Public IP prefix resource." - }, - "PublicIPPrefixListResult": { - "properties": { - "value": { - "type": "array", - "items": { + "responses": { + "200": { + "description": "Update successful. The operation returns the resulting PublicIPPrefix resource.", + "schema": { "$ref": "#/definitions/PublicIPPrefix" - }, - "description": "A list of public IP prefixes that exists in a resource group." + } + } + }, + "x-ms-examples": { + "Update public IP prefix tags": { + "$ref": "./examples/PublicIpPrefixUpdateTags.json" + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/publicIPPrefixes": { + "get": { + "tags": [ + "PublicIPPrefixes" + ], + "operationId": "PublicIPPrefixes_ListAll", + "description": "Gets all the public IP prefixes in a subscription.", + "parameters": [ + { + "$ref": "./network.json#/parameters/ApiVersionParameter" }, - "nextLink": { + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns a list of PublicIPPrefix resources.", + "schema": { + "$ref": "#/definitions/PublicIPPrefixListResult" + } + } + }, + "x-ms-examples": { + "List all public IP prefixes": { + "$ref": "./examples/PublicIpPrefixListAll.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes": { + "get": { + "tags": [ + "PublicIPPrefixes" + ], + "operationId": "PublicIPPrefixes_List", + "description": "Gets all public IP prefixes in a resource group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, "type": "string", - "description": "The URL to get the next set of results." + "description": "The name of the resource group." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns a list of PublicIPPrefix resources.", + "schema": { + "$ref": "#/definitions/PublicIPPrefixListResult" + } } }, - "description": "Response for ListPublicIpPrefixes API service call." - }, - "ReferencedPublicIpAddress":{ - "properties":{ - "id":{ - "type":"string", - "description":"The PublicIPAddress Reference" + "x-ms-examples": { + "List resource group public IP prefixes": { + "$ref": "./examples/PublicIpPrefixList.json" } }, - "description": "Reference to a public IP address." + "x-ms-pageable": { + "nextLinkName": "nextLink" + } } } + }, + "definitions": { + "PublicIPPrefixSku": { + "properties": { + "name": { + "type": "string", + "description": "Name of a public IP prefix SKU.", + "enum": [ + "Standard" + ], + "x-ms-enum": { + "name": "PublicIPPrefixSkuName", + "modelAsString": true + } + } + }, + "description": "SKU of a public IP prefix" + }, + "PublicIPPrefixPropertiesFormat": { + "properties": { + "publicIPAddressVersion": { + "$ref": "./network.json#/definitions/IPVersion", + "description": "The public IP address version." + }, + "ipTags": { + "type": "array", + "items": { + "$ref": "./publicIpAddress.json#/definitions/IpTag" + }, + "description": "The list of tags associated with the public IP prefix." + }, + "prefixLength": { + "type": "integer", + "format": "int32", + "description": "The Length of the Public IP Prefix." + }, + "ipPrefix": { + "type": "string", + "description": "The allocated Prefix" + }, + "publicIPAddresses": { + "type": "array", + "items": { + "$ref": "#/definitions/ReferencedPublicIpAddress" + }, + "description": "The list of all referenced PublicIPAddresses" + }, + "resourceGuid": { + "type": "string", + "description": "The resource GUID property of the public IP prefix resource." + }, + "provisioningState": { + "type": "string", + "description": "The provisioning state of the Public IP prefix resource. Possible values are: 'Updating', 'Deleting', and 'Failed'." + } + }, + "description": "Public IP prefix properties." + }, + "PublicIPPrefix": { + "properties": { + "sku": { + "$ref": "#/definitions/PublicIPPrefixSku", + "description": "The public IP prefix SKU." + }, + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/PublicIPPrefixPropertiesFormat", + "description": "Public IP prefix properties." + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated." + }, + "zones": { + "type": "array", + "items": { + "type": "string" + }, + "description": "A list of availability zones denoting the IP allocated for the resource needs to come from." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/Resource" + } + ], + "description": "Public IP prefix resource." + }, + "PublicIPPrefixListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/PublicIPPrefix" + }, + "description": "A list of public IP prefixes that exists in a resource group." + }, + "nextLink": { + "type": "string", + "description": "The URL to get the next set of results." + } + }, + "description": "Response for ListPublicIpPrefixes API service call." + }, + "ReferencedPublicIpAddress": { + "properties": { + "id": { + "type": "string", + "description": "The PublicIPAddress Reference" + } + }, + "description": "Reference to a public IP address." + } + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/routeFilter.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/routeFilter.json index b689b1dbb802..dff380f6e5ff 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/routeFilter.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/routeFilter.json @@ -1,791 +1,813 @@ { - "swagger": "2.0", - "info": { - "title": "NetworkManagementClient", - "description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.", - "version": "2019-02-01" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] + "swagger": "2.0", + "info": { + "title": "NetworkManagementClient", + "description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.", + "version": "2019-02-01" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters/{routeFilterName}": { + "delete": { + "tags": [ + "RouteFilters" + ], + "operationId": "RouteFilters_Delete", + "x-ms-examples": { + "RouteFilterDelete": { + "$ref": "./examples/RouteFilterDelete.json" + } + }, + "description": "Deletes the specified route filter.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "routeFilterName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the route filter." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "202": { + "description": "Accepted and the operation will complete asynchronously." + }, + "200": { + "description": "Delete successful." + }, + "204": { + "description": "Delete successful." + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" } - ], - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "description": "Azure Active Directory OAuth2 Flow", - "scopes": { - "user_impersonation": "impersonate your user account" + }, + "get": { + "tags": [ + "RouteFilters" + ], + "operationId": "RouteFilters_Get", + "x-ms-examples": { + "RouteFilterGet": { + "$ref": "./examples/RouteFilterGet.json" + } + }, + "description": "Gets the specified route filter.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "routeFilterName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the route filter." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "$expand", + "in": "query", + "required": false, + "type": "string", + "description": "Expands referenced express route bgp peering resources." + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns the resulting Route Filter resource.", + "schema": { + "$ref": "#/definitions/RouteFilter" } + } } - }, - "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters/{routeFilterName}": { - "delete": { - "tags": [ - "RouteFilters" - ], - "operationId": "RouteFilters_Delete", - "x-ms-examples": { - "RouteFilterDelete": { "$ref": "./examples/RouteFilterDelete.json" } - }, - "description": "Deletes the specified route filter.", - "parameters": [ - { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group." - }, - { - "name": "routeFilterName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the route filter." - }, - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "202": { - "description": "Accepted and the operation will complete asynchronously." - }, - "200": { - "description": "Delete successful." - }, - "204": { - "description": "Delete successful." - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - } - }, - "get": { - "tags": [ - "RouteFilters" - ], - "operationId": "RouteFilters_Get", - "x-ms-examples": { - "RouteFilterGet": { "$ref": "./examples/RouteFilterGet.json" } - }, - "description": "Gets the specified route filter.", - "parameters": [ - { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group." - }, - { - "name": "routeFilterName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the route filter." - }, - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - }, - { - "name": "$expand", - "in": "query", - "required": false, - "type": "string", - "description": "Expands referenced express route bgp peering resources." - } - ], - "responses": { - "200": { - "description": "Request successful. The operation returns the resulting Route Filter resource.", - "schema": { - "$ref": "#/definitions/RouteFilter" - } - } - } + }, + "put": { + "tags": [ + "RouteFilters" + ], + "operationId": "RouteFilters_CreateOrUpdate", + "x-ms-examples": { + "RouteFilterCreate": { + "$ref": "./examples/RouteFilterCreate.json" + } + }, + "description": "Creates or updates a route filter in a specified resource group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "routeFilterName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the route filter." + }, + { + "name": "routeFilterParameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/RouteFilter" }, - "put": { - "tags": [ - "RouteFilters" - ], - "operationId": "RouteFilters_CreateOrUpdate", - "x-ms-examples": { - "RouteFilterCreate": { "$ref": "./examples/RouteFilterCreate.json" } - }, - "description": "Creates or updates a route filter in a specified resource group.", - "parameters": [ - { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group." - }, - { - "name": "routeFilterName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the route filter." - }, - { - "name": "routeFilterParameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/RouteFilter" - }, - "description": "Parameters supplied to the create or update route filter operation." - }, - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Request successful. The operation returns the resulting Route Filter resource.", - "schema": { - "$ref": "#/definitions/RouteFilter" - } - }, - "201": { - "description": "Create successful. The operation returns the resulting Route Filter resource.", - "schema": { - "$ref": "#/definitions/RouteFilter" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - } + "description": "Parameters supplied to the create or update route filter operation." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns the resulting Route Filter resource.", + "schema": { + "$ref": "#/definitions/RouteFilter" + } + }, + "201": { + "description": "Create successful. The operation returns the resulting Route Filter resource.", + "schema": { + "$ref": "#/definitions/RouteFilter" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } + }, + "patch": { + "tags": [ + "RouteFilters" + ], + "operationId": "RouteFilters_Update", + "x-ms-examples": { + "RouteFilterUpdate": { + "$ref": "./examples/RouteFilterUpdate.json" + } + }, + "description": "Updates a route filter in a specified resource group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "routeFilterName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the route filter." + }, + { + "name": "routeFilterParameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/PatchRouteFilter" }, - "patch": { - "tags": [ - "RouteFilters" - ], - "operationId": "RouteFilters_Update", - "x-ms-examples": { - "RouteFilterUpdate": { "$ref": "./examples/RouteFilterUpdate.json" } - }, - "description": "Updates a route filter in a specified resource group.", - "parameters": [ - { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group." - }, - { - "name": "routeFilterName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the route filter." - }, - { - "name": "routeFilterParameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/PatchRouteFilter" - }, - "description": "Parameters supplied to the update route filter operation." - }, - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Request successful. The operation returns the resulting Route Filter resource.", - "schema": { - "$ref": "#/definitions/RouteFilter" - } - } - }, - "x-ms-long-running-operation": true + "description": "Parameters supplied to the update route filter operation." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns the resulting Route Filter resource.", + "schema": { + "$ref": "#/definitions/RouteFilter" } + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters": { + "get": { + "tags": [ + "RouteFilters" + ], + "operationId": "RouteFilters_ListByResourceGroup", + "x-ms-examples": { + "RouteFilterListByResourceGroup": { + "$ref": "./examples/RouteFilterListByResourceGroup.json" + } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters": { - "get": { - "tags": [ - "RouteFilters" - ], - "operationId": "RouteFilters_ListByResourceGroup", - "x-ms-examples": { - "RouteFilterListByResourceGroup": { "$ref": "./examples/RouteFilterListByResourceGroup.json" } - }, - "description": "Gets all route filters in a resource group.", - "parameters": [ - { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group." - }, - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Request successful. The operation returns a list of Route Filter resources.", - "schema": { - "$ref": "#/definitions/RouteFilterListResult" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } + "description": "Gets all route filters in a resource group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns a list of Route Filter resources.", + "schema": { + "$ref": "#/definitions/RouteFilterListResult" } + } }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Network/routeFilters": { - "get": { - "tags": [ - "RouteFilters" - ], - "operationId": "RouteFilters_List", - "x-ms-examples": { - "RouteFilterList": { "$ref": "./examples/RouteFilterList.json" } - }, - "description": "Gets all route filters in a subscription.", - "parameters": [ - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Request successful. The operation returns a list of Route Filter resources.", - "schema": { - "$ref": "#/definitions/RouteFilterListResult" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/routeFilters": { + "get": { + "tags": [ + "RouteFilters" + ], + "operationId": "RouteFilters_List", + "x-ms-examples": { + "RouteFilterList": { + "$ref": "./examples/RouteFilterList.json" + } + }, + "description": "Gets all route filters in a subscription.", + "parameters": [ + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns a list of Route Filter resources.", + "schema": { + "$ref": "#/definitions/RouteFilterListResult" } + } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters/{routeFilterName}/routeFilterRules/{ruleName}": { - "delete": { - "tags": [ - "RouteFilterRules" - ], - "operationId": "RouteFilterRules_Delete", - "x-ms-examples": { - "RouteFilterRuleDelete": { "$ref": "./examples/RouteFilterRuleDelete.json" } - }, - "description": "Deletes the specified rule from a route filter.", - "parameters": [ - { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group." - }, - { - "name": "routeFilterName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the route filter." - }, - { - "name": "ruleName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the rule." - }, - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "202": { - "description": "Accepted and the operation will complete asynchronously." - }, - "200": { - "description": "Accepted." - }, - "204": { - "description": "Rule was deleted or not found." - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - } - }, - "get": { - "tags": [ - "RouteFilterRules" - ], - "operationId": "RouteFilterRules_Get", - "x-ms-examples": { - "RouteFilterRuleGet": { "$ref": "./examples/RouteFilterRuleGet.json" } - }, - "description": "Gets the specified rule from a route filter.", - "parameters": [ - { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group." - }, - { - "name": "routeFilterName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the route filter." - }, - { - "name": "ruleName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the rule." - }, - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Request successful. The operation returns the resulting Route Filter Rule resource.", - "schema": { - "$ref": "#/definitions/RouteFilterRule" - } - } - } + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters/{routeFilterName}/routeFilterRules/{ruleName}": { + "delete": { + "tags": [ + "RouteFilterRules" + ], + "operationId": "RouteFilterRules_Delete", + "x-ms-examples": { + "RouteFilterRuleDelete": { + "$ref": "./examples/RouteFilterRuleDelete.json" + } + }, + "description": "Deletes the specified rule from a route filter.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "routeFilterName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the route filter." + }, + { + "name": "ruleName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the rule." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "202": { + "description": "Accepted and the operation will complete asynchronously." + }, + "200": { + "description": "Accepted." + }, + "204": { + "description": "Rule was deleted or not found." + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + }, + "get": { + "tags": [ + "RouteFilterRules" + ], + "operationId": "RouteFilterRules_Get", + "x-ms-examples": { + "RouteFilterRuleGet": { + "$ref": "./examples/RouteFilterRuleGet.json" + } + }, + "description": "Gets the specified rule from a route filter.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "routeFilterName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the route filter." + }, + { + "name": "ruleName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the rule." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns the resulting Route Filter Rule resource.", + "schema": { + "$ref": "#/definitions/RouteFilterRule" + } + } + } + }, + "put": { + "tags": [ + "RouteFilterRules" + ], + "operationId": "RouteFilterRules_CreateOrUpdate", + "x-ms-examples": { + "RouteFilterRuleCreate": { + "$ref": "./examples/RouteFilterRuleCreate.json" + } + }, + "description": "Creates or updates a route in the specified route filter.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "routeFilterName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the route filter." + }, + { + "name": "ruleName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the route filter rule." + }, + { + "name": "routeFilterRuleParameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/RouteFilterRule" }, - "put": { - "tags": [ - "RouteFilterRules" - ], - "operationId": "RouteFilterRules_CreateOrUpdate", - "x-ms-examples": { - "RouteFilterRuleCreate": { "$ref": "./examples/RouteFilterRuleCreate.json" } - }, - "description": "Creates or updates a route in the specified route filter.", - "parameters": [ - { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group." - }, - { - "name": "routeFilterName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the route filter." - }, - { - "name": "ruleName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the route filter rule." - }, - { - "name": "routeFilterRuleParameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/RouteFilterRule" - }, - "description": "Parameters supplied to the create or update route filter rule operation." - }, - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Update successful. The operation returns the resulting Route Filter Rule resource.", - "schema": { - "$ref": "#/definitions/RouteFilterRule" - } - }, - "201": { - "description": "Create successful. The operation returns the resulting Route Filter Rule resource.", - "schema": { - "$ref": "#/definitions/RouteFilterRule" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - } + "description": "Parameters supplied to the create or update route filter rule operation." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Update successful. The operation returns the resulting Route Filter Rule resource.", + "schema": { + "$ref": "#/definitions/RouteFilterRule" + } + }, + "201": { + "description": "Create successful. The operation returns the resulting Route Filter Rule resource.", + "schema": { + "$ref": "#/definitions/RouteFilterRule" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } + }, + "patch": { + "tags": [ + "RouteFilterRules" + ], + "operationId": "RouteFilterRules_Update", + "x-ms-examples": { + "RouteFilterRuleUpdate": { + "$ref": "./examples/RouteFilterRuleUpdate.json" + } + }, + "description": "Updates a route in the specified route filter.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "routeFilterName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the route filter." + }, + { + "name": "ruleName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the route filter rule." + }, + { + "name": "routeFilterRuleParameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/PatchRouteFilterRule" }, - "patch": { - "tags": [ - "RouteFilterRules" - ], - "operationId": "RouteFilterRules_Update", - "x-ms-examples": { - "RouteFilterRuleUpdate": { "$ref": "./examples/RouteFilterRuleUpdate.json" } - }, - "description": "Updates a route in the specified route filter.", - "parameters": [ - { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group." - }, - { - "name": "routeFilterName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the route filter." - }, - { - "name": "ruleName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the route filter rule." - }, - { - "name": "routeFilterRuleParameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/PatchRouteFilterRule" - }, - "description": "Parameters supplied to the update route filter rule operation." - }, - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Update successful. The operation returns the resulting Route Filter Rule resource.", - "schema": { - "$ref": "#/definitions/RouteFilterRule" - } - } - }, - "x-ms-long-running-operation": true + "description": "Parameters supplied to the update route filter rule operation." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Update successful. The operation returns the resulting Route Filter Rule resource.", + "schema": { + "$ref": "#/definitions/RouteFilterRule" } + } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters/{routeFilterName}/routeFilterRules": { - "get": { - "tags": [ - "RouteFilterRules" - ], - "operationId": "RouteFilterRules_ListByRouteFilter", - "x-ms-examples": { - "RouteFilterRuleListByRouteFilter": { "$ref": "./examples/RouteFilterRuleListByRouteFilter.json" } - }, - "description": "Gets all RouteFilterRules in a route filter.", - "parameters": [ - { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group." - }, - { - "name": "routeFilterName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the route filter." - }, - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Request successful. The operation returns a list of Route Filter Rule resources.", - "schema": { - "$ref": "#/definitions/RouteFilterRuleListResult" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters/{routeFilterName}/routeFilterRules": { + "get": { + "tags": [ + "RouteFilterRules" + ], + "operationId": "RouteFilterRules_ListByRouteFilter", + "x-ms-examples": { + "RouteFilterRuleListByRouteFilter": { + "$ref": "./examples/RouteFilterRuleListByRouteFilter.json" + } + }, + "description": "Gets all RouteFilterRules in a route filter.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "routeFilterName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the route filter." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns a list of Route Filter Rule resources.", + "schema": { + "$ref": "#/definitions/RouteFilterRuleListResult" } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + } + }, + "definitions": { + "RouteFilterRulePropertiesFormat": { + "required": [ + "access", + "routeFilterRuleType", + "communities" + ], + "properties": { + "access": { + "$ref": "./network.json#/definitions/Access", + "description": "The access type of the rule." + }, + "routeFilterRuleType": { + "type": "string", + "description": "The rule type of the rule. Valid value is: 'Community'", + "enum": [ + "Community" + ], + "x-ms-enum": { + "name": "RouteFilterRuleType", + "modelAsString": true + } + }, + "communities": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The collection for bgp community values to filter on. e.g. ['12076:5010','12076:5020']" + }, + "provisioningState": { + "type": "string", + "readOnly": true, + "description": "The provisioning state of the resource. Possible values are: 'Updating', 'Deleting', 'Succeeded' and 'Failed'." } + }, + "description": "Route Filter Rule Resource" }, - "definitions": { - "RouteFilterRulePropertiesFormat": { - "required": [ - "access", - "routeFilterRuleType", - "communities" - ], - "properties": { - "access": { - "$ref": "./network.json#/definitions/Access", - "description": "The access type of the rule." - }, - "routeFilterRuleType": { - "type": "string", - "description": "The rule type of the rule. Valid value is: 'Community'", - "enum": [ - "Community" - ], - "x-ms-enum": { - "name": "RouteFilterRuleType", - "modelAsString": true - } - }, - "communities": { - "type": "array", - "items": { - "type": "string" - }, - "description": "The collection for bgp community values to filter on. e.g. ['12076:5010','12076:5020']" - }, - "provisioningState": { - "type": "string", - "readOnly": true, - "description": "The provisioning state of the resource. Possible values are: 'Updating', 'Deleting', 'Succeeded' and 'Failed'." - } - }, - "description": "Route Filter Rule Resource" - }, - "RouteFilterRule": { - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/RouteFilterRulePropertiesFormat", - "description": "Properties of the route filter rule." - }, - "name": { - "type": "string", - "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource." - }, - "location": { - "type": "string", - "description": "Resource location." - }, - "etag": { - "type": "string", - "readOnly": true, - "description": "A unique read-only string that changes whenever the resource is updated." - } - }, - "allOf": [ - { - "$ref": "./network.json#/definitions/SubResource" - } - ], - "description": "Route Filter Rule Resource" - }, - "PatchRouteFilterRule": { - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/RouteFilterRulePropertiesFormat", - "description": "Properties of the route filter rule." - }, - "name": { - "type": "string", - "readOnly": true, - "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource." - }, - "etag": { - "type": "string", - "readOnly": true, - "description": "A unique read-only string that changes whenever the resource is updated." - } - }, - "allOf": [ - { - "$ref": "./network.json#/definitions/SubResource" - } - ], - "description": "Route Filter Rule Resource" - }, - "RouteFilterPropertiesFormat": { - "properties": { - "rules": { - "type": "array", - "items": { - "$ref": "#/definitions/RouteFilterRule" - }, - "description": "Collection of RouteFilterRules contained within a route filter." - }, - "peerings": { - "type": "array", - "items": { - "$ref": "./expressRouteCircuit.json#/definitions/ExpressRouteCircuitPeering" - }, - "description": "A collection of references to express route circuit peerings." - }, - "provisioningState": { - "type": "string", - "readOnly": true, - "description": "The provisioning state of the resource. Possible values are: 'Updating', 'Deleting', 'Succeeded' and 'Failed'." - } - }, - "description": "Route Filter Resource" - }, - "RouteFilter": { - "required": [ - "location" - ], - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/RouteFilterPropertiesFormat", - "description": "Properties of the route filter." - }, - "etag": { - "type": "string", - "readOnly": true, - "description": "Gets a unique read-only string that changes whenever the resource is updated." - } - }, - "allOf": [ - { - "$ref": "./network.json#/definitions/Resource" - } - ], - "description": "Route Filter Resource." - }, - "PatchRouteFilter": { - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/RouteFilterPropertiesFormat", - "description": "Properties of the route filter." - }, - "name": { - "type": "string", - "readOnly": true, - "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource." - }, - "etag": { - "type": "string", - "readOnly": true, - "description": "A unique read-only string that changes whenever the resource is updated." - }, - "type": { - "readOnly": true, - "type": "string", - "description": "Resource type." - }, - "tags": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "Resource tags." - } - }, - "allOf": [ - { - "$ref": "./network.json#/definitions/SubResource" - } - ], - "description": "Route Filter Resource." - }, - "RouteFilterListResult": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/RouteFilter" - }, - "description": "Gets a list of route filters in a resource group." - }, - "nextLink": { - "type": "string", - "description": "The URL to get the next set of results." - } - }, - "description": "Response for the ListRouteFilters API service call." - }, - "RouteFilterRuleListResult": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/RouteFilterRule" - }, - "description": "Gets a list of RouteFilterRules in a resource group." - }, - "nextLink": { - "type": "string", - "description": "The URL to get the next set of results." - } - }, - "description": "Response for the ListRouteFilterRules API service call" + "RouteFilterRule": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/RouteFilterRulePropertiesFormat", + "description": "Properties of the route filter rule." + }, + "name": { + "type": "string", + "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource." + }, + "location": { + "type": "string", + "description": "Resource location." + }, + "etag": { + "type": "string", + "readOnly": true, + "description": "A unique read-only string that changes whenever the resource is updated." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/SubResource" + } + ], + "description": "Route Filter Rule Resource" + }, + "PatchRouteFilterRule": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/RouteFilterRulePropertiesFormat", + "description": "Properties of the route filter rule." + }, + "name": { + "type": "string", + "readOnly": true, + "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource." + }, + "etag": { + "type": "string", + "readOnly": true, + "description": "A unique read-only string that changes whenever the resource is updated." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/SubResource" + } + ], + "description": "Route Filter Rule Resource" + }, + "RouteFilterPropertiesFormat": { + "properties": { + "rules": { + "type": "array", + "items": { + "$ref": "#/definitions/RouteFilterRule" + }, + "description": "Collection of RouteFilterRules contained within a route filter." + }, + "peerings": { + "type": "array", + "items": { + "$ref": "./expressRouteCircuit.json#/definitions/ExpressRouteCircuitPeering" + }, + "description": "A collection of references to express route circuit peerings." + }, + "provisioningState": { + "type": "string", + "readOnly": true, + "description": "The provisioning state of the resource. Possible values are: 'Updating', 'Deleting', 'Succeeded' and 'Failed'." + } + }, + "description": "Route Filter Resource" + }, + "RouteFilter": { + "required": [ + "location" + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/RouteFilterPropertiesFormat", + "description": "Properties of the route filter." + }, + "etag": { + "type": "string", + "readOnly": true, + "description": "Gets a unique read-only string that changes whenever the resource is updated." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/Resource" + } + ], + "description": "Route Filter Resource." + }, + "PatchRouteFilter": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/RouteFilterPropertiesFormat", + "description": "Properties of the route filter." + }, + "name": { + "type": "string", + "readOnly": true, + "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource." + }, + "etag": { + "type": "string", + "readOnly": true, + "description": "A unique read-only string that changes whenever the resource is updated." + }, + "type": { + "readOnly": true, + "type": "string", + "description": "Resource type." + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/SubResource" + } + ], + "description": "Route Filter Resource." + }, + "RouteFilterListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/RouteFilter" + }, + "description": "Gets a list of route filters in a resource group." + }, + "nextLink": { + "type": "string", + "description": "The URL to get the next set of results." + } + }, + "description": "Response for the ListRouteFilters API service call." + }, + "RouteFilterRuleListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/RouteFilterRule" + }, + "description": "Gets a list of RouteFilterRules in a resource group." + }, + "nextLink": { + "type": "string", + "description": "The URL to get the next set of results." } + }, + "description": "Response for the ListRouteFilterRules API service call" } + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/routeTable.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/routeTable.json index 39c578662d1e..e6bc5f0bad20 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/routeTable.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/routeTable.json @@ -79,7 +79,9 @@ "final-state-via": "location" }, "x-ms-examples": { - "Delete route table": { "$ref": "./examples/RouteTableDelete.json" } + "Delete route table": { + "$ref": "./examples/RouteTableDelete.json" + } } }, "get": { @@ -126,7 +128,9 @@ } }, "x-ms-examples": { - "Get route table": { "$ref": "./examples/RouteTableGet.json" } + "Get route table": { + "$ref": "./examples/RouteTableGet.json" + } } }, "put": { @@ -181,8 +185,12 @@ } }, "x-ms-examples": { - "Create route table": { "$ref": "./examples/RouteTableCreate.json" }, - "Create route table with route": { "$ref": "./examples/RouteTableCreateWithRoute.json" } + "Create route table": { + "$ref": "./examples/RouteTableCreate.json" + }, + "Create route table with route": { + "$ref": "./examples/RouteTableCreateWithRoute.json" + } }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { @@ -235,7 +243,9 @@ } }, "x-ms-examples": { - "Update route table tags": { "$ref": "./examples/RouteTableUpdateTags.json" } + "Update route table tags": { + "$ref": "./examples/RouteTableUpdateTags.json" + } }, "x-ms-long-running-operation": true } @@ -271,7 +281,9 @@ } }, "x-ms-examples": { - "List route tables in resource group": { "$ref": "./examples/RouteTableList.json" } + "List route tables in resource group": { + "$ref": "./examples/RouteTableList.json" + } }, "x-ms-pageable": { "nextLinkName": "nextLink" @@ -302,7 +314,9 @@ } }, "x-ms-examples": { - "List all route tables": { "$ref": "./examples/RouteTableListAll.json" } + "List all route tables": { + "$ref": "./examples/RouteTableListAll.json" + } }, "x-ms-pageable": { "nextLinkName": "nextLink" @@ -357,7 +371,9 @@ } }, "x-ms-examples": { - "Delete route": { "$ref": "./examples/RouteTableRouteDelete.json" } + "Delete route": { + "$ref": "./examples/RouteTableRouteDelete.json" + } }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { @@ -408,7 +424,9 @@ } }, "x-ms-examples": { - "Get route": { "$ref": "./examples/RouteTableRouteGet.json" } + "Get route": { + "$ref": "./examples/RouteTableRouteGet.json" + } } }, "put": { @@ -470,7 +488,9 @@ } }, "x-ms-examples": { - "Create route": { "$ref": "./examples/RouteTableRouteCreate.json" } + "Create route": { + "$ref": "./examples/RouteTableRouteCreate.json" + } }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { @@ -519,7 +539,9 @@ "nextLinkName": "nextLink" }, "x-ms-examples": { - "List routes": { "$ref": "./examples/RouteTableRouteList.json" } + "List routes": { + "$ref": "./examples/RouteTableRouteList.json" + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/serviceCommunity.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/serviceCommunity.json index 984fca51cb83..699a3290bf2c 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/serviceCommunity.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/serviceCommunity.json @@ -41,7 +41,9 @@ ], "operationId": "BgpServiceCommunities_List", "x-ms-examples": { - "ServiceCommunityList": { "$ref": "./examples/ServiceCommunityList.json" } + "ServiceCommunityList": { + "$ref": "./examples/ServiceCommunityList.json" + } }, "description": "Gets all the available bgp service communities.", "parameters": [ @@ -71,7 +73,7 @@ "properties": { "serviceSupportedRegion": { "type": "string", - "description": "The region which the service support. e.g. For O365, region is Global." + "description": "The region which the service support. e.g. For O365, region is Global." }, "communityName": { "type": "string", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/serviceEndpointPolicy.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/serviceEndpointPolicy.json index 13dcbac31cb9..ae440369f3da 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/serviceEndpointPolicy.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/serviceEndpointPolicy.json @@ -75,7 +75,9 @@ } }, "x-ms-examples": { - "Delete service endpoint policy": { "$ref": "./examples/ServiceEndpointPolicyDelete.json" } + "Delete service endpoint policy": { + "$ref": "./examples/ServiceEndpointPolicyDelete.json" + } }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { @@ -126,7 +128,9 @@ } }, "x-ms-examples": { - "Get service endPoint Policy": { "$ref": "./examples/ServiceEndpointPolicyGet.json" } + "Get service endPoint Policy": { + "$ref": "./examples/ServiceEndpointPolicyGet.json" + } } }, "put": { @@ -181,8 +185,12 @@ } }, "x-ms-examples": { - "Create service endpoint policy": { "$ref": "./examples/ServiceEndpointPolicyCreate.json" }, - "Create service endpoint policy with definition": { "$ref": "./examples/ServiceEndpointPolicyCreateWithDefinition.json" } + "Create service endpoint policy": { + "$ref": "./examples/ServiceEndpointPolicyCreate.json" + }, + "Create service endpoint policy with definition": { + "$ref": "./examples/ServiceEndpointPolicyCreateWithDefinition.json" + } }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { @@ -235,7 +243,9 @@ } }, "x-ms-examples": { - "Update service endpoint policy tags": { "$ref": "./examples/ServiceEndpointPolicyUpdateTags.json" } + "Update service endpoint policy tags": { + "$ref": "./examples/ServiceEndpointPolicyUpdateTags.json" + } }, "x-ms-long-running-operation": true } @@ -264,7 +274,9 @@ } }, "x-ms-examples": { - "List all service endpoint policy": { "$ref": "./examples/ServiceEndpointPolicyListAll.json" } + "List all service endpoint policy": { + "$ref": "./examples/ServiceEndpointPolicyListAll.json" + } }, "x-ms-pageable": { "nextLinkName": "nextLink" @@ -302,7 +314,9 @@ } }, "x-ms-examples": { - "List resource group service endpoint policies": { "$ref": "./examples/ServiceEndpointPolicyList.json" } + "List resource group service endpoint policies": { + "$ref": "./examples/ServiceEndpointPolicyList.json" + } }, "x-ms-pageable": { "nextLinkName": "nextLink" @@ -357,7 +371,9 @@ } }, "x-ms-examples": { - "Delete service endpoint policy definitions from service endpoint policy": { "$ref": "./examples/ServiceEndpointPolicyDefinitionDelete.json" } + "Delete service endpoint policy definitions from service endpoint policy": { + "$ref": "./examples/ServiceEndpointPolicyDefinitionDelete.json" + } }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { @@ -408,7 +424,9 @@ } }, "x-ms-examples": { - "Get service endpoint definition in service endpoint policy": { "$ref": "./examples/ServiceEndpointPolicyDefinitionGet.json" } + "Get service endpoint definition in service endpoint policy": { + "$ref": "./examples/ServiceEndpointPolicyDefinitionGet.json" + } } }, "put": { @@ -470,7 +488,9 @@ } }, "x-ms-examples": { - "Create service endpoint policy definition": { "$ref": "./examples/ServiceEndpointPolicyDefinitionCreate.json" } + "Create service endpoint policy definition": { + "$ref": "./examples/ServiceEndpointPolicyDefinitionCreate.json" + } }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { @@ -516,14 +536,16 @@ } }, "x-ms-examples": { - "List service endpoint definitions in service end point policy": { "$ref": "./examples/ServiceEndpointPolicyDefinitionList.json" } + "List service endpoint definitions in service end point policy": { + "$ref": "./examples/ServiceEndpointPolicyDefinitionList.json" + } }, "x-ms-pageable": { "nextLinkName": "nextLink" } } } - }, + }, "definitions": { "ServiceEndpointPolicyDefinitionPropertiesFormat": { "properties": { @@ -543,7 +565,7 @@ "description": "A list of service resources." }, "provisioningState": { - "readOnly" : true, + "readOnly": true, "type": "string", "description": "The provisioning state of the service end point policy definition. Possible values are: 'Updating', 'Deleting', and 'Failed'." } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/usage.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/usage.json index 2f6ff0c5db5a..ef620c26d5d9 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/usage.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/usage.json @@ -66,8 +66,12 @@ } }, "x-ms-examples": { - "List usages": { "$ref": "./examples/UsageList.json" }, - "List usages spaced location": { "$ref": "./examples/UsageListSpacedLocation.json" } + "List usages": { + "$ref": "./examples/UsageList.json" + }, + "List usages spaced location": { + "$ref": "./examples/UsageListSpacedLocation.json" + } }, "x-ms-pageable": { "nextLinkName": "nextLink" diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/virtualNetwork.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/virtualNetwork.json index 9c3c52d5dfa5..d4e0fb210ff6 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/virtualNetwork.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/virtualNetwork.json @@ -79,7 +79,9 @@ "final-state-via": "location" }, "x-ms-examples": { - "Delete virtual network": { "$ref": "./examples/VirtualNetworkDelete.json" } + "Delete virtual network": { + "$ref": "./examples/VirtualNetworkDelete.json" + } } }, "get": { @@ -126,9 +128,15 @@ } }, "x-ms-examples": { - "Get virtual network": { "$ref": "./examples/VirtualNetworkGet.json" }, - "Get virtual network with a delegated subnet": { "$ref": "./examples/VirtualNetworkGetWithSubnetDelegation.json" }, - "Get virtual network with service association links": { "$ref": "./examples/VirtualNetworkGetWithServiceAssociationLink.json" } + "Get virtual network": { + "$ref": "./examples/VirtualNetworkGet.json" + }, + "Get virtual network with a delegated subnet": { + "$ref": "./examples/VirtualNetworkGetWithSubnetDelegation.json" + }, + "Get virtual network with service association links": { + "$ref": "./examples/VirtualNetworkGetWithServiceAssociationLink.json" + } } }, "put": { @@ -187,12 +195,24 @@ "final-state-via": "azure-async-operation" }, "x-ms-examples": { - "Create virtual network": { "$ref": "./examples/VirtualNetworkCreate.json" }, - "Create virtual network with subnet": { "$ref": "./examples/VirtualNetworkCreateSubnet.json" }, - "Create virtual network with subnet containing address prefixes": { "$ref": "./examples/VirtualNetworkCreateSubnetWithAddressPrefixes.json" }, - "Create virtual network with service endpoints": { "$ref": "./examples/VirtualNetworkCreateServiceEndpoints.json" }, - "Create virtual network with service endpoints and service endpoint policy": { "$ref": "./examples/VirtualNetworkCreateServiceEndpointPolicy.json" }, - "Create virtual network with delegated subnets": { "$ref": "./examples/VirtualNetworkCreateSubnetWithDelegation.json" } + "Create virtual network": { + "$ref": "./examples/VirtualNetworkCreate.json" + }, + "Create virtual network with subnet": { + "$ref": "./examples/VirtualNetworkCreateSubnet.json" + }, + "Create virtual network with subnet containing address prefixes": { + "$ref": "./examples/VirtualNetworkCreateSubnetWithAddressPrefixes.json" + }, + "Create virtual network with service endpoints": { + "$ref": "./examples/VirtualNetworkCreateServiceEndpoints.json" + }, + "Create virtual network with service endpoints and service endpoint policy": { + "$ref": "./examples/VirtualNetworkCreateServiceEndpointPolicy.json" + }, + "Create virtual network with delegated subnets": { + "$ref": "./examples/VirtualNetworkCreateSubnetWithDelegation.json" + } } }, "patch": { @@ -242,7 +262,9 @@ }, "x-ms-long-running-operation": true, "x-ms-examples": { - "Update virtual network tags": { "$ref": "./examples/VirtualNetworkUpdateTags.json" } + "Update virtual network tags": { + "$ref": "./examples/VirtualNetworkUpdateTags.json" + } } } }, @@ -270,7 +292,9 @@ } }, "x-ms-examples": { - "List all virtual networks": { "$ref": "./examples/VirtualNetworkListAll.json" } + "List all virtual networks": { + "$ref": "./examples/VirtualNetworkListAll.json" + } }, "x-ms-pageable": { "nextLinkName": "nextLink" @@ -308,7 +332,9 @@ } }, "x-ms-examples": { - "List virtual networks in resource group": { "$ref": "./examples/VirtualNetworkList.json" } + "List virtual networks in resource group": { + "$ref": "./examples/VirtualNetworkList.json" + } }, "x-ms-pageable": { "nextLinkName": "nextLink" @@ -363,7 +389,9 @@ } }, "x-ms-examples": { - "Delete subnet": { "$ref": "./examples/SubnetDelete.json" } + "Delete subnet": { + "$ref": "./examples/SubnetDelete.json" + } }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { @@ -421,8 +449,12 @@ } }, "x-ms-examples": { - "Get subnet": { "$ref": "./examples/SubnetGet.json" }, - "Get subnet with a delegation": { "$ref": "./examples/SubnetGetWithDelegation.json" } + "Get subnet": { + "$ref": "./examples/SubnetGet.json" + }, + "Get subnet with a delegation": { + "$ref": "./examples/SubnetGetWithDelegation.json" + } } }, "put": { @@ -488,9 +520,15 @@ "final-state-via": "azure-async-operation" }, "x-ms-examples": { - "Create subnet": { "$ref": "./examples/SubnetCreate.json" }, - "Create subnet with service endpoints": { "$ref": "./examples/SubnetCreateServiceEndpoint.json" }, - "Create subnet with a delegation": { "$ref": "./examples/SubnetCreateWithDelegation.json" } + "Create subnet": { + "$ref": "./examples/SubnetCreate.json" + }, + "Create subnet with service endpoints": { + "$ref": "./examples/SubnetCreateServiceEndpoint.json" + }, + "Create subnet with a delegation": { + "$ref": "./examples/SubnetCreateWithDelegation.json" + } } } }, @@ -549,7 +587,9 @@ "final-state-via": "location" }, "x-ms-examples": { - "Prepare Network Policies": { "$ref": "./examples/SubnetPrepareNetworkPolicies.json" } + "Prepare Network Policies": { + "$ref": "./examples/SubnetPrepareNetworkPolicies.json" + } } } }, @@ -680,7 +720,9 @@ "nextLinkName": "nextLink" }, "x-ms-examples": { - "List subnets": { "$ref": "./examples/SubnetList.json" } + "List subnets": { + "$ref": "./examples/SubnetList.json" + } } } }, @@ -732,7 +774,9 @@ } }, "x-ms-examples": { - "Delete peering": { "$ref": "./examples/VirtualNetworkPeeringDelete.json" } + "Delete peering": { + "$ref": "./examples/VirtualNetworkPeeringDelete.json" + } }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { @@ -783,7 +827,9 @@ } }, "x-ms-examples": { - "Get peering": { "$ref": "./examples/VirtualNetworkPeeringGet.json" } + "Get peering": { + "$ref": "./examples/VirtualNetworkPeeringGet.json" + } } }, "put": { @@ -845,7 +891,9 @@ } }, "x-ms-examples": { - "Create peering": { "$ref": "./examples/VirtualNetworkPeeringCreate.json" } + "Create peering": { + "$ref": "./examples/VirtualNetworkPeeringCreate.json" + } }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { @@ -894,7 +942,9 @@ "nextLinkName": "nextLink" }, "x-ms-examples": { - "List peerings": { "$ref": "./examples/VirtualNetworkPeeringList.json" } + "List peerings": { + "$ref": "./examples/VirtualNetworkPeeringList.json" + } } } }, @@ -940,7 +990,9 @@ } }, "x-ms-examples": { - "Check IP address availability": { "$ref": "./examples/VirtualNetworkCheckIPAddressAvailability.json" } + "Check IP address availability": { + "$ref": "./examples/VirtualNetworkCheckIPAddressAvailability.json" + } } } }, @@ -979,7 +1031,9 @@ } }, "x-ms-examples": { - "VnetGetUsage": { "$ref": "./examples/VirtualNetworkListUsage.json" } + "VnetGetUsage": { + "$ref": "./examples/VirtualNetworkListUsage.json" + } }, "x-ms-pageable": { "nextLinkName": "nextLink" @@ -1138,7 +1192,7 @@ "description": "The reference of the RouteTable resource." }, "natGateway": { - "$ref":"./network.json#/definitions/SubResource", + "$ref": "./network.json#/definitions/SubResource", "description": "Nat gateway associated with this subnet." }, "serviceEndpoints": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/virtualNetworkGateway.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/virtualNetworkGateway.json index 1ffa7ea64719..ec2a92687e81 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/virtualNetworkGateway.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/virtualNetworkGateway.json @@ -87,7 +87,9 @@ } }, "x-ms-examples": { - "UpdateVirtualNetworkGateway": { "$ref": "./examples/VirtualNetworkGatewayUpdate.json" } + "UpdateVirtualNetworkGateway": { + "$ref": "./examples/VirtualNetworkGatewayUpdate.json" + } }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { @@ -131,7 +133,9 @@ } }, "x-ms-examples": { - "GetVirtualNetworkGateway": { "$ref": "./examples/VirtualNetworkGatewayGet.json" } + "GetVirtualNetworkGateway": { + "$ref": "./examples/VirtualNetworkGatewayGet.json" + } } }, "delete": { @@ -174,7 +178,9 @@ } }, "x-ms-examples": { - "DeleteVirtualNetworkGateway": { "$ref": "./examples/VirtualNetworkGatewayDelete.json" } + "DeleteVirtualNetworkGateway": { + "$ref": "./examples/VirtualNetworkGatewayDelete.json" + } }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { @@ -227,7 +233,9 @@ } }, "x-ms-examples": { - "UpdateVirtualNetworkGatewayTags": { "$ref": "./examples/VirtualNetworkGatewayUpdateTags.json" } + "UpdateVirtualNetworkGatewayTags": { + "$ref": "./examples/VirtualNetworkGatewayUpdateTags.json" + } }, "x-ms-long-running-operation": true } @@ -263,7 +271,9 @@ } }, "x-ms-examples": { - "ListVirtualNetworkGatewaysinResourceGroup": { "$ref": "./examples/VirtualNetworkGatewayList.json" } + "ListVirtualNetworkGatewaysinResourceGroup": { + "$ref": "./examples/VirtualNetworkGatewayList.json" + } }, "x-ms-pageable": { "nextLinkName": "nextLink" @@ -311,7 +321,9 @@ "nextLinkName": "nextLink" }, "x-ms-examples": { - "VirtualNetworkGatewaysListConnections": { "$ref": "./examples/VirtualNetworkGatewaysListConnections.json" } + "VirtualNetworkGatewaysListConnections": { + "$ref": "./examples/VirtualNetworkGatewaysListConnections.json" + } } } }, @@ -363,7 +375,9 @@ } }, "x-ms-examples": { - "ResetVirtualNetworkGateway": { "$ref": "./examples/VirtualNetworkGatewayReset.json" } + "ResetVirtualNetworkGateway": { + "$ref": "./examples/VirtualNetworkGatewayReset.json" + } }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { @@ -409,7 +423,9 @@ } }, "x-ms-examples": { - "ResetVpnClientSharedKey": { "$ref": "./examples/VirtualNetworkGatewayResetVpnClientSharedKey.json" } + "ResetVpnClientSharedKey": { + "$ref": "./examples/VirtualNetworkGatewayResetVpnClientSharedKey.json" + } }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { @@ -467,7 +483,9 @@ } }, "x-ms-examples": { - "GenerateVPNClientPackage": { "$ref": "./examples/VirtualNetworkGatewayGenerateVpnClientPackage.json" } + "GenerateVPNClientPackage": { + "$ref": "./examples/VirtualNetworkGatewayGenerateVpnClientPackage.json" + } }, "x-ms-long-running-operation-options": { "final-state-via": "location" @@ -524,7 +542,9 @@ } }, "x-ms-examples": { - "GenerateVirtualNetworkGatewayVPNProfile": { "$ref": "./examples/VirtualNetworkGatewayGenerateVpnProfile.json" } + "GenerateVirtualNetworkGatewayVPNProfile": { + "$ref": "./examples/VirtualNetworkGatewayGenerateVpnProfile.json" + } }, "x-ms-long-running-operation-options": { "final-state-via": "location" @@ -572,7 +592,9 @@ } }, "x-ms-examples": { - "GetVirtualNetworkGatewayVPNProfilePackageURL": { "$ref": "./examples/VirtualNetworkGatewayGetVpnProfilePackageUrl.json" } + "GetVirtualNetworkGatewayVPNProfilePackageURL": { + "$ref": "./examples/VirtualNetworkGatewayGetVpnProfilePackageUrl.json" + } }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { @@ -628,7 +650,9 @@ } }, "x-ms-examples": { - "GetVirtualNetworkGatewayBGPPeerStatus": { "$ref": "./examples/VirtualNetworkGatewayGetBGPPeerStatus.json" } + "GetVirtualNetworkGatewayBGPPeerStatus": { + "$ref": "./examples/VirtualNetworkGatewayGetBGPPeerStatus.json" + } }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { @@ -674,7 +698,9 @@ } }, "x-ms-examples": { - "ListVirtualNetworkGatewaySupportedVPNDevices": { "$ref": "./examples/VirtualNetworkGatewaySupportedVpnDevice.json" } + "ListVirtualNetworkGatewaySupportedVPNDevices": { + "$ref": "./examples/VirtualNetworkGatewaySupportedVpnDevice.json" + } } } }, @@ -719,7 +745,9 @@ } }, "x-ms-examples": { - "GetVirtualNetworkGatewayLearnedRoutes": { "$ref": "./examples/VirtualNetworkGatewayLearnedRoutes.json" } + "GetVirtualNetworkGatewayLearnedRoutes": { + "$ref": "./examples/VirtualNetworkGatewayLearnedRoutes.json" + } }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { @@ -775,7 +803,9 @@ } }, "x-ms-examples": { - "GetVirtualNetworkGatewayAdvertisedRoutes": { "$ref": "./examples/VirtualNetworkGatewayGetAdvertisedRoutes.json" } + "GetVirtualNetworkGatewayAdvertisedRoutes": { + "$ref": "./examples/VirtualNetworkGatewayGetAdvertisedRoutes.json" + } }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { @@ -837,7 +867,9 @@ "final-state-via": "location" }, "x-ms-examples": { - "Set VirtualNetworkGateway VpnClientIpsecParameters": { "$ref": "./examples/VirtualNetworkGatewaySetVpnClientIpsecParameters.json" } + "Set VirtualNetworkGateway VpnClientIpsecParameters": { + "$ref": "./examples/VirtualNetworkGatewaySetVpnClientIpsecParameters.json" + } } } }, @@ -883,7 +915,9 @@ "final-state-via": "location" }, "x-ms-examples": { - "Get VirtualNetworkGateway VpnClientIpsecParameters": { "$ref": "./examples/VirtualNetworkGatewayGetVpnClientIpsecParameters.json" } + "Get VirtualNetworkGateway VpnClientIpsecParameters": { + "$ref": "./examples/VirtualNetworkGatewayGetVpnClientIpsecParameters.json" + } } } }, @@ -934,7 +968,9 @@ } }, "x-ms-examples": { - "GetVPNDeviceConfigurationScript": { "$ref": "./examples/VirtualNetworkGatewayVpnDeviceConfigurationScript.json" } + "GetVPNDeviceConfigurationScript": { + "$ref": "./examples/VirtualNetworkGatewayVpnDeviceConfigurationScript.json" + } } } }, @@ -991,7 +1027,9 @@ } }, "x-ms-examples": { - "CreateVirtualNetworkGatewayConnection_S2S": { "$ref": "./examples/VirtualNetworkGatewayConnectionCreate.json" } + "CreateVirtualNetworkGatewayConnection_S2S": { + "$ref": "./examples/VirtualNetworkGatewayConnectionCreate.json" + } }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { @@ -1035,7 +1073,9 @@ } }, "x-ms-examples": { - "GetVirtualNetworkGatewayConnection": { "$ref": "./examples/VirtualNetworkGatewayConnectionGet.json" } + "GetVirtualNetworkGatewayConnection": { + "$ref": "./examples/VirtualNetworkGatewayConnectionGet.json" + } } }, "delete": { @@ -1078,7 +1118,9 @@ } }, "x-ms-examples": { - "DeleteVirtualNetworkGatewayConnection": { "$ref": "./examples/VirtualNetworkGatewayConnectionDelete.json" } + "DeleteVirtualNetworkGatewayConnection": { + "$ref": "./examples/VirtualNetworkGatewayConnectionDelete.json" + } }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { @@ -1131,7 +1173,9 @@ } }, "x-ms-examples": { - "UpdateVirtualNetworkGatewayConnectionTags": { "$ref": "./examples/VirtualNetworkGatewayConnectionUpdateTags.json" } + "UpdateVirtualNetworkGatewayConnectionTags": { + "$ref": "./examples/VirtualNetworkGatewayConnectionUpdateTags.json" + } }, "x-ms-long-running-operation": true } @@ -1189,7 +1233,9 @@ } }, "x-ms-examples": { - "SetVirtualNetworkGatewayConnectionSharedKey": { "$ref": "./examples/VirtualNetworkGatewayConnectionSetSharedKey.json" } + "SetVirtualNetworkGatewayConnectionSharedKey": { + "$ref": "./examples/VirtualNetworkGatewayConnectionSetSharedKey.json" + } }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { @@ -1233,7 +1279,9 @@ } }, "x-ms-examples": { - "GetVirtualNetworkGatewayConnectionSharedKey": { "$ref": "./examples/VirtualNetworkGatewayConnectionGetSharedKey.json" } + "GetVirtualNetworkGatewayConnectionSharedKey": { + "$ref": "./examples/VirtualNetworkGatewayConnectionGetSharedKey.json" + } } } }, @@ -1268,7 +1316,9 @@ } }, "x-ms-examples": { - "ListVirtualNetworkGatewayConnectionsinResourceGroup": { "$ref": "./examples/VirtualNetworkGatewayConnectionsList.json" } + "ListVirtualNetworkGatewayConnectionsinResourceGroup": { + "$ref": "./examples/VirtualNetworkGatewayConnectionsList.json" + } }, "x-ms-pageable": { "nextLinkName": "nextLink" @@ -1325,7 +1375,9 @@ } }, "x-ms-examples": { - "ResetVirtualNetworkGatewayConnectionSharedKey": { "$ref": "./examples/VirtualNetworkGatewayConnectionResetSharedKey.json" } + "ResetVirtualNetworkGatewayConnectionSharedKey": { + "$ref": "./examples/VirtualNetworkGatewayConnectionResetSharedKey.json" + } }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { @@ -1387,7 +1439,9 @@ } }, "x-ms-examples": { - "CreateLocalNetworkGateway": { "$ref": "./examples/LocalNetworkGatewayCreate.json" } + "CreateLocalNetworkGateway": { + "$ref": "./examples/LocalNetworkGatewayCreate.json" + } }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { @@ -1432,7 +1486,9 @@ } }, "x-ms-examples": { - "GetLocalNetworkGateway": { "$ref": "./examples/LocalNetworkGatewayGet.json" } + "GetLocalNetworkGateway": { + "$ref": "./examples/LocalNetworkGatewayGet.json" + } } }, "delete": { @@ -1476,7 +1532,9 @@ } }, "x-ms-examples": { - "DeleteLocalNetworkGateway": { "$ref": "./examples/LocalNetworkGatewayDelete.json" } + "DeleteLocalNetworkGateway": { + "$ref": "./examples/LocalNetworkGatewayDelete.json" + } }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { @@ -1530,7 +1588,9 @@ } }, "x-ms-examples": { - "UpdateLocalNetworkGatewayTags": { "$ref": "./examples/LocalNetworkGatewayUpdateTags.json" } + "UpdateLocalNetworkGatewayTags": { + "$ref": "./examples/LocalNetworkGatewayUpdateTags.json" + } }, "x-ms-long-running-operation": true } @@ -1566,7 +1626,9 @@ } }, "x-ms-examples": { - "ListLocalNetworkGateways": { "$ref": "./examples/LocalNetworkGatewayList.json" } + "ListLocalNetworkGateways": { + "$ref": "./examples/LocalNetworkGatewayList.json" + } }, "x-ms-pageable": { "nextLinkName": "nextLink" @@ -1680,7 +1742,7 @@ "customRoutes": { "$ref": "./virtualNetwork.json#/definitions/AddressSpace", "description": "The reference of the address space resource which represents the custom routes address space specified by the the customer for virtual network gateway and VpnClient." - }, + }, "resourceGuid": { "type": "string", "description": "The resource GUID property of the VirtualNetworkGateway resource." @@ -1810,7 +1872,7 @@ }, "description": "VpnClientProtocols for Virtual network gateway." }, - "vpnClientIpsecPolicies": { + "vpnClientIpsecPolicies": { "type": "array", "items": { "$ref": "#/definitions/IpsecPolicy" @@ -2154,7 +2216,7 @@ "description": "Gateway connection type." }, "connectionProtocol": { - "$ref": "#/definitions/ConnectionProtocol", + "$ref": "#/definitions/ConnectionProtocol", "description": "Connection protocol used for this connection" }, "routingWeight": { @@ -2351,16 +2413,16 @@ "description": "An IPSec Policy configuration for a virtual network gateway connection" }, "ConnectionProtocol": { - "type": "string", - "description": "Gateway connection protocol. Possible values are: 'IKEv2', 'IKEv1'.", - "enum": [ - "IKEv2", - "IKEv1" - ], - "x-ms-enum": { - "name": "VirtualNetworkGatewayConnectionProtocol", - "modelAsString": true - } + "type": "string", + "description": "Gateway connection protocol. Possible values are: 'IKEv2', 'IKEv1'.", + "enum": [ + "IKEv2", + "IKEv1" + ], + "x-ms-enum": { + "name": "VirtualNetworkGatewayConnectionProtocol", + "modelAsString": true + } }, "VpnClientIPsecParameters": { "properties": { @@ -2511,8 +2573,8 @@ "description": "Gateway connection type." }, "connectionProtocol": { - "$ref": "#/definitions/ConnectionProtocol", - "description": "Connection protocol used for this connection" + "$ref": "#/definitions/ConnectionProtocol", + "description": "Connection protocol used for this connection" }, "routingWeight": { "type": "integer", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/virtualNetworkTap.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/virtualNetworkTap.json index 8bf023e7f225..1a8d1a78e519 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/virtualNetworkTap.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/virtualNetworkTap.json @@ -35,292 +35,304 @@ }, "paths": { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkTaps/{tapName}": { - "delete": { - "tags": [ - "VirtualNetworkTap" - ], - "operationId": "VirtualNetworkTaps_Delete", - "description": "Deletes the specified virtual network tap.", - "parameters": [ - { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group." - }, - { - "name": "tapName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the virtual network tap." - }, - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Delete successful." - }, - "202": { - "description": "Accepted. Sets 'Deleting' provisioningState until the operation completes. Returns an operation URI that can be queried to find the current state of the operation." - }, - "204": { - "description": "Request successful. Resource does not exist." - } - }, - "x-ms-examples": { - "Delete Virtual Network Tap resource": { "$ref": "./examples/VirtualNetworkTapDelete.json" } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - } + "delete": { + "tags": [ + "VirtualNetworkTap" + ], + "operationId": "VirtualNetworkTaps_Delete", + "description": "Deletes the specified virtual network tap.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "tapName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the virtual network tap." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Delete successful." + }, + "202": { + "description": "Accepted. Sets 'Deleting' provisioningState until the operation completes. Returns an operation URI that can be queried to find the current state of the operation." + }, + "204": { + "description": "Request successful. Resource does not exist." + } }, - "get": { - "tags": [ - "VirtualNetworkTap" - ], - "operationId": "VirtualNetworkTaps_Get", - "description": "Gets information about the specified virtual network tap.", - "parameters": [ - { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group." - }, - { - "name": "tapName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of virtual network tap." - }, - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Request successful. The operation returns the resulting VirtualNetworkTap resource.", - "schema": { - "$ref": "#/definitions/VirtualNetworkTap" - } - } - }, - "x-ms-examples": { - "Get Virtual Network Tap": { "$ref": "./examples/VirtualNetworkTapGet.json" } + "x-ms-examples": { + "Delete Virtual Network Tap resource": { + "$ref": "./examples/VirtualNetworkTapDelete.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + }, + "get": { + "tags": [ + "VirtualNetworkTap" + ], + "operationId": "VirtualNetworkTaps_Get", + "description": "Gets information about the specified virtual network tap.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "tapName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of virtual network tap." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns the resulting VirtualNetworkTap resource.", + "schema": { + "$ref": "#/definitions/VirtualNetworkTap" } + } }, - "put": { - "tags": [ - "VirtualNetworkTap" - ], - "operationId": "VirtualNetworkTaps_CreateOrUpdate", - "description": "Creates or updates a Virtual Network Tap.", - "parameters": [ - { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group." - }, - { - "name": "tapName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the virtual network tap." - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/VirtualNetworkTap" - }, - "description": "Parameters supplied to the create or update virtual network tap operation." - }, - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Update successful. The operation returns the resulting VirtualNetworkTap resource.", - "schema": { - "$ref": "#/definitions/VirtualNetworkTap" - } - }, - "201": { - "description": "Create successful. The operation returns the resulting VirtualNetworkTap resource.", - "schema": { - "$ref": "#/definitions/VirtualNetworkTap" - } - } - }, - "x-ms-examples": { - "Create Virtual Network Tap": { "$ref": "./examples/VirtualNetworkTapCreate.json" } + "x-ms-examples": { + "Get Virtual Network Tap": { + "$ref": "./examples/VirtualNetworkTapGet.json" + } + } + }, + "put": { + "tags": [ + "VirtualNetworkTap" + ], + "operationId": "VirtualNetworkTaps_CreateOrUpdate", + "description": "Creates or updates a Virtual Network Tap.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "tapName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the virtual network tap." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/VirtualNetworkTap" }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" + "description": "Parameters supplied to the create or update virtual network tap operation." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Update successful. The operation returns the resulting VirtualNetworkTap resource.", + "schema": { + "$ref": "#/definitions/VirtualNetworkTap" } + }, + "201": { + "description": "Create successful. The operation returns the resulting VirtualNetworkTap resource.", + "schema": { + "$ref": "#/definitions/VirtualNetworkTap" + } + } }, - "patch": { - "tags": [ - "VirtualNetworkTap" - ], - "operationId": "VirtualNetworkTaps_UpdateTags", - "description": "Updates an VirtualNetworkTap tags.", - "parameters": [ - { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group." - }, - { - "name": "tapName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the tap." - }, - { - "name": "tapParameters", - "in": "body", - "required": true, - "schema": { + "x-ms-examples": { + "Create Virtual Network Tap": { + "$ref": "./examples/VirtualNetworkTapCreate.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } + }, + "patch": { + "tags": [ + "VirtualNetworkTap" + ], + "operationId": "VirtualNetworkTaps_UpdateTags", + "description": "Updates an VirtualNetworkTap tags.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "tapName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the tap." + }, + { + "name": "tapParameters", + "in": "body", + "required": true, + "schema": { "$ref": "./network.json#/definitions/TagsObject" - }, - "description": "Parameters supplied to update VirtualNetworkTap tags." }, - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Update successful. The operation returns the resulting VirtualNetworkTap resource.", - "schema": { + "description": "Parameters supplied to update VirtualNetworkTap tags." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Update successful. The operation returns the resulting VirtualNetworkTap resource.", + "schema": { "$ref": "#/definitions/VirtualNetworkTap" - } - } - }, - "x-ms-examples": { - "Update virtual network tap tags": { "$ref": "./examples/VirtualNetworkTapUpdateTags.json" } - }, - "x-ms-long-running-operation": true - } + } + } + }, + "x-ms-examples": { + "Update virtual network tap tags": { + "$ref": "./examples/VirtualNetworkTapUpdateTags.json" + } + }, + "x-ms-long-running-operation": true + } }, "/subscriptions/{subscriptionId}/providers/Microsoft.Network/virtualNetworkTaps": { - "get": { - "tags": [ - "VirtualNetworkTaps" - ], - "operationId": "VirtualNetworkTaps_ListAll", - "description": "Gets all the VirtualNetworkTaps in a subscription.", - "parameters": [ - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Request successful. The operation returns a list of Virtual Network Tap resources.", - "schema": { - "$ref": "#/definitions/VirtualNetworkTapListResult" - } - } - }, - "x-ms-examples": { - "List all virtual network taps": { "$ref": "./examples/VirtualNetworkTapListAll.json" } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" + "get": { + "tags": [ + "VirtualNetworkTaps" + ], + "operationId": "VirtualNetworkTaps_ListAll", + "description": "Gets all the VirtualNetworkTaps in a subscription.", + "parameters": [ + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns a list of Virtual Network Tap resources.", + "schema": { + "$ref": "#/definitions/VirtualNetworkTapListResult" } + } + }, + "x-ms-examples": { + "List all virtual network taps": { + "$ref": "./examples/VirtualNetworkTapListAll.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } + } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkTaps": { - "get": { - "tags": [ - "VirtualNetworkTaps" - ], - "operationId": "VirtualNetworkTaps_ListByResourceGroup", - "description": "Gets all the VirtualNetworkTaps in a subscription.", - "parameters": [ - { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group." - }, - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Request successful. The operation returns a list of Virtual Network Tap resources.", - "schema": { - "$ref": "#/definitions/VirtualNetworkTapListResult" - } - } - }, - "x-ms-examples": { - "List virtual network taps in resource group": { "$ref": "./examples/VirtualNetworkTapList.json" } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" + "get": { + "tags": [ + "VirtualNetworkTaps" + ], + "operationId": "VirtualNetworkTaps_ListByResourceGroup", + "description": "Gets all the VirtualNetworkTaps in a subscription.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns a list of Virtual Network Tap resources.", + "schema": { + "$ref": "#/definitions/VirtualNetworkTapListResult" } + } + }, + "x-ms-examples": { + "List virtual network taps in resource group": { + "$ref": "./examples/VirtualNetworkTapList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } + } } -}, -"definitions": { + }, + "definitions": { "VirtualNetworkTap": { + "properties": { "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/VirtualNetworkTapPropertiesFormat", - "description": "Virtual Network Tap Properties." - }, - "etag": { - "type": "string", - "description": "Gets a unique read-only string that changes whenever the resource is updated." - } + "x-ms-client-flatten": true, + "$ref": "#/definitions/VirtualNetworkTapPropertiesFormat", + "description": "Virtual Network Tap Properties." }, - "allOf": [ - { - "$ref": "./network.json#/definitions/Resource" - } - ], - "description": "Virtual Network Tap resource" + "etag": { + "type": "string", + "description": "Gets a unique read-only string that changes whenever the resource is updated." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/Resource" + } + ], + "description": "Virtual Network Tap resource" }, "VirtualNetworkTapPropertiesFormat": { "description": "Virtual Network Tap properties.", @@ -359,36 +371,36 @@ } }, "VirtualNetworkTapListResult": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/VirtualNetworkTap" - }, - "description": "A list of VirtualNetworkTaps in a resource group." - }, - "nextLink": { - "type": "string", - "description": "The URL to get the next set of results." - } + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/VirtualNetworkTap" + }, + "description": "A list of VirtualNetworkTaps in a resource group." }, - "description": "Response for ListVirtualNetworkTap API service call." + "nextLink": { + "type": "string", + "description": "The URL to get the next set of results." + } + }, + "description": "Response for ListVirtualNetworkTap API service call." } -}, -"parameters": { + }, + "parameters": { "SubscriptionIdParameter": { - "name": "subscriptionId", - "in": "path", - "required": true, - "type": "string", - "description": "The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call." + "name": "subscriptionId", + "in": "path", + "required": true, + "type": "string", + "description": "The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call." }, "ApiVersionParameter": { - "name": "api-version", - "in": "query", - "required": true, - "type": "string", - "description": "Client API version." + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "Client API version." } - } + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/virtualWan.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/virtualWan.json index ff0c5cf24082..2a41769ab2f3 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/virtualWan.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/virtualWan.json @@ -2293,7 +2293,9 @@ } }, "x-ms-examples": { - "GenerateP2SVpnGatewayVPNProfile": { "$ref": "./examples/P2SVpnGatewayGenerateVpnProfile.json" } + "GenerateP2SVpnGatewayVPNProfile": { + "$ref": "./examples/P2SVpnGatewayGenerateVpnProfile.json" + } }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { @@ -2530,32 +2532,32 @@ "description": "Parameters for VirtualHub" }, "VirtualHubRouteTable": { - "properties" : { + "properties": { "routes": { - "type": "array", - "description": "List of all routes.", - "items": { - "$ref": "#/definitions/VirtualHubRoute" - } + "type": "array", + "description": "List of all routes.", + "items": { + "$ref": "#/definitions/VirtualHubRoute" + } } }, - "description" : "VirtualHub route table" + "description": "VirtualHub route table" }, "VirtualHubRoute": { - "properties" : { + "properties": { "addressPrefixes": { - "type": "array", - "description": "List of all addressPrefixes.", - "items": { - "type": "string" - } + "type": "array", + "description": "List of all addressPrefixes.", + "items": { + "type": "string" + } }, "nextHopIpAddress": { - "type": "string", - "description": "NextHop ip address." + "type": "string", + "description": "NextHop ip address." } }, - "description" : "VirtualHub route" + "description": "VirtualHub route" }, "VirtualHub": { "required": [ @@ -2681,7 +2683,7 @@ }, "vpnConnectionProtocolType": { "description": "Connection protocol used for this connection", - "$ref": "./virtualNetworkGateway.json#/definitions/ConnectionProtocol" + "$ref": "./virtualNetworkGateway.json#/definitions/ConnectionProtocol" }, "ingressBytesTransferred": { "type": "integer", @@ -2723,7 +2725,7 @@ "type": "boolean", "description": "Enable internet security" }, - "useLocalAzureIpAddress": { + "useLocalAzureIpAddress": { "type": "boolean", "description": "Use local azure ip to initiate connection" }, @@ -3309,7 +3311,7 @@ "customRoutes": { "$ref": "./virtualNetwork.json#/definitions/AddressSpace", "description": "The reference of the address space resource which represents the custom routes specified by the customer for P2SVpnGateway and P2S VpnClient." - }, + }, "vpnClientConnectionHealth": { "readOnly": true, "$ref": "#/definitions/VpnClientConnectionHealth", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/vmssNetworkInterface.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/vmssNetworkInterface.json index b7d61ab82bb4..3c18644aed2e 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/vmssNetworkInterface.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/vmssNetworkInterface.json @@ -90,7 +90,9 @@ } }, "x-ms-examples": { - "List virtual machine scale set vm network interfaces": { "$ref": "./examples/VmssVmNetworkInterfaceList.json" } + "List virtual machine scale set vm network interfaces": { + "$ref": "./examples/VmssVmNetworkInterfaceList.json" + } }, "x-ms-pageable": { "nextLinkName": "nextLink" @@ -146,7 +148,9 @@ } }, "x-ms-examples": { - "List virtual machine scale set network interfaces": { "$ref": "./examples/VmssNetworkInterfaceList.json" } + "List virtual machine scale set network interfaces": { + "$ref": "./examples/VmssNetworkInterfaceList.json" + } }, "x-ms-pageable": { "nextLinkName": "nextLink" @@ -223,7 +227,9 @@ } }, "x-ms-examples": { - "Get virtual machine scale set network interface": { "$ref": "./examples/VmssNetworkInterfaceGet.json" } + "Get virtual machine scale set network interface": { + "$ref": "./examples/VmssNetworkInterfaceGet.json" + } } } }, @@ -297,7 +303,9 @@ } }, "x-ms-examples": { - "List virtual machine scale set network interface ip configurations": { "$ref": "./examples/VmssNetworkInterfaceIpConfigList.json" } + "List virtual machine scale set network interface ip configurations": { + "$ref": "./examples/VmssNetworkInterfaceIpConfigList.json" + } }, "x-ms-pageable": { "nextLinkName": "nextLink" @@ -381,7 +389,9 @@ } }, "x-ms-examples": { - "Get virtual machine scale set network interface": { "$ref": "./examples/VmssNetworkInterfaceIpConfigGet.json" } + "Get virtual machine scale set network interface": { + "$ref": "./examples/VmssNetworkInterfaceIpConfigGet.json" + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/vmssPublicIpAddress.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/vmssPublicIpAddress.json index d4ce2eb2ddd4..4cb3cf150e23 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/vmssPublicIpAddress.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/vmssPublicIpAddress.json @@ -80,14 +80,16 @@ } }, "x-ms-examples": { - "ListVMSSPublicIP": { "$ref": "./examples/VmssPublicIpListAll.json" } + "ListVMSSPublicIP": { + "$ref": "./examples/VmssPublicIpListAll.json" + } }, "x-ms-pageable": { "nextLinkName": "nextLink" } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{virtualMachineScaleSetName}/virtualMachines/{virtualmachineIndex}/networkInterfaces/{networkInterfaceName}/ipconfigurations/{ipConfigurationName}/publicipaddresses" : { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{virtualMachineScaleSetName}/virtualMachines/{virtualmachineIndex}/networkInterfaces/{networkInterfaceName}/ipconfigurations/{ipConfigurationName}/publicipaddresses": { "get": { "operationId": "PublicIPAddresses_ListVirtualMachineScaleSetVMPublicIPAddresses", "description": "Gets information about all public IP addresses in a virtual machine IP configuration in a virtual machine scale set.", @@ -154,7 +156,9 @@ } }, "x-ms-examples": { - "ListVMSSVMPublicIP": { "$ref": "./examples/VmssVmPublicIpList.json" } + "ListVMSSVMPublicIP": { + "$ref": "./examples/VmssVmPublicIpList.json" + } }, "x-ms-pageable": { "nextLinkName": "nextLink" @@ -234,7 +238,9 @@ } ], "x-ms-examples": { - "GetVMSSPublicIP": { "$ref": "./examples/VmssPublicIpGet.json" } + "GetVMSSPublicIP": { + "$ref": "./examples/VmssPublicIpGet.json" + } }, "responses": { "200": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/webapplicationfirewall.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/webapplicationfirewall.json index 4f9dd6d8473d..172cfe185b29 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/webapplicationfirewall.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/webapplicationfirewall.json @@ -105,8 +105,8 @@ "x-ms-pageable": { "nextLinkName": "nextLink" } - } - }, + } + }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ApplicationGatewayWebApplicationFirewallPolicies/{policyName}": { "get": { "tags": [ @@ -277,7 +277,7 @@ }, "allOf": [ { - "$ref": "./network.json#/definitions/Resource" + "$ref": "./network.json#/definitions/Resource" } ] }, diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/applicationGateway.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/applicationGateway.json index 17ede889b070..f565a79a3f0f 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/applicationGateway.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/applicationGateway.json @@ -571,7 +571,7 @@ } }, "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableRequestHeaders": { - "get": { + "get": { "tags": [ "ApplicationGateways" ], @@ -1454,7 +1454,7 @@ "$ref": "#/definitions/ApplicationGatewayCustomError" }, "description": "Custom error configurations of the HTTP listener." - } + } }, "description": "Properties of HTTP listener of an application gateway." }, @@ -1590,7 +1590,7 @@ "type": "string", "description": "Provisioning state of the backend http settings resource. Possible values are: 'Updating', 'Deleting', and 'Failed'." }, - "port": { + "port": { "type": "integer", "format": "int32", "description": "Custom port which will be used for probing the backend servers. The valid value ranges from 1 to 65535. In case not set, port from http settings will be used. This property is valid for Standard_v2 and WAF_v2 only.", @@ -2065,7 +2065,7 @@ "$ref": "#/definitions/ApplicationGatewayCustomError" }, "description": "Custom error configurations of the application gateway resource." - } + } }, "description": "Properties of the application gateway." }, @@ -2317,21 +2317,21 @@ ], "description": "Allows to disable rules within a rule group or an entire rule group." }, - "ApplicationGatewayAvailableServerVariablesResult": { + "ApplicationGatewayAvailableServerVariablesResult": { "type": "array", "items": { "type": "string" }, "description": "Response for ApplicationGatewayAvailableServerVariables API service call." }, - "ApplicationGatewayAvailableRequestHeadersResult": { + "ApplicationGatewayAvailableRequestHeadersResult": { "type": "array", "items": { "type": "string" }, "description": "Response for ApplicationGatewayAvailableRequestHeaders API service call." }, - "ApplicationGatewayAvailableResponseHeadersResult": { + "ApplicationGatewayAvailableResponseHeadersResult": { "type": "array", "items": { "type": "string" diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/applicationSecurityGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/applicationSecurityGroup.json index 72405c21c48c..7002a6e090f2 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/applicationSecurityGroup.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/applicationSecurityGroup.json @@ -79,7 +79,9 @@ "final-state-via": "location" }, "x-ms-examples": { - "Delete application security group": { "$ref": "./examples/ApplicationSecurityGroupDelete.json" } + "Delete application security group": { + "$ref": "./examples/ApplicationSecurityGroupDelete.json" + } } }, "get": { @@ -119,7 +121,9 @@ } }, "x-ms-examples": { - "Get application security group": { "$ref": "./examples/ApplicationSecurityGroupGet.json" } + "Get application security group": { + "$ref": "./examples/ApplicationSecurityGroupGet.json" + } } }, "put": { @@ -178,7 +182,9 @@ "final-state-via": "azure-async-operation" }, "x-ms-examples": { - "Create application security group": { "$ref": "./examples/ApplicationSecurityGroupCreate.json" } + "Create application security group": { + "$ref": "./examples/ApplicationSecurityGroupCreate.json" + } } }, "patch": { @@ -228,7 +234,9 @@ }, "x-ms-long-running-operation": true, "x-ms-examples": { - "Update application security group tags": { "$ref": "./examples/ApplicationSecurityGroupUpdateTags.json" } + "Update application security group tags": { + "$ref": "./examples/ApplicationSecurityGroupUpdateTags.json" + } } } }, @@ -259,7 +267,9 @@ "nextLinkName": "nextLink" }, "x-ms-examples": { - "List all application security groups": { "$ref": "./examples/ApplicationSecurityGroupListAll.json" } + "List all application security groups": { + "$ref": "./examples/ApplicationSecurityGroupListAll.json" + } } } }, @@ -294,7 +304,9 @@ } }, "x-ms-examples": { - "List load balancers in resource group": { "$ref": "./examples/ApplicationSecurityGroupList.json" } + "List load balancers in resource group": { + "$ref": "./examples/ApplicationSecurityGroupList.json" + } }, "x-ms-pageable": { "nextLinkName": "nextLink" diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/azureFirewall.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/azureFirewall.json index 6776561dd90b..524c55debab1 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/azureFirewall.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/azureFirewall.json @@ -1,792 +1,792 @@ { - "swagger":"2.0", - "info":{ - "title":"NetworkManagementClient", - "description":"The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.", - "version": "2019-04-01" - }, - "host":"management.azure.com", - "schemes":[ - "https" - ], - "consumes":[ - "application/json" - ], - "produces":[ - "application/json" - ], - "security":[ - { - "azure_auth":[ - "user_impersonation" - ] + "swagger": "2.0", + "info": { + "title": "NetworkManagementClient", + "description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.", + "version": "2019-04-01" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow.", + "scopes": { + "user_impersonation": "impersonate your user account" } - ], - "securityDefinitions":{ - "azure_auth":{ - "type":"oauth2", - "authorizationUrl":"https://login.microsoftonline.com/common/oauth2/authorize", - "flow":"implicit", - "description":"Azure Active Directory OAuth2 Flow.", - "scopes":{ - "user_impersonation":"impersonate your user account" - } - } - }, - "paths":{ - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/azureFirewalls/{azureFirewallName}":{ - "delete":{ - "tags":[ - "AzureFirewalls" - ], - "operationId":"AzureFirewalls_Delete", - "description":"Deletes the specified Azure Firewall.", - "parameters":[ - { - "name":"resourceGroupName", - "in":"path", - "required":true, - "type":"string", - "description":"The name of the resource group." - }, - { - "name":"azureFirewallName", - "in":"path", - "required":true, - "type":"string", - "description":"The name of the Azure Firewall." - }, - { - "$ref":"./network.json#/parameters/ApiVersionParameter" - }, - { - "$ref":"./network.json#/parameters/SubscriptionIdParameter" - } - ], - "responses":{ - "202":{ - "description":"Accepted and the operation will complete asynchronously." - }, - "204":{ - "description":"Request successful. Resource with the specified name does not exist." - }, - "200":{ - "description":"Delete successful." - } - }, - "x-ms-examples":{ - "Delete Azure Firewall":{ - "$ref":"./examples/AzureFirewallDelete.json" - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - } - }, - "get":{ - "tags":[ - "AzureFirewalls" - ], - "operationId":"AzureFirewalls_Get", - "description":"Gets the specified Azure Firewall.", - "parameters":[ - { - "name":"resourceGroupName", - "in":"path", - "required":true, - "type":"string", - "description":"The name of the resource group." - }, - { - "name":"azureFirewallName", - "in":"path", - "required":true, - "type":"string", - "description":"The name of the Azure Firewall." - }, - { - "$ref":"./network.json#/parameters/ApiVersionParameter" - }, - { - "$ref":"./network.json#/parameters/SubscriptionIdParameter" - } - ], - "responses":{ - "200":{ - "description":"Request successful. The operation returns an AzureFirewall resource.", - "schema":{ - "$ref":"#/definitions/AzureFirewall" - } - } - }, - "x-ms-examples":{ - "Get Azure Firewall":{ - "$ref":"./examples/AzureFirewallGet.json" - }, - "Get Azure Firewall With Zones":{ - "$ref":"./examples/AzureFirewallGetWithZones.json" - } - } - }, - "put":{ - "tags":[ - "AzureFirewalls" - ], - "operationId":"AzureFirewalls_CreateOrUpdate", - "description":"Creates or updates the specified Azure Firewall.", - "parameters":[ - { - "name":"resourceGroupName", - "in":"path", - "required":true, - "type":"string", - "description":"The name of the resource group." - }, - { - "name":"azureFirewallName", - "in":"path", - "required":true, - "type":"string", - "description":"The name of the Azure Firewall." - }, - { - "name":"parameters", - "in":"body", - "required":true, - "schema":{ - "$ref":"#/definitions/AzureFirewall" - }, - "description":"Parameters supplied to the create or update Azure Firewall operation." - }, - { - "$ref":"./network.json#/parameters/ApiVersionParameter" - }, - { - "$ref":"./network.json#/parameters/SubscriptionIdParameter" - } - ], - "responses":{ - "201":{ - "description":"Create successful. The operation returns the resulting AzureFirewall resource.", - "schema":{ - "$ref":"#/definitions/AzureFirewall" - } - }, - "200":{ - "description":"Update successful. The operation returns the resulting AzureFirewall resource.", - "schema":{ - "$ref":"#/definitions/AzureFirewall" - } - } - }, - "x-ms-examples":{ - "Create Azure Firewall":{ - "$ref":"./examples/AzureFirewallPut.json" - }, - "Create Azure Firewall With Zones":{ - "$ref":"./examples/AzureFirewallPutWithZones.json" - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - } - } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/azureFirewalls/{azureFirewallName}": { + "delete": { + "tags": [ + "AzureFirewalls" + ], + "operationId": "AzureFirewalls_Delete", + "description": "Deletes the specified Azure Firewall.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "azureFirewallName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Azure Firewall." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "202": { + "description": "Accepted and the operation will complete asynchronously." + }, + "204": { + "description": "Request successful. Resource with the specified name does not exist." + }, + "200": { + "description": "Delete successful." + } + }, + "x-ms-examples": { + "Delete Azure Firewall": { + "$ref": "./examples/AzureFirewallDelete.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/azureFirewalls":{ - "get":{ - "tags":[ - "AzureFirewalls" - ], - "operationId":"AzureFirewalls_List", - "description":"Lists all Azure Firewalls in a resource group.", - "parameters":[ - { - "name":"resourceGroupName", - "in":"path", - "required":true, - "type":"string", - "description":"The name of the resource group." - }, - { - "$ref":"./network.json#/parameters/ApiVersionParameter" - }, - { - "$ref":"./network.json#/parameters/SubscriptionIdParameter" - } - ], - "responses":{ - "200":{ - "description":"Success. The operation returns a list of AzureFirewall resources.", - "schema":{ - "$ref":"#/definitions/AzureFirewallListResult" - } - } - }, - "x-ms-examples":{ - "List all Azure Firewalls for a given resource group":{ - "$ref":"./examples/AzureFirewallListByResourceGroup.json" - } - }, - "x-ms-pageable":{ - "nextLinkName":"nextLink" + "get": { + "tags": [ + "AzureFirewalls" + ], + "operationId": "AzureFirewalls_Get", + "description": "Gets the specified Azure Firewall.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "azureFirewallName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Azure Firewall." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns an AzureFirewall resource.", + "schema": { + "$ref": "#/definitions/AzureFirewall" } - } + } + }, + "x-ms-examples": { + "Get Azure Firewall": { + "$ref": "./examples/AzureFirewallGet.json" + }, + "Get Azure Firewall With Zones": { + "$ref": "./examples/AzureFirewallGetWithZones.json" + } + } }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Network/azureFirewalls":{ - "get":{ - "tags":[ - "AzureFirewalls" - ], - "operationId":"AzureFirewalls_ListAll", - "description":"Gets all the Azure Firewalls in a subscription.", - "parameters":[ - { - "$ref":"./network.json#/parameters/ApiVersionParameter" - }, - { - "$ref":"./network.json#/parameters/SubscriptionIdParameter" - } - ], - "responses":{ - "200":{ - "description":"Success. The operation returns a list of AzureFirewall resources.", - "schema":{ - "$ref":"#/definitions/AzureFirewallListResult" - } - } - }, - "x-ms-examples":{ - "List all Azure Firewalls for a given subscription":{ - "$ref":"./examples/AzureFirewallListBySubscription.json" - } - }, - "x-ms-pageable":{ - "nextLinkName":"nextLink" + "put": { + "tags": [ + "AzureFirewalls" + ], + "operationId": "AzureFirewalls_CreateOrUpdate", + "description": "Creates or updates the specified Azure Firewall.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "azureFirewallName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Azure Firewall." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/AzureFirewall" + }, + "description": "Parameters supplied to the create or update Azure Firewall operation." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "201": { + "description": "Create successful. The operation returns the resulting AzureFirewall resource.", + "schema": { + "$ref": "#/definitions/AzureFirewall" } - } - } - }, - "definitions":{ - "AzureFirewallIPConfigurationPropertiesFormat":{ - "properties":{ - "privateIPAddress": { - "type": "string", - "readOnly": true, - "description": "The Firewall Internal Load Balancer IP to be used as the next hop in User Defined Routes." - }, - "subnet":{ - "$ref":"./network.json#/definitions/SubResource", - "description":"Reference of the subnet resource. This resource must be named 'AzureFirewallSubnet'." - }, - "publicIPAddress": { - "$ref": "./network.json#/definitions/SubResource", - "description": "Reference of the PublicIP resource. This field is a mandatory input if subnet is not null." - }, - "provisioningState":{ - "description":"The provisioning state of the resource.", - "$ref":"./network.json#/definitions/ProvisioningState" + }, + "200": { + "description": "Update successful. The operation returns the resulting AzureFirewall resource.", + "schema": { + "$ref": "#/definitions/AzureFirewall" } - }, - "description":"Properties of IP configuration of an Azure Firewall." - }, - "AzureFirewallIPConfiguration":{ - "properties":{ - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/AzureFirewallIPConfigurationPropertiesFormat", - "description": "Properties of the azure firewall IP configuration." - }, - "name":{ - "type":"string", - "description":"Name of the resource that is unique within a resource group. This name can be used to access the resource." - }, - "etag":{ - "type":"string", - "readOnly": true, - "description":"A unique read-only string that changes whenever the resource is updated." - } - }, - "allOf":[ - { - "$ref":"./network.json#/definitions/SubResource" - } - ], - "description":"IP configuration of an Azure Firewall." - }, - "AzureFirewallPropertiesFormat":{ - "properties":{ - "applicationRuleCollections":{ - "type":"array", - "items":{ - "$ref":"#/definitions/AzureFirewallApplicationRuleCollection" - }, - "description":"Collection of application rule collections used by Azure Firewall." - }, - "natRuleCollections":{ - "type":"array", - "items":{ - "$ref":"#/definitions/AzureFirewallNatRuleCollection" - }, - "description":"Collection of NAT rule collections used by Azure Firewall." - }, - "networkRuleCollections":{ - "type":"array", - "items":{ - "$ref":"#/definitions/AzureFirewallNetworkRuleCollection" - }, - "description":"Collection of network rule collections used by Azure Firewall." - }, - "ipConfigurations":{ - "type":"array", - "items":{ - "$ref":"#/definitions/AzureFirewallIPConfiguration" - }, - "description":"IP configuration of the Azure Firewall resource." - }, - "provisioningState":{ - "description":"The provisioning state of the resource.", - "$ref":"./network.json#/definitions/ProvisioningState" - }, - "threatIntelMode":{ - "description":"The operation mode for Threat Intelligence.", - "$ref":"#/definitions/AzureFirewallThreatIntelMode" - } - }, - "description":"Properties of the Azure Firewall." - }, - "AzureFirewall":{ - "properties":{ - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/AzureFirewallPropertiesFormat", - "description": "Properties of the azure firewall." - }, - "zones":{ - "type":"array", - "items":{ - "type":"string" - }, - "description":"A list of availability zones denoting where the resource needs to come from." - }, - "etag":{ - "type":"string", - "readOnly":true, - "description":"Gets a unique read-only string that changes whenever the resource is updated." - } - }, - "allOf":[ - { - "$ref":"./network.json#/definitions/Resource" + } + }, + "x-ms-examples": { + "Create Azure Firewall": { + "$ref": "./examples/AzureFirewallPut.json" + }, + "Create Azure Firewall With Zones": { + "$ref": "./examples/AzureFirewallPutWithZones.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/azureFirewalls": { + "get": { + "tags": [ + "AzureFirewalls" + ], + "operationId": "AzureFirewalls_List", + "description": "Lists all Azure Firewalls in a resource group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Success. The operation returns a list of AzureFirewall resources.", + "schema": { + "$ref": "#/definitions/AzureFirewallListResult" } - ], - "description":"Azure Firewall resource." - }, - "AzureFirewallListResult":{ - "properties":{ - "value":{ - "type":"array", - "items":{ - "$ref":"#/definitions/AzureFirewall" - }, - "description":"List of Azure Firewalls in a resource group." - }, - "nextLink":{ - "type":"string", - "description":"URL to get the next set of results." + } + }, + "x-ms-examples": { + "List all Azure Firewalls for a given resource group": { + "$ref": "./examples/AzureFirewallListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/azureFirewalls": { + "get": { + "tags": [ + "AzureFirewalls" + ], + "operationId": "AzureFirewalls_ListAll", + "description": "Gets all the Azure Firewalls in a subscription.", + "parameters": [ + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Success. The operation returns a list of AzureFirewall resources.", + "schema": { + "$ref": "#/definitions/AzureFirewallListResult" } - }, - "description":"Response for ListAzureFirewalls API service call." + } + }, + "x-ms-examples": { + "List all Azure Firewalls for a given subscription": { + "$ref": "./examples/AzureFirewallListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + } + }, + "definitions": { + "AzureFirewallIPConfigurationPropertiesFormat": { + "properties": { + "privateIPAddress": { + "type": "string", + "readOnly": true, + "description": "The Firewall Internal Load Balancer IP to be used as the next hop in User Defined Routes." + }, + "subnet": { + "$ref": "./network.json#/definitions/SubResource", + "description": "Reference of the subnet resource. This resource must be named 'AzureFirewallSubnet'." + }, + "publicIPAddress": { + "$ref": "./network.json#/definitions/SubResource", + "description": "Reference of the PublicIP resource. This field is a mandatory input if subnet is not null." + }, + "provisioningState": { + "description": "The provisioning state of the resource.", + "$ref": "./network.json#/definitions/ProvisioningState" + } }, - "AzureFirewallThreatIntelMode":{ - "type":"string", - "description":"The operation mode for Threat Intel.", - "enum":[ - "Alert", - "Deny", - "Off" - ], - "x-ms-enum":{ - "name":"AzureFirewallThreatIntelMode", - "modelAsString":true - } + "description": "Properties of IP configuration of an Azure Firewall." + }, + "AzureFirewallIPConfiguration": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/AzureFirewallIPConfigurationPropertiesFormat", + "description": "Properties of the azure firewall IP configuration." + }, + "name": { + "type": "string", + "description": "Name of the resource that is unique within a resource group. This name can be used to access the resource." + }, + "etag": { + "type": "string", + "readOnly": true, + "description": "A unique read-only string that changes whenever the resource is updated." + } }, - "AzureFirewallApplicationRuleCollectionPropertiesFormat":{ - "properties":{ - "priority":{ - "type":"integer", - "format":"int32", - "maximum":65000, - "exclusiveMaximum":false, - "minimum":100, - "exclusiveMinimum":false, - "description":"Priority of the application rule collection resource." - }, - "action":{ - "$ref":"#/definitions/AzureFirewallRCAction", - "description":"The action type of a rule collection." - }, - "rules":{ - "type":"array", - "items":{ - "$ref":"#/definitions/AzureFirewallApplicationRule" - }, - "description":"Collection of rules used by a application rule collection." - }, - "provisioningState":{ - "description":"The provisioning state of the resource.", - "$ref":"./network.json#/definitions/ProvisioningState" - } - }, - "description":"Properties of the application rule collection." + "allOf": [ + { + "$ref": "./network.json#/definitions/SubResource" + } + ], + "description": "IP configuration of an Azure Firewall." + }, + "AzureFirewallPropertiesFormat": { + "properties": { + "applicationRuleCollections": { + "type": "array", + "items": { + "$ref": "#/definitions/AzureFirewallApplicationRuleCollection" + }, + "description": "Collection of application rule collections used by Azure Firewall." + }, + "natRuleCollections": { + "type": "array", + "items": { + "$ref": "#/definitions/AzureFirewallNatRuleCollection" + }, + "description": "Collection of NAT rule collections used by Azure Firewall." + }, + "networkRuleCollections": { + "type": "array", + "items": { + "$ref": "#/definitions/AzureFirewallNetworkRuleCollection" + }, + "description": "Collection of network rule collections used by Azure Firewall." + }, + "ipConfigurations": { + "type": "array", + "items": { + "$ref": "#/definitions/AzureFirewallIPConfiguration" + }, + "description": "IP configuration of the Azure Firewall resource." + }, + "provisioningState": { + "description": "The provisioning state of the resource.", + "$ref": "./network.json#/definitions/ProvisioningState" + }, + "threatIntelMode": { + "description": "The operation mode for Threat Intelligence.", + "$ref": "#/definitions/AzureFirewallThreatIntelMode" + } }, - "AzureFirewallApplicationRuleCollection":{ - "properties":{ - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/AzureFirewallApplicationRuleCollectionPropertiesFormat", - "description": "Properties of the azure firewall application rule collection." - }, - "name":{ - "type":"string", - "description":"Gets name of the resource that is unique within a resource group. This name can be used to access the resource." - }, - "etag":{ - "type":"string", - "readOnly":true, - "description":"Gets a unique read-only string that changes whenever the resource is updated." - } - }, - "allOf":[ - { - "$ref":"./network.json#/definitions/SubResource" - } - ], - "description":"Application rule collection resource." + "description": "Properties of the Azure Firewall." + }, + "AzureFirewall": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/AzureFirewallPropertiesFormat", + "description": "Properties of the azure firewall." + }, + "zones": { + "type": "array", + "items": { + "type": "string" + }, + "description": "A list of availability zones denoting where the resource needs to come from." + }, + "etag": { + "type": "string", + "readOnly": true, + "description": "Gets a unique read-only string that changes whenever the resource is updated." + } }, - "AzureFirewallApplicationRuleProtocol":{ - "properties":{ - "protocolType":{ - "description":"Protocol type.", - "$ref":"#/definitions/AzureFirewallApplicationRuleProtocolType" - }, - "port":{ - "type":"integer", - "format":"int32", - "maximum":64000, - "exclusiveMaximum":false, - "minimum":0, - "exclusiveMinimum":false, - "description":"Port number for the protocol, cannot be greater than 64000. This field is optional." - } - }, - "description":"Properties of the application rule protocol." + "allOf": [ + { + "$ref": "./network.json#/definitions/Resource" + } + ], + "description": "Azure Firewall resource." + }, + "AzureFirewallListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/AzureFirewall" + }, + "description": "List of Azure Firewalls in a resource group." + }, + "nextLink": { + "type": "string", + "description": "URL to get the next set of results." + } }, - "AzureFirewallApplicationRule":{ - "properties":{ - "name":{ - "type":"string", - "description":"Name of the application rule." - }, - "description":{ - "type":"string", - "description":"Description of the rule." - }, - "sourceAddresses":{ - "type":"array", - "description":"List of source IP addresses for this rule.", - "items":{ - "type":"string" - } - }, - "protocols":{ - "type":"array", - "items":{ - "$ref":"#/definitions/AzureFirewallApplicationRuleProtocol" - }, - "description":"Array of ApplicationRuleProtocols." - }, - "targetFqdns":{ - "type":"array", - "description":"List of FQDNs for this rule.", - "items":{ - "type":"string" - } - }, - "fqdnTags":{ - "type":"array", - "description":"List of FQDN Tags for this rule.", - "items":{ - "type":"string" - } - } - }, - "description":"Properties of an application rule." + "description": "Response for ListAzureFirewalls API service call." + }, + "AzureFirewallThreatIntelMode": { + "type": "string", + "description": "The operation mode for Threat Intel.", + "enum": [ + "Alert", + "Deny", + "Off" + ], + "x-ms-enum": { + "name": "AzureFirewallThreatIntelMode", + "modelAsString": true + } + }, + "AzureFirewallApplicationRuleCollectionPropertiesFormat": { + "properties": { + "priority": { + "type": "integer", + "format": "int32", + "maximum": 65000, + "exclusiveMaximum": false, + "minimum": 100, + "exclusiveMinimum": false, + "description": "Priority of the application rule collection resource." + }, + "action": { + "$ref": "#/definitions/AzureFirewallRCAction", + "description": "The action type of a rule collection." + }, + "rules": { + "type": "array", + "items": { + "$ref": "#/definitions/AzureFirewallApplicationRule" + }, + "description": "Collection of rules used by a application rule collection." + }, + "provisioningState": { + "description": "The provisioning state of the resource.", + "$ref": "./network.json#/definitions/ProvisioningState" + } }, - "AzureFirewallNatRuleCollectionProperties": { - "properties":{ - "priority":{ - "type":"integer", - "format":"int32", - "maximum":65000, - "exclusiveMaximum":false, - "minimum":100, - "exclusiveMinimum":false, - "description":"Priority of the NAT rule collection resource." - }, - "action":{ - "$ref":"#/definitions/AzureFirewallNatRCAction", - "description":"The action type of a NAT rule collection." - }, - "rules":{ - "type":"array", - "items":{ - "$ref":"#/definitions/AzureFirewallNatRule" - }, - "description":"Collection of rules used by a NAT rule collection." - }, - "provisioningState":{ - "description":"The provisioning state of the resource.", - "$ref":"./network.json#/definitions/ProvisioningState" - } - }, - "description":"Properties of the NAT rule collection." + "description": "Properties of the application rule collection." + }, + "AzureFirewallApplicationRuleCollection": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/AzureFirewallApplicationRuleCollectionPropertiesFormat", + "description": "Properties of the azure firewall application rule collection." + }, + "name": { + "type": "string", + "description": "Gets name of the resource that is unique within a resource group. This name can be used to access the resource." + }, + "etag": { + "type": "string", + "readOnly": true, + "description": "Gets a unique read-only string that changes whenever the resource is updated." + } }, - "AzureFirewallNatRuleCollection":{ - "properties":{ - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/AzureFirewallNatRuleCollectionProperties", - "description": "Properties of the azure firewall NAT rule collection." - }, - "name":{ - "type":"string", - "description":"Gets name of the resource that is unique within a resource group. This name can be used to access the resource." - }, - "etag":{ - "type":"string", - "readOnly":true, - "description":"Gets a unique read-only string that changes whenever the resource is updated." - } - }, - "allOf":[ - { - "$ref":"./network.json#/definitions/SubResource" - } - ], - "description":"NAT rule collection resource." + "allOf": [ + { + "$ref": "./network.json#/definitions/SubResource" + } + ], + "description": "Application rule collection resource." + }, + "AzureFirewallApplicationRuleProtocol": { + "properties": { + "protocolType": { + "description": "Protocol type.", + "$ref": "#/definitions/AzureFirewallApplicationRuleProtocolType" + }, + "port": { + "type": "integer", + "format": "int32", + "maximum": 64000, + "exclusiveMaximum": false, + "minimum": 0, + "exclusiveMinimum": false, + "description": "Port number for the protocol, cannot be greater than 64000. This field is optional." + } }, - "AzureFirewallNatRule":{ - "properties":{ - "name":{ - "type":"string", - "description":"Name of the NAT rule." - }, - "description":{ - "type":"string", - "description":"Description of the rule." - }, - "sourceAddresses":{ - "type":"array", - "description":"List of source IP addresses for this rule.", - "items":{ - "type":"string" - } - }, - "destinationAddresses":{ - "type":"array", - "description":"List of destination IP addresses for this rule. Supports IP ranges, prefixes, and service tags.", - "items":{ - "type":"string" - } - }, - "destinationPorts":{ - "type":"array", - "description":"List of destination ports.", - "items":{ - "type":"string" - } - }, - "protocols":{ - "type":"array", - "items":{ - "$ref":"#/definitions/AzureFirewallNetworkRuleProtocol" - }, - "description":"Array of AzureFirewallNetworkRuleProtocols applicable to this NAT rule." - }, - "translatedAddress":{ - "type":"string", - "description":"The translated address for this NAT rule." - }, - "translatedPort":{ - "type":"string", - "description":"The translated port for this NAT rule." - } - }, - "description":"Properties of a NAT rule." + "description": "Properties of the application rule protocol." + }, + "AzureFirewallApplicationRule": { + "properties": { + "name": { + "type": "string", + "description": "Name of the application rule." + }, + "description": { + "type": "string", + "description": "Description of the rule." + }, + "sourceAddresses": { + "type": "array", + "description": "List of source IP addresses for this rule.", + "items": { + "type": "string" + } + }, + "protocols": { + "type": "array", + "items": { + "$ref": "#/definitions/AzureFirewallApplicationRuleProtocol" + }, + "description": "Array of ApplicationRuleProtocols." + }, + "targetFqdns": { + "type": "array", + "description": "List of FQDNs for this rule.", + "items": { + "type": "string" + } + }, + "fqdnTags": { + "type": "array", + "description": "List of FQDN Tags for this rule.", + "items": { + "type": "string" + } + } }, - "AzureFirewallNatRCAction":{ - "properties":{ - "type":{ - "description":"The type of action.", - "$ref":"#/definitions/AzureFirewallNatRCActionType" - } - }, - "description":"AzureFirewall NAT Rule Collection Action." + "description": "Properties of an application rule." + }, + "AzureFirewallNatRuleCollectionProperties": { + "properties": { + "priority": { + "type": "integer", + "format": "int32", + "maximum": 65000, + "exclusiveMaximum": false, + "minimum": 100, + "exclusiveMinimum": false, + "description": "Priority of the NAT rule collection resource." + }, + "action": { + "$ref": "#/definitions/AzureFirewallNatRCAction", + "description": "The action type of a NAT rule collection." + }, + "rules": { + "type": "array", + "items": { + "$ref": "#/definitions/AzureFirewallNatRule" + }, + "description": "Collection of rules used by a NAT rule collection." + }, + "provisioningState": { + "description": "The provisioning state of the resource.", + "$ref": "./network.json#/definitions/ProvisioningState" + } }, - "AzureFirewallNatRCActionType":{ - "type":"string", - "description":"The action type of a NAT rule collection.", - "enum":[ - "Snat", - "Dnat" - ], - "x-ms-enum":{ - "name":"AzureFirewallNatRCActionType", - "modelAsString":true - } + "description": "Properties of the NAT rule collection." + }, + "AzureFirewallNatRuleCollection": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/AzureFirewallNatRuleCollectionProperties", + "description": "Properties of the azure firewall NAT rule collection." + }, + "name": { + "type": "string", + "description": "Gets name of the resource that is unique within a resource group. This name can be used to access the resource." + }, + "etag": { + "type": "string", + "readOnly": true, + "description": "Gets a unique read-only string that changes whenever the resource is updated." + } }, - "AzureFirewallNetworkRuleCollectionPropertiesFormat":{ - "properties":{ - "priority":{ - "type":"integer", - "format":"int32", - "maximum":65000, - "exclusiveMaximum":false, - "minimum":100, - "exclusiveMinimum":false, - "description":"Priority of the network rule collection resource." - }, - "action":{ - "$ref":"#/definitions/AzureFirewallRCAction", - "description":"The action type of a rule collection." - }, - "rules":{ - "type":"array", - "items":{ - "$ref":"#/definitions/AzureFirewallNetworkRule" - }, - "description":"Collection of rules used by a network rule collection." - }, - "provisioningState":{ - "description":"The provisioning state of the resource.", - "$ref":"./network.json#/definitions/ProvisioningState" - } - }, - "description":"Properties of the network rule collection." + "allOf": [ + { + "$ref": "./network.json#/definitions/SubResource" + } + ], + "description": "NAT rule collection resource." + }, + "AzureFirewallNatRule": { + "properties": { + "name": { + "type": "string", + "description": "Name of the NAT rule." + }, + "description": { + "type": "string", + "description": "Description of the rule." + }, + "sourceAddresses": { + "type": "array", + "description": "List of source IP addresses for this rule.", + "items": { + "type": "string" + } + }, + "destinationAddresses": { + "type": "array", + "description": "List of destination IP addresses for this rule. Supports IP ranges, prefixes, and service tags.", + "items": { + "type": "string" + } + }, + "destinationPorts": { + "type": "array", + "description": "List of destination ports.", + "items": { + "type": "string" + } + }, + "protocols": { + "type": "array", + "items": { + "$ref": "#/definitions/AzureFirewallNetworkRuleProtocol" + }, + "description": "Array of AzureFirewallNetworkRuleProtocols applicable to this NAT rule." + }, + "translatedAddress": { + "type": "string", + "description": "The translated address for this NAT rule." + }, + "translatedPort": { + "type": "string", + "description": "The translated port for this NAT rule." + } }, - "AzureFirewallNetworkRuleCollection":{ - "properties":{ - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/AzureFirewallNetworkRuleCollectionPropertiesFormat", - "description": "Properties of the azure firewall network rule collection." - }, - "name":{ - "type":"string", - "description":"Gets name of the resource that is unique within a resource group. This name can be used to access the resource." - }, - "etag":{ - "type":"string", - "readOnly":true, - "description":"Gets a unique read-only string that changes whenever the resource is updated." - } - }, - "allOf":[ - { - "$ref":"./network.json#/definitions/SubResource" - } - ], - "description":"Network rule collection resource." + "description": "Properties of a NAT rule." + }, + "AzureFirewallNatRCAction": { + "properties": { + "type": { + "description": "The type of action.", + "$ref": "#/definitions/AzureFirewallNatRCActionType" + } }, - "AzureFirewallNetworkRule":{ - "properties":{ - "name":{ - "type":"string", - "description":"Name of the network rule." - }, - "description":{ - "type":"string", - "description":"Description of the rule." - }, - "protocols":{ - "type":"array", - "items":{ - "$ref":"#/definitions/AzureFirewallNetworkRuleProtocol" - }, - "description":"Array of AzureFirewallNetworkRuleProtocols." - }, - "sourceAddresses":{ - "type":"array", - "description":"List of source IP addresses for this rule.", - "items":{ - "type":"string" - } - }, - "destinationAddresses":{ - "type":"array", - "description":"List of destination IP addresses.", - "items":{ - "type":"string" - } - }, - "destinationPorts":{ - "type":"array", - "description":"List of destination ports.", - "items":{ - "type":"string" - } - } - }, - "description":"Properties of the network rule." + "description": "AzureFirewall NAT Rule Collection Action." + }, + "AzureFirewallNatRCActionType": { + "type": "string", + "description": "The action type of a NAT rule collection.", + "enum": [ + "Snat", + "Dnat" + ], + "x-ms-enum": { + "name": "AzureFirewallNatRCActionType", + "modelAsString": true + } + }, + "AzureFirewallNetworkRuleCollectionPropertiesFormat": { + "properties": { + "priority": { + "type": "integer", + "format": "int32", + "maximum": 65000, + "exclusiveMaximum": false, + "minimum": 100, + "exclusiveMinimum": false, + "description": "Priority of the network rule collection resource." + }, + "action": { + "$ref": "#/definitions/AzureFirewallRCAction", + "description": "The action type of a rule collection." + }, + "rules": { + "type": "array", + "items": { + "$ref": "#/definitions/AzureFirewallNetworkRule" + }, + "description": "Collection of rules used by a network rule collection." + }, + "provisioningState": { + "description": "The provisioning state of the resource.", + "$ref": "./network.json#/definitions/ProvisioningState" + } }, - "AzureFirewallRCAction":{ - "properties":{ - "type":{ - "description":"The type of action.", - "$ref":"#/definitions/AzureFirewallRCActionType" - } - }, - "description":"Properties of the AzureFirewallRCAction." + "description": "Properties of the network rule collection." + }, + "AzureFirewallNetworkRuleCollection": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/AzureFirewallNetworkRuleCollectionPropertiesFormat", + "description": "Properties of the azure firewall network rule collection." + }, + "name": { + "type": "string", + "description": "Gets name of the resource that is unique within a resource group. This name can be used to access the resource." + }, + "etag": { + "type": "string", + "readOnly": true, + "description": "Gets a unique read-only string that changes whenever the resource is updated." + } }, - "AzureFirewallRCActionType":{ - "type":"string", - "description":"The action type of a rule collection.", - "enum":[ - "Allow", - "Deny" - ], - "x-ms-enum":{ - "name":"AzureFirewallRCActionType", - "modelAsString":true - } + "allOf": [ + { + "$ref": "./network.json#/definitions/SubResource" + } + ], + "description": "Network rule collection resource." + }, + "AzureFirewallNetworkRule": { + "properties": { + "name": { + "type": "string", + "description": "Name of the network rule." + }, + "description": { + "type": "string", + "description": "Description of the rule." + }, + "protocols": { + "type": "array", + "items": { + "$ref": "#/definitions/AzureFirewallNetworkRuleProtocol" + }, + "description": "Array of AzureFirewallNetworkRuleProtocols." + }, + "sourceAddresses": { + "type": "array", + "description": "List of source IP addresses for this rule.", + "items": { + "type": "string" + } + }, + "destinationAddresses": { + "type": "array", + "description": "List of destination IP addresses.", + "items": { + "type": "string" + } + }, + "destinationPorts": { + "type": "array", + "description": "List of destination ports.", + "items": { + "type": "string" + } + } }, - "AzureFirewallNetworkRuleProtocol":{ - "type":"string", - "description":"The protocol of a Network Rule resource.", - "enum":[ - "TCP", - "UDP", - "Any", - "ICMP" - ], - "x-ms-enum":{ - "name":"AzureFirewallNetworkRuleProtocol", - "modelAsString":true - } + "description": "Properties of the network rule." + }, + "AzureFirewallRCAction": { + "properties": { + "type": { + "description": "The type of action.", + "$ref": "#/definitions/AzureFirewallRCActionType" + } }, - "AzureFirewallApplicationRuleProtocolType":{ - "type":"string", - "description":"The protocol type of a Application Rule resource.", - "enum":[ - "Http", - "Https" - ], - "x-ms-enum":{ - "name":"AzureFirewallApplicationRuleProtocolType", - "modelAsString":true - } + "description": "Properties of the AzureFirewallRCAction." + }, + "AzureFirewallRCActionType": { + "type": "string", + "description": "The action type of a rule collection.", + "enum": [ + "Allow", + "Deny" + ], + "x-ms-enum": { + "name": "AzureFirewallRCActionType", + "modelAsString": true + } + }, + "AzureFirewallNetworkRuleProtocol": { + "type": "string", + "description": "The protocol of a Network Rule resource.", + "enum": [ + "TCP", + "UDP", + "Any", + "ICMP" + ], + "x-ms-enum": { + "name": "AzureFirewallNetworkRuleProtocol", + "modelAsString": true + } + }, + "AzureFirewallApplicationRuleProtocolType": { + "type": "string", + "description": "The protocol type of a Application Rule resource.", + "enum": [ + "Http", + "Https" + ], + "x-ms-enum": { + "name": "AzureFirewallApplicationRuleProtocolType", + "modelAsString": true } - } + } + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/azureFirewallFqdnTag.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/azureFirewallFqdnTag.json index da00ab5291b5..c911de74c7db 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/azureFirewallFqdnTag.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/azureFirewallFqdnTag.json @@ -1,124 +1,124 @@ { - "swagger": "2.0", - "info": { - "title": "NetworkManagementClient", - "description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.", - "version": "2019-04-01" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] + "swagger": "2.0", + "info": { + "title": "NetworkManagementClient", + "description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.", + "version": "2019-04-01" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow.", + "scopes": { + "user_impersonation": "impersonate your user account" } - ], - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "description": "Azure Active Directory OAuth2 Flow.", - "scopes": { - "user_impersonation": "impersonate your user account" - } - } - }, - "paths": { - "/subscriptions/{subscriptionId}/providers/Microsoft.Network/azureFirewallFqdnTags": { - "get": { - "tags": [ - "AzureFirewallFqdnTags" - ], - "operationId": "AzureFirewallFqdnTags_ListAll", - "description":"Gets all the Azure Firewall FQDN Tags in a subscription.", - "parameters":[ - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - } - ], - "responses":{ - "200":{ - "description":"Success. The operation returns a list of Azure Firewall FQDN Tag resources.", - "schema":{ - "$ref":"#/definitions/AzureFirewallFqdnTagListResult" - } - } - }, - "x-ms-examples":{ - "List all Azure Firewall FQDN Tags for a given subscription":{ - "$ref":"./examples/AzureFirewallFqdnTagsListBySubscription.json" - } - }, - "x-ms-pageable":{ - "nextLinkName":"nextLink" + } + }, + "paths": { + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/azureFirewallFqdnTags": { + "get": { + "tags": [ + "AzureFirewallFqdnTags" + ], + "operationId": "AzureFirewallFqdnTags_ListAll", + "description": "Gets all the Azure Firewall FQDN Tags in a subscription.", + "parameters": [ + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Success. The operation returns a list of Azure Firewall FQDN Tag resources.", + "schema": { + "$ref": "#/definitions/AzureFirewallFqdnTagListResult" } - } + } + }, + "x-ms-examples": { + "List all Azure Firewall FQDN Tags for a given subscription": { + "$ref": "./examples/AzureFirewallFqdnTagsListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } } - }, - "definitions": { - "AzureFirewallFqdnTagPropertiesFormat": { - "properties": { - "provisioningState": { - "type": "string", - "readOnly": true, - "description": "The provisioning state of the resource." - }, - "fqdnTagName": { - "type": "string", - "readOnly": true, - "description": "The name of this FQDN Tag." - } - }, - "description": "Azure Firewall FQDN Tag Properties." + } + }, + "definitions": { + "AzureFirewallFqdnTagPropertiesFormat": { + "properties": { + "provisioningState": { + "type": "string", + "readOnly": true, + "description": "The provisioning state of the resource." + }, + "fqdnTagName": { + "type": "string", + "readOnly": true, + "description": "The name of this FQDN Tag." + } }, - "AzureFirewallFqdnTag": { - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/AzureFirewallFqdnTagPropertiesFormat", - "description": "Properties of the azure firewall FQDN tag." - }, - "etag": { - "type": "string", - "readOnly": true, - "description": "Gets a unique read-only string that changes whenever the resource is updated." - } - }, - "allOf": [ - { - "$ref": "./network.json#/definitions/Resource" - } - ], - "description": "Azure Firewall FQDN Tag Resource." + "description": "Azure Firewall FQDN Tag Properties." + }, + "AzureFirewallFqdnTag": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/AzureFirewallFqdnTagPropertiesFormat", + "description": "Properties of the azure firewall FQDN tag." + }, + "etag": { + "type": "string", + "readOnly": true, + "description": "Gets a unique read-only string that changes whenever the resource is updated." + } }, - "AzureFirewallFqdnTagListResult":{ - "properties":{ - "value":{ - "type":"array", - "items":{ - "$ref":"#/definitions/AzureFirewallFqdnTag" - }, - "description":"List of Azure Firewall FQDN Tags in a resource group." - }, - "nextLink":{ - "type":"string", - "description":"URL to get the next set of results." - } - }, - "description":"Response for ListAzureFirewallFqdnTags API service call." - } - } + "allOf": [ + { + "$ref": "./network.json#/definitions/Resource" + } + ], + "description": "Azure Firewall FQDN Tag Resource." + }, + "AzureFirewallFqdnTagListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/AzureFirewallFqdnTag" + }, + "description": "List of Azure Firewall FQDN Tags in a resource group." + }, + "nextLink": { + "type": "string", + "description": "URL to get the next set of results." + } + }, + "description": "Response for ListAzureFirewallFqdnTags API service call." + } + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/checkDnsAvailability.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/checkDnsAvailability.json index 6cfc4229c13d..0729bc9864aa 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/checkDnsAvailability.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/checkDnsAvailability.json @@ -69,7 +69,9 @@ } }, "x-ms-examples": { - "Check Dns Name Availability": { "$ref": "./examples/CheckDnsNameAvailability.json" } + "Check Dns Name Availability": { + "$ref": "./examples/CheckDnsNameAvailability.json" + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/endpointService.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/endpointService.json index 1cc42c043eb5..f2e5d332de70 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/endpointService.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/endpointService.json @@ -65,7 +65,9 @@ "nextLinkName": "nextLink" }, "x-ms-examples": { - "EndpointServicesList": { "$ref": "./examples/EndpointServicesList.json" } + "EndpointServicesList": { + "$ref": "./examples/EndpointServicesList.json" + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ApplicationGatewayAvailableSslOptionsGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ApplicationGatewayAvailableSslOptionsGet.json index 02a956d69445..20122efe6546 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ApplicationGatewayAvailableSslOptionsGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ApplicationGatewayAvailableSslOptionsGet.json @@ -4,6 +4,6 @@ "subscriptionId": "subid" }, "responses": { - "200": { } + "200": {} } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json index 02a956d69445..20122efe6546 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json @@ -4,6 +4,6 @@ "subscriptionId": "subid" }, "responses": { - "200": { } + "200": {} } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json index 480c87fddb82..4e1f4c754b51 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json @@ -5,6 +5,6 @@ "predefinedPolicyName": "AppGwSslPolicy20150501" }, "responses": { - "200": { } + "200": {} } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ApplicationGatewayCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ApplicationGatewayCreate.json index 1efe0f4eb139..67b54746b14d 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ApplicationGatewayCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ApplicationGatewayCreate.json @@ -6,7 +6,7 @@ "applicationGatewayName": "appgw", "parameters": { "identity": { - "type":"UserAssigned", + "type": "UserAssigned", "userAssignedIdentities": { "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1": {} } @@ -154,7 +154,8 @@ "name": "apiPaths", "properties": { "paths": [ - "/api", "/v1/api" + "/api", + "/v1/api" ], "backendAddressPool": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool" @@ -212,12 +213,12 @@ "name": "Set X-Forwarded-For", "ruleSequence": 102, "conditions": [ - { - "variable": "http_req_Authorization", - "pattern": "^Bearer", - "ignoreCase": true, - "negate": false - } + { + "variable": "http_req_Authorization", + "pattern": "^Bearer", + "ignoreCase": true, + "negate": false + } ], "actionSet": { "requestHeaderConfigurations": [ @@ -389,7 +390,8 @@ "properties": { "provisioningState": "Succeeded", "paths": [ - "/api", "/v1/api" + "/api", + "/v1/api" ], "backendAddressPool": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool" @@ -453,12 +455,12 @@ "name": "Set X-Forwarded-For", "ruleSequence": 102, "conditions": [ - { - "variable": "http_req_Authorization", - "pattern": "^Bearer", - "ignoreCase": true, - "negate": false - } + { + "variable": "http_req_Authorization", + "pattern": "^Bearer", + "ignoreCase": true, + "negate": false + } ], "actionSet": { "requestHeaderConfigurations": [ @@ -630,7 +632,8 @@ "properties": { "provisioningState": "Succeeded", "paths": [ - "/api", "/v1/api" + "/api", + "/v1/api" ], "backendAddressPool": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool" @@ -694,12 +697,12 @@ "name": "Set X-Forwarded-For", "ruleSequence": 102, "conditions": [ - { - "variable": "http_req_Authorization", - "pattern": "^Bearer", - "ignoreCase": true, - "negate": false - } + { + "variable": "http_req_Authorization", + "pattern": "^Bearer", + "ignoreCase": true, + "negate": false + } ], "actionSet": { "requestHeaderConfigurations": [ diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ApplicationGatewayGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ApplicationGatewayGet.json index 51d135db64df..54b15b3b67d3 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ApplicationGatewayGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ApplicationGatewayGet.json @@ -153,7 +153,8 @@ "properties": { "provisioningState": "Succeeded", "paths": [ - "/api", "/v1/api" + "/api", + "/v1/api" ], "backendAddressPool": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool" @@ -217,12 +218,12 @@ "name": "Set X-Forwarded-For", "ruleSequence": 102, "conditions": [ - { - "variable": "http_req_Authorization", - "pattern": "^Bearer", - "ignoreCase": true, - "negate": false - } + { + "variable": "http_req_Authorization", + "pattern": "^Bearer", + "ignoreCase": true, + "negate": false + } ], "actionSet": { "requestHeaderConfigurations": [ diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ApplicationGatewayUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ApplicationGatewayUpdateTags.json index 4a1a4bee9e52..1f5658b091dd 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ApplicationGatewayUpdateTags.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ApplicationGatewayUpdateTags.json @@ -1,9 +1,9 @@ { - "parameters" : { + "parameters": { "api-version": "2019-04-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", - "applicationGatewayName" : "AppGw", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "applicationGatewayName": "AppGw", "parameters": { "tags": { "tag1": "value1", @@ -11,9 +11,9 @@ } } }, - "responses" : { - "200" : { - "body" : { + "responses": { + "200": { + "body": { "name": "AppGw", "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw", "type": "Microsoft.Network/applicationGateways", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ApplicationSecurityGroupCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ApplicationSecurityGroupCreate.json index 54873bff9041..e906b17309f9 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ApplicationSecurityGroupCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ApplicationSecurityGroupCreate.json @@ -6,7 +6,7 @@ "applicationSecurityGroupName": "test-asg", "parameters": { "location": "westus", - "properties": { } + "properties": {} } }, "responses": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ApplicationSecurityGroupDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ApplicationSecurityGroupDelete.json index 79a98bf2c0e6..2b139a7fb5df 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ApplicationSecurityGroupDelete.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ApplicationSecurityGroupDelete.json @@ -6,8 +6,8 @@ "applicationSecurityGroupName": "test-asg" }, "responses": { - "200": { }, - "202": { }, - "204": { } + "200": {}, + "202": {}, + "204": {} } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ApplicationSecurityGroupList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ApplicationSecurityGroupList.json index 5336f5a166d6..95c579c6d726 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ApplicationSecurityGroupList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ApplicationSecurityGroupList.json @@ -1,35 +1,35 @@ { - "parameters" : { - "api-version": "2019-04-01", - "subscriptionId" : "subid", - "resourceGroupName": "rg1" - }, - "responses" : { - "200" : { - "body" : { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/asg1", - "name": "asg1", - "type": "Microsoft.Network/applicationSecurityGroups", - "location": "westus", - "properties": { - "provisioningState": "Succeeded", - "resourceGuid": "00000000-0000-0000-0000-000000000000" - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/asg2", - "name": "asg2", - "type": "Microsoft.Network/applicationSecurityGroups", - "location": "westus", - "properties": { - "provisioningState": "Succeeded", - "resourceGuid": "00000000-0000-0000-0000-000000000000" - } + "parameters": { + "api-version": "2019-04-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/asg1", + "name": "asg1", + "type": "Microsoft.Network/applicationSecurityGroups", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000" } - ] - } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/asg2", + "name": "asg2", + "type": "Microsoft.Network/applicationSecurityGroups", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000" + } + } + ] } } } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ApplicationSecurityGroupListAll.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ApplicationSecurityGroupListAll.json index 85a7fa6b740f..e026c5df44c2 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ApplicationSecurityGroupListAll.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ApplicationSecurityGroupListAll.json @@ -1,11 +1,11 @@ { - "parameters" : { + "parameters": { "api-version": "2019-04-01", - "subscriptionId" : "subid" + "subscriptionId": "subid" }, - "responses" : { - "200" : { - "body" : { + "responses": { + "200": { + "body": { "value": [ { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/asg1", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ApplicationSecurityGroupUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ApplicationSecurityGroupUpdateTags.json index c7a001846e09..54c746f63f2a 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ApplicationSecurityGroupUpdateTags.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ApplicationSecurityGroupUpdateTags.json @@ -1,9 +1,9 @@ { - "parameters" : { + "parameters": { "api-version": "2019-04-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", - "applicationSecurityGroupName" : "test-asg", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "applicationSecurityGroupName": "test-asg", "location": "westus", "parameters": { "tags": { @@ -12,18 +12,18 @@ } } }, - "responses" : { - "200" : { - "body" : { - "name" : "test-asg", - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/test-asg", - "type" : "Microsoft.Network/applicationSecurityGroups", - "location" : "westus", + "responses": { + "200": { + "body": { + "name": "test-asg", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/test-asg", + "type": "Microsoft.Network/applicationSecurityGroups", + "location": "westus", "tags": { "tag1": "value1", "tag2": "value2" }, - "properties" : { + "properties": { "provisioningState": "Succeeded", "resourceGuid": "00000000-0000-0000-0000-000000000000" } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/AvailableDelegationsResourceGroupGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/AvailableDelegationsResourceGroupGet.json index 160975ec0e01..9e1d2a62c92c 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/AvailableDelegationsResourceGroupGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/AvailableDelegationsResourceGroupGet.json @@ -1,13 +1,13 @@ { - "parameters" : { + "parameters": { "api-version": "2019-04-01", "location": "regionName", - "subscriptionId" : "subId", - "resourceGroupName" : "rg1" + "subscriptionId": "subId", + "resourceGroupName": "rg1" }, - "responses" : { - "200" : { - "body" : { + "responses": { + "200": { + "body": { "value": [ { "name": "Microsoft.Provider.resourceType", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/AvailableDelegationsSubscriptionGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/AvailableDelegationsSubscriptionGet.json index c43307c6cffd..3834c48a2472 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/AvailableDelegationsSubscriptionGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/AvailableDelegationsSubscriptionGet.json @@ -1,12 +1,12 @@ { - "parameters" : { + "parameters": { "api-version": "2019-04-01", "location": "regionName", - "subscriptionId" : "subId" + "subscriptionId": "subId" }, - "responses" : { - "200" : { - "body" : { + "responses": { + "200": { + "body": { "value": [ { "name": "Microsoft.Provider.resourceType", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/AvailablePrivateEndpointTypesGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/AvailablePrivateEndpointTypesGet.json index 21bcb165b84e..d8af89168a0d 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/AvailablePrivateEndpointTypesGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/AvailablePrivateEndpointTypesGet.json @@ -1,12 +1,12 @@ { - "parameters" : { + "parameters": { "api-version": "2019-04-01", "location": "regionName", - "subscriptionId" : "subId" + "subscriptionId": "subId" }, - "responses" : { - "200" : { - "body" : { + "responses": { + "200": { + "body": { "value": [ { "id": "/subscriptions/subId/providers/Microsoft.Network/availablePrivateEndpointTypes/Microsoft.Provider.resourceType", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/AvailablePrivateEndpointTypesResourceGroupGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/AvailablePrivateEndpointTypesResourceGroupGet.json index 15a2cb26086d..82a5a48c73f6 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/AvailablePrivateEndpointTypesResourceGroupGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/AvailablePrivateEndpointTypesResourceGroupGet.json @@ -1,13 +1,13 @@ { - "parameters" : { + "parameters": { "api-version": "2019-04-01", "location": "regionName", - "subscriptionId" : "subId", - "resourceGroupName" : "rg1" + "subscriptionId": "subId", + "resourceGroupName": "rg1" }, - "responses" : { - "200" : { - "body" : { + "responses": { + "200": { + "body": { "value": [ { "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/availablePrivateEndpointTypes/Microsoft.Provider.resourceType", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/AzureFirewallDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/AzureFirewallDelete.json index 35440b26e318..7b04ce392e68 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/AzureFirewallDelete.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/AzureFirewallDelete.json @@ -1,13 +1,13 @@ { - "parameters" : { + "parameters": { "api-version": "2019-04-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", - "azureFirewallName" : "azurefirewall" + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "azureFirewallName": "azurefirewall" }, - "responses" : { - "200" : { }, - "202" : { }, - "204" : { } + "responses": { + "200": {}, + "202": {}, + "204": {} } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/AzureFirewallFqdnTagsListBySubscription.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/AzureFirewallFqdnTagsListBySubscription.json index 1671836a657e..7e9cb76f332e 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/AzureFirewallFqdnTagsListBySubscription.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/AzureFirewallFqdnTagsListBySubscription.json @@ -1,28 +1,28 @@ { - "parameters":{ - "api-version":"2019-04-01", - "subscriptionId":"subid" - }, - "responses":{ - "200":{ - "body":{ - "value":[ - { - "name":"azfwfqdntag", - "id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewallFqdnTags/azfwfqdntag", - "type":"Microsoft.Network/azureFirewallFqdnTags", - "etag":"w/\\00000000-0000-0000-0000-000000000000\\", - "location":"West US", - "tags":{ - "key1":"value1" - }, - "properties":{ - "provisioningState":"Succeeded", - "fqdnTagName":"azfwfqdntag" - } - } - ] - } + "parameters": { + "api-version": "2019-04-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "azfwfqdntag", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewallFqdnTags/azfwfqdntag", + "type": "Microsoft.Network/azureFirewallFqdnTags", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "tags": { + "key1": "value1" + }, + "properties": { + "provisioningState": "Succeeded", + "fqdnTagName": "azfwfqdntag" + } + } + ] } - } + } + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/AzureFirewallGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/AzureFirewallGet.json index bed97eb34bbb..c054aff8a4e0 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/AzureFirewallGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/AzureFirewallGet.json @@ -1,136 +1,136 @@ { - "parameters":{ - "api-version": "2019-04-01", - "subscriptionId":"subid", - "resourceGroupName":"rg1", - "azureFirewallName":"azurefirewall" - }, - "responses":{ - "200":{ - "body":{ - "name":"azurefirewall", - "id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall", - "type":"Microsoft.Network/azureFirewalls", - "etag":"w/\\00000000-0000-0000-0000-000000000000\\", - "location":"West US", - "zones":[], - "tags":{ - "key1":"value1" - }, - "properties":{ - "provisioningState":"Succeeded", - "threatIntelMode": "Alert", - "ipConfigurations":[ - { - "name":"azureFirewallIpConfiguration", - "id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewallgw/ipConfigurations/azureFirewallIpConfiguration", - "etag":"w/\\00000000-0000-0000-0000-000000000000\\", - "properties":{ - "provisioningState":"Succeeded", - "privateIPAddress":"10.0.0.0", - "subnet":{ - "id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet" - }, - "publicIPAddress":{ - "id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName" - } - } - } - ], - "applicationRuleCollections":[ + "parameters": { + "api-version": "2019-04-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "azureFirewallName": "azurefirewall" + }, + "responses": { + "200": { + "body": { + "name": "azurefirewall", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall", + "type": "Microsoft.Network/azureFirewalls", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "zones": [], + "tags": { + "key1": "value1" + }, + "properties": { + "provisioningState": "Succeeded", + "threatIntelMode": "Alert", + "ipConfigurations": [ + { + "name": "azureFirewallIpConfiguration", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewallgw/ipConfigurations/azureFirewallIpConfiguration", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "privateIPAddress": "10.0.0.0", + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet" + }, + "publicIPAddress": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName" + } + } + } + ], + "applicationRuleCollections": [ + { + "name": "apprulecoll", + "properties": { + "priority": 110, + "action": { + "type": "Deny" + }, + "rules": [ { - "name":"apprulecoll", - "properties":{ - "priority":110, - "action":{ - "type": "Deny" - }, - "rules":[ - { - "name":"rule1", - "description":"Deny inbound rule", - "protocols":[ - { - "protocolType":"Https", - "port":443 - } - ], - "targetFqdns":[ - "www.test.com" - ], - "sourceAddresses":[ - "216.58.216.164", - "10.0.0.0/24" - ] - } - ] - } + "name": "rule1", + "description": "Deny inbound rule", + "protocols": [ + { + "protocolType": "Https", + "port": 443 + } + ], + "targetFqdns": [ + "www.test.com" + ], + "sourceAddresses": [ + "216.58.216.164", + "10.0.0.0/24" + ] } - ], - "natRuleCollections":[ + ] + } + } + ], + "natRuleCollections": [ + { + "name": "natrulecoll", + "properties": { + "priority": 112, + "action": { + "type": "Dnat" + }, + "rules": [ { - "name":"natrulecoll", - "properties":{ - "priority":112, - "action":{ - "type":"Dnat" - }, - "rules":[ - { - "name":"DNAT-HTTPS-traffic", - "description":"D-NAT all outbound web traffic for inspection", - "sourceAddresses":[ - "*" - ], - "destinationAddresses":[ - "1.2.3.4" - ], - "destinationPorts":[ - "443" - ], - "protocols":[ - "TCP" - ], - "translatedAddress": "1.2.3.5", - "translatedPort": "8443" - } - ] - } + "name": "DNAT-HTTPS-traffic", + "description": "D-NAT all outbound web traffic for inspection", + "sourceAddresses": [ + "*" + ], + "destinationAddresses": [ + "1.2.3.4" + ], + "destinationPorts": [ + "443" + ], + "protocols": [ + "TCP" + ], + "translatedAddress": "1.2.3.5", + "translatedPort": "8443" } - ], - "networkRuleCollections":[ + ] + } + } + ], + "networkRuleCollections": [ + { + "name": "netrulecoll", + "properties": { + "priority": 112, + "action": { + "type": "Deny" + }, + "rules": [ { - "name":"netrulecoll", - "properties":{ - "priority":112, - "action":{ - "type": "Deny" - }, - "rules":[ - { - "name":"L4-traffic", - "description":"Block traffic based on source IPs and ports", - "sourceAddresses":[ - "192.168.1.1-192.168.1.12", - "10.1.4.12-10.1.4.255" - ], - "destinationPorts":[ - "443-444", - "8443" - ], - "destinationAddresses":[ - "*" - ], - "protocols":[ - "TCP" - ] - } - ] - } + "name": "L4-traffic", + "description": "Block traffic based on source IPs and ports", + "sourceAddresses": [ + "192.168.1.1-192.168.1.12", + "10.1.4.12-10.1.4.255" + ], + "destinationPorts": [ + "443-444", + "8443" + ], + "destinationAddresses": [ + "*" + ], + "protocols": [ + "TCP" + ] } - ] + ] + } } - } + ] + } } - } + } + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/AzureFirewallGetWithZones.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/AzureFirewallGetWithZones.json index 93a55773b0d4..d9615dfa7c09 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/AzureFirewallGetWithZones.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/AzureFirewallGetWithZones.json @@ -1,136 +1,140 @@ { - "parameters":{ - "api-version": "2019-04-01", - "subscriptionId":"subid", - "resourceGroupName":"rg1", - "azureFirewallName":"azurefirewall" - }, - "responses":{ - "200":{ - "body":{ - "name":"azurefirewall", - "id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall", - "type":"Microsoft.Network/azureFirewalls", - "etag":"w/\\00000000-0000-0000-0000-000000000000\\", - "location":"West US 2", - "zones":["1","2","3"], - "tags":{ - "key1":"value1" - }, - "properties":{ - "provisioningState":"Succeeded", - "threatIntelMode": "Alert", - "ipConfigurations":[ - { - "name":"azureFirewallIpConfiguration", - "id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewallgw/ipConfigurations/azureFirewallIpConfiguration", - "etag":"w/\\00000000-0000-0000-0000-000000000000\\", - "properties":{ - "provisioningState":"Succeeded", - "privateIPAddress":"10.0.0.0", - "subnet":{ - "id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet" - }, - "publicIPAddress":{ - "id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName" - } - } - } - ], - "applicationRuleCollections":[ + "parameters": { + "api-version": "2019-04-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "azureFirewallName": "azurefirewall" + }, + "responses": { + "200": { + "body": { + "name": "azurefirewall", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall", + "type": "Microsoft.Network/azureFirewalls", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US 2", + "zones": [ + "1", + "2", + "3" + ], + "tags": { + "key1": "value1" + }, + "properties": { + "provisioningState": "Succeeded", + "threatIntelMode": "Alert", + "ipConfigurations": [ + { + "name": "azureFirewallIpConfiguration", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewallgw/ipConfigurations/azureFirewallIpConfiguration", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "privateIPAddress": "10.0.0.0", + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet" + }, + "publicIPAddress": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName" + } + } + } + ], + "applicationRuleCollections": [ + { + "name": "apprulecoll", + "properties": { + "priority": 110, + "action": { + "type": "Deny" + }, + "rules": [ { - "name":"apprulecoll", - "properties":{ - "priority":110, - "action":{ - "type": "Deny" - }, - "rules":[ - { - "name":"rule1", - "description":"Deny inbound rule", - "protocols":[ - { - "protocolType":"Https", - "port":443 - } - ], - "targetFqdns":[ - "www.test.com" - ], - "sourceAddresses":[ - "216.58.216.164", - "10.0.0.0/24" - ] - } - ] - } + "name": "rule1", + "description": "Deny inbound rule", + "protocols": [ + { + "protocolType": "Https", + "port": 443 + } + ], + "targetFqdns": [ + "www.test.com" + ], + "sourceAddresses": [ + "216.58.216.164", + "10.0.0.0/24" + ] } - ], - "natRuleCollections":[ + ] + } + } + ], + "natRuleCollections": [ + { + "name": "natrulecoll", + "properties": { + "priority": 112, + "action": { + "type": "Dnat" + }, + "rules": [ { - "name":"natrulecoll", - "properties":{ - "priority":112, - "action":{ - "type":"Dnat" - }, - "rules":[ - { - "name":"DNAT-HTTPS-traffic", - "description":"D-NAT all outbound web traffic for inspection", - "sourceAddresses":[ - "*" - ], - "destinationAddresses":[ - "1.2.3.4" - ], - "destinationPorts":[ - "443" - ], - "protocols":[ - "TCP" - ], - "translatedAddress": "1.2.3.5", - "translatedPort": "8443" - } - ] - } + "name": "DNAT-HTTPS-traffic", + "description": "D-NAT all outbound web traffic for inspection", + "sourceAddresses": [ + "*" + ], + "destinationAddresses": [ + "1.2.3.4" + ], + "destinationPorts": [ + "443" + ], + "protocols": [ + "TCP" + ], + "translatedAddress": "1.2.3.5", + "translatedPort": "8443" } - ], - "networkRuleCollections":[ + ] + } + } + ], + "networkRuleCollections": [ + { + "name": "netrulecoll", + "properties": { + "priority": 112, + "action": { + "type": "Deny" + }, + "rules": [ { - "name":"netrulecoll", - "properties":{ - "priority":112, - "action":{ - "type": "Deny" - }, - "rules":[ - { - "name":"L4-traffic", - "description":"Block traffic based on source IPs and ports", - "sourceAddresses":[ - "192.168.1.1-192.168.1.12", - "10.1.4.12-10.1.4.255" - ], - "destinationPorts":[ - "443-444", - "8443" - ], - "destinationAddresses":[ - "*" - ], - "protocols":[ - "TCP" - ] - } - ] - } + "name": "L4-traffic", + "description": "Block traffic based on source IPs and ports", + "sourceAddresses": [ + "192.168.1.1-192.168.1.12", + "10.1.4.12-10.1.4.255" + ], + "destinationPorts": [ + "443-444", + "8443" + ], + "destinationAddresses": [ + "*" + ], + "protocols": [ + "TCP" + ] } - ] + ] + } } - } + ] + } } - } + } + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/AzureFirewallListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/AzureFirewallListByResourceGroup.json index 1971776f8d6e..560844737f11 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/AzureFirewallListByResourceGroup.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/AzureFirewallListByResourceGroup.json @@ -1,139 +1,139 @@ { - "parameters":{ - "api-version": "2019-04-01", - "subscriptionId":"subid", - "resourceGroupName":"rg1" - }, - "responses":{ - "200":{ - "body":{ - "value":[ - { - "name":"azurefirewall", - "id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall", - "type":"Microsoft.Network/azureFirewalls", - "etag":"w/\\00000000-0000-0000-0000-000000000000\\", - "location":"West US", - "zones":[], - "tags":{ - "key1":"value1" - }, - "properties":{ - "provisioningState":"Succeeded", - "threatIntelMode": "Alert", - "ipConfigurations":[ - { - "name":"azureFirewallIpConfiguration", - "id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azfirewallgw/ipConfigurations/azureFirewallIpConfiguration", - "etag":"w/\\00000000-0000-0000-0000-000000000000\\", - "properties":{ - "provisioningState":"Succeeded", - "privateIPAddress":"10.0.0.0", - "subnet":{ - "id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet" - }, - "publicIPAddress":{ - "id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName" - } - } - } - ], - "applicationRuleCollections":[ - { - "name":"apprulecoll", - "properties":{ - "priority":110, - "action":{ - "type": "Deny" - }, - "rules":[ - { - "name":"rule1", - "description":"Deny inbound rule", - "protocols":[ - { - "protocolType":"Https", - "port":443 - } - ], - "targetFqdns":[ - "www.test.com" - ], - "sourceAddresses":[ - "216.58.216.164", - "10.0.0.0/24" - ] - } - ] - } - } - ], - "natRuleCollections":[ - { - "name":"natrulecoll", - "properties":{ - "priority":112, - "action":{ - "type": "Dnat" - }, - "rules":[ - { - "name":"DNAT-HTTPS-traffic", - "description":"D-NAT all outbound web traffic for inspection", - "sourceAddresses":[ - "*" - ], - "destinationAddresses":[ - "1.2.3.4" - ], - "destinationPorts":[ - "443" - ], - "protocols":[ - "TCP" - ], - "translatedAddress": "1.2.3.5", - "translatedPort": "8443" - } - ] - } - } - ], - "networkRuleCollections":[ - { - "name":"netrulecoll", - "properties":{ - "priority":112, - "action":{ - "type": "Deny" - }, - "rules":[ - { - "name":"L4-traffic", - "description":"Block traffic based on source IPs and ports", - "sourceAddresses":[ - "192.168.1.1-192.168.1.12", - "10.1.4.12-10.1.4.255" - ], - "destinationPorts":[ - "443-444", - "8443" - ], - "destinationAddresses":[ - "*" - ], - "protocols":[ - "TCP" - ] - } - ] - } - } - ] + "parameters": { + "api-version": "2019-04-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "azurefirewall", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall", + "type": "Microsoft.Network/azureFirewalls", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "zones": [], + "tags": { + "key1": "value1" + }, + "properties": { + "provisioningState": "Succeeded", + "threatIntelMode": "Alert", + "ipConfigurations": [ + { + "name": "azureFirewallIpConfiguration", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azfirewallgw/ipConfigurations/azureFirewallIpConfiguration", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "privateIPAddress": "10.0.0.0", + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet" + }, + "publicIPAddress": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName" + } } - } - ] - } + } + ], + "applicationRuleCollections": [ + { + "name": "apprulecoll", + "properties": { + "priority": 110, + "action": { + "type": "Deny" + }, + "rules": [ + { + "name": "rule1", + "description": "Deny inbound rule", + "protocols": [ + { + "protocolType": "Https", + "port": 443 + } + ], + "targetFqdns": [ + "www.test.com" + ], + "sourceAddresses": [ + "216.58.216.164", + "10.0.0.0/24" + ] + } + ] + } + } + ], + "natRuleCollections": [ + { + "name": "natrulecoll", + "properties": { + "priority": 112, + "action": { + "type": "Dnat" + }, + "rules": [ + { + "name": "DNAT-HTTPS-traffic", + "description": "D-NAT all outbound web traffic for inspection", + "sourceAddresses": [ + "*" + ], + "destinationAddresses": [ + "1.2.3.4" + ], + "destinationPorts": [ + "443" + ], + "protocols": [ + "TCP" + ], + "translatedAddress": "1.2.3.5", + "translatedPort": "8443" + } + ] + } + } + ], + "networkRuleCollections": [ + { + "name": "netrulecoll", + "properties": { + "priority": 112, + "action": { + "type": "Deny" + }, + "rules": [ + { + "name": "L4-traffic", + "description": "Block traffic based on source IPs and ports", + "sourceAddresses": [ + "192.168.1.1-192.168.1.12", + "10.1.4.12-10.1.4.255" + ], + "destinationPorts": [ + "443-444", + "8443" + ], + "destinationAddresses": [ + "*" + ], + "protocols": [ + "TCP" + ] + } + ] + } + } + ] + } + } + ] } - } + } + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/AzureFirewallListBySubscription.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/AzureFirewallListBySubscription.json index 7387f843aaa2..767a1ffdccb1 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/AzureFirewallListBySubscription.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/AzureFirewallListBySubscription.json @@ -1,138 +1,138 @@ { - "parameters":{ - "api-version": "2019-04-01", - "subscriptionId":"subid" - }, - "responses":{ - "200":{ - "body":{ - "value":[ - { - "name":"azurefirewall", - "id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall", - "type":"Microsoft.Network/azureFirewalls", - "etag":"w/\\00000000-0000-0000-0000-000000000000\\", - "location":"West US", - "zones":[], - "tags":{ - "key1":"value1" - }, - "properties":{ - "provisioningState":"Succeeded", - "threatIntelMode": "Alert", - "ipConfigurations":[ - { - "name":"azureFirewallIpConfiguration", - "id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azfirewallgw/ipConfigurations/azureFirewallIpConfiguration", - "etag":"w/\\00000000-0000-0000-0000-000000000000\\", - "properties":{ - "provisioningState":"Succeeded", - "privateIPAddress":"10.0.0.0", - "subnet":{ - "id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet" - }, - "publicIPAddress":{ - "id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName" - } - } - } - ], - "applicationRuleCollections":[ - { - "name":"apprulecoll", - "properties":{ - "priority":110, - "action":{ - "type": "Deny" - }, - "rules":[ - { - "name":"rule1", - "description":"Deny inbound rule", - "protocols":[ - { - "protocolType":"Https", - "port":443 - } - ], - "targetFqdns":[ - "www.test.com" - ], - "sourceAddresses":[ - "216.58.216.164", - "10.0.0.0/24" - ] - } - ] - } - } - ], - "natRuleCollections":[ - { - "name":"natrulecoll", - "properties":{ - "priority":112, - "action":{ - "type": "Dnat" - }, - "rules":[ - { - "name":"DNAT-HTTPS-traffic", - "description":"D-NAT all outbound web traffic for inspection", - "sourceAddresses":[ - "*" - ], - "destinationAddresses":[ - "1.2.3.4" - ], - "destinationPorts":[ - "443" - ], - "protocols":[ - "TCP" - ], - "translatedAddress": "1.2.3.5", - "translatedPort": "8443" - } - ] - } - } - ], - "networkRuleCollections":[ - { - "name":"netrulecoll", - "properties":{ - "priority":112, - "action":{ - "type": "Deny" - }, - "rules":[ - { - "name":"L4-traffic", - "description":"Block traffic based on source IPs and ports", - "sourceAddresses":[ - "192.168.1.1-192.168.1.12", - "10.1.4.12-10.1.4.255" - ], - "destinationPorts":[ - "443-444", - "8443" - ], - "destinationAddresses":[ - "*" - ], - "protocols":[ - "TCP" - ] - } - ] - } - } - ] + "parameters": { + "api-version": "2019-04-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "azurefirewall", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall", + "type": "Microsoft.Network/azureFirewalls", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "zones": [], + "tags": { + "key1": "value1" + }, + "properties": { + "provisioningState": "Succeeded", + "threatIntelMode": "Alert", + "ipConfigurations": [ + { + "name": "azureFirewallIpConfiguration", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azfirewallgw/ipConfigurations/azureFirewallIpConfiguration", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "privateIPAddress": "10.0.0.0", + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet" + }, + "publicIPAddress": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName" + } } - } - ] - } + } + ], + "applicationRuleCollections": [ + { + "name": "apprulecoll", + "properties": { + "priority": 110, + "action": { + "type": "Deny" + }, + "rules": [ + { + "name": "rule1", + "description": "Deny inbound rule", + "protocols": [ + { + "protocolType": "Https", + "port": 443 + } + ], + "targetFqdns": [ + "www.test.com" + ], + "sourceAddresses": [ + "216.58.216.164", + "10.0.0.0/24" + ] + } + ] + } + } + ], + "natRuleCollections": [ + { + "name": "natrulecoll", + "properties": { + "priority": 112, + "action": { + "type": "Dnat" + }, + "rules": [ + { + "name": "DNAT-HTTPS-traffic", + "description": "D-NAT all outbound web traffic for inspection", + "sourceAddresses": [ + "*" + ], + "destinationAddresses": [ + "1.2.3.4" + ], + "destinationPorts": [ + "443" + ], + "protocols": [ + "TCP" + ], + "translatedAddress": "1.2.3.5", + "translatedPort": "8443" + } + ] + } + } + ], + "networkRuleCollections": [ + { + "name": "netrulecoll", + "properties": { + "priority": 112, + "action": { + "type": "Deny" + }, + "rules": [ + { + "name": "L4-traffic", + "description": "Block traffic based on source IPs and ports", + "sourceAddresses": [ + "192.168.1.1-192.168.1.12", + "10.1.4.12-10.1.4.255" + ], + "destinationPorts": [ + "443-444", + "8443" + ], + "destinationAddresses": [ + "*" + ], + "protocols": [ + "TCP" + ] + } + ] + } + } + ] + } + } + ] } - } + } + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/AzureFirewallPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/AzureFirewallPut.json index 2906ce15b016..43b753f96340 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/AzureFirewallPut.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/AzureFirewallPut.json @@ -1,377 +1,377 @@ { - "parameters":{ - "api-version": "2019-04-01", - "subscriptionId":"subid", - "resourceGroupName":"rg1", - "azureFirewallName":"azurefirewall", - "parameters":{ - "tags":{ - "key1":"value1" - }, - "location":"West US", - "zones":[], - "properties":{ - "threatIntelMode": "Alert", - "ipConfigurations":[ - { - "name":"azureFirewallIpConfiguration", - "properties":{ - "subnet":{ - "id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet" - }, - "publicIPAddress":{ - "id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName" - } - } - } - ], - "applicationRuleCollections":[ - { - "name":"apprulecoll", - "properties":{ - "priority":110, - "action":{ - "type": "Deny" - }, - "rules":[ - { - "name":"rule1", - "description":"Deny inbound rule", - "protocols":[ - { - "protocolType":"Https", - "port":443 - } - ], - "targetFqdns":[ - "www.test.com" - ], - "sourceAddresses":[ - "216.58.216.164", - "10.0.0.0/24" - ] - } - ] - } - } - ], - "natRuleCollections":[ - { - "name":"natrulecoll", - "properties":{ - "priority":112, - "action":{ - "type": "Dnat" - }, - "rules":[ - { - "name":"DNAT-HTTPS-traffic", - "description":"D-NAT all outbound web traffic for inspection", - "sourceAddresses":[ - "*" - ], - "destinationAddresses":[ - "1.2.3.4" - ], - "destinationPorts":[ - "443" - ], - "protocols":[ - "TCP" - ], - "translatedAddress": "1.2.3.5", - "translatedPort": "8443" - } - ] - } - } - ], - "networkRuleCollections":[ - { - "name":"netrulecoll", - "properties":{ - "priority":112, - "action":{ - "type": "Deny" - }, - "rules":[ - { - "name":"L4-traffic", - "description":"Block traffic based on source IPs and ports", - "sourceAddresses":[ - "192.168.1.1-192.168.1.12", - "10.1.4.12-10.1.4.255" - ], - "destinationPorts":[ - "443-444", - "8443" - ], - "destinationAddresses":[ - "*" - ], - "protocols":[ - "TCP" - ] - } - ] - } - } - ] - } + "parameters": { + "api-version": "2019-04-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "azureFirewallName": "azurefirewall", + "parameters": { + "tags": { + "key1": "value1" + }, + "location": "West US", + "zones": [], + "properties": { + "threatIntelMode": "Alert", + "ipConfigurations": [ + { + "name": "azureFirewallIpConfiguration", + "properties": { + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet" + }, + "publicIPAddress": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName" + } + } + } + ], + "applicationRuleCollections": [ + { + "name": "apprulecoll", + "properties": { + "priority": 110, + "action": { + "type": "Deny" + }, + "rules": [ + { + "name": "rule1", + "description": "Deny inbound rule", + "protocols": [ + { + "protocolType": "Https", + "port": 443 + } + ], + "targetFqdns": [ + "www.test.com" + ], + "sourceAddresses": [ + "216.58.216.164", + "10.0.0.0/24" + ] + } + ] + } + } + ], + "natRuleCollections": [ + { + "name": "natrulecoll", + "properties": { + "priority": 112, + "action": { + "type": "Dnat" + }, + "rules": [ + { + "name": "DNAT-HTTPS-traffic", + "description": "D-NAT all outbound web traffic for inspection", + "sourceAddresses": [ + "*" + ], + "destinationAddresses": [ + "1.2.3.4" + ], + "destinationPorts": [ + "443" + ], + "protocols": [ + "TCP" + ], + "translatedAddress": "1.2.3.5", + "translatedPort": "8443" + } + ] + } + } + ], + "networkRuleCollections": [ + { + "name": "netrulecoll", + "properties": { + "priority": 112, + "action": { + "type": "Deny" + }, + "rules": [ + { + "name": "L4-traffic", + "description": "Block traffic based on source IPs and ports", + "sourceAddresses": [ + "192.168.1.1-192.168.1.12", + "10.1.4.12-10.1.4.255" + ], + "destinationPorts": [ + "443-444", + "8443" + ], + "destinationAddresses": [ + "*" + ], + "protocols": [ + "TCP" + ] + } + ] + } + } + ] } - }, - "responses":{ - "200":{ - "body":{ - "name":"azurefirewall", - "id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall", - "type":"Microsoft.Network/azureFirewalls", - "etag":"w/\\00000000-0000-0000-0000-000000000000\\", - "location":"West US", - "zones":[], - "tags":{ - "key1":"value1" - }, - "properties":{ - "provisioningState":"Succeeded", - "threatIntelMode": "Alert", - "ipConfigurations":[ - { - "name":"azureFirewallIpConfiguration", - "id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azfirewallgw/ipConfigurations/azureFirewallIpConfiguration", - "etag":"w/\\00000000-0000-0000-0000-000000000000\\", - "properties":{ - "provisioningState":"Succeeded", - "privateIPAddress":"10.0.0.0", - "subnet":{ - "id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet" - }, - "publicIPAddress":{ - "id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName" - } - } - } - ], - "applicationRuleCollections":[ - { - "name":"apprulecoll", - "properties":{ - "priority":110, - "action":{ - "type": "Deny" - }, - "rules":[ - { - "name":"rule1", - "description":"Deny inbound rule", - "protocols":[ - { - "protocolType":"Https", - "port":443 - } - ], - "targetFqdns":[ - "www.test.com" - ], - "sourceAddresses":[ - "216.58.216.164", - "10.0.0.0/24" - ] - } - ] - } - } - ], - "natRuleCollections":[ + } + }, + "responses": { + "200": { + "body": { + "name": "azurefirewall", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall", + "type": "Microsoft.Network/azureFirewalls", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "zones": [], + "tags": { + "key1": "value1" + }, + "properties": { + "provisioningState": "Succeeded", + "threatIntelMode": "Alert", + "ipConfigurations": [ + { + "name": "azureFirewallIpConfiguration", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azfirewallgw/ipConfigurations/azureFirewallIpConfiguration", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "privateIPAddress": "10.0.0.0", + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet" + }, + "publicIPAddress": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName" + } + } + } + ], + "applicationRuleCollections": [ + { + "name": "apprulecoll", + "properties": { + "priority": 110, + "action": { + "type": "Deny" + }, + "rules": [ { - "name":"natrulecoll", - "properties":{ - "priority":112, - "action":{ - "type": "Dnat" - }, - "rules":[ - { - "name":"DNAT-HTTPS-traffic", - "description":"D-NAT all outbound web traffic for inspection", - "sourceAddresses":[ - "*" - ], - "destinationAddresses":[ - "1.2.3.4" - ], - "destinationPorts":[ - "443" - ], - "protocols":[ - "TCP" - ], - "translatedAddress": "1.2.3.5", - "translatedPort": "8443" - } - ] - } + "name": "rule1", + "description": "Deny inbound rule", + "protocols": [ + { + "protocolType": "Https", + "port": 443 + } + ], + "targetFqdns": [ + "www.test.com" + ], + "sourceAddresses": [ + "216.58.216.164", + "10.0.0.0/24" + ] } - ], - "networkRuleCollections":[ + ] + } + } + ], + "natRuleCollections": [ + { + "name": "natrulecoll", + "properties": { + "priority": 112, + "action": { + "type": "Dnat" + }, + "rules": [ { - "name":"netrulecoll", - "properties":{ - "priority":112, - "action":{ - "type": "Deny" - }, - "rules":[ - { - "name":"L4-traffic", - "description":"Block traffic based on source IPs and ports", - "sourceAddresses":[ - "192.168.1.1-192.168.1.12", - "10.1.4.12-10.1.4.255" - ], - "destinationPorts":[ - "443-444", - "8443" - ], - "destinationAddresses":[ - "*" - ], - "protocols":[ - "TCP" - ] - } - ] - } + "name": "DNAT-HTTPS-traffic", + "description": "D-NAT all outbound web traffic for inspection", + "sourceAddresses": [ + "*" + ], + "destinationAddresses": [ + "1.2.3.4" + ], + "destinationPorts": [ + "443" + ], + "protocols": [ + "TCP" + ], + "translatedAddress": "1.2.3.5", + "translatedPort": "8443" } - ] + ] + } } - } - }, - "201":{ - "body":{ - "name":"azurefirewall", - "id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall", - "type":"Microsoft.Network/azureFirewalls", - "etag":"w/\\00000000-0000-0000-0000-000000000000\\", - "location":"West US", - "zones":[], - "tags":{ - "key1":"value1" - }, - "properties":{ - "provisioningState":"Succeeded", - "threatIntelMode": "Alert", - "ipConfigurations":[ + ], + "networkRuleCollections": [ + { + "name": "netrulecoll", + "properties": { + "priority": 112, + "action": { + "type": "Deny" + }, + "rules": [ { - "name":"azureFirewallIpConfiguration", - "id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azfirewallgw/ipConfigurations/azureFirewallIpConfiguration", - "etag":"w/\\00000000-0000-0000-0000-000000000000\\", - "properties":{ - "provisioningState":"Succeeded", - "privateIPAddress":"10.0.0.0", - "subnet":{ - "id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet" - }, - "publicIPAddress":{ - "id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName" - } - } + "name": "L4-traffic", + "description": "Block traffic based on source IPs and ports", + "sourceAddresses": [ + "192.168.1.1-192.168.1.12", + "10.1.4.12-10.1.4.255" + ], + "destinationPorts": [ + "443-444", + "8443" + ], + "destinationAddresses": [ + "*" + ], + "protocols": [ + "TCP" + ] } - ], - "applicationRuleCollections":[ + ] + } + } + ] + } + } + }, + "201": { + "body": { + "name": "azurefirewall", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall", + "type": "Microsoft.Network/azureFirewalls", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "zones": [], + "tags": { + "key1": "value1" + }, + "properties": { + "provisioningState": "Succeeded", + "threatIntelMode": "Alert", + "ipConfigurations": [ + { + "name": "azureFirewallIpConfiguration", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azfirewallgw/ipConfigurations/azureFirewallIpConfiguration", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "privateIPAddress": "10.0.0.0", + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet" + }, + "publicIPAddress": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName" + } + } + } + ], + "applicationRuleCollections": [ + { + "name": "apprulecoll", + "properties": { + "priority": 110, + "action": { + "type": "Deny" + }, + "rules": [ { - "name":"apprulecoll", - "properties":{ - "priority":110, - "action":{ - "type": "Deny" - }, - "rules":[ - { - "name":"rule1", - "description":"Deny inbound rule", - "protocols":[ - { - "protocolType":"Https", - "port":443 - } - ], - "targetFqdns":[ - "www.test.com" - ], - "sourceAddresses":[ - "216.58.216.164", - "10.0.0.0/24" - ] - } - ] - } + "name": "rule1", + "description": "Deny inbound rule", + "protocols": [ + { + "protocolType": "Https", + "port": 443 + } + ], + "targetFqdns": [ + "www.test.com" + ], + "sourceAddresses": [ + "216.58.216.164", + "10.0.0.0/24" + ] } - ], - "natRuleCollections":[ + ] + } + } + ], + "natRuleCollections": [ + { + "name": "natrulecoll", + "properties": { + "priority": 112, + "action": { + "type": "Dnat" + }, + "rules": [ { - "name":"natrulecoll", - "properties":{ - "priority":112, - "action":{ - "type": "Dnat" - }, - "rules":[ - { - "name":"DNAT-HTTPS-traffic", - "description":"D-NAT all outbound web traffic for inspection", - "sourceAddresses":[ - "*" - ], - "destinationAddresses":[ - "1.2.3.4" - ], - "destinationPorts":[ - "443" - ], - "protocols":[ - "TCP" - ], - "translatedAddress": "1.2.3.5", - "translatedPort": "8443" - } - ] - } + "name": "DNAT-HTTPS-traffic", + "description": "D-NAT all outbound web traffic for inspection", + "sourceAddresses": [ + "*" + ], + "destinationAddresses": [ + "1.2.3.4" + ], + "destinationPorts": [ + "443" + ], + "protocols": [ + "TCP" + ], + "translatedAddress": "1.2.3.5", + "translatedPort": "8443" } - ], - "networkRuleCollections":[ + ] + } + } + ], + "networkRuleCollections": [ + { + "name": "netrulecoll", + "properties": { + "priority": 112, + "action": { + "type": "Deny" + }, + "rules": [ { - "name":"netrulecoll", - "properties":{ - "priority":112, - "action":{ - "type": "Deny" - }, - "rules":[ - { - "name":"L4-traffic", - "description":"Block traffic based on source IPs and ports", - "sourceAddresses":[ - "192.168.1.1-192.168.1.12", - "10.1.4.12-10.1.4.255" - ], - "destinationPorts":[ - "443-444", - "8443" - ], - "destinationAddresses":[ - "*" - ], - "protocols":[ - "TCP" - ] - } - ] - } + "name": "L4-traffic", + "description": "Block traffic based on source IPs and ports", + "sourceAddresses": [ + "192.168.1.1-192.168.1.12", + "10.1.4.12-10.1.4.255" + ], + "destinationPorts": [ + "443-444", + "8443" + ], + "destinationAddresses": [ + "*" + ], + "protocols": [ + "TCP" + ] } - ] + ] + } } - } + ] + } } - } + } + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/AzureFirewallPutWithZones.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/AzureFirewallPutWithZones.json index 5ea2c95f2252..fbba1fa8ab6a 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/AzureFirewallPutWithZones.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/AzureFirewallPutWithZones.json @@ -1,377 +1,389 @@ { - "parameters":{ - "api-version": "2019-04-01", - "subscriptionId":"subid", - "resourceGroupName":"rg1", - "azureFirewallName":"azurefirewall", - "parameters":{ - "tags":{ - "key1":"value1" - }, - "location":"West US 2", - "zones":["1","2","3"], - "properties":{ - "threatIntelMode": "Alert", - "ipConfigurations":[ - { - "name":"azureFirewallIpConfiguration", - "properties":{ - "subnet":{ - "id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet" - }, - "publicIPAddress":{ - "id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName" - } - } - } - ], - "applicationRuleCollections":[ - { - "name":"apprulecoll", - "properties":{ - "priority":110, - "action":{ - "type": "Deny" - }, - "rules":[ - { - "name":"rule1", - "description":"Deny inbound rule", - "protocols":[ - { - "protocolType":"Https", - "port":443 - } - ], - "targetFqdns":[ - "www.test.com" - ], - "sourceAddresses":[ - "216.58.216.164", - "10.0.0.0/24" - ] - } - ] - } - } - ], - "natRuleCollections":[ - { - "name":"natrulecoll", - "properties":{ - "priority":112, - "action":{ - "type": "Dnat" - }, - "rules":[ - { - "name":"DNAT-HTTPS-traffic", - "description":"D-NAT all outbound web traffic for inspection", - "sourceAddresses":[ - "*" - ], - "destinationAddresses":[ - "1.2.3.4" - ], - "destinationPorts":[ - "443" - ], - "protocols":[ - "TCP" - ], - "translatedAddress": "1.2.3.5", - "translatedPort": "8443" - } - ] - } - } - ], - "networkRuleCollections":[ - { - "name":"netrulecoll", - "properties":{ - "priority":112, - "action":{ - "type": "Deny" - }, - "rules":[ - { - "name":"L4-traffic", - "description":"Block traffic based on source IPs and ports", - "sourceAddresses":[ - "192.168.1.1-192.168.1.12", - "10.1.4.12-10.1.4.255" - ], - "destinationPorts":[ - "443-444", - "8443" - ], - "destinationAddresses":[ - "*" - ], - "protocols":[ - "TCP" - ] - } - ] - } - } - ] - } + "parameters": { + "api-version": "2019-04-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "azureFirewallName": "azurefirewall", + "parameters": { + "tags": { + "key1": "value1" + }, + "location": "West US 2", + "zones": [ + "1", + "2", + "3" + ], + "properties": { + "threatIntelMode": "Alert", + "ipConfigurations": [ + { + "name": "azureFirewallIpConfiguration", + "properties": { + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet" + }, + "publicIPAddress": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName" + } + } + } + ], + "applicationRuleCollections": [ + { + "name": "apprulecoll", + "properties": { + "priority": 110, + "action": { + "type": "Deny" + }, + "rules": [ + { + "name": "rule1", + "description": "Deny inbound rule", + "protocols": [ + { + "protocolType": "Https", + "port": 443 + } + ], + "targetFqdns": [ + "www.test.com" + ], + "sourceAddresses": [ + "216.58.216.164", + "10.0.0.0/24" + ] + } + ] + } + } + ], + "natRuleCollections": [ + { + "name": "natrulecoll", + "properties": { + "priority": 112, + "action": { + "type": "Dnat" + }, + "rules": [ + { + "name": "DNAT-HTTPS-traffic", + "description": "D-NAT all outbound web traffic for inspection", + "sourceAddresses": [ + "*" + ], + "destinationAddresses": [ + "1.2.3.4" + ], + "destinationPorts": [ + "443" + ], + "protocols": [ + "TCP" + ], + "translatedAddress": "1.2.3.5", + "translatedPort": "8443" + } + ] + } + } + ], + "networkRuleCollections": [ + { + "name": "netrulecoll", + "properties": { + "priority": 112, + "action": { + "type": "Deny" + }, + "rules": [ + { + "name": "L4-traffic", + "description": "Block traffic based on source IPs and ports", + "sourceAddresses": [ + "192.168.1.1-192.168.1.12", + "10.1.4.12-10.1.4.255" + ], + "destinationPorts": [ + "443-444", + "8443" + ], + "destinationAddresses": [ + "*" + ], + "protocols": [ + "TCP" + ] + } + ] + } + } + ] } - }, - "responses":{ - "200":{ - "body":{ - "name":"azurefirewall", - "id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall", - "type":"Microsoft.Network/azureFirewalls", - "etag":"w/\\00000000-0000-0000-0000-000000000000\\", - "location":"West US 2", - "zones":["1","2","3"], - "tags":{ - "key1":"value1" - }, - "properties":{ - "provisioningState":"Succeeded", - "threatIntelMode": "Alert", - "ipConfigurations":[ - { - "name":"azureFirewallIpConfiguration", - "id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azfirewallgw/ipConfigurations/azureFirewallIpConfiguration", - "etag":"w/\\00000000-0000-0000-0000-000000000000\\", - "properties":{ - "provisioningState":"Succeeded", - "privateIPAddress":"10.0.0.0", - "subnet":{ - "id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet" - }, - "publicIPAddress":{ - "id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName" - } - } - } - ], - "applicationRuleCollections":[ - { - "name":"apprulecoll", - "properties":{ - "priority":110, - "action":{ - "type": "Deny" - }, - "rules":[ - { - "name":"rule1", - "description":"Deny inbound rule", - "protocols":[ - { - "protocolType":"Https", - "port":443 - } - ], - "targetFqdns":[ - "www.test.com" - ], - "sourceAddresses":[ - "216.58.216.164", - "10.0.0.0/24" - ] - } - ] - } - } - ], - "natRuleCollections":[ + } + }, + "responses": { + "200": { + "body": { + "name": "azurefirewall", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall", + "type": "Microsoft.Network/azureFirewalls", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US 2", + "zones": [ + "1", + "2", + "3" + ], + "tags": { + "key1": "value1" + }, + "properties": { + "provisioningState": "Succeeded", + "threatIntelMode": "Alert", + "ipConfigurations": [ + { + "name": "azureFirewallIpConfiguration", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azfirewallgw/ipConfigurations/azureFirewallIpConfiguration", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "privateIPAddress": "10.0.0.0", + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet" + }, + "publicIPAddress": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName" + } + } + } + ], + "applicationRuleCollections": [ + { + "name": "apprulecoll", + "properties": { + "priority": 110, + "action": { + "type": "Deny" + }, + "rules": [ { - "name":"natrulecoll", - "properties":{ - "priority":112, - "action":{ - "type": "Dnat" - }, - "rules":[ - { - "name":"DNAT-HTTPS-traffic", - "description":"D-NAT all outbound web traffic for inspection", - "sourceAddresses":[ - "*" - ], - "destinationAddresses":[ - "1.2.3.4" - ], - "destinationPorts":[ - "443" - ], - "protocols":[ - "TCP" - ], - "translatedAddress": "1.2.3.5", - "translatedPort": "8443" - } - ] - } + "name": "rule1", + "description": "Deny inbound rule", + "protocols": [ + { + "protocolType": "Https", + "port": 443 + } + ], + "targetFqdns": [ + "www.test.com" + ], + "sourceAddresses": [ + "216.58.216.164", + "10.0.0.0/24" + ] } - ], - "networkRuleCollections":[ + ] + } + } + ], + "natRuleCollections": [ + { + "name": "natrulecoll", + "properties": { + "priority": 112, + "action": { + "type": "Dnat" + }, + "rules": [ { - "name":"netrulecoll", - "properties":{ - "priority":112, - "action":{ - "type": "Deny" - }, - "rules":[ - { - "name":"L4-traffic", - "description":"Block traffic based on source IPs and ports", - "sourceAddresses":[ - "192.168.1.1-192.168.1.12", - "10.1.4.12-10.1.4.255" - ], - "destinationPorts":[ - "443-444", - "8443" - ], - "destinationAddresses":[ - "*" - ], - "protocols":[ - "TCP" - ] - } - ] - } + "name": "DNAT-HTTPS-traffic", + "description": "D-NAT all outbound web traffic for inspection", + "sourceAddresses": [ + "*" + ], + "destinationAddresses": [ + "1.2.3.4" + ], + "destinationPorts": [ + "443" + ], + "protocols": [ + "TCP" + ], + "translatedAddress": "1.2.3.5", + "translatedPort": "8443" } - ] + ] + } } - } - }, - "201":{ - "body":{ - "name":"azurefirewall", - "id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall", - "type":"Microsoft.Network/azureFirewalls", - "etag":"w/\\00000000-0000-0000-0000-000000000000\\", - "location":"West US 2", - "zones":["1","2","3"], - "tags":{ - "key1":"value1" - }, - "properties":{ - "provisioningState":"Succeeded", - "threatIntelMode": "Alert", - "ipConfigurations":[ + ], + "networkRuleCollections": [ + { + "name": "netrulecoll", + "properties": { + "priority": 112, + "action": { + "type": "Deny" + }, + "rules": [ { - "name":"azureFirewallIpConfiguration", - "id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azfirewallgw/ipConfigurations/azureFirewallIpConfiguration", - "etag":"w/\\00000000-0000-0000-0000-000000000000\\", - "properties":{ - "provisioningState":"Succeeded", - "privateIPAddress":"10.0.0.0", - "subnet":{ - "id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet" - }, - "publicIPAddress":{ - "id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName" - } - } + "name": "L4-traffic", + "description": "Block traffic based on source IPs and ports", + "sourceAddresses": [ + "192.168.1.1-192.168.1.12", + "10.1.4.12-10.1.4.255" + ], + "destinationPorts": [ + "443-444", + "8443" + ], + "destinationAddresses": [ + "*" + ], + "protocols": [ + "TCP" + ] } - ], - "applicationRuleCollections":[ + ] + } + } + ] + } + } + }, + "201": { + "body": { + "name": "azurefirewall", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall", + "type": "Microsoft.Network/azureFirewalls", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US 2", + "zones": [ + "1", + "2", + "3" + ], + "tags": { + "key1": "value1" + }, + "properties": { + "provisioningState": "Succeeded", + "threatIntelMode": "Alert", + "ipConfigurations": [ + { + "name": "azureFirewallIpConfiguration", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azfirewallgw/ipConfigurations/azureFirewallIpConfiguration", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "privateIPAddress": "10.0.0.0", + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet" + }, + "publicIPAddress": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName" + } + } + } + ], + "applicationRuleCollections": [ + { + "name": "apprulecoll", + "properties": { + "priority": 110, + "action": { + "type": "Deny" + }, + "rules": [ { - "name":"apprulecoll", - "properties":{ - "priority":110, - "action":{ - "type": "Deny" - }, - "rules":[ - { - "name":"rule1", - "description":"Deny inbound rule", - "protocols":[ - { - "protocolType":"Https", - "port":443 - } - ], - "targetFqdns":[ - "www.test.com" - ], - "sourceAddresses":[ - "216.58.216.164", - "10.0.0.0/24" - ] - } - ] - } + "name": "rule1", + "description": "Deny inbound rule", + "protocols": [ + { + "protocolType": "Https", + "port": 443 + } + ], + "targetFqdns": [ + "www.test.com" + ], + "sourceAddresses": [ + "216.58.216.164", + "10.0.0.0/24" + ] } - ], - "natRuleCollections":[ + ] + } + } + ], + "natRuleCollections": [ + { + "name": "natrulecoll", + "properties": { + "priority": 112, + "action": { + "type": "Dnat" + }, + "rules": [ { - "name":"natrulecoll", - "properties":{ - "priority":112, - "action":{ - "type": "Dnat" - }, - "rules":[ - { - "name":"DNAT-HTTPS-traffic", - "description":"D-NAT all outbound web traffic for inspection", - "sourceAddresses":[ - "*" - ], - "destinationAddresses":[ - "1.2.3.4" - ], - "destinationPorts":[ - "443" - ], - "protocols":[ - "TCP" - ], - "translatedAddress": "1.2.3.5", - "translatedPort": "8443" - } - ] - } + "name": "DNAT-HTTPS-traffic", + "description": "D-NAT all outbound web traffic for inspection", + "sourceAddresses": [ + "*" + ], + "destinationAddresses": [ + "1.2.3.4" + ], + "destinationPorts": [ + "443" + ], + "protocols": [ + "TCP" + ], + "translatedAddress": "1.2.3.5", + "translatedPort": "8443" } - ], - "networkRuleCollections":[ + ] + } + } + ], + "networkRuleCollections": [ + { + "name": "netrulecoll", + "properties": { + "priority": 112, + "action": { + "type": "Deny" + }, + "rules": [ { - "name":"netrulecoll", - "properties":{ - "priority":112, - "action":{ - "type": "Deny" - }, - "rules":[ - { - "name":"L4-traffic", - "description":"Block traffic based on source IPs and ports", - "sourceAddresses":[ - "192.168.1.1-192.168.1.12", - "10.1.4.12-10.1.4.255" - ], - "destinationPorts":[ - "443-444", - "8443" - ], - "destinationAddresses":[ - "*" - ], - "protocols":[ - "TCP" - ] - } - ] - } + "name": "L4-traffic", + "description": "Block traffic based on source IPs and ports", + "sourceAddresses": [ + "192.168.1.1-192.168.1.12", + "10.1.4.12-10.1.4.255" + ], + "destinationPorts": [ + "443-444", + "8443" + ], + "destinationAddresses": [ + "*" + ], + "protocols": [ + "TCP" + ] } - ] + ] + } } - } + ] + } } - } + } + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/CheckDnsNameAvailability.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/CheckDnsNameAvailability.json index f8f6d6bdcc0c..cb44c8f29332 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/CheckDnsNameAvailability.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/CheckDnsNameAvailability.json @@ -1,12 +1,12 @@ { - "parameters" : { + "parameters": { "api-version": "2019-04-01", - "subscriptionId" : "subid", - "location" : "westus", - "domainNameLabel" : "testdns" + "subscriptionId": "subid", + "location": "westus", + "domainNameLabel": "testdns" }, - "responses" : { - "200" : { + "responses": { + "200": { "body": { "available": false } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/DdosCustomPolicyCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/DdosCustomPolicyCreate.json index b88de3613670..7a97bbe5fdfc 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/DdosCustomPolicyCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/DdosCustomPolicyCreate.json @@ -28,7 +28,8 @@ "publicIPAddresses": [], "protocolCustomSettings": [ { - "protocol": "Tcp", "triggerRateOverride": "20000" + "protocol": "Tcp", + "triggerRateOverride": "20000" } ] } @@ -46,7 +47,8 @@ "publicIPAddresses": [], "protocolCustomSettings": [ { - "protocol": "Tcp", "triggerRateOverride": "20000" + "protocol": "Tcp", + "triggerRateOverride": "20000" } ] } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/DdosCustomPolicyUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/DdosCustomPolicyUpdateTags.json index c1a7d8e4431b..a5ba1eff1009 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/DdosCustomPolicyUpdateTags.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/DdosCustomPolicyUpdateTags.json @@ -6,8 +6,8 @@ "ddosCustomPolicyName": "test-ddos-custom-policy", "parameters": { "tags": { - "tag1": "value1", - "tag2": "value2" + "tag1": "value1", + "tag2": "value2" } } }, @@ -28,7 +28,8 @@ "publicIPAddresses": [], "protocolCustomSettings": [ { - "protocol": "Tcp", "triggerRateOverride": "20000" + "protocol": "Tcp", + "triggerRateOverride": "20000" } ] } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/DdosProtectionPlanUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/DdosProtectionPlanUpdateTags.json index 412a1ff667fa..eeeb9683cd06 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/DdosProtectionPlanUpdateTags.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/DdosProtectionPlanUpdateTags.json @@ -6,8 +6,8 @@ "ddosProtectionPlanName": "test-plan", "parameters": { "tags": { - "tag1": "value1", - "tag2": "value2" + "tag1": "value1", + "tag2": "value2" } } }, @@ -19,8 +19,8 @@ "type": "Microsoft.Network/ddosProtectionPlans", "location": "westus", "tags": { - "tag1": "value1", - "tag2": "value2" + "tag1": "value1", + "tag2": "value2" }, "properties": { "provisioningState": "Succeeded", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitAuthorizationCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitAuthorizationCreate.json index ac26b8db61a7..7ad23e63a1bd 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitAuthorizationCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitAuthorizationCreate.json @@ -1,39 +1,39 @@ { - "parameters":{ - "circuitName":"circuitName", - "resourceGroupName":"rg1", - "authorizationName":"authorizatinName", - "api-version": "2019-04-01", - "subscriptionId":"subid", - "authorizationParameters":{ + "parameters": { + "circuitName": "circuitName", + "resourceGroupName": "rg1", + "authorizationName": "authorizatinName", + "api-version": "2019-04-01", + "subscriptionId": "subid", + "authorizationParameters": { + "properties": { + "authorizationKey": "authKey", + "authorizationUseStatus": "Available" + } + } + }, + "responses": { + "201": { + "body": { + "name": "authorizationName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName", + "etag": "W/\"e22dd4b2-4c24-44cf-b702-70a472b62914\"", "properties": { - "authorizationKey": "authKey", - "authorizationUseStatus":"Available" + "provisioningState": "Updating", + "authorizationUseStatus": "Available" } } - }, - "responses":{ - "201":{ - "body":{ - "name":"authorizationName", - "id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName", - "etag":"W/\"e22dd4b2-4c24-44cf-b702-70a472b62914\"", - "properties":{ - "provisioningState":"Updating", - "authorizationUseStatus":"Available" - } - } - }, - "200":{ - "body":{ - "name":"authorizationName", - "id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/authorizations/authorizationName", - "etag":"W/\"e22dd4b2-4c24-44cf-b702-70a472b62914\"", - "properties":{ - "provisioningState":"Updating", - "authorizationUseStatus":"Available" - } - } + }, + "200": { + "body": { + "name": "authorizationName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/authorizations/authorizationName", + "etag": "W/\"e22dd4b2-4c24-44cf-b702-70a472b62914\"", + "properties": { + "provisioningState": "Updating", + "authorizationUseStatus": "Available" + } } - } + } + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitAuthorizationDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitAuthorizationDelete.json index f72eae7ae114..014f4b75fb08 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitAuthorizationDelete.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitAuthorizationDelete.json @@ -1,20 +1,14 @@ { - "parameters":{ - "circuitName":"circuitName", - "resourceGroupName":"rg1", - "api-version": "2019-04-01", - "subscriptionId":"subid", - "authorizationName":"authorizationName" - }, - "responses":{ - "200":{ - - }, - "202":{ - - }, - "204":{ - - } - } + "parameters": { + "circuitName": "circuitName", + "resourceGroupName": "rg1", + "api-version": "2019-04-01", + "subscriptionId": "subid", + "authorizationName": "authorizationName" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitAuthorizationGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitAuthorizationGet.json index 3d1a7fe05f21..73153e99471f 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitAuthorizationGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitAuthorizationGet.json @@ -1,22 +1,22 @@ { - "parameters": { - "circuitName": "circuitName", - "resourceGroupName": "rg1", - "api-version": "2019-04-01", - "subscriptionId": "subid", - "authorizationName": "authorizationName" - }, - "responses": { - "200": { - "name": "MyAuthorization1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1", - "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", - "properties": { - "provisioningState": "Succeeded", - "authorizationKey": "authKey", - "authorizationUseStatus": "Available" - }, - "type": "Microsoft.Network/expressRouteCircuits/authorizations" - } - } + "parameters": { + "circuitName": "circuitName", + "resourceGroupName": "rg1", + "api-version": "2019-04-01", + "subscriptionId": "subid", + "authorizationName": "authorizationName" + }, + "responses": { + "200": { + "name": "MyAuthorization1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1", + "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", + "properties": { + "provisioningState": "Succeeded", + "authorizationKey": "authKey", + "authorizationUseStatus": "Available" + }, + "type": "Microsoft.Network/expressRouteCircuits/authorizations" + } + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitAuthorizationList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitAuthorizationList.json index 5e1bb963583d..560ef0033ebc 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitAuthorizationList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitAuthorizationList.json @@ -1,24 +1,24 @@ { - "parameters": { - "circuitName": "circuitName", - "resourceGroupName": "rg1", - "api-version": "2019-04-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "value": [ - { - "name": "MyAuthorization1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1", - "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", - "properties": { - "provisioningState": "Succeeded", - "authorizationKey": "authKey", - "authorizationUseStatus": "Available" - } - } - ] - } - } + "parameters": { + "circuitName": "circuitName", + "resourceGroupName": "rg1", + "api-version": "2019-04-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "value": [ + { + "name": "MyAuthorization1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1", + "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", + "properties": { + "provisioningState": "Succeeded", + "authorizationKey": "authKey", + "authorizationUseStatus": "Available" + } + } + ] + } + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitConnectionCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitConnectionCreate.json index 2194becde68a..a8dbfcb92243 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitConnectionCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitConnectionCreate.json @@ -36,7 +36,7 @@ "authorizationKey": "946a1918-b7a2-4917-b43c-8c4cdaee006a", "addressPrefix": "10.0.0.0/24", "circuitConnectionStatus": "Connected", - "provisioningState":"Succeeded" + "provisioningState": "Succeeded" } } }, @@ -55,7 +55,7 @@ "authorizationKey": "946a1918-b7a2-4917-b43c-8c4cdaee006a", "addressPrefix": "10.0.0.0/24", "circuitConnectionStatus": "Connected", - "provisioningState":"Succeeded" + "provisioningState": "Succeeded" } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitConnectionGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitConnectionGet.json index 88687279571d..d6cd8e63c85d 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitConnectionGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitConnectionGet.json @@ -23,7 +23,7 @@ "authorizationKey": "946a1918-b7a2-4917-b43c-8c4cdaee006a", "addressPrefix": "10.0.0.0/24", "circuitConnectionStatus": "Connected", - "provisioningState":"Succeeded" + "provisioningState": "Succeeded" }, "type": "Microsoft.Network/expressRouteCircuits/peerings/connections" } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitConnectionList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitConnectionList.json index 73ca0954bdfd..c413c0fab54e 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitConnectionList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitConnectionList.json @@ -1,50 +1,50 @@ { - "parameters": { - "resourceGroupName": "rg1", - "api-version": "2019-04-01", - "subscriptionId": "subid1", - "circuitName": "ExpressRouteARMCircuitA", - "peeringName": "AzurePrivatePeering" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering/connections/circuitConnectionUSAUS", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "name": "circuitConnectionUSAUS", - "properties": { - "expressRouteCircuitPeering": { - "id": "/subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/dedharcktlocal/peerings/AzurePrivatePeering" - }, - "peerExpressRouteCircuitPeering": { - "id": "/subscriptions/subid2/resourceGroups/dedharcktpeer/providers/Microsoft.Network/expressRouteCircuits/dedharcktremote/peerings/AzurePrivatePeering" - }, - "authorizationKey": "946a1918-b7a2-4917-b43c-8c4cdaee006a", - "addressPrefix": "10.0.0.0/24", - "circuitConnectionStatus": "Connected", - "provisioningState":"Succeeded" - } - }, - { - "id": "/subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering/connections/circuitConnectionUSEUR", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "name": "circuitConnectionUSEUR", - "properties": { - "expressRouteCircuitPeering": { - "id": "/subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/dedharcktlocal/peerings/AzurePrivatePeering" - }, - "peerExpressRouteCircuitPeering": { - "id": "/subscriptions/subid1/resourceGroups/dedharckteurope/providers/Microsoft.Network/expressRouteCircuits/dedharcktams/peerings/AzurePrivatePeering" - }, - "addressPrefix": "20.0.0.0/24", - "circuitConnectionStatus": "Connected", - "provisioningState":"Succeeded" - } - } - ] - } + "parameters": { + "resourceGroupName": "rg1", + "api-version": "2019-04-01", + "subscriptionId": "subid1", + "circuitName": "ExpressRouteARMCircuitA", + "peeringName": "AzurePrivatePeering" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering/connections/circuitConnectionUSAUS", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "name": "circuitConnectionUSAUS", + "properties": { + "expressRouteCircuitPeering": { + "id": "/subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/dedharcktlocal/peerings/AzurePrivatePeering" + }, + "peerExpressRouteCircuitPeering": { + "id": "/subscriptions/subid2/resourceGroups/dedharcktpeer/providers/Microsoft.Network/expressRouteCircuits/dedharcktremote/peerings/AzurePrivatePeering" + }, + "authorizationKey": "946a1918-b7a2-4917-b43c-8c4cdaee006a", + "addressPrefix": "10.0.0.0/24", + "circuitConnectionStatus": "Connected", + "provisioningState": "Succeeded" + } + }, + { + "id": "/subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering/connections/circuitConnectionUSEUR", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "name": "circuitConnectionUSEUR", + "properties": { + "expressRouteCircuitPeering": { + "id": "/subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/dedharcktlocal/peerings/AzurePrivatePeering" + }, + "peerExpressRouteCircuitPeering": { + "id": "/subscriptions/subid1/resourceGroups/dedharckteurope/providers/Microsoft.Network/expressRouteCircuits/dedharcktams/peerings/AzurePrivatePeering" + }, + "addressPrefix": "20.0.0.0/24", + "circuitConnectionStatus": "Connected", + "provisioningState": "Succeeded" + } + } + ] } } - } \ No newline at end of file + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitCreate.json index 5483a07c5124..a15f49ead000 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitCreate.json @@ -1,84 +1,84 @@ { - "parameters": { - "circuitName": "circuitName", - "resourceGroupName": "rg1", - "api-version": "2019-04-01", - "subscriptionId": "subid", - "parameters": { - "sku": { - "name": "Standard_MeteredData", - "tier": "Standard", - "family": "MeteredData" - }, - "properties": { - "authorizations": [], - "peerings": [], - "allowClassicOperations": false, - "serviceProviderProperties": { - "serviceProviderName": "providerName", - "peeringLocation": "peeringLocation", - "bandwidthInMbps": 200 - } - }, - "location": "West US" - } - }, - "responses": { - "201": { - "body": { - "name": "circuitName", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "type": "Microsoft.Network/expressRouteCircuits", - "location": "westus", - "properties": { - "provisioningState": "Succeeded", - "peerings": [], - "authorizations": [], - "serviceProviderProperties": { - "serviceProviderName": "providerName", - "peeringLocation": "peeringLocation", - "bandwidthInMbps": 200 - }, - "circuitProvisioningState": "Enabled", - "allowClassicOperations": false, - "serviceKey": "a1410692-0000-4ceb-b94a-b90b94d398d1", - "serviceProviderProvisioningState": "NotProvisioned" - }, - "sku": { - "name": "Standard_MeteredData", - "tier": "Standard", - "family": "MeteredData" - } - } + "parameters": { + "circuitName": "circuitName", + "resourceGroupName": "rg1", + "api-version": "2019-04-01", + "subscriptionId": "subid", + "parameters": { + "sku": { + "name": "Standard_MeteredData", + "tier": "Standard", + "family": "MeteredData" + }, + "properties": { + "authorizations": [], + "peerings": [], + "allowClassicOperations": false, + "serviceProviderProperties": { + "serviceProviderName": "providerName", + "peeringLocation": "peeringLocation", + "bandwidthInMbps": 200 + } }, - "200": { - "body": { - "name": "circuitName", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "type": "Microsoft.Network/expressRouteCircuits", - "location": "westus", - "properties": { - "provisioningState": "Succeeded", - "peerings": [], - "authorizations": [], - "serviceProviderProperties": { - "serviceProviderName": "providerName", - "peeringLocation": "peeringLocation", - "bandwidthInMbps": 200 - }, - "circuitProvisioningState": "Enabled", - "allowClassicOperations": false, - "serviceKey": "a1410692-0000-4ceb-b94a-b90b94d398d1", - "serviceProviderProvisioningState": "NotProvisioned" - }, - "sku": { - "name": "Standard_MeteredData", - "tier": "Standard", - "family": "MeteredData" - } - } + "location": "West US" + } + }, + "responses": { + "201": { + "body": { + "name": "circuitName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "type": "Microsoft.Network/expressRouteCircuits", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "peerings": [], + "authorizations": [], + "serviceProviderProperties": { + "serviceProviderName": "providerName", + "peeringLocation": "peeringLocation", + "bandwidthInMbps": 200 + }, + "circuitProvisioningState": "Enabled", + "allowClassicOperations": false, + "serviceKey": "a1410692-0000-4ceb-b94a-b90b94d398d1", + "serviceProviderProvisioningState": "NotProvisioned" + }, + "sku": { + "name": "Standard_MeteredData", + "tier": "Standard", + "family": "MeteredData" + } + } + }, + "200": { + "body": { + "name": "circuitName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "type": "Microsoft.Network/expressRouteCircuits", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "peerings": [], + "authorizations": [], + "serviceProviderProperties": { + "serviceProviderName": "providerName", + "peeringLocation": "peeringLocation", + "bandwidthInMbps": 200 + }, + "circuitProvisioningState": "Enabled", + "allowClassicOperations": false, + "serviceKey": "a1410692-0000-4ceb-b94a-b90b94d398d1", + "serviceProviderProvisioningState": "NotProvisioned" + }, + "sku": { + "name": "Standard_MeteredData", + "tier": "Standard", + "family": "MeteredData" + } } - } + } + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitCreateOnExpressRoutePort.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitCreateOnExpressRoutePort.json index 62e4d20714ef..bb6c5beecc5f 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitCreateOnExpressRoutePort.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitCreateOnExpressRoutePort.json @@ -1,79 +1,79 @@ { + "parameters": { + "subscriptionId": "subid", + "api-version": "2019-04-01", + "resourceGroupName": "rg1", + "type": "Microsoft.Network/expressRouteCircuits", + "circuitName": "expressRouteCircuit1", "parameters": { - "subscriptionId": "subid", - "api-version": "2019-04-01", - "resourceGroupName": "rg1", + "location": "westus", + "sku": { + "name": "Premium_MeteredData", + "tier": "Premium", + "family": "MeteredData" + }, + "properties": { + "expressRoutePort": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName" + }, + "bandwidthInGbps": 10 + } + } + }, + "responses": { + "200": { + "body": { + "name": "expressRouteCircuit1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/expressRouteCircuit1", "type": "Microsoft.Network/expressRouteCircuits", - "circuitName": "expressRouteCircuit1", - "parameters": { - "location": "westus", - "sku": { - "name": "Premium_MeteredData", - "tier": "Premium", - "family": "MeteredData" - }, - "properties": { - "expressRoutePort": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName" - }, - "bandwidthInGbps":10 - } + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "peerings": [], + "authorizations": [], + "expressRoutePort": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName" + }, + "bandwidthInGbps": 10, + "circuitProvisioningState": "Enabled", + "allowClassicOperations": false, + "gatewayManagerEtag": "20", + "serviceKey": "d281f746-ee01-4d00-8b0a-edec4833772b", + "serviceProviderProvisioningState": "Provisioned" + }, + "sku": { + "name": "Premium_MeteredData", + "tier": "Premium", + "family": "MeteredData" } + } }, - "responses": { - "200": { - "body": { - "name": "expressRouteCircuit1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/expressRouteCircuit1", - "type": "Microsoft.Network/expressRouteCircuits", - "location": "westus", - "properties": { - "provisioningState": "Succeeded", - "peerings": [], - "authorizations": [], - "expressRoutePort": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName" - }, - "bandwidthInGbps":10, - "circuitProvisioningState": "Enabled", - "allowClassicOperations": false, - "gatewayManagerEtag": "20", - "serviceKey": "d281f746-ee01-4d00-8b0a-edec4833772b", - "serviceProviderProvisioningState": "Provisioned" - }, - "sku": { - "name": "Premium_MeteredData", - "tier": "Premium", - "family": "MeteredData" - } - } + "201": { + "body": { + "name": "expressRouteCircuit1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/expressRouteCircuit1", + "type": "Microsoft.Network/expressRouteCircuits", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "peerings": [], + "authorizations": [], + "expressRoutePort": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName" + }, + "bandwidthInGbps": 10, + "circuitProvisioningState": "Enabled", + "allowClassicOperations": false, + "gatewayManagerEtag": "20", + "serviceKey": "d281f746-ee01-4d00-8b0a-edec4833772b", + "serviceProviderProvisioningState": "Provisioned" }, - "201": { - "body": { - "name": "expressRouteCircuit1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/expressRouteCircuit1", - "type": "Microsoft.Network/expressRouteCircuits", - "location": "westus", - "properties": { - "provisioningState": "Succeeded", - "peerings": [], - "authorizations": [], - "expressRoutePort": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName" - }, - "bandwidthInGbps":10, - "circuitProvisioningState": "Enabled", - "allowClassicOperations": false, - "gatewayManagerEtag": "20", - "serviceKey": "d281f746-ee01-4d00-8b0a-edec4833772b", - "serviceProviderProvisioningState": "Provisioned" - }, - "sku": { - "name": "Premium_MeteredData", - "tier": "Premium", - "family": "MeteredData" - } - } + "sku": { + "name": "Premium_MeteredData", + "tier": "Premium", + "family": "MeteredData" } + } } + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitDelete.json index 0013b75b86e0..cd1689174872 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitDelete.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitDelete.json @@ -1,13 +1,13 @@ { - "parameters": { - "circuitName": "circuitName", - "resourceGroupName": "rg1", - "api-version": "2019-04-01", - "subscriptionId": "subid" - }, - "responses": { - "200": {}, - "202": {}, - "204": {} - } + "parameters": { + "circuitName": "circuitName", + "resourceGroupName": "rg1", + "api-version": "2019-04-01", + "subscriptionId": "subid" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitGet.json index 86952da08e83..6dea7a1faa2c 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitGet.json @@ -1,38 +1,38 @@ { - "parameters": { - "circuitName": "circuitName", - "resourceGroupName": "rg1", - "api-version": "2019-04-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "name": "circuitName", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "type": "Microsoft.Network/expressRouteCircuits", - "location": "westus", - "properties": { - "provisioningState": "Succeeded", - "peerings": [], - "authorizations": [], - "serviceProviderProperties": { - "serviceProviderName": "providerName", - "peeringLocation": "peeringLocation", - "bandwidthInMbps": 200 - }, - "circuitProvisioningState": "Enabled", - "allowClassicOperations": false, - "serviceKey": "a1410692-0000-4ceb-b94a-b90b94d398d1", - "serviceProviderProvisioningState": "NotProvisioned" - }, - "sku": { - "name": "Standard_MeteredData", - "tier": "Standard", - "family": "MeteredData" - } - } + "parameters": { + "circuitName": "circuitName", + "resourceGroupName": "rg1", + "api-version": "2019-04-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "name": "circuitName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "type": "Microsoft.Network/expressRouteCircuits", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "peerings": [], + "authorizations": [], + "serviceProviderProperties": { + "serviceProviderName": "providerName", + "peeringLocation": "peeringLocation", + "bandwidthInMbps": 200 + }, + "circuitProvisioningState": "Enabled", + "allowClassicOperations": false, + "serviceKey": "a1410692-0000-4ceb-b94a-b90b94d398d1", + "serviceProviderProvisioningState": "NotProvisioned" + }, + "sku": { + "name": "Standard_MeteredData", + "tier": "Standard", + "family": "MeteredData" + } } - } + } + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitListByResourceGroup.json index ad2211a09b6a..2c3adaeee700 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitListByResourceGroup.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitListByResourceGroup.json @@ -1,91 +1,91 @@ { - "parameters": { - "resourceGroupName": "rg1", - "api-version": "2019-04-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "value": [ - { - "name": "circuitName1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName1", - "etag": "W/\"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3\"", - "type": "Microsoft.Network/expressRouteCircuits", - "location": "westus", - "properties": { + "parameters": { + "resourceGroupName": "rg1", + "api-version": "2019-04-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "value": [ + { + "name": "circuitName1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName1", + "etag": "W/\"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3\"", + "type": "Microsoft.Network/expressRouteCircuits", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "262effd3-248d-4754-9068-0a89260dd918", + "peerings": [], + "authorizations": [ + { + "name": "MyAuthorization1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1", + "etag": "W/\"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3\"", + "properties": { "provisioningState": "Succeeded", - "resourceGuid": "262effd3-248d-4754-9068-0a89260dd918", - "peerings": [], - "authorizations": [ - { - "name": "MyAuthorization1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1", - "etag": "W/\"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3\"", - "properties": { - "provisioningState": "Succeeded", - "authorizationKey": "authkey", - "authorizationUseStatus": "Available" - } - } - ], - "serviceProviderProperties": { - "serviceProviderName": "providerName", - "peeringLocation": "peeringLocation", - "bandwidthInMbps": 200 - }, - "circuitProvisioningState": "Enabled", - "allowClassicOperations": false, - "gatewayManagerEtag": "113", - "serviceKey": "a1410692-ed3b-4ceb-b94a-b90b95d398d1", - "serviceProviderProvisioningState": "Provisioned" - }, - "sku": { - "name": "Standard_MeteredData", - "tier": "Standard", - "family": "MeteredData" - } + "authorizationKey": "authkey", + "authorizationUseStatus": "Available" + } + } + ], + "serviceProviderProperties": { + "serviceProviderName": "providerName", + "peeringLocation": "peeringLocation", + "bandwidthInMbps": 200 }, - { - "name": "circuitName2", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2", - "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", - "type": "Microsoft.Network/expressRouteCircuits", - "location": "westus", - "properties": { + "circuitProvisioningState": "Enabled", + "allowClassicOperations": false, + "gatewayManagerEtag": "113", + "serviceKey": "a1410692-ed3b-4ceb-b94a-b90b95d398d1", + "serviceProviderProvisioningState": "Provisioned" + }, + "sku": { + "name": "Standard_MeteredData", + "tier": "Standard", + "family": "MeteredData" + } + }, + { + "name": "circuitName2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2", + "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", + "type": "Microsoft.Network/expressRouteCircuits", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "47853fd2-9261-4670-b7c3-2debcf9b88da", + "peerings": [], + "authorizations": [ + { + "name": "MyAuthorization2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2/authorizations/MyAuthorization2", + "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", + "properties": { "provisioningState": "Succeeded", - "resourceGuid": "47853fd2-9261-4670-b7c3-2debcf9b88da", - "peerings": [], - "authorizations": [ - { - "name": "MyAuthorization2", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2/authorizations/MyAuthorization2", - "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", - "properties": { - "provisioningState": "Succeeded", - "authorizationKey": "authkey", - "authorizationUseStatus": "Available" - } - } - ], - "serviceProviderProperties": { - "serviceProviderName": "providerName", - "peeringLocation": "peeringLocation", - "bandwidthInMbps": 200 - }, - "circuitProvisioningState": "Enabled", - "allowClassicOperations": false, - "gatewayManagerEtag": "", - "serviceKey": "6569625a-9ba4-498b-9719-14d778eef609", - "serviceProviderProvisioningState": "NotProvisioned" - }, - "sku": { - "name": "Standard_MeteredData", - "tier": "Standard", - "family": "MeteredData" - } - } - ] - } - } + "authorizationKey": "authkey", + "authorizationUseStatus": "Available" + } + } + ], + "serviceProviderProperties": { + "serviceProviderName": "providerName", + "peeringLocation": "peeringLocation", + "bandwidthInMbps": 200 + }, + "circuitProvisioningState": "Enabled", + "allowClassicOperations": false, + "gatewayManagerEtag": "", + "serviceKey": "6569625a-9ba4-498b-9719-14d778eef609", + "serviceProviderProvisioningState": "NotProvisioned" + }, + "sku": { + "name": "Standard_MeteredData", + "tier": "Standard", + "family": "MeteredData" + } + } + ] + } + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitListBySubscription.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitListBySubscription.json index 5545007bd358..ba37e31050be 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitListBySubscription.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitListBySubscription.json @@ -1,90 +1,90 @@ { - "parameters": { - "api-version": "2019-04-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "value": [ - { - "name": "circuitName1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName1", - "etag": "W/\"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3\"", - "type": "Microsoft.Network/expressRouteCircuits", - "location": "westus", - "properties": { + "parameters": { + "api-version": "2019-04-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "value": [ + { + "name": "circuitName1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName1", + "etag": "W/\"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3\"", + "type": "Microsoft.Network/expressRouteCircuits", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "262effd3-248d-4754-9068-0a89260dd918", + "peerings": [], + "authorizations": [ + { + "name": "MyAuthorization1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1", + "etag": "W/\"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3\"", + "properties": { "provisioningState": "Succeeded", - "resourceGuid": "262effd3-248d-4754-9068-0a89260dd918", - "peerings": [], - "authorizations": [ - { - "name": "MyAuthorization1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1", - "etag": "W/\"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3\"", - "properties": { - "provisioningState": "Succeeded", - "authorizationKey": "authkey", - "authorizationUseStatus": "Available" - } - } - ], - "serviceProviderProperties": { - "serviceProviderName": "providerName", - "peeringLocation": "peeringLocation", - "bandwidthInMbps": 200 - }, - "circuitProvisioningState": "Enabled", - "allowClassicOperations": false, - "gatewayManagerEtag": "113", - "serviceKey": "a1410692-ed3b-4ceb-b94a-b90b95d398d1", - "serviceProviderProvisioningState": "Provisioned" - }, - "sku": { - "name": "Standard_MeteredData", - "tier": "Standard", - "family": "MeteredData" - } + "authorizationKey": "authkey", + "authorizationUseStatus": "Available" + } + } + ], + "serviceProviderProperties": { + "serviceProviderName": "providerName", + "peeringLocation": "peeringLocation", + "bandwidthInMbps": 200 }, - { - "name": "circuitName2", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2", - "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", - "type": "Microsoft.Network/expressRouteCircuits", - "location": "westus", - "properties": { + "circuitProvisioningState": "Enabled", + "allowClassicOperations": false, + "gatewayManagerEtag": "113", + "serviceKey": "a1410692-ed3b-4ceb-b94a-b90b95d398d1", + "serviceProviderProvisioningState": "Provisioned" + }, + "sku": { + "name": "Standard_MeteredData", + "tier": "Standard", + "family": "MeteredData" + } + }, + { + "name": "circuitName2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2", + "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", + "type": "Microsoft.Network/expressRouteCircuits", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "47853fd2-9261-4670-b7c3-2debcf9b88da", + "peerings": [], + "authorizations": [ + { + "name": "MyAuthorization2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2/authorizations/MyAuthorization2", + "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", + "properties": { "provisioningState": "Succeeded", - "resourceGuid": "47853fd2-9261-4670-b7c3-2debcf9b88da", - "peerings": [], - "authorizations": [ - { - "name": "MyAuthorization2", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2/authorizations/MyAuthorization2", - "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", - "properties": { - "provisioningState": "Succeeded", - "authorizationKey": "authkey", - "authorizationUseStatus": "Available" - } - } - ], - "serviceProviderProperties": { - "serviceProviderName": "providerName", - "peeringLocation": "peeringLocation", - "bandwidthInMbps": 200 - }, - "circuitProvisioningState": "Enabled", - "allowClassicOperations": false, - "gatewayManagerEtag": "", - "serviceKey": "6569625a-9ba4-498b-9719-14d778eef609", - "serviceProviderProvisioningState": "NotProvisioned" - }, - "sku": { - "name": "Standard_MeteredData", - "tier": "Standard", - "family": "MeteredData" - } - } - ] - } - } + "authorizationKey": "authkey", + "authorizationUseStatus": "Available" + } + } + ], + "serviceProviderProperties": { + "serviceProviderName": "providerName", + "peeringLocation": "peeringLocation", + "bandwidthInMbps": 200 + }, + "circuitProvisioningState": "Enabled", + "allowClassicOperations": false, + "gatewayManagerEtag": "", + "serviceKey": "6569625a-9ba4-498b-9719-14d778eef609", + "serviceProviderProvisioningState": "NotProvisioned" + }, + "sku": { + "name": "Standard_MeteredData", + "tier": "Standard", + "family": "MeteredData" + } + } + ] + } + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitPeeringDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitPeeringDelete.json index f07c5b100afe..1fa19befd8fd 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitPeeringDelete.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitPeeringDelete.json @@ -1,14 +1,14 @@ { - "parameters": { - "circuitName": "circuitName", - "resourceGroupName": "rg1", - "api-version": "2019-04-01", - "subscriptionId": "subid", - "peeringName": "peeringName" - }, - "responses": { - "200": {}, - "202": {}, - "204": {} - } + "parameters": { + "circuitName": "circuitName", + "resourceGroupName": "rg1", + "api-version": "2019-04-01", + "subscriptionId": "subid", + "peeringName": "peeringName" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitPeeringGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitPeeringGet.json index 93b92d3a612e..e45f22b4799e 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitPeeringGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitPeeringGet.json @@ -1,59 +1,59 @@ { - "parameters": { - "circuitName": "circuitName", - "resourceGroupName": "rg1", - "api-version": "2019-04-01", - "subscriptionId": "subid", - "peeringName": "MicrosoftPeering" - }, - "responses": { - "200": { - "name": "MicrosoftPeering", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/MicrosoftPeering", - "etag": "W/\"b2a25b98-2e6d-4d46-87f2-089de5f6fdf9\"", - "properties": { - "provisioningState": "Succeeded", - "peeringType": "MicrosoftPeering", - "azureASN": 12076, - "peerASN": 100, - "primaryPeerAddressPrefix": "123.0.0.0/30", - "secondaryPeerAddressPrefix": "123.0.0.4/30", - "primaryAzurePort": "A51-TEST-06GMR-CIS-1-PRI-A", - "secondaryAzurePort": "A51-TEST-06GMR-CIS-2-SEC-A", - "state": "Enabled", - "vlanId": 300, - "gatewayManagerEtag": "103", - "lastModifiedBy": "Customer", - "microsoftPeeringConfig": { - "advertisedPublicPrefixes": [ - "123.1.0.0/24" - ], - "advertisedCommunities": [], - "advertisedPublicPrefixesState": "ValidationNeeded", - "customerASN": 23, - "legacyMode": 0, - "routingRegistryName": "ARIN" - }, - "ipv6PeeringConfig": { - "primaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::/126", - "secondaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::4/126", - "state": "Enabled", - "microsoftPeeringConfig": { - "advertisedPublicPrefixes": [ - "3FFE:FFFF:0:CD31::/120" - ], - "advertisedCommunities": [], - "advertisedPublicPrefixesState": "ValidationNeeded", - "customerASN": 23, - "legacyMode": 0, - "routingRegistryName": "ARIN" - } - }, - "routeFilter": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName" - } - }, - "type": "Microsoft.Network/expressRouteCircuits/peerings" + "parameters": { + "circuitName": "circuitName", + "resourceGroupName": "rg1", + "api-version": "2019-04-01", + "subscriptionId": "subid", + "peeringName": "MicrosoftPeering" + }, + "responses": { + "200": { + "name": "MicrosoftPeering", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/MicrosoftPeering", + "etag": "W/\"b2a25b98-2e6d-4d46-87f2-089de5f6fdf9\"", + "properties": { + "provisioningState": "Succeeded", + "peeringType": "MicrosoftPeering", + "azureASN": 12076, + "peerASN": 100, + "primaryPeerAddressPrefix": "123.0.0.0/30", + "secondaryPeerAddressPrefix": "123.0.0.4/30", + "primaryAzurePort": "A51-TEST-06GMR-CIS-1-PRI-A", + "secondaryAzurePort": "A51-TEST-06GMR-CIS-2-SEC-A", + "state": "Enabled", + "vlanId": 300, + "gatewayManagerEtag": "103", + "lastModifiedBy": "Customer", + "microsoftPeeringConfig": { + "advertisedPublicPrefixes": [ + "123.1.0.0/24" + ], + "advertisedCommunities": [], + "advertisedPublicPrefixesState": "ValidationNeeded", + "customerASN": 23, + "legacyMode": 0, + "routingRegistryName": "ARIN" + }, + "ipv6PeeringConfig": { + "primaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::/126", + "secondaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::4/126", + "state": "Enabled", + "microsoftPeeringConfig": { + "advertisedPublicPrefixes": [ + "3FFE:FFFF:0:CD31::/120" + ], + "advertisedCommunities": [], + "advertisedPublicPrefixesState": "ValidationNeeded", + "customerASN": 23, + "legacyMode": 0, + "routingRegistryName": "ARIN" + } + }, + "routeFilter": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName" } + }, + "type": "Microsoft.Network/expressRouteCircuits/peerings" } + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitPeeringList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitPeeringList.json index 1df843ca2fff..153e9069be3b 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitPeeringList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitPeeringList.json @@ -1,86 +1,86 @@ { - "parameters": { - "circuitName": "circuitName", - "resourceGroupName": "rg1", - "api-version": "2019-04-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "value": [ - { - "name": "MicrosoftPeering", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/MicrosoftPeering", - "etag": "W/\"b2a25b98-2e6d-4d46-87f2-089de5f6fdf9\"", - "properties": { - "provisioningState": "Succeeded", - "peeringType": "MicrosoftPeering", - "azureASN": 12076, - "peerASN": 100, - "primaryPeerAddressPrefix": "123.0.0.0/30", - "secondaryPeerAddressPrefix": "123.0.0.4/30", - "primaryAzurePort": "A51-TEST-06GMR-CIS-1-PRI-A", - "secondaryAzurePort": "A51-TEST-06GMR-CIS-2-SEC-A", - "state": "Enabled", - "vlanId": 300, - "gatewayManagerEtag": "103", - "lastModifiedBy": "Customer", - "microsoftPeeringConfig": { - "advertisedPublicPrefixes": [ - "123.1.0.0/24" - ], - "advertisedCommunities": [], - "advertisedPublicPrefixesState": "ValidationNeeded", - "customerASN": 23, - "legacyMode": 0, - "routingRegistryName": "ARIN" - }, - "ipv6PeeringConfig": { - "primaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::/126", - "secondaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::4/126", - "state": "Enabled", - "microsoftPeeringConfig": { - "advertisedPublicPrefixes": [ - "3FFE:FFFF:0:CD31::/120" - ], - "advertisedCommunities": [], - "advertisedPublicPrefixesState": "ValidationNeeded", - "customerASN": 23, - "legacyMode": 0, - "routingRegistryName": "ARIN" - } - }, - "expressRouteConnection": "" - } + "parameters": { + "circuitName": "circuitName", + "resourceGroupName": "rg1", + "api-version": "2019-04-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "value": [ + { + "name": "MicrosoftPeering", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/MicrosoftPeering", + "etag": "W/\"b2a25b98-2e6d-4d46-87f2-089de5f6fdf9\"", + "properties": { + "provisioningState": "Succeeded", + "peeringType": "MicrosoftPeering", + "azureASN": 12076, + "peerASN": 100, + "primaryPeerAddressPrefix": "123.0.0.0/30", + "secondaryPeerAddressPrefix": "123.0.0.4/30", + "primaryAzurePort": "A51-TEST-06GMR-CIS-1-PRI-A", + "secondaryAzurePort": "A51-TEST-06GMR-CIS-2-SEC-A", + "state": "Enabled", + "vlanId": 300, + "gatewayManagerEtag": "103", + "lastModifiedBy": "Customer", + "microsoftPeeringConfig": { + "advertisedPublicPrefixes": [ + "123.1.0.0/24" + ], + "advertisedCommunities": [], + "advertisedPublicPrefixesState": "ValidationNeeded", + "customerASN": 23, + "legacyMode": 0, + "routingRegistryName": "ARIN" }, - { - "name": "AzurePrivatePeering", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering", - "etag": "W/\"b2a25b98-2e6d-4d46-87f2-089de5f6fdf9\"", - "properties": { - "provisioningState": "Succeeded", - "peeringType": "AzurePrivatePeering", - "azureASN": 12076, - "peerASN": 100, - "primaryPeerAddressPrefix": "10.0.0.0/30", - "secondaryPeerAddressPrefix": "10.0.0.4/30", - "primaryAzurePort": "A51-TEST-06GMR-CIS-1-PRI-A", - "secondaryAzurePort": "A51-TEST-06GMR-CIS-2-SEC-A", - "state": "Enabled", - "vlanId": 200, - "gatewayManagerEtag": "103", - "lastModifiedBy": "Customer", - "ipv6PeeringConfig": { - "primaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::/126", - "secondaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::4/126", - "state": "Enabled" - }, - "expressRouteConnection": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName" - } - } + "ipv6PeeringConfig": { + "primaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::/126", + "secondaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::4/126", + "state": "Enabled", + "microsoftPeeringConfig": { + "advertisedPublicPrefixes": [ + "3FFE:FFFF:0:CD31::/120" + ], + "advertisedCommunities": [], + "advertisedPublicPrefixesState": "ValidationNeeded", + "customerASN": 23, + "legacyMode": 0, + "routingRegistryName": "ARIN" + } + }, + "expressRouteConnection": "" + } + }, + { + "name": "AzurePrivatePeering", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering", + "etag": "W/\"b2a25b98-2e6d-4d46-87f2-089de5f6fdf9\"", + "properties": { + "provisioningState": "Succeeded", + "peeringType": "AzurePrivatePeering", + "azureASN": 12076, + "peerASN": 100, + "primaryPeerAddressPrefix": "10.0.0.0/30", + "secondaryPeerAddressPrefix": "10.0.0.4/30", + "primaryAzurePort": "A51-TEST-06GMR-CIS-1-PRI-A", + "secondaryAzurePort": "A51-TEST-06GMR-CIS-2-SEC-A", + "state": "Enabled", + "vlanId": 200, + "gatewayManagerEtag": "103", + "lastModifiedBy": "Customer", + "ipv6PeeringConfig": { + "primaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::/126", + "secondaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::4/126", + "state": "Enabled" + }, + "expressRouteConnection": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName" } - ] - } - } + } + } + ] + } + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitPeeringStats.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitPeeringStats.json index b21ce776ece0..d542125582a7 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitPeeringStats.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitPeeringStats.json @@ -1,17 +1,17 @@ { - "parameters": { - "circuitName": "circuitName", - "resourceGroupName": "rg1", - "api-version": "2019-04-01", - "subscriptionId": "subid", - "peeringName": "peeringName" - }, - "responses": { - "200": { - "primaryBytesIn": 537408, - "primaryBytesOut": 44032550, - "secondaryBytesIn": 0, - "secondaryBytesOut": 39002500 - } - } + "parameters": { + "circuitName": "circuitName", + "resourceGroupName": "rg1", + "api-version": "2019-04-01", + "subscriptionId": "subid", + "peeringName": "peeringName" + }, + "responses": { + "200": { + "primaryBytesIn": 537408, + "primaryBytesOut": 44032550, + "secondaryBytesIn": 0, + "secondaryBytesOut": 39002500 + } + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitRouteTableList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitRouteTableList.json index a9161407d9ce..05536fd8b56d 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitRouteTableList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitRouteTableList.json @@ -1,34 +1,34 @@ { - "parameters": { - "circuitName": "circuitName", - "resourceGroupName": "rg1", - "api-version": "2019-04-01", - "subscriptionId": "subid", - "peeringName": "peeringName", - "devicePath": "devicePath" - }, - "responses": { - "200": { - "value": [ - { - "network": "", - "nextHop": "", - "locPrf": "", - "weight": 0, - "path": "" - } - ] - }, - "202": { - "value": [ - { - "network": "", - "nextHop": "", - "locPrf": "", - "weight": 0, - "path": "" - } - ] - } - } + "parameters": { + "circuitName": "circuitName", + "resourceGroupName": "rg1", + "api-version": "2019-04-01", + "subscriptionId": "subid", + "peeringName": "peeringName", + "devicePath": "devicePath" + }, + "responses": { + "200": { + "value": [ + { + "network": "", + "nextHop": "", + "locPrf": "", + "weight": 0, + "path": "" + } + ] + }, + "202": { + "value": [ + { + "network": "", + "nextHop": "", + "locPrf": "", + "weight": 0, + "path": "" + } + ] + } + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitRouteTableSummaryList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitRouteTableSummaryList.json index 84462442587b..80b8c5be877c 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitRouteTableSummaryList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitRouteTableSummaryList.json @@ -1,34 +1,34 @@ { - "parameters": { - "circuitName": "circuitName", - "resourceGroupName": "rg1", - "api-version": "2019-04-01", - "subscriptionId": "subid", - "peeringName": "peeringName", - "devicePath": "devicePath" - }, - "responses": { - "200": { - "value": [ - { - "neighbor": "100.65.171.1", - "v": 4, - "as": 9583, - "upDown": "never", - "statePfxRcd": "Idle" - } - ] - }, - "202": { - "value": [ - { - "neighbor": "100.65.171.1", - "v": 4, - "as": 9583, - "upDown": "never", - "statePfxRcd": "Idle" - } - ] - } - } + "parameters": { + "circuitName": "circuitName", + "resourceGroupName": "rg1", + "api-version": "2019-04-01", + "subscriptionId": "subid", + "peeringName": "peeringName", + "devicePath": "devicePath" + }, + "responses": { + "200": { + "value": [ + { + "neighbor": "100.65.171.1", + "v": 4, + "as": 9583, + "upDown": "never", + "statePfxRcd": "Idle" + } + ] + }, + "202": { + "value": [ + { + "neighbor": "100.65.171.1", + "v": 4, + "as": 9583, + "upDown": "never", + "statePfxRcd": "Idle" + } + ] + } + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitStats.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitStats.json index 44b44bdc7241..8d85afba1c00 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitStats.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitStats.json @@ -1,16 +1,16 @@ { - "parameters": { - "circuitName": "circuitName", - "resourceGroupName": "rg1", - "api-version": "2019-04-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "primaryBytesIn": 537408, - "primaryBytesOut": 44032550, - "secondaryBytesIn": 0, - "secondaryBytesOut": 39002500 - } - } + "parameters": { + "circuitName": "circuitName", + "resourceGroupName": "rg1", + "api-version": "2019-04-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "primaryBytesIn": 537408, + "primaryBytesOut": 44032550, + "secondaryBytesIn": 0, + "secondaryBytesOut": 39002500 + } + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitUpdateTags.json index 7e5ee4d7ceb2..b306cc738441 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitUpdateTags.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitUpdateTags.json @@ -1,9 +1,9 @@ { - "parameters" : { + "parameters": { "api-version": "2019-04-01", - "subscriptionId" : "subid", - "resourceGroupName" : "ertest", - "circuitName" : "er1", + "subscriptionId": "subid", + "resourceGroupName": "ertest", + "circuitName": "er1", "parameters": { "tags": { "tag1": "value1", @@ -11,9 +11,9 @@ } } }, - "responses" : { - "200" : { - "body" : { + "responses": { + "200": { + "body": { "name": "er1", "id": "/subscriptions/subid/resourceGroups/ertest/providers/Microsoft.Network/expressRouteCircuits/er1", "type": "Microsoft.Network/expressRouteCircuits", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteConnectionCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteConnectionCreate.json index 8d98bcc385b7..13ebafaba763 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteConnectionCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteConnectionCreate.json @@ -1,50 +1,50 @@ { - "parameters": { - "expressRouteGatewayName": "expressRouteGatewayName", - "resourceGroupName": "resourceGroupName", - "api-version": "2019-04-01", - "subscriptionId": "subid", - "connectionName": "connectionName", - "putExpressRouteConnectionParameters": { - "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName", - "name": "connectionName", - "properties": { - "routingWeight": 2, - "authorizationKey": "authorizationKey", - "expressRouteCircuitPeering": { - "id": "/subscriptions/subid2/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering" - } - } + "parameters": { + "expressRouteGatewayName": "expressRouteGatewayName", + "resourceGroupName": "resourceGroupName", + "api-version": "2019-04-01", + "subscriptionId": "subid", + "connectionName": "connectionName", + "putExpressRouteConnectionParameters": { + "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName", + "name": "connectionName", + "properties": { + "routingWeight": 2, + "authorizationKey": "authorizationKey", + "expressRouteCircuitPeering": { + "id": "/subscriptions/subid2/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering" } + } + } + }, + "responses": { + "200": { + "body": { + "name": "connectionName", + "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName", + "properties": { + "provisioningState": "Provisioned", + "expressRouteCircuitPeering": { + "id": "/subscriptions/subid2/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering" + }, + "authorizationKey": "authorizationKey", + "routingWeight": 2 + } + } }, - "responses": { - "200": { - "body": { - "name": "connectionName", - "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName", - "properties": { - "provisioningState": "Provisioned", - "expressRouteCircuitPeering": { - "id": "/subscriptions/subid2/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering" - }, - "authorizationKey": "authorizationKey", - "routingWeight": 2 - } - } - }, - "201": { - "body": { - "name": "connectionName", - "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName", - "properties": { - "provisioningState": "Provisioned", - "expressRouteCircuitPeering": { - "id": "/subscriptions/subid2/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering" - }, - "authorizationKey": "authorizationKey", - "routingWeight": 2 - } - } + "201": { + "body": { + "name": "connectionName", + "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName", + "properties": { + "provisioningState": "Provisioned", + "expressRouteCircuitPeering": { + "id": "/subscriptions/subid2/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering" + }, + "authorizationKey": "authorizationKey", + "routingWeight": 2 } + } } -} \ No newline at end of file + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteConnectionDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteConnectionDelete.json index 9e2a3b54b504..8909628d1649 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteConnectionDelete.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteConnectionDelete.json @@ -1,14 +1,14 @@ { - "parameters": { - "expressRouteGatewayName": "expressRouteGatewayName", - "resourceGroupName": "resourceGroupName", - "connectionName": "connectionName", - "api-version": "2019-04-01", - "subscriptionId": "subid" - }, - "responses": { - "202": {}, - "200": {}, - "204": {} - } - } \ No newline at end of file + "parameters": { + "expressRouteGatewayName": "expressRouteGatewayName", + "resourceGroupName": "resourceGroupName", + "connectionName": "connectionName", + "api-version": "2019-04-01", + "subscriptionId": "subid" + }, + "responses": { + "202": {}, + "200": {}, + "204": {} + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteConnectionGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteConnectionGet.json index 21bd559e985b..f4cd969943db 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteConnectionGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteConnectionGet.json @@ -22,4 +22,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteConnectionList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteConnectionList.json index 45978ad86015..fc70dd70291e 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteConnectionList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteConnectionList.json @@ -25,4 +25,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCrossConnectionBgpPeeringDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCrossConnectionBgpPeeringDelete.json index 558336557039..a8d6cad63429 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCrossConnectionBgpPeeringDelete.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCrossConnectionBgpPeeringDelete.json @@ -7,11 +7,8 @@ "subscriptionId": "subid" }, "responses": { - "200": { - }, - "202": { - }, - "204": { - } + "200": {}, + "202": {}, + "204": {} } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCrossConnectionBgpPeeringList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCrossConnectionBgpPeeringList.json index aa7e552309ed..96af677cb30d 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCrossConnectionBgpPeeringList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCrossConnectionBgpPeeringList.json @@ -10,7 +10,7 @@ "body": { "value": [ { - "name": "AzurePrivatePeering", + "name": "AzurePrivatePeering", "id": "/subscriptions/subid/resourceGroups/CrossConnection-SiliconValley/providers/Microsoft.Network/expressRouteCrossConnections//peerings/AzurePrivatePeering", "etag": "W/\"72090554-7e3b-43f2-80ad-99a9020dcb11\"", "properties": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCrossConnectionGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCrossConnectionGet.json index 52eb81538cc4..1d2ba4cec23a 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCrossConnectionGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCrossConnectionGet.json @@ -1,18 +1,18 @@ { - "parameters" : { + "parameters": { "api-version": "2019-04-01", - "subscriptionId" : "subid", - "resourceGroupName" : "CrossConnection-SiliconValley", - "crossConnectionName" : "" + "subscriptionId": "subid", + "resourceGroupName": "CrossConnection-SiliconValley", + "crossConnectionName": "" }, - "responses" : { - "200" : { - "body" : { + "responses": { + "200": { + "body": { "name": "", "id": "/subscriptions/subid/resourceGroups/CrossConnection-SiliconValley/providers/Microsoft.Network/expressRouteCrossConnections/", "type": "Microsoft.Network/expressRouteCrossConnections", "location": "brazilsouth", - "etag": "W/\"c0e6477e-8150-4d4f-9bf6-bb10e6acb63a\"", + "etag": "W/\"c0e6477e-8150-4d4f-9bf6-bb10e6acb63a\"", "properties": { "provisioningState": "Enabled", "expressRouteCircuit": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCrossConnectionUpdate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCrossConnectionUpdate.json index 26158b06a882..a2892a448797 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCrossConnectionUpdate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCrossConnectionUpdate.json @@ -1,18 +1,18 @@ { - "parameters" : { + "parameters": { "api-version": "2019-04-01", - "subscriptionId" : "subid", - "resourceGroupName" : "CrossConnection-SiliconValley", - "crossConnectionName" : "", + "subscriptionId": "subid", + "resourceGroupName": "CrossConnection-SiliconValley", + "crossConnectionName": "", "parameters": { "properties": { "serviceProviderProvisioningState": "NotProvisioned" } } }, - "responses" : { - "200" : { - "body" : { + "responses": { + "200": { + "body": { "name": "", "id": "/subscriptions/subid/resourceGroups/CrossConnectionSiliconValley/providers/Microsoft.Network/expressRouteCrossConnections/", "type": "Microsoft.Network/expressRouteCrossConnections", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCrossConnectionUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCrossConnectionUpdateTags.json index 11cea3180626..e160c188a8f4 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCrossConnectionUpdateTags.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCrossConnectionUpdateTags.json @@ -1,9 +1,9 @@ { - "parameters" : { + "parameters": { "api-version": "2019-04-01", - "subscriptionId" : "subid", - "resourceGroupName" : "CrossConnection-SiliconValley", - "crossConnectionName" : "", + "subscriptionId": "subid", + "resourceGroupName": "CrossConnection-SiliconValley", + "crossConnectionName": "", "crossConnectionParameters": { "tags": { "tag1": "value1", @@ -11,9 +11,9 @@ } } }, - "responses" : { - "200" : { - "body" : { + "responses": { + "200": { + "body": { "name": "er1", "id": "/subscriptions/subid/resourceGroups/CrossConnectionSiliconValley/providers/Microsoft.Network/expressRouteCrossConnections/", "type": "Microsoft.Network/expressRouteCrossConnections", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCrossConnectionsArpTable.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCrossConnectionsArpTable.json index 12e1eed65ae6..87ce5c784cec 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCrossConnectionsArpTable.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCrossConnectionsArpTable.json @@ -13,14 +13,13 @@ "value": [ { "age": 0, - "interface": "Microsoft" , + "interface": "Microsoft", "ipAddress": "192.116.14.254", "macAddress": "885a.9269.9110" } ] } }, - "202": { - } + "202": {} } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCrossConnectionsRouteTable.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCrossConnectionsRouteTable.json index 50007f27c189..b310019c3be1 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCrossConnectionsRouteTable.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCrossConnectionsRouteTable.json @@ -13,14 +13,14 @@ "value": [ { "network": "10.6.0.0/16", - "nextHop": "10.6.1.12" , + "nextHop": "10.6.1.12", "locPrf": "", "weight": 0, "path": "65514" }, { "network": "10.7.0.0/16", - "nextHop": "10.7.1.13" , + "nextHop": "10.7.1.13", "locPrf": "", "weight": 0, "path": "65514" @@ -28,7 +28,6 @@ ] } }, - "202": { - } + "202": {} } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCrossConnectionsRouteTableSummary.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCrossConnectionsRouteTableSummary.json index 6d9a55f4fc8e..79ceb0397f2a 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCrossConnectionsRouteTableSummary.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCrossConnectionsRouteTableSummary.json @@ -26,7 +26,6 @@ ] } }, - "202": { - } + "202": {} } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteGatewayCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteGatewayCreate.json index 4ef48cdeecc5..dafac5459191 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteGatewayCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteGatewayCreate.json @@ -1,65 +1,65 @@ { - "parameters": { - "expressRouteGatewayName": "gateway-2", - "subscriptionId": "subid", - "resourceGroupName": "resourceGroupName", - "api-version": "2019-04-01", - "putExpressRouteGatewayParameters": { - "name": "gateway-2", - "type": "Microsoft.Network/expressRouteGateways", - "location": "westus", - "properties": { - "virtualHub": { - "id": "/subscriptions/subid/resourceGroups/resourceGroupId/providers/Microsoft.Network/virtualHubs/virtualHubName" - }, - "autoScaleConfiguration": { - "bounds": { - "min": 3 - } - } + "parameters": { + "expressRouteGatewayName": "gateway-2", + "subscriptionId": "subid", + "resourceGroupName": "resourceGroupName", + "api-version": "2019-04-01", + "putExpressRouteGatewayParameters": { + "name": "gateway-2", + "type": "Microsoft.Network/expressRouteGateways", + "location": "westus", + "properties": { + "virtualHub": { + "id": "/subscriptions/subid/resourceGroups/resourceGroupId/providers/Microsoft.Network/virtualHubs/virtualHubName" + }, + "autoScaleConfiguration": { + "bounds": { + "min": 3 + } + } + } + } + }, + "responses": { + "201": { + "body": { + "name": "gateway-2", + "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/gateway-2", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "westus", + "type": "Microsoft.Network/expressRouteGateways", + "properties": { + "provisioningState": "Succeeded", + "virtualHub": { + "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/virtualHubName" + }, + "autoScaleConfiguration": { + "bounds": { + "min": 3 } + } } + } }, - "responses": { - "201": { - "body": { - "name": "gateway-2", - "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/gateway-2", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "location": "westus", - "type": "Microsoft.Network/expressRouteGateways", - "properties": { - "provisioningState": "Succeeded", - "virtualHub": { - "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/virtualHubName" - }, - "autoScaleConfiguration": { - "bounds": { - "min": 3 - } - } - } - } - }, - "200": { - "body": { - "name": "gateway-2", - "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/gateway-2", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "location": "westus", - "type": "Microsoft.Network/expressRouteGateways", - "properties": { - "provisioningState": "Succeeded", - "virtualHub": { - "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/virtualHubName" - }, - "autoScaleConfiguration": { - "bounds": { - "min": 3 - } - } - } + "200": { + "body": { + "name": "gateway-2", + "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/gateway-2", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "westus", + "type": "Microsoft.Network/expressRouteGateways", + "properties": { + "provisioningState": "Succeeded", + "virtualHub": { + "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/virtualHubName" + }, + "autoScaleConfiguration": { + "bounds": { + "min": 3 } + } } + } } -} \ No newline at end of file + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteGatewayDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteGatewayDelete.json index eca1d34246c9..dcaca6547e8e 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteGatewayDelete.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteGatewayDelete.json @@ -10,4 +10,4 @@ "200": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteGatewayGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteGatewayGet.json index 8bb5e8e96fb5..cbad2acabf6d 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteGatewayGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteGatewayGet.json @@ -22,4 +22,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteGatewayListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteGatewayListByResourceGroup.json index 0bdb17b18715..e702e9f701fb 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteGatewayListByResourceGroup.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteGatewayListByResourceGroup.json @@ -44,4 +44,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteGatewayListBySubscription.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteGatewayListBySubscription.json index b097515f9386..1ac1d3dbad4e 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteGatewayListBySubscription.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteGatewayListBySubscription.json @@ -43,4 +43,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteLinkGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteLinkGet.json index 53645f51d85b..d74b36fa28ae 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteLinkGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteLinkGet.json @@ -1,26 +1,26 @@ { - "parameters": { - "subscriptionId": "subid", - "api-version": "2019-04-01", - "resourceGroupName": "rg1", - "expressRoutePortName": "portName", - "linkName": "linkName" - }, - "responses": { - "200": { - "body": { - "name": "linkName", - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/linkName", - "properties": { - "provisioningState": "Succeeded", - "routerName": "router1", - "interfaceName": "Ethernet 0/0", - "patchPanelId": "patchPanelId1", - "rackId": "rackId1", - "connectorType": "LC", - "adminState": "Disabled" - } - } + "parameters": { + "subscriptionId": "subid", + "api-version": "2019-04-01", + "resourceGroupName": "rg1", + "expressRoutePortName": "portName", + "linkName": "linkName" + }, + "responses": { + "200": { + "body": { + "name": "linkName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/linkName", + "properties": { + "provisioningState": "Succeeded", + "routerName": "router1", + "interfaceName": "Ethernet 0/0", + "patchPanelId": "patchPanelId1", + "rackId": "rackId1", + "connectorType": "LC", + "adminState": "Disabled" } + } } -} \ No newline at end of file + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteLinkList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteLinkList.json index 2a6fa585ea37..c0ad819729da 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteLinkList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteLinkList.json @@ -1,42 +1,42 @@ { - "parameters": { - "subscriptionId": "subid", - "api-version": "2019-04-01", - "resourceGroupName": "rg1", - "expressRoutePortName": "portName" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "link1", - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link1", - "properties": { - "provisioningState": "Succeeded", - "routerName": "router1", - "interfaceName": "Ethernet 0/0", - "patchPanelId": "patchPanelId1", - "rackId": "rackId1", - "connectorType": "LC", - "adminState": "Disabled" - } - }, - { - "name": "link2", - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link2", - "properties": { - "provisioningState": "Succeeded", - "routerName": "router2", - "interfaceName": "Ethernet 0/0", - "patchPanelId": "patchPanelId2", - "rackId": "rackId2", - "connectorType": "LC", - "adminState": "Disabled" - } - } - ] + "parameters": { + "subscriptionId": "subid", + "api-version": "2019-04-01", + "resourceGroupName": "rg1", + "expressRoutePortName": "portName" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "link1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link1", + "properties": { + "provisioningState": "Succeeded", + "routerName": "router1", + "interfaceName": "Ethernet 0/0", + "patchPanelId": "patchPanelId1", + "rackId": "rackId1", + "connectorType": "LC", + "adminState": "Disabled" } - } + }, + { + "name": "link2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link2", + "properties": { + "provisioningState": "Succeeded", + "routerName": "router2", + "interfaceName": "Ethernet 0/0", + "patchPanelId": "patchPanelId2", + "rackId": "rackId2", + "connectorType": "LC", + "adminState": "Disabled" + } + } + ] + } } + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRoutePortCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRoutePortCreate.json index a28b9bed8aac..cd69ef6100e9 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRoutePortCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRoutePortCreate.json @@ -1,112 +1,112 @@ { + "parameters": { + "subscriptionId": "subid", + "api-version": "2019-04-01", + "resourceGroupName": "rg1", + "expressRoutePortName": "portName", "parameters": { - "subscriptionId": "subid", - "api-version": "2019-04-01", - "resourceGroupName": "rg1", - "expressRoutePortName": "portName", - "parameters": { - "location": "westus", - "properties": { - "peeringLocation": "peeringLocationName", - "bandwidthInGbps": 100, - "encapsulation": "QinQ" + "location": "westus", + "properties": { + "peeringLocation": "peeringLocationName", + "bandwidthInGbps": 100, + "encapsulation": "QinQ" + } + } + }, + "responses": { + "200": { + "body": { + "name": "portName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName", + "type": "Microsofot.Network/expressRoutePorts", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "peeringLocation": "peeringLocationName", + "bandwidthInGbps": 100, + "provisionedBandwidthInGbps": 0.0, + "mtu": "1500", + "encapsulation": "QinQ", + "etherType": "0x8100", + "allocationDate": "Friday, July 1, 2018", + "links": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link1", + "name": "link1", + "properties": { + "provisioningState": "Succeeded", + "routerName": "router1", + "interfaceName": "Ethernet 0/0", + "patchPanelId": "patchPanelId1", + "rackId": "rackId1", + "connectorType": "LC", + "adminState": "Disabled" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link2", + "name": "link2", + "properties": { + "provisioningState": "Succeeded", + "routerName": "router2", + "interfaceName": "Ethernet 0/0", + "patchPanelId": "patchPanelId2", + "rackId": "rackId2", + "connectorType": "LC", + "adminState": "Disabled" + } } + ], + "circuits": [] } + } }, - "responses": { - "200": { - "body": { - "name": "portName", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName", - "type": "Microsofot.Network/expressRoutePorts", - "location": "westus", - "properties": { - "provisioningState": "Succeeded", - "peeringLocation": "peeringLocationName", - "bandwidthInGbps": 100, - "provisionedBandwidthInGbps": 0.0, - "mtu": "1500", - "encapsulation": "QinQ", - "etherType": "0x8100", - "allocationDate": "Friday, July 1, 2018", - "links": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link1", - "name": "link1", - "properties": { - "provisioningState": "Succeeded", - "routerName": "router1", - "interfaceName": "Ethernet 0/0", - "patchPanelId": "patchPanelId1", - "rackId": "rackId1", - "connectorType": "LC", - "adminState": "Disabled" - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link2", - "name": "link2", - "properties": { - "provisioningState": "Succeeded", - "routerName": "router2", - "interfaceName": "Ethernet 0/0", - "patchPanelId": "patchPanelId2", - "rackId": "rackId2", - "connectorType": "LC", - "adminState": "Disabled" - } - } - ], - "circuits": [] - } - } - }, - "201": { - "body": { - "name": "portName", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName", - "type": "Microsofot.Network/expressRoutePorts", - "location": "westus", - "properties": { - "provisioningState": "Succeeded", - "peeringLocation": "peeringLocationName", - "bandwidthInGbps": 100, - "provisionedBandwidthInGbps": 0.0, - "mtu": "1500", - "encapsulation": "QinQ", - "etherType": "0x8100", - "allocationDate": "Friday, July 1, 2018", - "links": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link1", - "name": "link1", - "properties": { - "provisioningState": "Succeeded", - "routerName": "router1", - "interfaceName": "Ethernet 0/0", - "patchPanelId": "patchPanelId1", - "rackId": "rackId1", - "connectorType": "LC", - "adminState": "Disabled" - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link2", - "name": "link2", - "properties": { - "provisioningState": "Succeeded", - "routerName": "router2", - "interfaceName": "Ethernet 0/0", - "patchPanelId": "patchPanelId2", - "rackId": "rackId2", - "connectorType": "LC", - "adminState": "Disabled" - } - } - ], - "circuits": [] - } + "201": { + "body": { + "name": "portName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName", + "type": "Microsofot.Network/expressRoutePorts", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "peeringLocation": "peeringLocationName", + "bandwidthInGbps": 100, + "provisionedBandwidthInGbps": 0.0, + "mtu": "1500", + "encapsulation": "QinQ", + "etherType": "0x8100", + "allocationDate": "Friday, July 1, 2018", + "links": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link1", + "name": "link1", + "properties": { + "provisioningState": "Succeeded", + "routerName": "router1", + "interfaceName": "Ethernet 0/0", + "patchPanelId": "patchPanelId1", + "rackId": "rackId1", + "connectorType": "LC", + "adminState": "Disabled" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link2", + "name": "link2", + "properties": { + "provisioningState": "Succeeded", + "routerName": "router2", + "interfaceName": "Ethernet 0/0", + "patchPanelId": "patchPanelId2", + "rackId": "rackId2", + "connectorType": "LC", + "adminState": "Disabled" + } } + ], + "circuits": [] } + } } -} \ No newline at end of file + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRoutePortDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRoutePortDelete.json index 3417f0a88a63..d13a5dafad08 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRoutePortDelete.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRoutePortDelete.json @@ -1,13 +1,13 @@ { - "parameters": { - "subscriptionId": "subid", - "api-version": "2019-04-01", - "resourceGroupName": "rg1", - "expressRoutePortName": "portName" - }, - "responses": { - "200": {}, - "202": {}, - "204": {} - } -} \ No newline at end of file + "parameters": { + "subscriptionId": "subid", + "api-version": "2019-04-01", + "resourceGroupName": "rg1", + "expressRoutePortName": "portName" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRoutePortGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRoutePortGet.json index 81449a18789b..56d84fc3340a 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRoutePortGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRoutePortGet.json @@ -1,57 +1,57 @@ { - "parameters": { - "subscriptionId": "subid", - "api-version": "2019-04-01", - "resourceGroupName": "rg1", - "expressRoutePortName": "portName" - }, - "responses": { - "200": { - "body": { - "name": "portName", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName", - "type": "Microsofot.Network/expressRoutePorts", - "location": "westus", - "properties": { - "provisioningState": "Succeeded", - "peeringLocation": "peeringLocationName", - "bandwidthInGbps": 100, - "provisionedBandwidthInGbps": 0.0, - "mtu": "1500", - "encapsulation": "QinQ", - "etherType": "0x8100", - "allocationDate": "Friday, July 1, 2018", - "links": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link1", - "name": "link1", - "properties": { - "provisioningState": "Succeeded", - "routerName": "router1", - "interfaceName": "Ethernet 0/0", - "patchPanelId": "patchPanelId1", - "rackId": "rackId1", - "connectorType": "LC", - "adminState": "Disabled" - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link2", - "name": "link2", - "properties": { - "provisioningState": "Succeeded", - "routerName": "router2", - "interfaceName": "Ethernet 0/0", - "patchPanelId": "patchPanelId2", - "rackId": "rackId2", - "connectorType": "LC", - "adminState": "Disabled" - } - } - ], - "circuits": [] - } + "parameters": { + "subscriptionId": "subid", + "api-version": "2019-04-01", + "resourceGroupName": "rg1", + "expressRoutePortName": "portName" + }, + "responses": { + "200": { + "body": { + "name": "portName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName", + "type": "Microsofot.Network/expressRoutePorts", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "peeringLocation": "peeringLocationName", + "bandwidthInGbps": 100, + "provisionedBandwidthInGbps": 0.0, + "mtu": "1500", + "encapsulation": "QinQ", + "etherType": "0x8100", + "allocationDate": "Friday, July 1, 2018", + "links": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link1", + "name": "link1", + "properties": { + "provisioningState": "Succeeded", + "routerName": "router1", + "interfaceName": "Ethernet 0/0", + "patchPanelId": "patchPanelId1", + "rackId": "rackId1", + "connectorType": "LC", + "adminState": "Disabled" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link2", + "name": "link2", + "properties": { + "provisioningState": "Succeeded", + "routerName": "router2", + "interfaceName": "Ethernet 0/0", + "patchPanelId": "patchPanelId2", + "rackId": "rackId2", + "connectorType": "LC", + "adminState": "Disabled" + } } + ], + "circuits": [] } + } } + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRoutePortList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRoutePortList.json index 36d2cef7d9bc..89f2f592dcc4 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRoutePortList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRoutePortList.json @@ -1,59 +1,59 @@ { - "parameters": { - "subscriptionId": "subid", - "api-version": "2019-04-01" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "portName", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName", - "type": "Microsofot.Network/expressRoutePorts", - "location": "westus", - "properties": { - "provisioningState": "Succeeded", - "peeringLocation": "peeringLocationName", - "bandwidthInGbps": 100, - "provisionedBandwidthInGbps": 0.0, - "mtu": "1500", - "encapsulation": "QinQ", - "etherType": "0x8100", - "allocationDate": "Friday, July 1, 2018", - "links": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link1", - "name": "link1", - "properties": { - "provisioningState": "Succeeded", - "routerName": "router1", - "interfaceName": "Ethernet 0/0", - "patchPanelId": "patchPanelId1", - "rackId": "rackId1", - "connectorType": "LC", - "adminState": "Disabled" - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link2", - "name": "link2", - "properties": { - "provisioningState": "Succeeded", - "routerName": "router2", - "interfaceName": "Ethernet 0/0", - "patchPanelId": "patchPanelId2", - "rackId": "rackId2", - "connectorType": "LC", - "adminState": "Disabled" - } - } - ], - "circuits": [] - } - } - ] + "parameters": { + "subscriptionId": "subid", + "api-version": "2019-04-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "portName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName", + "type": "Microsofot.Network/expressRoutePorts", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "peeringLocation": "peeringLocationName", + "bandwidthInGbps": 100, + "provisionedBandwidthInGbps": 0.0, + "mtu": "1500", + "encapsulation": "QinQ", + "etherType": "0x8100", + "allocationDate": "Friday, July 1, 2018", + "links": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link1", + "name": "link1", + "properties": { + "provisioningState": "Succeeded", + "routerName": "router1", + "interfaceName": "Ethernet 0/0", + "patchPanelId": "patchPanelId1", + "rackId": "rackId1", + "connectorType": "LC", + "adminState": "Disabled" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link2", + "name": "link2", + "properties": { + "provisioningState": "Succeeded", + "routerName": "router2", + "interfaceName": "Ethernet 0/0", + "patchPanelId": "patchPanelId2", + "rackId": "rackId2", + "connectorType": "LC", + "adminState": "Disabled" + } + } + ], + "circuits": [] } - } + } + ] + } } + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRoutePortListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRoutePortListByResourceGroup.json index 47324c7a9a81..74eb815c3b91 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRoutePortListByResourceGroup.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRoutePortListByResourceGroup.json @@ -1,60 +1,60 @@ { - "parameters": { - "subscriptionId": "subid", - "api-version": "2019-04-01", - "resourceGroupName": "rg1" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "portName", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName", - "type": "Microsofot.Network/expressRoutePorts", - "location": "westus", - "properties": { - "provisioningState": "Succeeded", - "peeringLocation": "peeringLocationName", - "bandwidthInGbps": 100, - "provisionedBandwidthInGbps": 0.0, - "mtu": "1500", - "encapsulation": "QinQ", - "etherType": "0x8100", - "allocationDate": "Friday, July 1, 2018", - "links": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link1", - "name": "link1", - "properties": { - "provisioningState": "Succeeded", - "routerName": "router1", - "interfaceName": "Ethernet 0/0", - "patchPanelId": "patchPanelId1", - "rackId": "rackId1", - "connectorType": "LC", - "adminState": "Disabled" - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link2", - "name": "link2", - "properties": { - "provisioningState": "Succeeded", - "routerName": "router2", - "interfaceName": "Ethernet 0/0", - "patchPanelId": "patchPanelId2", - "rackId": "rackId2", - "connectorType": "LC", - "adminState": "Disabled" - } - } - ], - "circuits": [] - } - } - ] + "parameters": { + "subscriptionId": "subid", + "api-version": "2019-04-01", + "resourceGroupName": "rg1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "portName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName", + "type": "Microsofot.Network/expressRoutePorts", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "peeringLocation": "peeringLocationName", + "bandwidthInGbps": 100, + "provisionedBandwidthInGbps": 0.0, + "mtu": "1500", + "encapsulation": "QinQ", + "etherType": "0x8100", + "allocationDate": "Friday, July 1, 2018", + "links": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link1", + "name": "link1", + "properties": { + "provisioningState": "Succeeded", + "routerName": "router1", + "interfaceName": "Ethernet 0/0", + "patchPanelId": "patchPanelId1", + "rackId": "rackId1", + "connectorType": "LC", + "adminState": "Disabled" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link2", + "name": "link2", + "properties": { + "provisioningState": "Succeeded", + "routerName": "router2", + "interfaceName": "Ethernet 0/0", + "patchPanelId": "patchPanelId2", + "rackId": "rackId2", + "connectorType": "LC", + "adminState": "Disabled" + } + } + ], + "circuits": [] } - } + } + ] + } } + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRoutePortUpdateLink.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRoutePortUpdateLink.json index 9c087ec5c51c..1773ba30db22 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRoutePortUpdateLink.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRoutePortUpdateLink.json @@ -1,120 +1,120 @@ { + "parameters": { + "subscriptionId": "subid", + "api-version": "2019-04-01", + "resourceGroupName": "rg1", + "expressRoutePortName": "portName", "parameters": { - "subscriptionId": "subid", - "api-version": "2019-04-01", - "resourceGroupName": "rg1", - "expressRoutePortName": "portName", - "parameters": { - "location": "westus", + "location": "westus", + "properties": { + "peeringLocation": "peeringLocationName", + "bandwidthInGbps": 100, + "encapsulation": "QinQ", + "links": [ + { + "name": "link1", "properties": { - "peeringLocation": "peeringLocationName", - "bandwidthInGbps": 100, - "encapsulation": "QinQ", - "links": [ - { - "name":"link1", - "properties": { - "adminState": "Enabled" - } - } - ] + "adminState": "Enabled" } + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "name": "portName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName", + "type": "Microsofot.Network/expressRoutePorts", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "peeringLocation": "peeringLocationName", + "bandwidthInGbps": 100, + "provisionedBandwidthInGbps": 0.0, + "mtu": "1500", + "encapsulation": "QinQ", + "etherType": "0x8100", + "allocationDate": "Friday, July 1, 2018", + "links": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link1", + "name": "link1", + "properties": { + "provisioningState": "Succeeded", + "routerName": "router1", + "interfaceName": "Ethernet 0/0", + "patchPanelId": "patchPanelId1", + "rackId": "rackId1", + "connectorType": "LC", + "adminState": "Enabled" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link2", + "name": "link2", + "properties": { + "provisioningState": "Succeeded", + "routerName": "router2", + "interfaceName": "Ethernet 0/0", + "patchPanelId": "patchPanelId2", + "rackId": "rackId2", + "connectorType": "LC", + "adminState": "Disabled" + } + } + ], + "circuits": [] } + } }, - "responses": { - "200": { - "body": { - "name": "portName", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName", - "type": "Microsofot.Network/expressRoutePorts", - "location": "westus", - "properties": { - "provisioningState": "Succeeded", - "peeringLocation": "peeringLocationName", - "bandwidthInGbps": 100, - "provisionedBandwidthInGbps": 0.0, - "mtu": "1500", - "encapsulation": "QinQ", - "etherType": "0x8100", - "allocationDate": "Friday, July 1, 2018", - "links": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link1", - "name": "link1", - "properties": { - "provisioningState": "Succeeded", - "routerName": "router1", - "interfaceName": "Ethernet 0/0", - "patchPanelId": "patchPanelId1", - "rackId": "rackId1", - "connectorType": "LC", - "adminState": "Enabled" - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link2", - "name": "link2", - "properties": { - "provisioningState": "Succeeded", - "routerName": "router2", - "interfaceName": "Ethernet 0/0", - "patchPanelId": "patchPanelId2", - "rackId": "rackId2", - "connectorType": "LC", - "adminState": "Disabled" - } - } - ], - "circuits": [] - } - } - }, - "201": { - "body": { - "name": "portName", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName", - "type": "Microsofot.Network/expressRoutePorts", - "location": "westus", - "properties": { - "provisioningState": "Succeeded", - "peeringLocation": "peeringLocationName", - "bandwidthInGbps": 100, - "provisionedBandwidthInGbps": 0.0, - "mtu": "1500", - "encapsulation": "QinQ", - "etherType": "0x8100", - "allocationDate": "Friday, July 1, 2018", - "links": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link1", - "name": "link1", - "properties": { - "provisioningState": "Succeeded", - "routerName": "router1", - "interfaceName": "Ethernet 0/0", - "patchPanelId": "patchPanelId1", - "rackId": "rackId1", - "connectorType": "LC", - "adminState": "Enabled" - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link2", - "name": "link2", - "properties": { - "provisioningState": "Succeeded", - "routerName": "router2", - "interfaceName": "Ethernet 0/0", - "patchPanelId": "patchPanelId2", - "rackId": "rackId2", - "connectorType": "LC", - "adminState": "Disabled" - } - } - ], - "circuits": [] - } + "201": { + "body": { + "name": "portName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName", + "type": "Microsofot.Network/expressRoutePorts", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "peeringLocation": "peeringLocationName", + "bandwidthInGbps": 100, + "provisionedBandwidthInGbps": 0.0, + "mtu": "1500", + "encapsulation": "QinQ", + "etherType": "0x8100", + "allocationDate": "Friday, July 1, 2018", + "links": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link1", + "name": "link1", + "properties": { + "provisioningState": "Succeeded", + "routerName": "router1", + "interfaceName": "Ethernet 0/0", + "patchPanelId": "patchPanelId1", + "rackId": "rackId1", + "connectorType": "LC", + "adminState": "Enabled" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link2", + "name": "link2", + "properties": { + "provisioningState": "Succeeded", + "routerName": "router2", + "interfaceName": "Ethernet 0/0", + "patchPanelId": "patchPanelId2", + "rackId": "rackId2", + "connectorType": "LC", + "adminState": "Disabled" + } } + ], + "circuits": [] } + } } -} \ No newline at end of file + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRoutePortUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRoutePortUpdateTags.json index 1b583d8ccb7f..f3fcd01f430d 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRoutePortUpdateTags.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRoutePortUpdateTags.json @@ -1,63 +1,63 @@ { + "parameters": { + "subscriptionId": "subid", + "api-version": "2019-04-01", + "resourceGroupName": "rg1", + "expressRoutePortName": "portName", "parameters": { - "subscriptionId": "subid", - "api-version": "2019-04-01", - "resourceGroupName": "rg1", - "expressRoutePortName": "portName", - "parameters": { - "tags": { - "tag1": "value1", - "tag2": "value2" - } - } - }, - "responses": { - "200": { - "body": { - "name": "portName", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName", - "type": "Microsofot.Network/expressRoutePorts", - "location": "westus", - "properties": { - "provisioningState": "Succeeded", - "peeringLocation": "peeringLocationName", - "bandwidthInGbps": 100, - "provisionedBandwidthInGbps": 0.0, - "mtu": "1500", - "encapsulation": "QinQ", - "etherType": "0x8100", - "allocationDate": "Friday, July 1, 2018", - "links": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link1", - "name": "link1", - "properties": { - "provisioningState": "Succeeded", - "routerName": "router1", - "interfaceName": "Ethernet 0/0", - "patchPanelId": "patchPanelId1", - "rackId": "rackId1", - "connectorType": "LC", - "adminState": "Disabled" - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link2", - "name": "link2", - "properties": { - "provisioningState": "Succeeded", - "routerName": "router2", - "interfaceName": "Ethernet 0/0", - "patchPanelId": "patchPanelId2", - "rackId": "rackId2", - "connectorType": "LC", - "adminState": "Disabled" - } - } - ], - "circuits": [] - } + "tags": { + "tag1": "value1", + "tag2": "value2" + } + } + }, + "responses": { + "200": { + "body": { + "name": "portName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName", + "type": "Microsofot.Network/expressRoutePorts", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "peeringLocation": "peeringLocationName", + "bandwidthInGbps": 100, + "provisionedBandwidthInGbps": 0.0, + "mtu": "1500", + "encapsulation": "QinQ", + "etherType": "0x8100", + "allocationDate": "Friday, July 1, 2018", + "links": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link1", + "name": "link1", + "properties": { + "provisioningState": "Succeeded", + "routerName": "router1", + "interfaceName": "Ethernet 0/0", + "patchPanelId": "patchPanelId1", + "rackId": "rackId1", + "connectorType": "LC", + "adminState": "Disabled" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link2", + "name": "link2", + "properties": { + "provisioningState": "Succeeded", + "routerName": "router2", + "interfaceName": "Ethernet 0/0", + "patchPanelId": "patchPanelId2", + "rackId": "rackId2", + "connectorType": "LC", + "adminState": "Disabled" + } } + ], + "circuits": [] } + } } + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRoutePortsLocationGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRoutePortsLocationGet.json index 7a5e72f71b4c..30079117d2de 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRoutePortsLocationGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRoutePortsLocationGet.json @@ -1,28 +1,28 @@ { - "parameters": { - "subscriptionId": "subid", - "api-version": "2019-04-01", - "locationName": "locationName" - }, - "responses": { - "200": { - "body": { - "name": "locationName", - "id": "/subscriptions/subid/providers/Microsofot.Network/expressRoutePortsLocations/locationName", - "type": "Microsofot.Network/expressRoutePortsLocations", - "location": "westus", - "properties": { - "provisioningState": "Succeeded", - "address": "123 Main Street, City, State, Zip", - "contact": "email@address.com", - "availableBandwidths": [ - { - "offerName": "100 Gbps", - "valueInGbps": 100 - } - ] - } + "parameters": { + "subscriptionId": "subid", + "api-version": "2019-04-01", + "locationName": "locationName" + }, + "responses": { + "200": { + "body": { + "name": "locationName", + "id": "/subscriptions/subid/providers/Microsofot.Network/expressRoutePortsLocations/locationName", + "type": "Microsofot.Network/expressRoutePortsLocations", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "address": "123 Main Street, City, State, Zip", + "contact": "email@address.com", + "availableBandwidths": [ + { + "offerName": "100 Gbps", + "valueInGbps": 100 } + ] } + } } + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRoutePortsLocationList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRoutePortsLocationList.json index ff8786b0c04f..25d7d1537668 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRoutePortsLocationList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRoutePortsLocationList.json @@ -1,27 +1,26 @@ { - "parameters": { - "subscriptionId": "subid", - "api-version": "2019-04-01" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "locationName", - "id": "/subscriptions/subid/providers/Microsofot.Network/expressRoutePortsLocations/locationName", - "type": "Microsofot.Network/expressRoutePortsLocations", - "location": "westus", - "properties": { - "provisioningState": "Succeeded", - "address": "123 Main Street, City, State, Zip", - "contact": "email@address.com", - "availableBandwidths": [ - ] - } - } - ] + "parameters": { + "subscriptionId": "subid", + "api-version": "2019-04-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "locationName", + "id": "/subscriptions/subid/providers/Microsofot.Network/expressRoutePortsLocations/locationName", + "type": "Microsofot.Network/expressRoutePortsLocations", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "address": "123 Main Street, City, State, Zip", + "contact": "email@address.com", + "availableBandwidths": [] } - } + } + ] + } } + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteProviderList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteProviderList.json index 0e639b1aaeba..6829d51b3d5a 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteProviderList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteProviderList.json @@ -1,58 +1,58 @@ { - "parameters": { - "api-version": "2019-04-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "value": [ - { - "name": "providerName", - "id": "/subscriptions//resourceGroups//providers/Microsoft.Network/expressRouteServiceProviders/", - "type": "Microsoft.Network/expressRouteServiceProviders", - "properties": { - "provisioningState": "Succeeded", - "peeringLocations": [ - "peeringLocation1", - "peeringLocation2" - ], - "bandwidthsOffered": [ - { - "offerName": "50Mbps", - "valueInMbps": 50 - }, - { - "offerName": "100Mbps", - "valueInMbps": 100 - }, - { - "offerName": "200Mbps", - "valueInMbps": 200 - }, - { - "offerName": "500Mbps", - "valueInMbps": 500 - }, - { - "offerName": "1Gbps", - "valueInMbps": 1000 - }, - { - "offerName": "2Gbps", - "valueInMbps": 2000 - }, - { - "offerName": "5Gbps", - "valueInMbps": 5000 - }, - { - "offerName": "10Gbps", - "valueInMbps": 10000 - } - ] - } - } - ] - } - } + "parameters": { + "api-version": "2019-04-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "value": [ + { + "name": "providerName", + "id": "/subscriptions//resourceGroups//providers/Microsoft.Network/expressRouteServiceProviders/", + "type": "Microsoft.Network/expressRouteServiceProviders", + "properties": { + "provisioningState": "Succeeded", + "peeringLocations": [ + "peeringLocation1", + "peeringLocation2" + ], + "bandwidthsOffered": [ + { + "offerName": "50Mbps", + "valueInMbps": 50 + }, + { + "offerName": "100Mbps", + "valueInMbps": 100 + }, + { + "offerName": "200Mbps", + "valueInMbps": 200 + }, + { + "offerName": "500Mbps", + "valueInMbps": 500 + }, + { + "offerName": "1Gbps", + "valueInMbps": 1000 + }, + { + "offerName": "2Gbps", + "valueInMbps": 2000 + }, + { + "offerName": "5Gbps", + "valueInMbps": 5000 + }, + { + "offerName": "10Gbps", + "valueInMbps": 10000 + } + ] + } + } + ] + } + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/HubVirtualNetworkConnectionGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/HubVirtualNetworkConnectionGet.json index 01b9e294159b..164a5d64d711 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/HubVirtualNetworkConnectionGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/HubVirtualNetworkConnectionGet.json @@ -1,26 +1,26 @@ { - "parameters": { - "connectionName": "connection1", - "virtualHubName": "virtualHub1", - "resourceGroupName": "rg1", - "api-version": "2019-04-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "name": "connection1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualHubs/virtualHub1/virtualHubVnetConnections/connection1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "remoteVirtualNetwork": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualNetworks/vnet1" - }, - "allowHubToRemoteVnetTransit": true, - "allowRemoteVnetToUseHubVnetGateways": false - } - } + "parameters": { + "connectionName": "connection1", + "virtualHubName": "virtualHub1", + "resourceGroupName": "rg1", + "api-version": "2019-04-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "name": "connection1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualHubs/virtualHub1/virtualHubVnetConnections/connection1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "remoteVirtualNetwork": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualNetworks/vnet1" + }, + "allowHubToRemoteVnetTransit": true, + "allowRemoteVnetToUseHubVnetGateways": false } + } } + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/HubVirtualNetworkConnectionList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/HubVirtualNetworkConnectionList.json index 513d0d7f5756..a0d67d46b6ca 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/HubVirtualNetworkConnectionList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/HubVirtualNetworkConnectionList.json @@ -1,41 +1,41 @@ { - "parameters": { - "connectionName": "connection1", - "virtualHubName": "virtualHub1", - "resourceGroupName": "rg1", - "api-version": "2019-04-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": [ - { - "name": "connection1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualHubs/virtualHub1/virtualHubVnetConnections/connection1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "remoteVirtualNetwork": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualNetworks/vnet1" - }, - "allowHubToRemoteVnetTransit": true, - "allowRemoteVnetToUseHubVnetGateways": false - } - }, - { - "name": "connection2", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualHubs/virtualHub1/virtualHubVnetConnections/connection2", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "remoteVirtualNetwork": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualNetworks/vnet2" - }, - "allowHubToRemoteVnetTransit": true, - "allowRemoteVnetToUseHubVnetGateways": false - } - } - ] + "parameters": { + "connectionName": "connection1", + "virtualHubName": "virtualHub1", + "resourceGroupName": "rg1", + "api-version": "2019-04-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": [ + { + "name": "connection1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualHubs/virtualHub1/virtualHubVnetConnections/connection1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "remoteVirtualNetwork": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualNetworks/vnet1" + }, + "allowHubToRemoteVnetTransit": true, + "allowRemoteVnetToUseHubVnetGateways": false + } + }, + { + "name": "connection2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualHubs/virtualHub1/virtualHubVnetConnections/connection2", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "remoteVirtualNetwork": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualNetworks/vnet2" + }, + "allowHubToRemoteVnetTransit": true, + "allowRemoteVnetToUseHubVnetGateways": false + } } + ] } + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/InboundNatRuleCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/InboundNatRuleCreate.json index f668f78420ea..b74614cb0eb6 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/InboundNatRuleCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/InboundNatRuleCreate.json @@ -8,7 +8,9 @@ "inboundNatRuleParameters": { "properties": { "protocol": "Tcp", - "frontendIPConfiguration": { "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1"}, + "frontendIPConfiguration": { + "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1" + }, "frontendPort": 3390, "backendPort": 3389, "idleTimeoutInMinutes": 4, @@ -25,7 +27,7 @@ "properties": { "provisioningState": "Succeeded", "frontendIPConfiguration": { - "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1" + "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1" }, "frontendPort": 3390, "backendPort": 3389, @@ -46,7 +48,7 @@ "properties": { "provisioningState": "Succeeded", "frontendIPConfiguration": { - "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1" + "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1" }, "frontendPort": 3390, "backendPort": 3389, diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/InboundNatRuleDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/InboundNatRuleDelete.json index dcc29de0cc18..4699113c15eb 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/InboundNatRuleDelete.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/InboundNatRuleDelete.json @@ -7,8 +7,8 @@ "inboundNatRuleName": "natRule1.1" }, "responses": { - "200": { }, - "202": { }, - "204": { } + "200": {}, + "202": {}, + "204": {} } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/InboundNatRuleGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/InboundNatRuleGet.json index c6b96e99fcf8..201f2d4ea945 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/InboundNatRuleGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/InboundNatRuleGet.json @@ -14,7 +14,7 @@ "properties": { "provisioningState": "Succeeded", "frontendIPConfiguration": { - "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1" + "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1" }, "frontendPort": 3390, "backendPort": 3389, diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/LoadBalancerCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/LoadBalancerCreate.json index e692d9851e7a..ba3c07134984 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/LoadBalancerCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/LoadBalancerCreate.json @@ -1,9 +1,9 @@ { - "parameters" : { + "parameters": { "api-version": "2019-04-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", - "loadBalancerName" : "lb", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "loadBalancerName": "lb", "parameters": { "location": "eastus", "properties": { @@ -100,15 +100,15 @@ } } }, - "responses" : { - "200" : { - "body" : { + "responses": { + "200": { + "body": { "name": "lb", "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb", "type": "Microsoft.Network/loadBalancers", "location": "eastus", "sku": { - "name": "Basic" + "name": "Basic" }, "properties": { "provisioningState": "Succeeded", @@ -218,14 +218,14 @@ } } }, - "201" : { - "body" : { + "201": { + "body": { "name": "lb", "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb", "type": "Microsoft.Network/loadBalancers", "location": "eastus", "sku": { - "name": "Basic" + "name": "Basic" }, "properties": { "provisioningState": "Succeeded", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/LoadBalancerCreateStandardSku.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/LoadBalancerCreateStandardSku.json index a951903ea139..41693f9382c2 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/LoadBalancerCreateStandardSku.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/LoadBalancerCreateStandardSku.json @@ -1,9 +1,9 @@ { - "parameters" : { + "parameters": { "api-version": "2019-04-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", - "loadBalancerName" : "lb", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "loadBalancerName": "lb", "parameters": { "location": "eastus", "sku": { @@ -101,15 +101,15 @@ } } }, - "responses" : { - "200" : { - "body" : { + "responses": { + "200": { + "body": { "name": "lb", "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb", "type": "Microsoft.Network/loadBalancers", "location": "eastus", "sku": { - "name": "Standard" + "name": "Standard" }, "properties": { "provisioningState": "Succeeded", @@ -217,14 +217,14 @@ } } }, - "201" : { - "body" : { + "201": { + "body": { "name": "lb", "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb", "type": "Microsoft.Network/loadBalancers", "location": "eastus", "sku": { - "name": "Standard" + "name": "Standard" }, "properties": { "provisioningState": "Succeeded", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/LoadBalancerCreateWithInboundNatPool.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/LoadBalancerCreateWithInboundNatPool.json index 686f11662d9a..e6e50729a55b 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/LoadBalancerCreateWithInboundNatPool.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/LoadBalancerCreateWithInboundNatPool.json @@ -1,9 +1,9 @@ { - "parameters" : { + "parameters": { "api-version": "2019-04-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", - "loadBalancerName" : "lb", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "loadBalancerName": "lb", "parameters": { "location": "eastus", "properties": { @@ -50,15 +50,15 @@ } } }, - "responses" : { - "200" : { - "body" : { + "responses": { + "200": { + "body": { "name": "lb", "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb", "type": "Microsoft.Network/loadBalancers", "location": "eastus", "sku": { - "name": "Basic" + "name": "Basic" }, "properties": { "provisioningState": "Succeeded", @@ -108,14 +108,14 @@ } } }, - "201" : { - "body" : { + "201": { + "body": { "name": "lb", "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb", "type": "Microsoft.Network/loadBalancers", "location": "eastus", "sku": { - "name": "Basic" + "name": "Basic" }, "properties": { "provisioningState": "Succeeded", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/LoadBalancerCreateWithZones.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/LoadBalancerCreateWithZones.json index 18d32ce419c8..ca1a5f3c255b 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/LoadBalancerCreateWithZones.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/LoadBalancerCreateWithZones.json @@ -1,9 +1,9 @@ { - "parameters" : { + "parameters": { "api-version": "2019-04-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", - "loadBalancerName" : "lb", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "loadBalancerName": "lb", "parameters": { "location": "eastus", "properties": { @@ -25,7 +25,9 @@ } ] }, - "zones": [ "1" ] + "zones": [ + "1" + ] } ], "backendAddressPools": [ @@ -99,15 +101,15 @@ } } }, - "responses" : { - "200" : { - "body" : { + "responses": { + "200": { + "body": { "name": "lb", "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb", "type": "Microsoft.Network/loadBalancers", "location": "eastus", "sku": { - "name": "Basic" + "name": "Basic" }, "properties": { "provisioningState": "Succeeded", @@ -115,7 +117,9 @@ { "name": "fe-lb", "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb", - "zones": [ "1" ], + "zones": [ + "1" + ], "properties": { "provisioningState": "Succeeded", "privateIPAddress": "10.0.1.4", @@ -216,14 +220,14 @@ } } }, - "201" : { - "body" : { + "201": { + "body": { "name": "lb", "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb", "type": "Microsoft.Network/loadBalancers", "location": "eastus", "sku": { - "name": "Basic" + "name": "Basic" }, "properties": { "provisioningState": "Succeeded", @@ -231,7 +235,9 @@ { "name": "fe-lb", "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb", - "zones": [ "1" ], + "zones": [ + "1" + ], "properties": { "provisioningState": "Succeeded", "privateIPAddress": "10.0.1.4", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/LoadBalancerDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/LoadBalancerDelete.json index 780bf026b0de..11c918e2a79a 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/LoadBalancerDelete.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/LoadBalancerDelete.json @@ -1,13 +1,13 @@ { - "parameters" : { + "parameters": { "api-version": "2019-04-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", - "loadBalancerName" : "lb" + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "loadBalancerName": "lb" }, - "responses" : { - "200" : { }, - "202" : { }, - "204" : { } + "responses": { + "200": {}, + "202": {}, + "204": {} } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/LoadBalancerGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/LoadBalancerGet.json index 08f707e8e4e8..f99142d688a3 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/LoadBalancerGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/LoadBalancerGet.json @@ -1,19 +1,19 @@ { - "parameters" : { + "parameters": { "api-version": "2019-04-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", - "loadBalancerName" : "lb" + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "loadBalancerName": "lb" }, - "responses" : { - "200" : { - "body" : { + "responses": { + "200": { + "body": { "name": "lb", "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb", "type": "Microsoft.Network/loadBalancers", "location": "westus", "sku": { - "name": "Basic" + "name": "Basic" }, "properties": { "provisioningState": "Succeeded", @@ -25,7 +25,7 @@ "provisioningState": "Succeeded", "privateIPAddress": "10.0.1.4", "privateIPAllocationMethod": "Dynamic", - "subnet": { + "subnet": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" }, "loadBalancingRules": [ diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/LoadBalancerList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/LoadBalancerList.json index bf4f935a618c..d8b41840cc21 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/LoadBalancerList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/LoadBalancerList.json @@ -1,12 +1,12 @@ { - "parameters" : { + "parameters": { "api-version": "2019-04-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1" + "subscriptionId": "subid", + "resourceGroupName": "rg1" }, - "responses" : { - "200" : { - "body" : { + "responses": { + "200": { + "body": { "value": [ { "name": "lb", @@ -59,7 +59,7 @@ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb", "properties": { "provisioningState": "Succeeded", - "frontendIPConfiguration":{ + "frontendIPConfiguration": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/felb" }, "frontendPort": 80, diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/LoadBalancerListAll.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/LoadBalancerListAll.json index 38c9b5bcdcfd..8398a08c26ae 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/LoadBalancerListAll.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/LoadBalancerListAll.json @@ -1,11 +1,11 @@ { - "parameters" : { + "parameters": { "api-version": "2019-04-01", - "subscriptionId" : "subid" + "subscriptionId": "subid" }, - "responses" : { - "200" : { - "body" : { + "responses": { + "200": { + "body": { "value": [ { "name": "lb", @@ -58,7 +58,7 @@ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb", "properties": { "provisioningState": "Succeeded", - "frontendIPConfiguration":{ + "frontendIPConfiguration": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/felb" }, "frontendPort": 80, diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/LoadBalancerNetworkInterfaceListVmss.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/LoadBalancerNetworkInterfaceListVmss.json index c58e5fcfa846..92220e57a6bc 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/LoadBalancerNetworkInterfaceListVmss.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/LoadBalancerNetworkInterfaceListVmss.json @@ -83,7 +83,7 @@ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/bepool" } ], - "loadBalancerInboundNatRules":[ + "loadBalancerInboundNatRules": [ { "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/natpool.1" } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/LoadBalancerUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/LoadBalancerUpdateTags.json index b28e4e026d56..df2a26f4bae2 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/LoadBalancerUpdateTags.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/LoadBalancerUpdateTags.json @@ -1,9 +1,9 @@ { - "parameters" : { + "parameters": { "api-version": "2019-04-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", - "loadBalancerName" : "lb", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "loadBalancerName": "lb", "parameters": { "tags": { "tag1": "value1", @@ -11,9 +11,9 @@ } } }, - "responses" : { - "200" : { - "body" : { + "responses": { + "200": { + "body": { "name": "lb", "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb", "type": "Microsoft.Network/loadBalancers", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/LocalNetworkGatewayCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/LocalNetworkGatewayCreate.json index fc66a189e06e..eb040b037101 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/LocalNetworkGatewayCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/LocalNetworkGatewayCreate.json @@ -1,59 +1,59 @@ { + "parameters": { + "api-version": "2019-04-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "localNetworkGatewayName": "localgw", "parameters": { - "api-version": "2019-04-01", - "subscriptionId": "subid", - "resourceGroupName": "rg1", - "localNetworkGatewayName" : "localgw", - "parameters": { - "properties": { - "localNetworkAddressSpace": { - "addressPrefixes": [ - "10.1.0.0/16" - ] - }, - "gatewayIpAddress": "x.x.x.x" - }, - "location": "Central US" + "properties": { + "localNetworkAddressSpace": { + "addressPrefixes": [ + "10.1.0.0/16" + ] + }, + "gatewayIpAddress": "x.x.x.x" + }, + "location": "Central US" + } + }, + "responses": { + "201": { + "body": { + "name": "localgw", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/localgw", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "type": "Microsoft.Network/localNetworkGateways", + "location": "centralus", + "properties": { + "provisioningState": "Updating", + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "localNetworkAddressSpace": { + "addressPrefixes": [ + "10.1.0.0/16" + ] + }, + "gatewayIpAddress": "x.x.x.x" } + } }, - "responses" : { - "201" : { - "body" : { - "name": "localgw", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/localgw", - "etag": "W/\"00000000-0000-0000-0000-000000000000\"", - "type": "Microsoft.Network/localNetworkGateways", - "location": "centralus", - "properties": { - "provisioningState": "Updating", - "resourceGuid": "00000000-0000-0000-0000-000000000000", - "localNetworkAddressSpace": { - "addressPrefixes": [ - "10.1.0.0/16" - ] - }, - "gatewayIpAddress": "x.x.x.x" - } - } - }, - "200" : { - "body" : { - "name": "localgw", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/localgw", - "etag": "W/\"00000000-0000-0000-0000-000000000000\"", - "type": "Microsoft.Network/localNetworkGateways", - "location": "centralus", - "properties": { - "provisioningState": "Updating", - "resourceGuid": "00000000-0000-0000-0000-000000000000", - "localNetworkAddressSpace": { - "addressPrefixes": [ - "10.1.0.0/16" - ] - }, - "gatewayIpAddress": "x.x.x.x" - } - } + "200": { + "body": { + "name": "localgw", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/localgw", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "type": "Microsoft.Network/localNetworkGateways", + "location": "centralus", + "properties": { + "provisioningState": "Updating", + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "localNetworkAddressSpace": { + "addressPrefixes": [ + "10.1.0.0/16" + ] + }, + "gatewayIpAddress": "x.x.x.x" } + } } + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/LocalNetworkGatewayDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/LocalNetworkGatewayDelete.json index 957149e61500..4d4530ea8078 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/LocalNetworkGatewayDelete.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/LocalNetworkGatewayDelete.json @@ -1,13 +1,13 @@ { - "parameters": { - "api-version": "2019-04-01", - "subscriptionId": "subid", - "resourceGroupName": "rg1", - "localNetworkGatewayName" : "localgw" - }, - "responses" : { - "202" : { }, - "200" : { }, - "204" : { } - } + "parameters": { + "api-version": "2019-04-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "localNetworkGatewayName": "localgw" + }, + "responses": { + "202": {}, + "200": {}, + "204": {} + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/LocalNetworkGatewayGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/LocalNetworkGatewayGet.json index ba228585b2fe..ae246c04d72d 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/LocalNetworkGatewayGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/LocalNetworkGatewayGet.json @@ -1,29 +1,29 @@ { - "parameters": { - "api-version": "2019-04-01", - "subscriptionId": "subid", - "resourceGroupName": "rg1", - "localNetworkGatewayName" : "localgw" - }, - "responses" : { - "200" : { - "body" : { - "name": "localgw", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/localgw", - "etag": "W/\"00000000-0000-0000-0000-000000000000\"", - "type": "Microsoft.Network/localNetworkGateways", - "location": "centralus", - "properties": { - "provisioningState": "Succeeded", - "resourceGuid": "00000000-0000-0000-0000-000000000000", - "localNetworkAddressSpace": { - "addressPrefixes": [ - "10.1.0.0/16" - ] - }, - "gatewayIpAddress": "x.x.x.x" - } - } + "parameters": { + "api-version": "2019-04-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "localNetworkGatewayName": "localgw" + }, + "responses": { + "200": { + "body": { + "name": "localgw", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/localgw", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "type": "Microsoft.Network/localNetworkGateways", + "location": "centralus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "localNetworkAddressSpace": { + "addressPrefixes": [ + "10.1.0.0/16" + ] + }, + "gatewayIpAddress": "x.x.x.x" } + } } + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/LocalNetworkGatewayList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/LocalNetworkGatewayList.json index 27546b7c06dd..95de9aa7b46a 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/LocalNetworkGatewayList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/LocalNetworkGatewayList.json @@ -1,49 +1,49 @@ { - "parameters": { - "api-version": "2019-04-01", - "subscriptionId": "subid", - "resourceGroupName": "rg1" - }, - "responses" : { - "200" : { - "body" : { - "value": [ - { - "name": "localgw1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/localgw1", - "etag": "W/\"00000000-0000-0000-0000-000000000000\"", - "type": "Microsoft.Network/localNetworkGateways", - "location": "centralus", - "properties": { - "provisioningState": "Succeeded", - "resourceGuid": "00000000-0000-0000-0000-000000000000", - "localNetworkAddressSpace": { - "addressPrefixes": [ - "10.1.0.0/16" - ] - }, - "gatewayIpAddress": "x.x.x.x" - } - }, - { - "name": "localgw2", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/localgw2", - "etag": "W/\"00000000-0000-0000-0000-000000000000\"", - "type": "Microsoft.Network/localNetworkGateways", - "location": "eastus", - "properties": { - "provisioningState": "Succeeded", - "resourceGuid": "00000000-0000-0000-0000-000000000000", - "localNetworkAddressSpace": { - "addressPrefixes": [ - "10.2.0.0/16" - ] - }, - "gatewayIpAddress": "x.x.x.x" - } - } + "parameters": { + "api-version": "2019-04-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "localgw1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/localgw1", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "type": "Microsoft.Network/localNetworkGateways", + "location": "centralus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "localNetworkAddressSpace": { + "addressPrefixes": [ + "10.1.0.0/16" ] + }, + "gatewayIpAddress": "x.x.x.x" } - } + }, + { + "name": "localgw2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/localgw2", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "type": "Microsoft.Network/localNetworkGateways", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "localNetworkAddressSpace": { + "addressPrefixes": [ + "10.2.0.0/16" + ] + }, + "gatewayIpAddress": "x.x.x.x" + } + } + ] + } } + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/LocalNetworkGatewayUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/LocalNetworkGatewayUpdateTags.json index 207668abf738..cb41124b032e 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/LocalNetworkGatewayUpdateTags.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/LocalNetworkGatewayUpdateTags.json @@ -1,8 +1,8 @@ { - "parameters" : { + "parameters": { "api-version": "2019-04-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", + "subscriptionId": "subid", + "resourceGroupName": "rg1", "localNetworkGatewayName": "lgw", "parameters": { "tags": { @@ -11,9 +11,9 @@ } } }, - "responses" : { - "200" : { - "body" : { + "responses": { + "200": { + "body": { "name": "lgw", "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/lgw", "type": "Microsoft.Network/localNetworkGateways", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NatGatewayCreateOrUpdate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NatGatewayCreateOrUpdate.json index 17cb5606ad58..d30dddd9a98c 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NatGatewayCreateOrUpdate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NatGatewayCreateOrUpdate.json @@ -1,90 +1,90 @@ { - "parameters":{ - "api-version":"2019-04-01", - "subscriptionId":"subid", - "resourceGroupName":"rg1", - "natGatewayName":"test-natgateway", - "parameters":{ - "properties":{ - "publicIpAddresses":[ - { - "id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1" - } - ], - "publicIpPrefixes":[ - { - "id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1" - } - ], - "subnets":[ - { - "id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1" - } - ] - } + "parameters": { + "api-version": "2019-04-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "natGatewayName": "test-natgateway", + "parameters": { + "properties": { + "publicIpAddresses": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1" + } + ], + "publicIpPrefixes": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1" + } + ], + "subnets": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1" + } + ] } - }, - "responses":{ - "200":{ - "body":{ - "name":"test-natGateway", - "sku":{ - "name":"Standard" - }, - "id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/natGateways/test-natGateway", - "location":"westus", - "properties":{ - "idleTimeoutInMinutes":5, - "provisioningState":"Succeeded", - "publicIpAddresses":[ - { - "id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1" - } - ], - "publicIpPrefixes":[ - { - "id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1" - } - ], - "subnets":[ - { - "id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1" - } - ] - }, - "type":"Microsoft.Network/natGateways" - } - }, - "202" : { }, - "201":{ - "body":{ - "name":"test-natGateway", - "sku":{ - "name":"Standard" - }, - "id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/natGateways/test-natGateway", - "location":"westus", - "properties":{ - "idleTimeoutInMinutes":5, - "provisioningState":"Succeeded", - "publicIpAddresses":[ - { - "id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1" - } - ], - "publicIpPrefixes":[ - { - "id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1" - } - ], - "subnets":[ - { - "id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1" - } - ] - }, - "type":"Microsoft.Network/natGateways" - } + } + }, + "responses": { + "200": { + "body": { + "name": "test-natGateway", + "sku": { + "name": "Standard" + }, + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/natGateways/test-natGateway", + "location": "westus", + "properties": { + "idleTimeoutInMinutes": 5, + "provisioningState": "Succeeded", + "publicIpAddresses": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1" + } + ], + "publicIpPrefixes": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1" + } + ], + "subnets": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1" + } + ] + }, + "type": "Microsoft.Network/natGateways" } - } + }, + "202": {}, + "201": { + "body": { + "name": "test-natGateway", + "sku": { + "name": "Standard" + }, + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/natGateways/test-natGateway", + "location": "westus", + "properties": { + "idleTimeoutInMinutes": 5, + "provisioningState": "Succeeded", + "publicIpAddresses": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1" + } + ], + "publicIpPrefixes": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1" + } + ], + "subnets": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1" + } + ] + }, + "type": "Microsoft.Network/natGateways" + } + } + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NatGatewayDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NatGatewayDelete.json index 4370faeada7a..af59326f92f3 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NatGatewayDelete.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NatGatewayDelete.json @@ -1,13 +1,13 @@ { - "parameters" : { + "parameters": { "api-version": "2019-04-01", - "subscriptionId" : "subid", + "subscriptionId": "subid", "resourceGroupName": "rg1", "natGatewayName": "test-natGateway" }, - "responses" : { - "200" : { }, - "202" : { }, - "204" : { } + "responses": { + "200": {}, + "202": {}, + "204": {} } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NatGatewayGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NatGatewayGet.json index 7a17b8848123..6e44513a5f10 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NatGatewayGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NatGatewayGet.json @@ -1,23 +1,23 @@ { - "parameters" : { + "parameters": { "api-version": "2019-04-01", - "subscriptionId" : "subid", + "subscriptionId": "subid", "resourceGroupName": "rg1", "natGatewayName": "test-natGateway" }, - "responses" : { - "200" : { - "body" : { - "name" : "test-natGateway", - "sku": { - "name": "Standard" - }, - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/natGateways/test-natGateway", - "location" : "westus", - "properties" : { - "idleTimeoutInMinutes" : 5, - "provisioningState": "Succeeded", - "publicIpAddresses": [ + "responses": { + "200": { + "body": { + "name": "test-natGateway", + "sku": { + "name": "Standard" + }, + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/natGateways/test-natGateway", + "location": "westus", + "properties": { + "idleTimeoutInMinutes": 5, + "provisioningState": "Succeeded", + "publicIpAddresses": [ { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1" } @@ -29,13 +29,12 @@ ], "subnets": [ { - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1" + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1" } ] - }, - "type" : "Microsoft.Network/natGateways" + }, + "type": "Microsoft.Network/natGateways" } } } } - diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NatGatewayList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NatGatewayList.json index 9f3470643481..3d3366f34fe0 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NatGatewayList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NatGatewayList.json @@ -1,72 +1,71 @@ { - "parameters" : { + "parameters": { "api-version": "2019-04-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1" + "subscriptionId": "subid", + "resourceGroupName": "rg1" }, - "responses" : { - "200" : { - "body" : { - "value" : [ + "responses": { + "200": { + "body": { + "value": [ { - "name" : "test-natGateway", - "sku": { - "name": "Standard" - }, - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/natGateway/test-natGateway", - "location" : "westus", - "properties" : { - "idleTimeoutInMinutes" : 5, - "provisioningState": "Succeeded", - "publicIpAddresses": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1" - } - ], - "publicIpPrefixes": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1" - } - ], - "subnets": [ - { - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1" - } - ] - }, - "type" : "Microsoft.Network/natGateways" + "name": "test-natGateway", + "sku": { + "name": "Standard" + }, + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/natGateway/test-natGateway", + "location": "westus", + "properties": { + "idleTimeoutInMinutes": 5, + "provisioningState": "Succeeded", + "publicIpAddresses": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1" + } + ], + "publicIpPrefixes": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1" + } + ], + "subnets": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1" + } + ] + }, + "type": "Microsoft.Network/natGateways" }, { - "name" : "test-natGateway2", - "sku": { - "name": "Standard" - }, - "id" : "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/natGateway/test-natGateway2", - "location" : "westus", - "properties" : { - "idleTimeoutInMinutes" : 5, - "provisioningState": "Succeeded", - "publicIpAddresses": [ - { - "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1" - } - ], - "publicIpPrefixes": [ - { - "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1" - } - ], - "subnets": [ - { - "id" : "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1" - } - ] - }, - "type" : "Microsoft.Network/natGateways" + "name": "test-natGateway2", + "sku": { + "name": "Standard" + }, + "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/natGateway/test-natGateway2", + "location": "westus", + "properties": { + "idleTimeoutInMinutes": 5, + "provisioningState": "Succeeded", + "publicIpAddresses": [ + { + "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1" + } + ], + "publicIpPrefixes": [ + { + "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1" + } + ], + "subnets": [ + { + "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1" + } + ] + }, + "type": "Microsoft.Network/natGateways" } ] } } } } - diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NatGatewayListAll.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NatGatewayListAll.json index 39c70886e381..0c1f338d6130 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NatGatewayListAll.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NatGatewayListAll.json @@ -1,71 +1,70 @@ { - "parameters" : { + "parameters": { "api-version": "2019-04-01", - "subscriptionId" : "subid" + "subscriptionId": "subid" }, - "responses" : { - "200" : { - "body" : { - "value" : [ + "responses": { + "200": { + "body": { + "value": [ { - "name" : "test-natGateway", - "sku": { - "name": "Standard" - }, - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/natGateways/test-natGateway", - "location" : "westus", - "properties" : { - "idleTimeoutInMinutes" : 5, - "provisioningState": "Succeeded", - "publicIpAddresses": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1" - } - ], - "publicIpPrefixes": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1" - } - ], - "subnets": [ - { - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1" - } - ] - }, - "type" : "Microsoft.Network/natGateways" + "name": "test-natGateway", + "sku": { + "name": "Standard" + }, + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/natGateways/test-natGateway", + "location": "westus", + "properties": { + "idleTimeoutInMinutes": 5, + "provisioningState": "Succeeded", + "publicIpAddresses": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1" + } + ], + "publicIpPrefixes": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1" + } + ], + "subnets": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1" + } + ] + }, + "type": "Microsoft.Network/natGateways" }, { - "name" : "test-natGateway2", - "sku": { - "name": "Standard" - }, - "id" : "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/natGatewayes/test-natGateway2", - "location" : "westus", - "properties" : { - "idleTimeoutInMinutes" : 5, - "provisioningState": "Succeeded", - "publicIpAddresses": [ - { - "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1" - } - ], - "publicIpPrefixes": [ - { - "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1" - } - ], - "subnets": [ - { - "id" : "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1" - } - ] - }, - "type" : "Microsoft.Network/natGateways" + "name": "test-natGateway2", + "sku": { + "name": "Standard" + }, + "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/natGatewayes/test-natGateway2", + "location": "westus", + "properties": { + "idleTimeoutInMinutes": 5, + "provisioningState": "Succeeded", + "publicIpAddresses": [ + { + "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1" + } + ], + "publicIpPrefixes": [ + { + "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1" + } + ], + "subnets": [ + { + "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1" + } + ] + }, + "type": "Microsoft.Network/natGateways" } ] } } } } - diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NatGatewayUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NatGatewayUpdateTags.json index 809a42d7a9d8..e1379fa810c7 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NatGatewayUpdateTags.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NatGatewayUpdateTags.json @@ -1,7 +1,7 @@ { - "parameters" : { + "parameters": { "api-version": "2019-04-01", - "subscriptionId" : "subid", + "subscriptionId": "subid", "resourceGroupName": "rg1", "natGatewayName": "test-natGateway", "parameters": { @@ -11,17 +11,17 @@ } } }, - "responses" : { - "200" : { - "body" : { - "name" : "test-natGateway", - "sku": { - "name": "Standard" - }, - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/natGateways/test-natGateway", - "location" : "westus", - "properties" : { - "idleTimeoutInMinutes" : 5, + "responses": { + "200": { + "body": { + "name": "test-natGateway", + "sku": { + "name": "Standard" + }, + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/natGateways/test-natGateway", + "location": "westus", + "properties": { + "idleTimeoutInMinutes": 5, "provisioningState": "Succeeded", "publicIpAddresses": [ { @@ -35,7 +35,7 @@ ], "subnets": [ { - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1" + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1" } ] }, @@ -43,7 +43,7 @@ "tag1": "value1", "tag2": "value2" }, - "type" : "Microsoft.Network/natGateways" + "type": "Microsoft.Network/natGateways" } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkInterfaceCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkInterfaceCreate.json index 38403f5277bd..0fe4c3697794 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkInterfaceCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkInterfaceCreate.json @@ -1,7 +1,7 @@ { - "parameters" : { + "parameters": { "api-version": "2019-04-01", - "subscriptionId" : "subid", + "subscriptionId": "subid", "resourceGroupName": "rg1", "networkInterfaceName": "test-nic", "parameters": { @@ -12,10 +12,10 @@ "name": "ipconfig1", "properties": { "publicIPAddress": { - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip" + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip" }, "subnet": { - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default" + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default" } } } @@ -24,75 +24,77 @@ "location": "eastus" } }, - "responses" : { - "200" : { - "body" : { - "name" : "test-nic", - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic", - "location" : "eastus", - "properties" : { - "provisioningState" : "Succeeded", - "ipConfigurations" : [{ - "name" : "ipconfig1", - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic/ipConfigurations/ipconfig1", - "properties" : { - "provisioningState" : "Succeeded", - "privateIPAddress" : "172.20.2.4", - "privateIPAllocationMethod" : "Dynamic", - "publicIPAddress" : { - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip" + "responses": { + "200": { + "body": { + "name": "test-nic", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded", + "ipConfigurations": [ + { + "name": "ipconfig1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic/ipConfigurations/ipconfig1", + "properties": { + "provisioningState": "Succeeded", + "privateIPAddress": "172.20.2.4", + "privateIPAllocationMethod": "Dynamic", + "publicIPAddress": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip" }, - "subnet" : { - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default" + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default" }, - "primary" : true, - "privateIPAddressVersion" : "IPv4" + "primary": true, + "privateIPAddressVersion": "IPv4" } } ], - "dnsSettings" : { - "dnsServers" : [], - "appliedDnsServers" : [] + "dnsSettings": { + "dnsServers": [], + "appliedDnsServers": [] }, - "enableAcceleratedNetworking" : true, - "enableIPForwarding" : false + "enableAcceleratedNetworking": true, + "enableIPForwarding": false }, - "type" : "Microsoft.Network/networkInterfaces" + "type": "Microsoft.Network/networkInterfaces" } }, - "201" : { - "body" : { - "name" : "test-nic", - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic", - "location" : "eastus", - "properties" : { - "provisioningState" : "Succeeded", - "ipConfigurations" : [{ - "name" : "ipconfig1", - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic/ipConfigurations/ipconfig1", - "properties" : { - "provisioningState" : "Succeeded", - "privateIPAddress" : "172.20.2.4", - "privateIPAllocationMethod" : "Dynamic", - "publicIPAddress" : { - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip" + "201": { + "body": { + "name": "test-nic", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded", + "ipConfigurations": [ + { + "name": "ipconfig1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic/ipConfigurations/ipconfig1", + "properties": { + "provisioningState": "Succeeded", + "privateIPAddress": "172.20.2.4", + "privateIPAllocationMethod": "Dynamic", + "publicIPAddress": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip" }, - "subnet" : { - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default" + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default" }, - "primary" : true, - "privateIPAddressVersion" : "IPv4" + "primary": true, + "privateIPAddressVersion": "IPv4" } } ], - "dnsSettings" : { - "dnsServers" : [], - "appliedDnsServers" : [] + "dnsSettings": { + "dnsServers": [], + "appliedDnsServers": [] }, - "enableAcceleratedNetworking" : true, - "enableIPForwarding" : false + "enableAcceleratedNetworking": true, + "enableIPForwarding": false }, - "type" : "Microsoft.Network/networkInterfaces" + "type": "Microsoft.Network/networkInterfaces" } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkInterfaceDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkInterfaceDelete.json index e1779aa9213b..8d2d5b992cd5 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkInterfaceDelete.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkInterfaceDelete.json @@ -1,13 +1,13 @@ { - "parameters" : { + "parameters": { "api-version": "2019-04-01", - "subscriptionId" : "subid", + "subscriptionId": "subid", "resourceGroupName": "rg1", "networkInterfaceName": "test-nic" }, - "responses" : { - "200" : { }, - "202" : { }, - "204" : { } + "responses": { + "200": {}, + "202": {}, + "204": {} } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkInterfaceEffectiveNSGList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkInterfaceEffectiveNSGList.json index b730cbaced60..526a7d7c41eb 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkInterfaceEffectiveNSGList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkInterfaceEffectiveNSGList.json @@ -1,71 +1,71 @@ { - "parameters" : { + "parameters": { "api-version": "2019-04-01", - "subscriptionId" : "subid", + "subscriptionId": "subid", "resourceGroupName": "rg1", "networkInterfaceName": "nic1" }, - "responses" : { - "200" : { - "body" : { - "value" : [ + "responses": { + "200": { + "body": { + "value": [ { - "networkSecurityGroup" : { - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/test-nsg" + "networkSecurityGroup": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/test-nsg" }, - "association" : { - "subnet" : { - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default" + "association": { + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default" }, - "networkInterface" : { - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/nic1" + "networkInterface": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/nic1" } }, - "effectiveSecurityRules" : [ + "effectiveSecurityRules": [ { - "name" : "securityRules/rule1", - "protocol" : "Tcp", - "sourcePortRange" : "456-456", - "destinationPortRange" : "6579-6579", - "sourceAddressPrefix" : "0.0.0.0/32", - "destinationAddressPrefix" : "0.0.0.0/32", - "access" : "Allow", - "priority" : 234, - "direction" : "Inbound" + "name": "securityRules/rule1", + "protocol": "Tcp", + "sourcePortRange": "456-456", + "destinationPortRange": "6579-6579", + "sourceAddressPrefix": "0.0.0.0/32", + "destinationAddressPrefix": "0.0.0.0/32", + "access": "Allow", + "priority": 234, + "direction": "Inbound" }, { - "name" : "securityRules/default-allow-rdp", - "protocol" : "Tcp", - "sourcePortRange" : "0-65535", - "destinationPortRange" : "3389-3389", - "sourceAddressPrefix" : "1.1.1.1/32", - "destinationAddressPrefix" : "0.0.0.0/0", - "access" : "Allow", - "priority" : 1000, - "direction" : "Inbound" + "name": "securityRules/default-allow-rdp", + "protocol": "Tcp", + "sourcePortRange": "0-65535", + "destinationPortRange": "3389-3389", + "sourceAddressPrefix": "1.1.1.1/32", + "destinationAddressPrefix": "0.0.0.0/0", + "access": "Allow", + "priority": 1000, + "direction": "Inbound" }, { - "name" : "defaultSecurityRules/AllowInternetOutBound", - "protocol" : "All", - "sourcePortRange" : "0-65535", - "destinationPortRange" : "0-65535", - "sourceAddressPrefix" : "0.0.0.0/0", - "destinationAddressPrefix" : "Internet", - "expandedDestinationAddressPrefix" : [ + "name": "defaultSecurityRules/AllowInternetOutBound", + "protocol": "All", + "sourcePortRange": "0-65535", + "destinationPortRange": "0-65535", + "sourceAddressPrefix": "0.0.0.0/0", + "destinationAddressPrefix": "Internet", + "expandedDestinationAddressPrefix": [ "32.0.0.0/3", "4.0.0.0/6", "2.0.0.0/7", "1.0.0.0/8" ], - "access" : "Allow", - "priority" : 65001, - "direction" : "Outbound" + "access": "Allow", + "priority": 65001, + "direction": "Outbound" } ] } ] } }, - "202" : { } + "202": {} } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkInterfaceEffectiveRouteTableList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkInterfaceEffectiveRouteTableList.json index c6c58c64fa87..2d928c55f23b 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkInterfaceEffectiveRouteTableList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkInterfaceEffectiveRouteTableList.json @@ -1,13 +1,13 @@ { - "parameters" : { + "parameters": { "api-version": "2019-04-01", - "subscriptionId" : "subid", + "subscriptionId": "subid", "resourceGroupName": "rg1", "networkInterfaceName": "nic1" }, - "responses" : { - "200" : { - "body" : { + "responses": { + "200": { + "body": { "value": [ { "source": "Default", @@ -55,7 +55,7 @@ "nextHopIpAddress": [] }, { - "source": "Default", + "source": "Default", "state": "Active", "addressPrefix": [ "192.168.0.0/16" @@ -66,6 +66,6 @@ ] } }, - "202" : { } + "202": {} } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkInterfaceGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkInterfaceGet.json index 756238534de7..349acd525e19 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkInterfaceGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkInterfaceGet.json @@ -1,54 +1,54 @@ { - "parameters" : { + "parameters": { "api-version": "2019-04-01", - "subscriptionId" : "subid", + "subscriptionId": "subid", "resourceGroupName": "rg1", "networkInterfaceName": "test-nic" }, - "responses" : { - "200" : { - "body" : { - "name" : "test-nic", - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic", - "location" : "eastus", - "properties" : { - "provisioningState" : "Succeeded", - "ipConfigurations" : [ - { - "name" : "ipconfig1", - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic/ipConfigurations/ipconfig1", - "properties" : { - "provisioningState" : "Succeeded", - "privateIPAddress" : "172.20.2.4", - "privateIPAllocationMethod" : "Dynamic", - "publicIPAddress" : { - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip" + "responses": { + "200": { + "body": { + "name": "test-nic", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded", + "ipConfigurations": [ + { + "name": "ipconfig1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic/ipConfigurations/ipconfig1", + "properties": { + "provisioningState": "Succeeded", + "privateIPAddress": "172.20.2.4", + "privateIPAllocationMethod": "Dynamic", + "publicIPAddress": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip" }, - "subnet" : { - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default" + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default" }, - "primary" : true, - "privateIPAddressVersion" : "IPv4" + "primary": true, + "privateIPAddressVersion": "IPv4" } } ], - "dnsSettings" : { - "dnsServers" : [], - "appliedDnsServers" : [], - "internalDomainNameSuffix" : "test.bx.internal.cloudapp.net" + "dnsSettings": { + "dnsServers": [], + "appliedDnsServers": [], + "internalDomainNameSuffix": "test.bx.internal.cloudapp.net" }, - "macAddress" : "00-0D-3A-1B-C7-21", - "enableAcceleratedNetworking" : true, - "enableIPForwarding" : false, - "networkSecurityGroup" : { - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg" + "macAddress": "00-0D-3A-1B-C7-21", + "enableAcceleratedNetworking": true, + "enableIPForwarding": false, + "networkSecurityGroup": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg" }, - "primary" : true, - "virtualMachine" : { - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1" + "primary": true, + "virtualMachine": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1" } }, - "type" : "Microsoft.Network/networkInterfaces" + "type": "Microsoft.Network/networkInterfaces" } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkInterfaceList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkInterfaceList.json index 97c4297925b8..dd0189798f91 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkInterfaceList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkInterfaceList.json @@ -1,87 +1,89 @@ { - "parameters" : { + "parameters": { "api-version": "2019-04-01", - "subscriptionId" : "subid", + "subscriptionId": "subid", "resourceGroupName": "rg1" }, - "responses" : { - "200" : { - "body" : { + "responses": { + "200": { + "body": { "value": [ { - "name" : "test-nic", - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic", - "location" : "eastus", - "properties" : { - "provisioningState" : "Succeeded", - "ipConfigurations" : [{ - "name" : "ipconfig1", - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic/ipConfigurations/ipconfig1", - "properties" : { - "provisioningState" : "Succeeded", - "privateIPAddress" : "172.20.2.4", - "privateIPAllocationMethod" : "Dynamic", - "publicIPAddress" : { - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip" + "name": "test-nic", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded", + "ipConfigurations": [ + { + "name": "ipconfig1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic/ipConfigurations/ipconfig1", + "properties": { + "provisioningState": "Succeeded", + "privateIPAddress": "172.20.2.4", + "privateIPAllocationMethod": "Dynamic", + "publicIPAddress": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip" }, - "subnet" : { - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default" + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default" }, - "primary" : true, - "privateIPAddressVersion" : "IPv4" + "primary": true, + "privateIPAddressVersion": "IPv4" } } ], - "dnsSettings" : { - "dnsServers" : [], - "appliedDnsServers" : [], - "internalDomainNameSuffix" : "test.bx.internal.cloudapp.net" + "dnsSettings": { + "dnsServers": [], + "appliedDnsServers": [], + "internalDomainNameSuffix": "test.bx.internal.cloudapp.net" }, - "macAddress" : "00-0D-3A-1B-C7-21", - "enableAcceleratedNetworking" : true, - "enableIPForwarding" : false, - "networkSecurityGroup" : { - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg" + "macAddress": "00-0D-3A-1B-C7-21", + "enableAcceleratedNetworking": true, + "enableIPForwarding": false, + "networkSecurityGroup": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg" }, - "primary" : true, - "virtualMachine" : { - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1" + "primary": true, + "virtualMachine": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1" } }, - "type" : "Microsoft.Network/networkInterfaces" + "type": "Microsoft.Network/networkInterfaces" }, { - "name" : "test-nic2", - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic2", - "location" : "eastus", - "properties" : { - "provisioningState" : "Succeeded", - "ipConfigurations" : [{ - "name" : "ipconfig1", - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic2/ipConfigurations/ipconfig1", - "properties" : { - "provisioningState" : "Succeeded", - "privateIPAddress" : "172.20.2.4", - "privateIPAllocationMethod" : "Dynamic", - "publicIPAddress" : { - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip2" + "name": "test-nic2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic2", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded", + "ipConfigurations": [ + { + "name": "ipconfig1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic2/ipConfigurations/ipconfig1", + "properties": { + "provisioningState": "Succeeded", + "privateIPAddress": "172.20.2.4", + "privateIPAllocationMethod": "Dynamic", + "publicIPAddress": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip2" }, - "subnet" : { - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet2/subnets/default" + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet2/subnets/default" }, - "primary" : true, - "privateIPAddressVersion" : "IPv4" + "primary": true, + "privateIPAddressVersion": "IPv4" } } ], - "dnsSettings" : { - "dnsServers" : [], - "appliedDnsServers" : [] + "dnsSettings": { + "dnsServers": [], + "appliedDnsServers": [] }, - "enableAcceleratedNetworking" : true, - "enableIPForwarding" : false + "enableAcceleratedNetworking": true, + "enableIPForwarding": false }, - "type" : "Microsoft.Network/networkInterfaces" + "type": "Microsoft.Network/networkInterfaces" } ] } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkInterfaceListAll.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkInterfaceListAll.json index a5865cb00e88..bff07f6ed068 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkInterfaceListAll.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkInterfaceListAll.json @@ -1,86 +1,88 @@ { - "parameters" : { + "parameters": { "api-version": "2019-04-01", - "subscriptionId" : "subid" + "subscriptionId": "subid" }, - "responses" : { - "200" : { - "body" : { + "responses": { + "200": { + "body": { "value": [ { - "name" : "test-nic", - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic", - "location" : "eastus", - "properties" : { - "provisioningState" : "Succeeded", - "ipConfigurations" : [{ - "name" : "ipconfig1", - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic/ipConfigurations/ipconfig1", - "properties" : { - "provisioningState" : "Succeeded", - "privateIPAddress" : "172.20.2.4", - "privateIPAllocationMethod" : "Dynamic", - "publicIPAddress" : { - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip" + "name": "test-nic", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded", + "ipConfigurations": [ + { + "name": "ipconfig1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic/ipConfigurations/ipconfig1", + "properties": { + "provisioningState": "Succeeded", + "privateIPAddress": "172.20.2.4", + "privateIPAllocationMethod": "Dynamic", + "publicIPAddress": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip" }, - "subnet" : { - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default" + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default" }, - "primary" : true, - "privateIPAddressVersion" : "IPv4" + "primary": true, + "privateIPAddressVersion": "IPv4" } } ], - "dnsSettings" : { - "dnsServers" : [], - "appliedDnsServers" : [], - "internalDomainNameSuffix" : "test.bx.internal.cloudapp.net" + "dnsSettings": { + "dnsServers": [], + "appliedDnsServers": [], + "internalDomainNameSuffix": "test.bx.internal.cloudapp.net" }, - "macAddress" : "00-0D-3A-1B-C7-21", - "enableAcceleratedNetworking" : true, - "enableIPForwarding" : false, - "networkSecurityGroup" : { - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg" + "macAddress": "00-0D-3A-1B-C7-21", + "enableAcceleratedNetworking": true, + "enableIPForwarding": false, + "networkSecurityGroup": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg" }, - "primary" : true, - "virtualMachine" : { - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1" + "primary": true, + "virtualMachine": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1" } }, - "type" : "Microsoft.Network/networkInterfaces" + "type": "Microsoft.Network/networkInterfaces" }, { - "name" : "test-nic2", - "id" : "/subscriptions/subid/resourceGroups/rgnew/providers/Microsoft.Network/networkInterfaces/test-nic2", - "location" : "eastus", - "properties" : { - "provisioningState" : "Succeeded", - "ipConfigurations" : [{ - "name" : "ipconfig1", - "id" : "/subscriptions/subid/resourceGroups/rgnew/providers/Microsoft.Network/networkInterfaces/test-nic2/ipConfigurations/ipconfig1", - "properties" : { - "provisioningState" : "Succeeded", - "privateIPAddress" : "172.20.2.4", - "privateIPAllocationMethod" : "Dynamic", - "publicIPAddress" : { - "id" : "/subscriptions/subid/resourceGroups/rgnew/providers/Microsoft.Network/publicIPAddresses/test-ip2" + "name": "test-nic2", + "id": "/subscriptions/subid/resourceGroups/rgnew/providers/Microsoft.Network/networkInterfaces/test-nic2", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded", + "ipConfigurations": [ + { + "name": "ipconfig1", + "id": "/subscriptions/subid/resourceGroups/rgnew/providers/Microsoft.Network/networkInterfaces/test-nic2/ipConfigurations/ipconfig1", + "properties": { + "provisioningState": "Succeeded", + "privateIPAddress": "172.20.2.4", + "privateIPAllocationMethod": "Dynamic", + "publicIPAddress": { + "id": "/subscriptions/subid/resourceGroups/rgnew/providers/Microsoft.Network/publicIPAddresses/test-ip2" }, - "subnet" : { - "id" : "/subscriptions/subid/resourceGroups/rgnew/providers/Microsoft.Network/virtualNetworks/rgnew-vnet2/subnets/default" + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rgnew/providers/Microsoft.Network/virtualNetworks/rgnew-vnet2/subnets/default" }, - "primary" : true, - "privateIPAddressVersion" : "IPv4" + "primary": true, + "privateIPAddressVersion": "IPv4" } } ], - "dnsSettings" : { - "dnsServers" : [], - "appliedDnsServers" : [] + "dnsSettings": { + "dnsServers": [], + "appliedDnsServers": [] }, - "enableAcceleratedNetworking" : true, - "enableIPForwarding" : false + "enableAcceleratedNetworking": true, + "enableIPForwarding": false }, - "type" : "Microsoft.Network/networkInterfaces" + "type": "Microsoft.Network/networkInterfaces" } ] } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkInterfaceTapConfigurationCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkInterfaceTapConfigurationCreate.json index 8efa00f8ec8b..739ad68e2385 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkInterfaceTapConfigurationCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkInterfaceTapConfigurationCreate.json @@ -1,5 +1,5 @@ { - "parameters" : { + "parameters": { "subscriptionId": "subid", "resourceGroupName": "testrg", "networkInterfaceName": "mynic", @@ -8,40 +8,39 @@ "tapConfigurationParameters": { "properties": { "virtualNetworkTap": { - "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworkTaps/testvtap" - } + "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworkTaps/testvtap" } + } } }, - "responses" : { - "200" : { - "body" : { + "responses": { + "200": { + "body": { "name": "tapConfiguration1", "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/mynic/tapConfigurations/tapConfiguration1", "etag": "etag", "type": "Microsoft.Network/networkInterfaces/tapConfigurations", "properties": { - "virtualNetworkTap": { - "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworkTaps/testvtap" - }, - "provisioningState": "Succeded" + "virtualNetworkTap": { + "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworkTaps/testvtap" + }, + "provisioningState": "Succeded" } } }, - "201" : { - "body" : { + "201": { + "body": { "name": "tapConfiguration1", "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/mynic/tapConfigurations/tapConfiguration1", "etag": "etag", "type": "Microsoft.Network/networkInterfaces/tapConfigurations", "properties": { - "virtualNetworkTap": { - "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworkTaps/testvtap" - }, - "provisioningState": "Succeded" + "virtualNetworkTap": { + "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworkTaps/testvtap" + }, + "provisioningState": "Succeded" } } } } } - diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkInterfaceTapConfigurationDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkInterfaceTapConfigurationDelete.json index c0934db685e9..b408ffde7a1b 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkInterfaceTapConfigurationDelete.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkInterfaceTapConfigurationDelete.json @@ -1,14 +1,14 @@ { - "parameters" : { + "parameters": { "api-version": "2019-04-01", - "subscriptionId" : "subid", + "subscriptionId": "subid", "resourceGroupName": "rg1", "networkInterfaceName": "test-networkinterface", "tapConfigurationName": "test-tapconfiguration" }, - "responses" : { - "200" : { }, - "202" : { }, - "204" : { } + "responses": { + "200": {}, + "202": {}, + "204": {} } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkInterfaceTapConfigurationGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkInterfaceTapConfigurationGet.json index 5ba6da7b5f34..fe17b8c7b5d3 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkInterfaceTapConfigurationGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkInterfaceTapConfigurationGet.json @@ -8,19 +8,18 @@ }, "responses": { "200": { - "body": - { + "body": { "name": "tapConfiguration1", "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/mynic/tapConfigurations/tapConfiguration1", "etag": "etag", "type": "Microsoft.Network/networkInterfaces/tapConfigurations", "properties": { - "virtualNetworkTap": { - "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworkTaps/testvtap" - }, - "provisioningState": "Succeded" + "virtualNetworkTap": { + "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworkTaps/testvtap" + }, + "provisioningState": "Succeded" } - } - } - } + } + } + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkInterfaceTapConfigurationList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkInterfaceTapConfigurationList.json index 6e0812a6703b..af29c05adc97 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkInterfaceTapConfigurationList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkInterfaceTapConfigurationList.json @@ -1,26 +1,26 @@ { - "parameters" : { + "parameters": { "api-version": "2019-04-01", - "subscriptionId" : "subid", + "subscriptionId": "subid", "resourceGroupName": "rg1", "networkInterfaceName": "mynic" }, - "responses" : { - "200" : { - "body" : { + "responses": { + "200": { + "body": { "value": [ - { + { "name": "tapConfiguration1", "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/mynic/tapConfigurations/tapConfiguration1", "etag": "etag", "type": "Microsoft.Network/networkInterfaces/tapConfigurations", "properties": { - "virtualNetworkTap": { + "virtualNetworkTap": { "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworkTaps/testvtap" - }, - "provisioningState": "Succeded" + }, + "provisioningState": "Succeded" } - } + } ] } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkInterfaceUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkInterfaceUpdateTags.json index cec272106f9e..cc5b9c0074b2 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkInterfaceUpdateTags.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkInterfaceUpdateTags.json @@ -1,7 +1,7 @@ { - "parameters" : { + "parameters": { "api-version": "2019-04-01", - "subscriptionId" : "subid", + "subscriptionId": "subid", "resourceGroupName": "rg1", "networkInterfaceName": "test-nic", "parameters": { @@ -11,44 +11,45 @@ } } }, - "responses" : { - "200" : { - "body" : { - "name" : "test-nic", - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic", - "location" : "eastus", + "responses": { + "200": { + "body": { + "name": "test-nic", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic", + "location": "eastus", "tags": { "tag1": "value1", "tag2": "value2" }, - "properties" : { - "provisioningState" : "Succeeded", - "ipConfigurations" : [{ - "name" : "ipconfig1", - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic/ipConfigurations/ipconfig1", - "properties" : { - "provisioningState" : "Succeeded", - "privateIPAddress" : "172.20.2.4", - "privateIPAllocationMethod" : "Dynamic", - "publicIPAddress" : { - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip" + "properties": { + "provisioningState": "Succeeded", + "ipConfigurations": [ + { + "name": "ipconfig1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic/ipConfigurations/ipconfig1", + "properties": { + "provisioningState": "Succeeded", + "privateIPAddress": "172.20.2.4", + "privateIPAllocationMethod": "Dynamic", + "publicIPAddress": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip" }, - "subnet" : { - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default" + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default" }, - "primary" : true, - "privateIPAddressVersion" : "IPv4" + "primary": true, + "privateIPAddressVersion": "IPv4" } } ], - "dnsSettings" : { - "dnsServers" : [], - "appliedDnsServers" : [] + "dnsSettings": { + "dnsServers": [], + "appliedDnsServers": [] }, - "enableAcceleratedNetworking" : true, - "enableIPForwarding" : false + "enableAcceleratedNetworking": true, + "enableIPForwarding": false }, - "type" : "Microsoft.Network/networkInterfaces" + "type": "Microsoft.Network/networkInterfaces" } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkProfileCreateConfigOnly.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkProfileCreateConfigOnly.json index 87bde4a2108e..03bc621dc165 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkProfileCreateConfigOnly.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkProfileCreateConfigOnly.json @@ -1,110 +1,110 @@ { + "parameters": { + "api-version": "2019-04-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkProfileName": "networkProfile1", + "location": "westus", "parameters": { - "api-version": "2019-04-01", - "subscriptionId": "subid", - "resourceGroupName": "rg1", - "networkProfileName": "networkProfile1", - "location": "westus", - "parameters": { + "properties": { + "containerNetworkInterfaceConfigurations": [ + { + "name": "eth1", "properties": { - "containerNetworkInterfaceConfigurations": [ - { - "name": "eth1", - "properties": { - "ipConfigurations": [ - { - "name": "ipconfig1", - "properties": { - "subnet": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1" - } - } - } - ] - } + "ipConfigurations": [ + { + "name": "ipconfig1", + "properties": { + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1" + } + } + } + ] + } + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "name": "networkProfile1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1", + "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", + "type": "Microsoft.Network/networkProfiles", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "1570d8b6-ab8a-4ad2-81d6-d2799b429cbf", + "containerNetworkInterfaceConfigurations": [ + { + "name": "eth1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1", + "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", + "properties": { + "provisioningState": "Succeeded", + "ipConfigurations": [ + { + "name": "ipconfig1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1/ipConfigurations/ipconfig1", + "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", + "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations", + "properties": { + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1" + } } + } ] + }, + "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations" } + ], + "containerNetworkInterfaces": [] } + } }, - "responses": { - "200": { - "body": { - "name": "networkProfile1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1", - "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", - "type": "Microsoft.Network/networkProfiles", - "location": "westus", - "properties": { - "provisioningState": "Succeeded", - "resourceGuid": "1570d8b6-ab8a-4ad2-81d6-d2799b429cbf", - "containerNetworkInterfaceConfigurations": [ - { - "name": "eth1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1", - "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", - "properties": { - "provisioningState": "Succeeded", - "ipConfigurations": [ - { - "name": "ipconfig1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1/ipConfigurations/ipconfig1", - "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", - "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations", - "properties": { - "provisioningState": "Succeeded", - "subnet": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1" - } - } - } - ] - }, - "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations" - } - ], - "containerNetworkInterfaces": [] - } - } - }, - "201": { - "body": { - "name": "networkProfile1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1", - "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", - "type": "Microsoft.Network/networkProfiles", - "location": "westus", - "properties": { - "provisioningState": "Succeeded", - "resourceGuid": "1570d8b6-ab8a-4ad2-81d6-d2799b429cbf", - "containerNetworkInterfaceConfigurations": [ - { - "name": "eth1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1", - "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", - "properties": { - "provisioningState": "Succeeded", - "ipConfigurations": [ - { - "name": "ipconfig1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1/ipConfigurations/ipconfig1", - "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", - "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations", - "properties": { - "provisioningState": "Succeeded", - "subnet": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1" - } - } - } - ] - }, - "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations" - } - ], - "containerNetworkInterfaces": [] - } + "201": { + "body": { + "name": "networkProfile1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1", + "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", + "type": "Microsoft.Network/networkProfiles", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "1570d8b6-ab8a-4ad2-81d6-d2799b429cbf", + "containerNetworkInterfaceConfigurations": [ + { + "name": "eth1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1", + "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", + "properties": { + "provisioningState": "Succeeded", + "ipConfigurations": [ + { + "name": "ipconfig1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1/ipConfigurations/ipconfig1", + "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", + "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations", + "properties": { + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1" + } + } + } + ] + }, + "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations" } + ], + "containerNetworkInterfaces": [] } + } } -} \ No newline at end of file + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkProfileDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkProfileDelete.json index 03a01849c439..78c39a291e15 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkProfileDelete.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkProfileDelete.json @@ -1,13 +1,13 @@ { - "parameters": { - "api-version": "2019-04-01", - "subscriptionId": "subid", - "resourceGroupName": "rg1", - "networkProfileName": "networkProfile1" - }, - "responses": { - "200": { }, - "202": { }, - "204": { } - } -} \ No newline at end of file + "parameters": { + "api-version": "2019-04-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkProfileName": "networkProfile1" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkProfileGetConfigOnly.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkProfileGetConfigOnly.json index f79a9ae320dd..944642ddbc64 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkProfileGetConfigOnly.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkProfileGetConfigOnly.json @@ -1,84 +1,84 @@ { - "parameters": { - "api-version": "2019-04-01", - "subscriptionId": "subid", - "resourceGroupName": "rg1", - "networkProfileName": "networkProfile1" - }, - "responses": { - "200": { - "body": { - "name": "networkProfile1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1", - "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", - "type": "Microsoft.Network/networkProfiles", - "location": "centraluseuap", - "properties": { - "provisioningState": "Succeeded", - "resourceGuid": "1570d8b6-ab8a-4ad2-81d6-d2799b429cbf", - "containerNetworkInterfaceConfigurations": [ - { - "name": "eth0", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0", - "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", - "properties": { - "provisioningState": "Succeeded", - "ipConfigurations": [ - { - "name": "ipconfigprofile1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0/ipConfigurations/ipconfigprofile1", - "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", - "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations", - "properties": { - "provisioningState": "Succeeded", - "subnet": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1" - } - } - }, - { - "name": "ipconfigprofile2", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0/ipConfigurations/ipconfigprofile2", - "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", - "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations", - "properties": { - "provisioningState": "Succeeded", - "subnet": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1" - } - } - } - ] - }, - "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations" - }, - { - "name": "eth1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1", - "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", - "properties": { - "provisioningState": "Succeeded", - "ipConfigurations": [ - { - "name": "ipconfigprofile3", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1/ipConfigurations/ipconfigprofile3", - "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", - "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations", - "properties": { - "provisioningState": "Succeeded", - "subnet": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1" - } - } - } - ] - }, - "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations" - } - ], - "containerNetworkInterfaces": [] - } + "parameters": { + "api-version": "2019-04-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkProfileName": "networkProfile1" + }, + "responses": { + "200": { + "body": { + "name": "networkProfile1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1", + "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", + "type": "Microsoft.Network/networkProfiles", + "location": "centraluseuap", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "1570d8b6-ab8a-4ad2-81d6-d2799b429cbf", + "containerNetworkInterfaceConfigurations": [ + { + "name": "eth0", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0", + "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", + "properties": { + "provisioningState": "Succeeded", + "ipConfigurations": [ + { + "name": "ipconfigprofile1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0/ipConfigurations/ipconfigprofile1", + "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", + "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations", + "properties": { + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1" + } + } + }, + { + "name": "ipconfigprofile2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0/ipConfigurations/ipconfigprofile2", + "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", + "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations", + "properties": { + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1" + } + } + } + ] + }, + "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations" + }, + { + "name": "eth1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1", + "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", + "properties": { + "provisioningState": "Succeeded", + "ipConfigurations": [ + { + "name": "ipconfigprofile3", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1/ipConfigurations/ipconfigprofile3", + "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", + "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations", + "properties": { + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1" + } + } + } + ] + }, + "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations" } + ], + "containerNetworkInterfaces": [] } + } } -} \ No newline at end of file + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkProfileGetWithContainerNic.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkProfileGetWithContainerNic.json index cfadcfa72c17..088a9863f397 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkProfileGetWithContainerNic.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkProfileGetWithContainerNic.json @@ -200,4 +200,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkProfileList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkProfileList.json index 6374438295d1..b35131125fdf 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkProfileList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkProfileList.json @@ -1,97 +1,97 @@ { - "parameters": { - "api-version": "2019-04-01", - "subscriptionId": "subid", - "resourceGroupName": "rg1" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1", - "name": "networkProfile1", + "parameters": { + "api-version": "2019-04-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1", + "name": "networkProfile1", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "1570d8b6-ab8a-4ad2-81d6-d2799b429cbf", + "containerNetworkInterfaceConfigurations": [ + { + "name": "eth0", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0", + "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", + "properties": { + "provisioningState": "Succeeded", + "ipConfigurations": [ + { + "name": "ipconfigprofile1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0/ipConfigurations/ipconfigprofile1", + "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", + "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations", "properties": { - "provisioningState": "Succeeded", - "resourceGuid": "1570d8b6-ab8a-4ad2-81d6-d2799b429cbf", - "containerNetworkInterfaceConfigurations": [ - { - "name": "eth0", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0", - "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", - "properties": { - "provisioningState": "Succeeded", - "ipConfigurations": [ - { - "name": "ipconfigprofile1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0/ipConfigurations/ipconfigprofile1", - "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", - "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations", - "properties": { - "provisioningState": "Succeeded", - "subnet": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1" - } - } - }, - { - "name": "ipconfigprofile2", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0/ipConfigurations/ipconfigprofile2", - "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", - "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations", - "properties": { - "provisioningState": "Succeeded", - "subnet": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1" - } - } - } - ] - }, - "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations" - } - ], - "containerNetworkInterfaces": [] - }, - "type": "Microsoft.Network/networkProfiles", - "location": "centraluseuap" - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile2", - "name": "networkProfile2", + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1" + } + } + }, + { + "name": "ipconfigprofile2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0/ipConfigurations/ipconfigprofile2", + "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", + "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations", "properties": { - "containerNetworkInterfaceConfigurations": [ - { - "name": "eth1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1", - "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", - "properties": { - "provisioningState": "Succeeded", - "ipConfigurations": [ - { - "name": "ipconfigprofile3", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1/ipConfigurations/ipconfigprofile3", - "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", - "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations", - "properties": { - "provisioningState": "Succeeded", - "subnet": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1" - } - } - } - ] - }, - "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations" - } - ], - "containerNetworkInterfaces": [] - }, - "type": "Microsoft.Network/networkProfiles", - "location": "centraluseuap" - } - ] - } - } + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1" + } + } + } + ] + }, + "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations" + } + ], + "containerNetworkInterfaces": [] + }, + "type": "Microsoft.Network/networkProfiles", + "location": "centraluseuap" + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile2", + "name": "networkProfile2", + "properties": { + "containerNetworkInterfaceConfigurations": [ + { + "name": "eth1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1", + "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", + "properties": { + "provisioningState": "Succeeded", + "ipConfigurations": [ + { + "name": "ipconfigprofile3", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1/ipConfigurations/ipconfigprofile3", + "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", + "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations", + "properties": { + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1" + } + } + } + ] + }, + "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations" + } + ], + "containerNetworkInterfaces": [] + }, + "type": "Microsoft.Network/networkProfiles", + "location": "centraluseuap" + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkProfileListAll.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkProfileListAll.json index 9f58de0509ce..ea801df41dd6 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkProfileListAll.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkProfileListAll.json @@ -1,84 +1,84 @@ { - "parameters": { - "api-version": "2019-04-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1", - "name": "networkProfile1", + "parameters": { + "api-version": "2019-04-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1", + "name": "networkProfile1", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "1570d8b6-ab8a-4ad2-81d6-d2799b429cbf", + "containerNetworkInterfaceConfigurations": [ + { + "name": "eth0", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0", + "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", + "properties": { + "provisioningState": "Succeeded", + "ipConfigurations": [ + { + "name": "ipconfigprofile1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0/ipConfigurations/ipconfigprofile1", + "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", + "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations", "properties": { - "provisioningState": "Succeeded", - "resourceGuid": "1570d8b6-ab8a-4ad2-81d6-d2799b429cbf", - "containerNetworkInterfaceConfigurations": [ - { - "name": "eth0", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0", - "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", - "properties": { - "provisioningState": "Succeeded", - "ipConfigurations": [ - { - "name": "ipconfigprofile1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0/ipConfigurations/ipconfigprofile1", - "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", - "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations", - "properties": { - "provisioningState": "Succeeded", - "subnet": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1" - } - } - } - ] - }, - "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations" - } - ], - "containerNetworkInterfaces": [] - }, - "type": "Microsoft.Network/networkProfiles", - "location": "centraluseuap" - }, - { - "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkProfiles/networkProfile2", - "name": "networkProfile2", + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1" + } + } + } + ] + }, + "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations" + } + ], + "containerNetworkInterfaces": [] + }, + "type": "Microsoft.Network/networkProfiles", + "location": "centraluseuap" + }, + { + "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkProfiles/networkProfile2", + "name": "networkProfile2", + "properties": { + "containerNetworkInterfaceConfigurations": [ + { + "name": "eth1", + "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1", + "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", + "properties": { + "provisioningState": "Succeeded", + "ipConfigurations": [ + { + "name": "ipconfigprofile3", + "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1/ipConfigurations/ipconfigprofile3", + "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", + "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations", "properties": { - "containerNetworkInterfaceConfigurations": [ - { - "name": "eth1", - "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1", - "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", - "properties": { - "provisioningState": "Succeeded", - "ipConfigurations": [ - { - "name": "ipconfigprofile3", - "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1/ipConfigurations/ipconfigprofile3", - "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", - "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations", - "properties": { - "provisioningState": "Succeeded", - "subnet": { - "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1" - } - } - } - ] - }, - "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations" - } - ], - "containerNetworkInterfaces": [] - }, - "type": "Microsoft.Network/networkProfiles", - "location": "centraluseuap" - } - ] - } - } + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1" + } + } + } + ] + }, + "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations" + } + ], + "containerNetworkInterfaces": [] + }, + "type": "Microsoft.Network/networkProfiles", + "location": "centraluseuap" + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkProfileUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkProfileUpdateTags.json index ebd9cbc8e98a..9a4c5db1ccc2 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkProfileUpdateTags.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkProfileUpdateTags.json @@ -1,58 +1,58 @@ { + "parameters": { + "api-version": "2019-04-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkProfileName": "test-np", "parameters": { - "api-version": "2019-04-01", - "subscriptionId": "subid", - "resourceGroupName": "rg1", - "networkProfileName": "test-np", - "parameters": { - "tags": { - "tag1": "value1", - "tag2": "value2" - } - } - }, - "responses": { - "200": { - "body": { - "name": "test-np", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-np", - "tags": { - "tag1": "value1", - "tag2": "value2" - }, - "properties": { - "provisioningState": "Succeeded", - "resourceGuid": "1570d8b6-ab8a-4ad2-81d6-d2799b429cbf", - "containerNetworkInterfaceConfigurations": [ - { - "name": "eth0", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0", - "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", - "properties": { - "provisioningState": "Succeeded", - "ipConfigurations": [ - { - "name": "ipconfigprofile1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0/ipConfigurations/ipconfigprofile1", - "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", - "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations", - "properties": { - "provisioningState": "Succeeded", - "subnet": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1" - } - } - } - ] - }, - "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations" - } - ], - "containerNetworkInterfaces": [] - }, - "type": "Microsoft.Network/networkProfiles", - "location": "centraluseuap" + "tags": { + "tag1": "value1", + "tag2": "value2" + } + } + }, + "responses": { + "200": { + "body": { + "name": "test-np", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-np", + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "1570d8b6-ab8a-4ad2-81d6-d2799b429cbf", + "containerNetworkInterfaceConfigurations": [ + { + "name": "eth0", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0", + "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", + "properties": { + "provisioningState": "Succeeded", + "ipConfigurations": [ + { + "name": "ipconfigprofile1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0/ipConfigurations/ipconfigprofile1", + "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", + "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations", + "properties": { + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1" + } + } + } + ] + }, + "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations" } - } + ], + "containerNetworkInterfaces": [] + }, + "type": "Microsoft.Network/networkProfiles", + "location": "centraluseuap" + } } -} \ No newline at end of file + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkSecurityGroupCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkSecurityGroupCreate.json index 909633cf2b28..41cdb2e3ca78 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkSecurityGroupCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkSecurityGroupCreate.json @@ -1,23 +1,23 @@ { - "parameters" : { + "parameters": { "api-version": "2019-04-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", - "networkSecurityGroupName" : "testnsg", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkSecurityGroupName": "testnsg", "parameters": { "location": "eastus" } }, - "responses" : { - "200" : { - "body" : { + "responses": { + "200": { + "body": { "name": "testnsg", "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg", "type": "Microsoft.Network/networkSecurityGroups", "location": "eastus", "properties": { "provisioningState": "Succeeded", - "securityRules": [ ], + "securityRules": [], "defaultSecurityRules": [ { "name": "AllowVnetInBound", @@ -36,7 +36,7 @@ } }, { - "name": "AllowAzureLoadBalancerInBound", + "name": "AllowAzureLoadBalancerInBound", "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound", "properties": { "provisioningState": "Succeeded", @@ -83,7 +83,7 @@ "direction": "Outbound" } }, - { + { "name": "AllowInternetOutBound", "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound", "properties": { @@ -102,7 +102,7 @@ { "name": "DenyAllOutBound", "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound", - "properties": { + "properties": { "provisioningState": "Succeeded", "description": "Deny all outbound traffic", "protocol": "*", @@ -119,15 +119,15 @@ } } }, - "201" : { - "body" : { + "201": { + "body": { "name": "testnsg", "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg", "type": "Microsoft.Network/networkSecurityGroups", "location": "eastus", "properties": { "provisioningState": "Succeeded", - "securityRules": [ ], + "securityRules": [], "defaultSecurityRules": [ { "name": "AllowVnetInBound", @@ -146,7 +146,7 @@ } }, { - "name": "AllowAzureLoadBalancerInBound", + "name": "AllowAzureLoadBalancerInBound", "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound", "properties": { "provisioningState": "Succeeded", @@ -193,7 +193,7 @@ "direction": "Outbound" } }, - { + { "name": "AllowInternetOutBound", "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound", "properties": { @@ -212,7 +212,7 @@ { "name": "DenyAllOutBound", "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound", - "properties": { + "properties": { "provisioningState": "Succeeded", "description": "Deny all outbound traffic", "protocol": "*", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkSecurityGroupCreateWithRule.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkSecurityGroupCreateWithRule.json index 609876129442..7d39f03aad90 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkSecurityGroupCreateWithRule.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkSecurityGroupCreateWithRule.json @@ -1,9 +1,9 @@ { - "parameters" : { + "parameters": { "api-version": "2019-04-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", - "networkSecurityGroupName" : "testnsg", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkSecurityGroupName": "testnsg", "parameters": { "properties": { "securityRules": [ @@ -25,9 +25,9 @@ "location": "eastus" } }, - "responses" : { - "200" : { - "body" : { + "responses": { + "200": { + "body": { "name": "testnsg", "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg", "type": "Microsoft.Network/networkSecurityGroups", @@ -69,7 +69,7 @@ } }, { - "name": "AllowAzureLoadBalancerInBound", + "name": "AllowAzureLoadBalancerInBound", "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound", "properties": { "provisioningState": "Succeeded", @@ -116,7 +116,7 @@ "direction": "Outbound" } }, - { + { "name": "AllowInternetOutBound", "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound", "properties": { @@ -135,7 +135,7 @@ { "name": "DenyAllOutBound", "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound", - "properties": { + "properties": { "provisioningState": "Succeeded", "description": "Deny all outbound traffic", "protocol": "*", @@ -152,8 +152,8 @@ } } }, - "201" : { - "body" : { + "201": { + "body": { "name": "testnsg", "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg", "type": "Microsoft.Network/networkSecurityGroups", @@ -195,7 +195,7 @@ } }, { - "name": "AllowAzureLoadBalancerInBound", + "name": "AllowAzureLoadBalancerInBound", "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound", "properties": { "provisioningState": "Succeeded", @@ -242,7 +242,7 @@ "direction": "Outbound" } }, - { + { "name": "AllowInternetOutBound", "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound", "properties": { @@ -261,7 +261,7 @@ { "name": "DenyAllOutBound", "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound", - "properties": { + "properties": { "provisioningState": "Succeeded", "description": "Deny all outbound traffic", "protocol": "*", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkSecurityGroupDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkSecurityGroupDelete.json index 7cf8c28dd762..112aca2f3e0f 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkSecurityGroupDelete.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkSecurityGroupDelete.json @@ -1,13 +1,13 @@ { - "parameters" : { + "parameters": { "api-version": "2019-04-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", - "networkSecurityGroupName" : "testnsg" + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkSecurityGroupName": "testnsg" }, - "responses" : { - "200" : { }, - "202" : { }, - "204" : { } + "responses": { + "200": {}, + "202": {}, + "204": {} } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkSecurityGroupGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkSecurityGroupGet.json index 2ff929c10a12..9d0a36175372 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkSecurityGroupGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkSecurityGroupGet.json @@ -1,13 +1,13 @@ { - "parameters" : { + "parameters": { "api-version": "2019-04-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", - "networkSecurityGroupName" : "testnsg" + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkSecurityGroupName": "testnsg" }, - "responses" : { - "200" : { - "body" : { + "responses": { + "200": { + "body": { "name": "testnsg", "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg", "type": "Microsoft.Network/networkSecurityGroups", @@ -49,7 +49,7 @@ } }, { - "name": "AllowAzureLoadBalancerInBound", + "name": "AllowAzureLoadBalancerInBound", "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound", "properties": { "provisioningState": "Succeeded", @@ -96,7 +96,7 @@ "direction": "Outbound" } }, - { + { "name": "AllowInternetOutBound", "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound", "properties": { @@ -115,7 +115,7 @@ { "name": "DenyAllOutBound", "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound", - "properties": { + "properties": { "provisioningState": "Succeeded", "description": "Deny all outbound traffic", "protocol": "*", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkSecurityGroupList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkSecurityGroupList.json index ded07328cff7..4e929e1ec516 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkSecurityGroupList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkSecurityGroupList.json @@ -1,12 +1,12 @@ { - "parameters" : { + "parameters": { "api-version": "2019-04-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1" + "subscriptionId": "subid", + "resourceGroupName": "rg1" }, - "responses" : { - "200" : { - "body" : { + "responses": { + "200": { + "body": { "value": [ { "name": "nsg1", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkSecurityGroupListAll.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkSecurityGroupListAll.json index 717d248e0c25..b4f859300e25 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkSecurityGroupListAll.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkSecurityGroupListAll.json @@ -1,11 +1,11 @@ { - "parameters" : { + "parameters": { "api-version": "2019-04-01", - "subscriptionId" : "subid" + "subscriptionId": "subid" }, - "responses" : { - "200" : { - "body" : { + "responses": { + "200": { + "body": { "value": [ { "name": "nsg1", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkSecurityGroupRuleCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkSecurityGroupRuleCreate.json index 1038c3c25fba..82aecdb944cc 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkSecurityGroupRuleCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkSecurityGroupRuleCreate.json @@ -1,9 +1,9 @@ { - "parameters" : { + "parameters": { "api-version": "2019-04-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", - "networkSecurityGroupName" : "testnsg", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkSecurityGroupName": "testnsg", "securityRuleName": "rule1", "securityRuleParameters": { "properties": { @@ -18,11 +18,11 @@ } } }, - "responses" : { - "200" : { - "body" : { + "responses": { + "200": { + "body": { "name": "rule1", - "id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1", "properties": { "provisioningState": "Succeeded", "protocol": "*", @@ -36,10 +36,10 @@ } } }, - "201" : { - "body" : { + "201": { + "body": { "name": "rule1", - "id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1", "properties": { "provisioningState": "Succeeded", "protocol": "*", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkSecurityGroupRuleDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkSecurityGroupRuleDelete.json index f53aca4314e3..15c3d1c45742 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkSecurityGroupRuleDelete.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkSecurityGroupRuleDelete.json @@ -1,14 +1,14 @@ { - "parameters" : { + "parameters": { "api-version": "2019-04-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", - "networkSecurityGroupName" : "testnsg", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkSecurityGroupName": "testnsg", "securityRuleName": "rule1" }, - "responses" : { - "200" : { }, - "202" : { }, - "204" : { } + "responses": { + "200": {}, + "202": {}, + "204": {} } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkSecurityGroupRuleGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkSecurityGroupRuleGet.json index a576da135c3e..a44cf44e91fe 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkSecurityGroupRuleGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkSecurityGroupRuleGet.json @@ -1,16 +1,16 @@ { - "parameters" : { + "parameters": { "api-version": "2019-04-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", - "networkSecurityGroupName" : "testnsg", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkSecurityGroupName": "testnsg", "securityRuleName": "rule1" }, - "responses" : { - "200" : { - "body" : { + "responses": { + "200": { + "body": { "name": "rule1", - "id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1", "properties": { "provisioningState": "Succeeded", "protocol": "*", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkSecurityGroupRuleList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkSecurityGroupRuleList.json index e90dd3eb4ccb..1eee5de95032 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkSecurityGroupRuleList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkSecurityGroupRuleList.json @@ -1,17 +1,17 @@ { - "parameters" : { + "parameters": { "api-version": "2019-04-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", - "networkSecurityGroupName" : "testnsg" + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkSecurityGroupName": "testnsg" }, - "responses" : { - "200" : { - "body" : { + "responses": { + "200": { + "body": { "value": [ { "name": "rule1", - "id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1", "properties": { "provisioningState": "Succeeded", "protocol": "*", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkSecurityGroupUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkSecurityGroupUpdateTags.json index e448edc03455..0e2687792e50 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkSecurityGroupUpdateTags.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkSecurityGroupUpdateTags.json @@ -1,9 +1,9 @@ { - "parameters" : { + "parameters": { "api-version": "2019-04-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", - "networkSecurityGroupName" : "testnsg", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkSecurityGroupName": "testnsg", "parameters": { "tags": { "tag1": "value1", @@ -11,9 +11,9 @@ } } }, - "responses" : { - "200" : { - "body" : { + "responses": { + "200": { + "body": { "name": "testnsg", "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg", "type": "Microsoft.Network/networkSecurityGroups", @@ -24,7 +24,7 @@ }, "properties": { "provisioningState": "Succeeded", - "securityRules": [ ], + "securityRules": [], "defaultSecurityRules": [ { "name": "AllowVnetInBound", @@ -43,7 +43,7 @@ } }, { - "name": "AllowAzureLoadBalancerInBound", + "name": "AllowAzureLoadBalancerInBound", "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound", "properties": { "provisioningState": "Succeeded", @@ -90,7 +90,7 @@ "direction": "Outbound" } }, - { + { "name": "AllowInternetOutBound", "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound", "properties": { @@ -109,7 +109,7 @@ { "name": "DenyAllOutBound", "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound", - "properties": { + "properties": { "provisioningState": "Succeeded", "description": "Deny all outbound traffic", "protocol": "*", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkWatcherAvailableProvidersListGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkWatcherAvailableProvidersListGet.json index 0e490de47c6a..e8ecfa76ae74 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkWatcherAvailableProvidersListGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkWatcherAvailableProvidersListGet.json @@ -1,29 +1,31 @@ { - "parameters" : { + "parameters": { "api-version": "2019-04-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", - "networkWatcherName" : "nw1", - "parameters" : { - "azureLocations" : [ "West US" ], - "country" : "United States", - "state" : "washington", - "city" : "seattle" + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkWatcherName": "nw1", + "parameters": { + "azureLocations": [ + "West US" + ], + "country": "United States", + "state": "washington", + "city": "seattle" } }, - "responses" : { - "200" : { - "body" : { - "countries" : [ + "responses": { + "200": { + "body": { + "countries": [ { - "countryName" : "United States", - "states" : [ + "countryName": "United States", + "states": [ { - "stateName" : "washington", - "cities" : [ + "stateName": "washington", + "cities": [ { - "cityName" : "seattle", - "providers" : [ + "cityName": "seattle", + "providers": [ "Comcast Cable Communications, Inc. - ASN 7922", "Comcast Cable Communications, LLC - ASN 7922", "Level 3 Communications, Inc. (GBLX) - ASN 3549", @@ -37,18 +39,18 @@ ] } }, - "202" : { - "body" : { - "countries" : [ + "202": { + "body": { + "countries": [ { - "countryName" : "United States", - "states" : [ + "countryName": "United States", + "states": [ { - "stateName" : "washington", - "cities" : [ + "stateName": "washington", + "cities": [ { - "cityName" : "seattle", - "providers" : [ + "cityName": "seattle", + "providers": [ "Comcast Cable Communications, Inc. - ASN 7922", "Comcast Cable Communications, LLC - ASN 7922", "Level 3 Communications, Inc. (GBLX) - ASN 3549", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkWatcherAzureReachabilityReportGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkWatcherAzureReachabilityReportGet.json index c5055b177385..e4cdf011a466 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkWatcherAzureReachabilityReportGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkWatcherAzureReachabilityReportGet.json @@ -1,35 +1,35 @@ { - "parameters" : { + "parameters": { "api-version": "2019-04-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", - "networkWatcherName" : "nw1", - "parameters" : { - "providerLocation" : { - "country" : "United States", - "state" : "washington" + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkWatcherName": "nw1", + "parameters": { + "providerLocation": { + "country": "United States", + "state": "washington" }, - "providers" : [ + "providers": [ "Frontier Communications of America, Inc. - ASN 5650" ], - "azureLocations" : [ + "azureLocations": [ "West US" ], "startTime": "2017-09-07T00:00:00Z", "endTime": "2017-09-10T00:00:00Z" } }, - "responses" : { - "200" : { - "body" : { - "aggregationLevel" : "State", - "providerLocation" : { - "country" : "United States", - "state" : "washington" + "responses": { + "200": { + "body": { + "aggregationLevel": "State", + "providerLocation": { + "country": "United States", + "state": "washington" }, - "reachabilityReport" : [ + "reachabilityReport": [ { - "provider" : "Frontier Communications of America, Inc. - ASN 5650", + "provider": "Frontier Communications of America, Inc. - ASN 5650", "azureLocation": "West US", "latencies": [ { @@ -49,16 +49,16 @@ ] } }, - "202" : { - "body" : { - "aggregationLevel" : "State", - "providerLocation" : { - "country" : "United States", - "state" : "washington" + "202": { + "body": { + "aggregationLevel": "State", + "providerLocation": { + "country": "United States", + "state": "washington" }, - "reachabilityReport" : [ + "reachabilityReport": [ { - "provider" : "Frontier Communications of America, Inc. - ASN 5650", + "provider": "Frontier Communications of America, Inc. - ASN 5650", "azureLocation": "West US", "latencies": [ { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkWatcherConnectionMonitorCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkWatcherConnectionMonitorCreate.json index 3fc9c3706661..0d9511ae274a 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkWatcherConnectionMonitorCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkWatcherConnectionMonitorCreate.json @@ -1,12 +1,12 @@ { - "parameters" : { + "parameters": { "api-version": "2019-04-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", - "networkWatcherName" : "nw1", - "connectionMonitorName" : "cm1", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkWatcherName": "nw1", + "connectionMonitorName": "cm1", "location": "centraluseuap", - "parameters" : { + "parameters": { "properties": { "source": { "resourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1" @@ -19,13 +19,13 @@ } } }, - "responses" : { - "200" : { - "body" : { - "name" : "cm1", - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/connectionMonitors/cm1", - "etag" : "W/\"e7497f26-5f09-4559-900b-fe98f3dedb6f\"", - "properties" : { + "responses": { + "200": { + "body": { + "name": "cm1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/connectionMonitors/cm1", + "etag": "W/\"e7497f26-5f09-4559-900b-fe98f3dedb6f\"", + "properties": { "provisioningState": "Updating", "source": { "resourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1", @@ -43,12 +43,12 @@ "type": "Microsoft.Network/networkWatchers/connectionMonitors" } }, - "201" : { - "body" : { - "name" : "cm1", - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/connectionMonitors/cm1", - "etag" : "W/\"e7497f26-5f09-4559-900b-fe98f3dedb6f\"", - "properties" : { + "201": { + "body": { + "name": "cm1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/connectionMonitors/cm1", + "etag": "W/\"e7497f26-5f09-4559-900b-fe98f3dedb6f\"", + "properties": { "provisioningState": "Updating", "source": { "resourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkWatcherConnectionMonitorDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkWatcherConnectionMonitorDelete.json index 660302a30b73..764ed1023f88 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkWatcherConnectionMonitorDelete.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkWatcherConnectionMonitorDelete.json @@ -1,13 +1,13 @@ { - "parameters" : { + "parameters": { "api-version": "2019-04-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", - "networkWatcherName" : "nw1", - "connectionMonitorName" : "cm1" + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkWatcherName": "nw1", + "connectionMonitorName": "cm1" }, - "responses" : { - "204" : {}, - "202" : {} + "responses": { + "204": {}, + "202": {} } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkWatcherConnectionMonitorGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkWatcherConnectionMonitorGet.json index a91bd8438f70..f07e2e45de5e 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkWatcherConnectionMonitorGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkWatcherConnectionMonitorGet.json @@ -1,19 +1,19 @@ { - "parameters" : { + "parameters": { "api-version": "2019-04-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", - "networkWatcherName" : "nw1", - "connectionMonitorName" : "cm1" + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkWatcherName": "nw1", + "connectionMonitorName": "cm1" }, - "responses" : { - "200" : { - "body" : { - "name" : "cm1", - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/connectionMonitors/cm1", - "etag" : "W/\"00000000-0000-0000-0000-000000000000\"", - "properties" : { - "provisioningState" : "Succeeded", + "responses": { + "200": { + "body": { + "name": "cm1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/connectionMonitors/cm1", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "properties": { + "provisioningState": "Succeeded", "source": { "resourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1", "port": 0 diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkWatcherConnectionMonitorList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkWatcherConnectionMonitorList.json index bb6554fc603c..d7217712f197 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkWatcherConnectionMonitorList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkWatcherConnectionMonitorList.json @@ -1,20 +1,20 @@ { - "parameters" : { + "parameters": { "api-version": "2019-04-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", - "networkWatcherName" : "nw1" + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkWatcherName": "nw1" }, - "responses" : { - "200" : { - "body" : { - "value" : [ + "responses": { + "200": { + "body": { + "value": [ { - "name" : "cm1", - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/connectionMonitors/cm1", - "etag" : "W/\"00000000-0000-0000-0000-000000000000\"", - "properties" : { - "provisioningState" : "Succeeded", + "name": "cm1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/connectionMonitors/cm1", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "properties": { + "provisioningState": "Succeeded", "source": { "resourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1", "port": 0 @@ -32,11 +32,11 @@ "type": "Microsoft.Network/networkWatchers/connectionMonitors" }, { - "name" : "cm2", - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/connectionMonitors/cm2", - "etag" : "W/\"00000000-0000-0000-0000-000000000000\"", - "properties" : { - "provisioningState" : "Succeeded", + "name": "cm2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/connectionMonitors/cm2", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "properties": { + "provisioningState": "Succeeded", "source": { "resourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm2", "port": 0 diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkWatcherConnectionMonitorQuery.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkWatcherConnectionMonitorQuery.json index 7ae033fd09d7..90c25533a8d5 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkWatcherConnectionMonitorQuery.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkWatcherConnectionMonitorQuery.json @@ -1,72 +1,72 @@ { - "parameters" : { + "parameters": { "api-version": "2019-04-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", - "networkWatcherName" : "nw1", - "connectionMonitorName" : "cm1" + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkWatcherName": "nw1", + "connectionMonitorName": "cm1" }, - "responses" : { - "200" : { - "body" : { + "responses": { + "200": { + "body": { "sourceStatus": "Active", - "states" : [ + "states": [ { - "connectionState" : "Reachable", - "startTime" : "2018-01-08T03:42:33.3387305Z", - "endTime" : "2018-01-08T05:12:41.5265438Z", - "evaluationState" : "Completed", - "hops" : [ + "connectionState": "Reachable", + "startTime": "2018-01-08T03:42:33.3387305Z", + "endTime": "2018-01-08T05:12:41.5265438Z", + "evaluationState": "Completed", + "hops": [ { - "type" : "Source", - "id" : "7dbbe7aa-60ba-4650-831e-63d775d38e9e", - "address" : "10.1.1.4", - "resourceId" : "subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/nic0/ipConfigurations/ipconfig1", - "nextHopIds" : [ - "75c8d819-b208-4584-a311-1aa45ce753f9" + "type": "Source", + "id": "7dbbe7aa-60ba-4650-831e-63d775d38e9e", + "address": "10.1.1.4", + "resourceId": "subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/nic0/ipConfigurations/ipconfig1", + "nextHopIds": [ + "75c8d819-b208-4584-a311-1aa45ce753f9" ], - "issues" : [] + "issues": [] }, { - "type" : "VirtualNetwork", - "id" : "75c8d819-b208-4584-a311-1aa45ce753f9", - "address" : "192.168.100.4", - "resourceId" : "subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/nic1/ipConfigurations/ipconfig1", - "nextHopIds" : [], - "issues" : [] + "type": "VirtualNetwork", + "id": "75c8d819-b208-4584-a311-1aa45ce753f9", + "address": "192.168.100.4", + "resourceId": "subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/nic1/ipConfigurations/ipconfig1", + "nextHopIds": [], + "issues": [] } ] } ] } }, - "202" : { - "body" : { + "202": { + "body": { "sourceStatus": "Active", - "states" : [ + "states": [ { - "connectionState" : "Reachable", - "startTime" : "2018-01-08T03:42:33.3387305Z", - "endTime" : "2018-01-08T05:12:41.5265438Z", - "evaluationState" : "Completed", - "hops" : [ + "connectionState": "Reachable", + "startTime": "2018-01-08T03:42:33.3387305Z", + "endTime": "2018-01-08T05:12:41.5265438Z", + "evaluationState": "Completed", + "hops": [ { - "type" : "Source", - "id" : "7dbbe7aa-60ba-4650-831e-63d775d38e9e", - "address" : "10.1.1.4", - "resourceId" : "subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/nic0/ipConfigurations/ipconfig1", - "nextHopIds" : [ - "75c8d819-b208-4584-a311-1aa45ce753f9" + "type": "Source", + "id": "7dbbe7aa-60ba-4650-831e-63d775d38e9e", + "address": "10.1.1.4", + "resourceId": "subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/nic0/ipConfigurations/ipconfig1", + "nextHopIds": [ + "75c8d819-b208-4584-a311-1aa45ce753f9" ], - "issues" : [] + "issues": [] }, { - "type" : "VirtualNetwork", - "id" : "75c8d819-b208-4584-a311-1aa45ce753f9", - "address" : "192.168.100.4", - "resourceId" : "subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/nic1/ipConfigurations/ipconfig1", - "nextHopIds" : [], - "issues" : [] + "type": "VirtualNetwork", + "id": "75c8d819-b208-4584-a311-1aa45ce753f9", + "address": "192.168.100.4", + "resourceId": "subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/nic1/ipConfigurations/ipconfig1", + "nextHopIds": [], + "issues": [] } ] } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkWatcherConnectionMonitorStart.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkWatcherConnectionMonitorStart.json index 72c12b118653..06197a48509c 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkWatcherConnectionMonitorStart.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkWatcherConnectionMonitorStart.json @@ -1,13 +1,13 @@ { - "parameters" : { + "parameters": { "api-version": "2019-04-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", - "networkWatcherName" : "nw1", - "connectionMonitorName" : "cm1" + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkWatcherName": "nw1", + "connectionMonitorName": "cm1" }, - "responses" : { - "200" : {}, - "202" : {} + "responses": { + "200": {}, + "202": {} } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkWatcherConnectionMonitorStop.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkWatcherConnectionMonitorStop.json index 72c12b118653..06197a48509c 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkWatcherConnectionMonitorStop.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkWatcherConnectionMonitorStop.json @@ -1,13 +1,13 @@ { - "parameters" : { + "parameters": { "api-version": "2019-04-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", - "networkWatcherName" : "nw1", - "connectionMonitorName" : "cm1" + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkWatcherName": "nw1", + "connectionMonitorName": "cm1" }, - "responses" : { - "200" : {}, - "202" : {} + "responses": { + "200": {}, + "202": {} } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkWatcherConnectivityCheck.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkWatcherConnectivityCheck.json index 075d578072cd..516e0900f372 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkWatcherConnectivityCheck.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkWatcherConnectivityCheck.json @@ -1,78 +1,78 @@ { - "parameters" : { + "parameters": { "api-version": "2019-04-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", - "networkWatcherName" : "nw1", - "parameters" : { - "source" : { - "resourceId" : "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1" + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkWatcherName": "nw1", + "parameters": { + "source": { + "resourceId": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1" }, - "destination" : { - "address" : "192.168.100.4", - "port" : 3389 + "destination": { + "address": "192.168.100.4", + "port": 3389 } } }, - "responses" : { - "200" : { - "body" : { - "hops" : [ + "responses": { + "200": { + "body": { + "hops": [ { - "type" : "Source", - "id" : "7dbbe7aa-60ba-4650-831e-63d775d38e9e", - "address" : "10.1.1.4", - "resourceId" : "subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic0/ipConfigurations/ipconfig1", - "nextHopIds" : [ + "type": "Source", + "id": "7dbbe7aa-60ba-4650-831e-63d775d38e9e", + "address": "10.1.1.4", + "resourceId": "subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic0/ipConfigurations/ipconfig1", + "nextHopIds": [ "75c8d819-b208-4584-a311-1aa45ce753f9" ], - "issues" : [] + "issues": [] }, { - "type" : "VirtualNetwork", - "id" : "75c8d819-b208-4584-a311-1aa45ce753f9", - "address" : "192.168.100.4", - "resourceId" : "subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic1/ipConfigurations/ipconfig1", - "nextHopIds" : [], - "issues" : [] + "type": "VirtualNetwork", + "id": "75c8d819-b208-4584-a311-1aa45ce753f9", + "address": "192.168.100.4", + "resourceId": "subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic1/ipConfigurations/ipconfig1", + "nextHopIds": [], + "issues": [] } ], - "connectionStatus" : "Connected", - "avgLatencyInMs" : 1, - "minLatencyInMs" : 1, - "maxLatencyInMs" : 4, - "probesSent" : 100, - "probesFailed" : 0 + "connectionStatus": "Connected", + "avgLatencyInMs": 1, + "minLatencyInMs": 1, + "maxLatencyInMs": 4, + "probesSent": 100, + "probesFailed": 0 } }, - "202" : { - "body" : { - "hops" : [ + "202": { + "body": { + "hops": [ { - "type" : "Source", - "id" : "7dbbe7aa-60ba-4650-831e-63d775d38e9e", - "address" : "10.1.1.4", - "resourceId" : "subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic0/ipConfigurations/ipconfig1", - "nextHopIds" : [ + "type": "Source", + "id": "7dbbe7aa-60ba-4650-831e-63d775d38e9e", + "address": "10.1.1.4", + "resourceId": "subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic0/ipConfigurations/ipconfig1", + "nextHopIds": [ "75c8d819-b208-4584-a311-1aa45ce753f9" ], - "issues" : [] + "issues": [] }, { - "type" : "VirtualNetwork", - "id" : "75c8d819-b208-4584-a311-1aa45ce753f9", - "address" : "192.168.100.4", - "resourceId" : "subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic1/ipConfigurations/ipconfig1", - "nextHopIds" : [], - "issues" : [] + "type": "VirtualNetwork", + "id": "75c8d819-b208-4584-a311-1aa45ce753f9", + "address": "192.168.100.4", + "resourceId": "subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic1/ipConfigurations/ipconfig1", + "nextHopIds": [], + "issues": [] } ], - "connectionStatus" : "Connected", - "avgLatencyInMs" : 1, - "minLatencyInMs" : 1, - "maxLatencyInMs" : 4, - "probesSent" : 100, - "probesFailed" : 0 + "connectionStatus": "Connected", + "avgLatencyInMs": 1, + "minLatencyInMs": 1, + "maxLatencyInMs": 4, + "probesSent": 100, + "probesFailed": 0 } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkWatcherCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkWatcherCreate.json index f953344aa0ad..23cb50b95e7e 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkWatcherCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkWatcherCreate.json @@ -1,39 +1,38 @@ { - "parameters" : { + "parameters": { "api-version": "2019-04-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", - "networkWatcherName" : "nw1", - "parameters" : { - "location" : "eastus", - "properties" : { - } + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkWatcherName": "nw1", + "parameters": { + "location": "eastus", + "properties": {} } }, - "responses" : { - "200" : { - "body" : { - "name" : "nw1", - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1", - "etag" : "W/\"00000000-0000-0000-0000-000000000000\"", - "type" : "Microsoft.Network/networkWatchers", - "location" : "eastus", - "tags" : {}, - "properties" : { - "provisioningState" : "Succeeded" + "responses": { + "200": { + "body": { + "name": "nw1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "type": "Microsoft.Network/networkWatchers", + "location": "eastus", + "tags": {}, + "properties": { + "provisioningState": "Succeeded" } } }, - "201" : { - "body" : { - "name" : "nw1", - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1", - "etag" : "W/\"00000000-0000-0000-0000-000000000000\"", - "type" : "Microsoft.Network/networkWatchers", - "location" : "eastus", - "tags" : {}, - "properties" : { - "provisioningState" : "Succeeded" + "201": { + "body": { + "name": "nw1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "type": "Microsoft.Network/networkWatchers", + "location": "eastus", + "tags": {}, + "properties": { + "provisioningState": "Succeeded" } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkWatcherDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkWatcherDelete.json index debe8559f3f3..6f8eceeefe60 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkWatcherDelete.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkWatcherDelete.json @@ -1,12 +1,12 @@ { - "parameters" : { + "parameters": { "api-version": "2019-04-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", - "networkWatcherName" : "nw1" + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkWatcherName": "nw1" }, - "responses" : { - "202" : {}, - "204" : {} + "responses": { + "202": {}, + "204": {} } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkWatcherFlowLogConfigure.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkWatcherFlowLogConfigure.json index e1c936326bf2..27c551d3b2dc 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkWatcherFlowLogConfigure.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkWatcherFlowLogConfigure.json @@ -1,33 +1,33 @@ { - "parameters" : { + "parameters": { "api-version": "2019-04-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", - "networkWatcherName" : "nw1", - "parameters" : { - "targetResourceId" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1", - "properties" : { - "storageId" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1", - "enabled" : true + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkWatcherName": "nw1", + "parameters": { + "targetResourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1", + "properties": { + "storageId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1", + "enabled": true } } }, - "responses" : { - "200" : { - "body" : { - "targetResourceId" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1", - "properties" : { - "storageId" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1", - "enabled" : true + "responses": { + "200": { + "body": { + "targetResourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1", + "properties": { + "storageId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1", + "enabled": true } } }, - "202" : { - "body" : { - "targetResourceId" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1", - "properties" : { - "storageId" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1", - "enabled" : true + "202": { + "body": { + "targetResourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1", + "properties": { + "storageId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1", + "enabled": true } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkWatcherFlowLogStatusQuery.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkWatcherFlowLogStatusQuery.json index 7633a20539fd..b72ecc968617 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkWatcherFlowLogStatusQuery.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkWatcherFlowLogStatusQuery.json @@ -1,29 +1,29 @@ { - "parameters" : { + "parameters": { "api-version": "2019-04-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", - "networkWatcherName" : "nw1", - "parameters" : { - "targetResourceId" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1" + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkWatcherName": "nw1", + "parameters": { + "targetResourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1" } }, - "responses" : { - "200" : { - "body" : { - "targetResourceId" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1", - "properties" : { - "storageId" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1", - "enabled" : true + "responses": { + "200": { + "body": { + "targetResourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1", + "properties": { + "storageId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1", + "enabled": true } } }, - "202" : { - "body" : { - "targetResourceId" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1", - "properties" : { - "storageId" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1", - "enabled" : true + "202": { + "body": { + "targetResourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1", + "properties": { + "storageId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1", + "enabled": true } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkWatcherGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkWatcherGet.json index 86e7e1a1f0e0..82c77a830a80 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkWatcherGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkWatcherGet.json @@ -1,21 +1,21 @@ { - "parameters" : { + "parameters": { "api-version": "2019-04-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", - "networkWatcherName" : "nw1" + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkWatcherName": "nw1" }, - "responses" : { - "200" : { - "body" : { - "name" : "nw1", - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1", - "etag" : "W/\"00000000-0000-0000-0000-000000000000\"", - "type" : "Microsoft.Network/networkWatchers", - "location" : "eastus", - "tags" : {}, - "properties" : { - "provisioningState" : "Succeeded" + "responses": { + "200": { + "body": { + "name": "nw1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "type": "Microsoft.Network/networkWatchers", + "location": "eastus", + "tags": {}, + "properties": { + "provisioningState": "Succeeded" } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkWatcherIpFlowVerify.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkWatcherIpFlowVerify.json index c5063ec1a548..661c3450608e 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkWatcherIpFlowVerify.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkWatcherIpFlowVerify.json @@ -1,30 +1,30 @@ { - "parameters" : { + "parameters": { "api-version": "2019-04-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", - "networkWatcherName" : "nw1", - "parameters" : { - "targetResourceId" : "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1", - "direction" : "Outbound", - "protocol" : "TCP", - "localPort" : "80", - "remotePort" : "80", - "localIPAddress" : "10.2.0.4", - "remoteIPAddress" : "121.10.1.1" + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkWatcherName": "nw1", + "parameters": { + "targetResourceId": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1", + "direction": "Outbound", + "protocol": "TCP", + "localPort": "80", + "remotePort": "80", + "localIPAddress": "10.2.0.4", + "remoteIPAddress": "121.10.1.1" } }, - "responses" : { - "200" : { - "body" : { - "access" : "Allow", - "ruleName" : "Rule1" + "responses": { + "200": { + "body": { + "access": "Allow", + "ruleName": "Rule1" } }, - "202" : { - "body" : { - "access" : "Allow", - "ruleName" : "Rule1" + "202": { + "body": { + "access": "Allow", + "ruleName": "Rule1" } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkWatcherList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkWatcherList.json index 775ab780b746..1420ac939dd0 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkWatcherList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkWatcherList.json @@ -1,33 +1,33 @@ { - "parameters" : { + "parameters": { "api-version": "2019-04-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1" + "subscriptionId": "subid", + "resourceGroupName": "rg1" }, - "responses" : { - "200" : { - "body" : { - "value" : [ + "responses": { + "200": { + "body": { + "value": [ { - "name" : "nw1", - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1", - "etag" : "W/\"00000000-0000-0000-0000-000000000000\"", - "type" : "Microsoft.Network/networkWatchers", - "location" : "eastus", - "tags" : {}, - "properties" : { - "provisioningState" : "Succeeded" + "name": "nw1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "type": "Microsoft.Network/networkWatchers", + "location": "eastus", + "tags": {}, + "properties": { + "provisioningState": "Succeeded" } }, { - "name" : "nw2", - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw2", - "etag" : "W/\"00000000-0000-0000-0000-000000000000\"", - "type" : "Microsoft.Network/networkWatchers", - "location" : "eastus", - "tags" : {}, - "properties" : { - "provisioningState" : "Succeeded" + "name": "nw2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw2", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "type": "Microsoft.Network/networkWatchers", + "location": "eastus", + "tags": {}, + "properties": { + "provisioningState": "Succeeded" } } ] diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkWatcherListAll.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkWatcherListAll.json index 6941092bbf7a..0cc6b72ed376 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkWatcherListAll.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkWatcherListAll.json @@ -1,32 +1,32 @@ { - "parameters" : { + "parameters": { "api-version": "2019-04-01", - "subscriptionId" : "subid" + "subscriptionId": "subid" }, - "responses" : { - "200" : { - "body" : { - "value" : [ + "responses": { + "200": { + "body": { + "value": [ { - "name" : "nw1", - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1", - "etag" : "W/\"00000000-0000-0000-0000-000000000000\"", - "type" : "Microsoft.Network/networkWatchers", - "location" : "eastus", - "tags" : {}, - "properties" : { - "provisioningState" : "Succeeded" + "name": "nw1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "type": "Microsoft.Network/networkWatchers", + "location": "eastus", + "tags": {}, + "properties": { + "provisioningState": "Succeeded" } }, { - "name" : "nw2", - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw2", - "etag" : "W/\"00000000-0000-0000-0000-000000000000\"", - "type" : "Microsoft.Network/networkWatchers", - "location" : "westus", - "tags" : {}, - "properties" : { - "provisioningState" : "Succeeded" + "name": "nw2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw2", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "type": "Microsoft.Network/networkWatchers", + "location": "westus", + "tags": {}, + "properties": { + "provisioningState": "Succeeded" } } ] diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkWatcherNetworkConfigurationDiagnostic.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkWatcherNetworkConfigurationDiagnostic.json index c8b51b811798..9758bc825a15 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkWatcherNetworkConfigurationDiagnostic.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkWatcherNetworkConfigurationDiagnostic.json @@ -1,25 +1,25 @@ { - "parameters" : { + "parameters": { "api-version": "2019-04-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", - "networkWatcherName" : "nw1", - "parameters" : { - "targetResourceId" : "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkWatcherName": "nw1", + "parameters": { + "targetResourceId": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1", "profiles": [ { - "direction" : "Inbound", - "protocol" : "TCP", - "source" : "10.1.0.4", - "destination" : "12.11.12.14", - "destinationPort" : "12100" + "direction": "Inbound", + "protocol": "TCP", + "source": "10.1.0.4", + "destination": "12.11.12.14", + "destinationPort": "12100" } ] } }, - "responses" : { - "200" : { - "body" : { + "responses": { + "200": { + "body": { "results": [ { "profile": { @@ -28,17 +28,17 @@ "source": "10.1.0.4", "destination": "12.11.12.14", "destinationPort": "12100" - }, + }, "networkSecurityGroupResult": { "securityRuleAccessResult": "Allow", "evaluatedNetworkSecurityGroups": [ { "networkSecurityGroupId": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg1", - "appliedTo": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet/subnets/AppSubnet", + "appliedTo": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet/subnets/AppSubnet", "matchedRule": { "ruleName": "UserRule_fe_rule", "action": "Allow" - }, + }, "rulesEvaluationResult": [ { "name": "UserRule_Cleanuptool-Allow-100", @@ -83,12 +83,12 @@ ] }, { - "networkSecurityGroupId": "/subscriptions/61cc8a98-a8be-4bfe-a04e-0b461f93fe35/resourceGroups/NwRgCentralUSEUAP_copy/providers/Microsoft.Network/networkSecurityGroups/AppNSG", - "appliedTo": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet/networkInterfaces/nic", + "networkSecurityGroupId": "/subscriptions/61cc8a98-a8be-4bfe-a04e-0b461f93fe35/resourceGroups/NwRgCentralUSEUAP_copy/providers/Microsoft.Network/networkSecurityGroups/AppNSG", + "appliedTo": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet/networkInterfaces/nic", "matchedRule": { "ruleName": "UserRule_fe_rule", "action": "Allow" - }, + }, "rulesEvaluationResult": [ { "name": "UserRule_fe_rule", @@ -106,27 +106,27 @@ ] } }, - "202" : { - "body" : { + "202": { + "body": { "results": [ { - "profile": { + "profile": { "direction": "Inbound", "protocol": "TCP", "source": "10.1.0.4", "destination": "12.11.12.14", "destinationPort": "12100" - }, + }, "networkSecurityGroupResult": { "securityRuleAccessResult": "Allow", "evaluatedNetworkSecurityGroups": [ { "networkSecurityGroupId": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg1", - "appliedTo": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet/subnets/AppSubnet", + "appliedTo": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet/subnets/AppSubnet", "matchedRule": { "ruleName": "UserRule_fe_rule", "action": "Allow" - }, + }, "rulesEvaluationResult": [ { "name": "UserRule_Cleanuptool-Allow-100", @@ -171,12 +171,12 @@ ] }, { - "networkSecurityGroupId": "/subscriptions/61cc8a98-a8be-4bfe-a04e-0b461f93fe35/resourceGroups/NwRgCentralUSEUAP_copy/providers/Microsoft.Network/networkSecurityGroups/AppNSG", - "appliedTo": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet/networkInterfaces/nic", + "networkSecurityGroupId": "/subscriptions/61cc8a98-a8be-4bfe-a04e-0b461f93fe35/resourceGroups/NwRgCentralUSEUAP_copy/providers/Microsoft.Network/networkSecurityGroups/AppNSG", + "appliedTo": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet/networkInterfaces/nic", "matchedRule": { "ruleName": "UserRule_fe_rule", "action": "Allow" - }, + }, "rulesEvaluationResult": [ { "name": "UserRule_fe_rule", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkWatcherNextHopGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkWatcherNextHopGet.json index b1beaeae985a..648e717258a9 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkWatcherNextHopGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkWatcherNextHopGet.json @@ -1,29 +1,29 @@ { - "parameters" : { + "parameters": { "api-version": "2019-04-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", - "networkWatcherName" : "nw1", - "parameters" : { - "targetResourceId" : "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1", - "sourceIPAddress" : "10.0.0.5", - "destinationIPAddress" : "10.0.0.10", - "targetNicResourceId" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/nic1" + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkWatcherName": "nw1", + "parameters": { + "targetResourceId": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1", + "sourceIPAddress": "10.0.0.5", + "destinationIPAddress": "10.0.0.10", + "targetNicResourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/nic1" } }, - "responses" : { - "200" : { - "body" : { - "nextHopType" : "VnetLocal", - "nextHopIpAddress" : "10.0.0.1", - "routeTableId" : "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/routeTables/rt1" + "responses": { + "200": { + "body": { + "nextHopType": "VnetLocal", + "nextHopIpAddress": "10.0.0.1", + "routeTableId": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/routeTables/rt1" } }, - "202" : { - "body" : { - "nextHopType" : "VnetLocal", - "nextHopIpAddress" : "10.0.0.1", - "routeTableId" : "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/routeTables/rt1" + "202": { + "body": { + "nextHopType": "VnetLocal", + "nextHopIpAddress": "10.0.0.1", + "routeTableId": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/routeTables/rt1" } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkWatcherPacketCaptureCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkWatcherPacketCaptureCreate.json index e29d5be4098c..360a762d53e2 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkWatcherPacketCaptureCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkWatcherPacketCaptureCreate.json @@ -1,52 +1,52 @@ { - "parameters" : { + "parameters": { "api-version": "2019-04-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", - "networkWatcherName" : "nw1", - "packetCaptureName" : "pc1", - "parameters" : { - "properties" : { - "target" : "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1", - "bytesToCapturePerPacket" : 10000, - "totalBytesPerSession" : 100000, - "timeLimitInSeconds" : 100, - "storageLocation" : { - "storageId" : "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore", - "storagePath" : "https://mytestaccountname.blob.core.windows.net/capture/pc1.cap", - "filePath" : "D:\\capture\\pc1.cap" + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkWatcherName": "nw1", + "packetCaptureName": "pc1", + "parameters": { + "properties": { + "target": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1", + "bytesToCapturePerPacket": 10000, + "totalBytesPerSession": 100000, + "timeLimitInSeconds": 100, + "storageLocation": { + "storageId": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore", + "storagePath": "https://mytestaccountname.blob.core.windows.net/capture/pc1.cap", + "filePath": "D:\\capture\\pc1.cap" }, - "filters" : [ + "filters": [ { - "protocol" : "TCP", - "localIPAddress" : "10.0.0.4", - "localPort" : "80" + "protocol": "TCP", + "localIPAddress": "10.0.0.4", + "localPort": "80" } ] } } }, - "responses" : { - "201" : { - "body" : { - "name" : "pc1", - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1", - "properties" : { - "provisioningState" : "Updating", - "target" : "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1", - "bytesToCapturePerPacket" : 10000, - "totalBytesPerSession" : 100000, - "timeLimitInSeconds" : 100, - "storageLocation" : { - "storageId" : "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore", - "storagePath" : "https://mytestaccountname.blob.core.windows.net/capture/pc1.cap", - "filePath" : "D:\\capture\\pc1.cap" + "responses": { + "201": { + "body": { + "name": "pc1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1", + "properties": { + "provisioningState": "Updating", + "target": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1", + "bytesToCapturePerPacket": 10000, + "totalBytesPerSession": 100000, + "timeLimitInSeconds": 100, + "storageLocation": { + "storageId": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore", + "storagePath": "https://mytestaccountname.blob.core.windows.net/capture/pc1.cap", + "filePath": "D:\\capture\\pc1.cap" }, - "filters" : [ + "filters": [ { - "protocol" : "TCP", - "localIPAddress" : "10.0.0.4", - "localPort" : "80" + "protocol": "TCP", + "localIPAddress": "10.0.0.4", + "localPort": "80" } ] } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkWatcherPacketCaptureDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkWatcherPacketCaptureDelete.json index 06aaf2935702..0a373729eb7c 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkWatcherPacketCaptureDelete.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkWatcherPacketCaptureDelete.json @@ -1,13 +1,13 @@ { - "parameters" : { + "parameters": { "api-version": "2019-04-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", - "networkWatcherName" : "nw1", - "packetCaptureName" : "pc1" + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkWatcherName": "nw1", + "packetCaptureName": "pc1" }, - "responses" : { - "204" : {}, - "202" : {} + "responses": { + "204": {}, + "202": {} } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkWatcherPacketCaptureGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkWatcherPacketCaptureGet.json index 209798a5477c..dcde86fe85d7 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkWatcherPacketCaptureGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkWatcherPacketCaptureGet.json @@ -1,33 +1,33 @@ { - "parameters" : { + "parameters": { "api-version": "2019-04-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", - "networkWatcherName" : "nw1", - "packetCaptureName" : "pc1" + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkWatcherName": "nw1", + "packetCaptureName": "pc1" }, - "responses" : { - "200" : { - "body" : { - "name" : "pc1", - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1", - "etag" : "W/\"00000000-0000-0000-0000-000000000000\"", - "properties" : { - "provisioningState" : "Updating", - "target" : "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1", - "bytesToCapturePerPacket" : 10000, - "totalBytesPerSession" : 100000, - "timeLimitInSeconds" : 100, - "storageLocation" : { - "storageId" : "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore", - "storagePath" : "https://mytestaccountname.blob.core.windows.net/capture/pc1.cap", - "filePath" : "D:\\capture\\pc1.cap" + "responses": { + "200": { + "body": { + "name": "pc1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "properties": { + "provisioningState": "Updating", + "target": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1", + "bytesToCapturePerPacket": 10000, + "totalBytesPerSession": 100000, + "timeLimitInSeconds": 100, + "storageLocation": { + "storageId": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore", + "storagePath": "https://mytestaccountname.blob.core.windows.net/capture/pc1.cap", + "filePath": "D:\\capture\\pc1.cap" }, - "filters" : [ + "filters": [ { - "protocol" : "TCP", - "localIPAddress" : "10.0.0.4", - "localPort" : "80" + "protocol": "TCP", + "localIPAddress": "10.0.0.4", + "localPort": "80" } ] } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkWatcherPacketCaptureQueryStatus.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkWatcherPacketCaptureQueryStatus.json index 95ea94927427..b43576af9a31 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkWatcherPacketCaptureQueryStatus.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkWatcherPacketCaptureQueryStatus.json @@ -1,30 +1,30 @@ { - "parameters" : { + "parameters": { "api-version": "2019-04-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", - "networkWatcherName" : "nw1", - "packetCaptureName" : "pc1" + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkWatcherName": "nw1", + "packetCaptureName": "pc1" }, - "responses" : { - "200" : { - "body" : { - "name" : "pc1", - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1", - "captureStartTime" : "2016-09-07T12:35:24Z", - "packetCaptureStatus" : "Stopped", - "stopReason" : "TimeExceeded", - "packetCaptureError" : [] + "responses": { + "200": { + "body": { + "name": "pc1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1", + "captureStartTime": "2016-09-07T12:35:24Z", + "packetCaptureStatus": "Stopped", + "stopReason": "TimeExceeded", + "packetCaptureError": [] } }, - "202" : { - "body" : { - "name" : "pc1", - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1", - "captureStartTime" : "2016-09-07T12:35:24Z", - "packetCaptureStatus" : "Stopped", - "stopReason" : "TimeExceeded", - "packetCaptureError" : [] + "202": { + "body": { + "name": "pc1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1", + "captureStartTime": "2016-09-07T12:35:24Z", + "packetCaptureStatus": "Stopped", + "stopReason": "TimeExceeded", + "packetCaptureError": [] } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkWatcherPacketCaptureStop.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkWatcherPacketCaptureStop.json index f9b9a55115c5..c2f5b8b8779b 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkWatcherPacketCaptureStop.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkWatcherPacketCaptureStop.json @@ -1,13 +1,13 @@ { - "parameters" : { + "parameters": { "api-version": "2019-04-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", - "networkWatcherName" : "nw1", - "packetCaptureName" : "pc1" + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkWatcherName": "nw1", + "packetCaptureName": "pc1" }, - "responses" : { - "200" : {}, - "202" : {} + "responses": { + "200": {}, + "202": {} } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkWatcherPacketCapturesList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkWatcherPacketCapturesList.json index 1b7d02a38592..6b96cd2ca1b5 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkWatcherPacketCapturesList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkWatcherPacketCapturesList.json @@ -1,54 +1,54 @@ { - "parameters" : { + "parameters": { "api-version": "2019-04-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", - "networkWatcherName" : "nw1" + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkWatcherName": "nw1" }, - "responses" : { - "200" : { - "body" : { - "value" : [ + "responses": { + "200": { + "body": { + "value": [ { - "name" : "pc1", - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1", - "etag" : "W/\"00000000-0000-0000-0000-000000000000\"", - "properties" : { - "provisioningState" : "Updating", - "target" : "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1", - "bytesToCapturePerPacket" : 10000, - "totalBytesPerSession" : 100000, - "timeLimitInSeconds" : 100, - "storageLocation" : { - "storageId" : "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore", - "storagePath" : "https://mytestaccountname.blob.core.windows.net/capture/pc1.cap", - "filePath" : "D:\\capture\\pc1.cap" + "name": "pc1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "properties": { + "provisioningState": "Updating", + "target": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1", + "bytesToCapturePerPacket": 10000, + "totalBytesPerSession": 100000, + "timeLimitInSeconds": 100, + "storageLocation": { + "storageId": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore", + "storagePath": "https://mytestaccountname.blob.core.windows.net/capture/pc1.cap", + "filePath": "D:\\capture\\pc1.cap" }, - "filters" : [ + "filters": [ { - "protocol" : "TCP", - "localIPAddress" : "10.0.0.4", - "localPort" : "80" + "protocol": "TCP", + "localIPAddress": "10.0.0.4", + "localPort": "80" } ] } }, { - "name" : "pc2", - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc2", - "etag" : "W/\"00000000-0000-0000-0000-000000000000\"", - "properties" : { - "provisioningState" : "Succeeded", - "target" : "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1", - "bytesToCapturePerPacket" : 10000, - "totalBytesPerSession" : 100000, - "timeLimitInSeconds" : 100, - "storageLocation" : { - "storageId" : "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore", - "storagePath" : "https://mytestaccountname.blob.core.windows.net/capture/pc2.cap", - "filePath" : "D:\\capture\\pc2.cap" + "name": "pc2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc2", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "properties": { + "provisioningState": "Succeeded", + "target": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1", + "bytesToCapturePerPacket": 10000, + "totalBytesPerSession": 100000, + "timeLimitInSeconds": 100, + "storageLocation": { + "storageId": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore", + "storagePath": "https://mytestaccountname.blob.core.windows.net/capture/pc2.cap", + "filePath": "D:\\capture\\pc2.cap" }, - "filters" : [] + "filters": [] } } ] diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkWatcherSecurityGroupViewGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkWatcherSecurityGroupViewGet.json index e5f6b59ebfb9..5354ba0fe608 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkWatcherSecurityGroupViewGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkWatcherSecurityGroupViewGet.json @@ -1,71 +1,71 @@ { - "parameters" : { + "parameters": { "api-version": "2019-04-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", - "networkWatcherName" : "nw1", - "parameters" : { - "targetResourceId" : "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1" + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkWatcherName": "nw1", + "parameters": { + "targetResourceId": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1" } }, - "responses" : { - "200" : { - "body" : { - "networkInterfaces" : [ + "responses": { + "200": { + "body": { + "networkInterfaces": [ { "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic1", - "securityRuleAssociations" : { - "subnetAssociation" : { + "securityRuleAssociations": { + "subnetAssociation": { "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1", - "securityRules" : [ + "securityRules": [ { - "name" : "fe_rule", - "id" : "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/AppNSG/securityRules/fe_rule", - "etag" : "W/\"00000000-0000-0000-0000-000000000000\"", - "properties" : { - "provisioningState" : "Succeeded", - "description" : "Allow Frontend", - "protocol" : "Tcp", - "sourcePortRange" : "*", - "destinationPortRange" : "*", - "sourceAddressPrefix" : "10.1.0.0/24", - "destinationAddressPrefix" : "*", - "access" : "Allow", - "priority" : 100, - "direction" : "Inbound" + "name": "fe_rule", + "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/AppNSG/securityRules/fe_rule", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "properties": { + "provisioningState": "Succeeded", + "description": "Allow Frontend", + "protocol": "Tcp", + "sourcePortRange": "*", + "destinationPortRange": "*", + "sourceAddressPrefix": "10.1.0.0/24", + "destinationAddressPrefix": "*", + "access": "Allow", + "priority": 100, + "direction": "Inbound" } } ] }, - "defaultSecurityRules" : [ + "defaultSecurityRules": [ { - "name" : "AllowVnetInBound", - "id" : "/subscriptions//resourceGroups//providers/Microsoft.Network/networkSecurityGroups//defaultSecurityRules/", - "properties" : { - "provisioningState" : "Succeeded", - "description" : "Allow inbound traffic from all VMs in VNET", - "protocol" : "*", - "sourcePortRange" : "*", - "destinationPortRange" : "*", - "sourceAddressPrefix" : "VirtualNetwork", - "destinationAddressPrefix" : "VirtualNetwork", - "access" : "Allow", - "priority" : 65000, - "direction" : "Inbound" + "name": "AllowVnetInBound", + "id": "/subscriptions//resourceGroups//providers/Microsoft.Network/networkSecurityGroups//defaultSecurityRules/", + "properties": { + "provisioningState": "Succeeded", + "description": "Allow inbound traffic from all VMs in VNET", + "protocol": "*", + "sourcePortRange": "*", + "destinationPortRange": "*", + "sourceAddressPrefix": "VirtualNetwork", + "destinationAddressPrefix": "VirtualNetwork", + "access": "Allow", + "priority": 65000, + "direction": "Inbound" } } ], - "effectiveSecurityRules" : [ + "effectiveSecurityRules": [ { - "name" : "DefaultOutboundDenyAll", - "protocol" : "All", - "sourcePortRange" : "0-65535", - "destinationPortRange" : "0-65535", - "sourceAddressPrefix" : "*", - "destinationAddressPrefix" : "*", - "access" : "Deny", - "priority" : 65500, - "direction" : "Outbound" + "name": "DefaultOutboundDenyAll", + "protocol": "All", + "sourcePortRange": "0-65535", + "destinationPortRange": "0-65535", + "sourceAddressPrefix": "*", + "destinationAddressPrefix": "*", + "access": "Deny", + "priority": 65500, + "direction": "Outbound" } ] } @@ -73,63 +73,63 @@ ] } }, - "202" : { - "body" : { + "202": { + "body": { "networkInterfaces": [ { - "id" : "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic1", - "securityRuleAssociations" : { - "subnetAssociation" : { - "id" : "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1", - "securityRules" : [ + "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic1", + "securityRuleAssociations": { + "subnetAssociation": { + "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1", + "securityRules": [ { - "name" : "fe_rule", - "id" : "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/AppNSG/securityRules/fe_rule", - "etag" : "W/\"00000000-0000-0000-0000-000000000000\"", - "properties" : { - "provisioningState" : "Succeeded", - "description" : "Allow Frontend", - "protocol" : "Tcp", - "sourcePortRange" : "*", - "destinationPortRange" : "*", - "sourceAddressPrefix" : "10.1.0.0/24", - "destinationAddressPrefix" : "*", - "access" : "Allow", - "priority" : 100, - "direction" : "Inbound" + "name": "fe_rule", + "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/AppNSG/securityRules/fe_rule", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "properties": { + "provisioningState": "Succeeded", + "description": "Allow Frontend", + "protocol": "Tcp", + "sourcePortRange": "*", + "destinationPortRange": "*", + "sourceAddressPrefix": "10.1.0.0/24", + "destinationAddressPrefix": "*", + "access": "Allow", + "priority": 100, + "direction": "Inbound" } } ] }, - "defaultSecurityRules" : [ + "defaultSecurityRules": [ { - "name" : "AllowVnetInBound", - "id" : "/subscriptions//resourceGroups//providers/Microsoft.Network/networkSecurityGroups//defaultSecurityRules/", - "properties" : { - "provisioningState" : "Succeeded", - "description" : "Allow inbound traffic from all VMs in VNET", - "protocol" : "*", - "sourcePortRange" : "*", - "destinationPortRange" : "*", - "sourceAddressPrefix" : "VirtualNetwork", - "destinationAddressPrefix" : "VirtualNetwork", - "access" : "Allow", - "priority" : 65000, - "direction" : "Inbound" + "name": "AllowVnetInBound", + "id": "/subscriptions//resourceGroups//providers/Microsoft.Network/networkSecurityGroups//defaultSecurityRules/", + "properties": { + "provisioningState": "Succeeded", + "description": "Allow inbound traffic from all VMs in VNET", + "protocol": "*", + "sourcePortRange": "*", + "destinationPortRange": "*", + "sourceAddressPrefix": "VirtualNetwork", + "destinationAddressPrefix": "VirtualNetwork", + "access": "Allow", + "priority": 65000, + "direction": "Inbound" } } ], - "effectiveSecurityRules" : [ + "effectiveSecurityRules": [ { - "name" : "DefaultOutboundDenyAll", - "protocol" : "All", - "sourcePortRange" : "0-65535", - "destinationPortRange" : "0-65535", - "sourceAddressPrefix" : "*", - "destinationAddressPrefix" : "*", - "access" : "Deny", - "priority" : 65500, - "direction" : "Outbound" + "name": "DefaultOutboundDenyAll", + "protocol": "All", + "sourcePortRange": "0-65535", + "destinationPortRange": "0-65535", + "sourceAddressPrefix": "*", + "destinationAddressPrefix": "*", + "access": "Deny", + "priority": 65500, + "direction": "Outbound" } ] } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkWatcherTopologyGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkWatcherTopologyGet.json index eda8184b7f36..9189501c8a9a 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkWatcherTopologyGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkWatcherTopologyGet.json @@ -1,34 +1,34 @@ { - "parameters" : { + "parameters": { "api-version": "2019-04-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", - "networkWatcherName" : "nw1", - "parameters" : { + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkWatcherName": "nw1", + "parameters": { "targetResourceGroupName": "rg2" } }, - "responses" : { - "200" : { - "body" : { - "id" : "ce592f46-8164-4bf2-ad36-b8e4acf6fb68", - "createdDateTime" : "2017-08-02T19:31:55.9461781Z", - "lastModified" : "2017-05-27T00:00:13.2005337Z", - "resources" : [ + "responses": { + "200": { + "body": { + "id": "ce592f46-8164-4bf2-ad36-b8e4acf6fb68", + "createdDateTime": "2017-08-02T19:31:55.9461781Z", + "lastModified": "2017-05-27T00:00:13.2005337Z", + "resources": [ { - "name" : "MultiTierApp0", - "id" : "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/MultiTierApp0", - "location" : "westus", - "associations" : [ + "name": "MultiTierApp0", + "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/MultiTierApp0", + "location": "westus", + "associations": [ { - "name" : "appNic0", - "resourceId" : "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/appNic0", - "associationType" : "Contains" + "name": "appNic0", + "resourceId": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/appNic0", + "associationType": "Contains" }, { - "name" : "appNic10", - "resourceId" : "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/appNic10", - "associationType" : "Contains" + "name": "appNic10", + "resourceId": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/appNic10", + "associationType": "Contains" } ] } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkWatcherTroubleshootGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkWatcherTroubleshootGet.json index 8aa58a202139..81b23e0dbd0c 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkWatcherTroubleshootGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkWatcherTroubleshootGet.json @@ -1,27 +1,27 @@ { - "parameters" : { + "parameters": { "api-version": "2019-04-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", - "networkWatcherName" : "nw1", - "parameters" : { - "targetResourceId" : "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1", - "properties" : { - "storageId" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1", - "storagePath" : "https://st1.blob.core.windows.net/cn1" + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkWatcherName": "nw1", + "parameters": { + "targetResourceId": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1", + "properties": { + "storageId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1", + "storagePath": "https://st1.blob.core.windows.net/cn1" } } }, - "responses" : { - "200" : { - "body" : { - "startTime" : "2017-01-12T00:19:47.0442834Z", - "endTime" : "2017-01-12T00:20:09.914Z", - "code" : "UnHealthy", - "results" : [ + "responses": { + "200": { + "body": { + "startTime": "2017-01-12T00:19:47.0442834Z", + "endTime": "2017-01-12T00:20:09.914Z", + "code": "UnHealthy", + "results": [ { "id": "000000", - "reasonType" : "VipUnResponsive", + "reasonType": "VipUnResponsive", "summary": "We are sorry, your VPN gateway is unreachable from the Internet", "detail": "During this time S2S VPN tunnels to on premises sites or other Azure virtual networks will be disconnected", "recommendedActions": [ @@ -40,15 +40,15 @@ ] } }, - "202" : { - "body" : { - "startTime" : "2017-01-12T00:19:47.0442834Z", - "endTime" : "2017-01-12T00:20:09.914Z", - "code" : "UnHealthy", - "results" : [ + "202": { + "body": { + "startTime": "2017-01-12T00:19:47.0442834Z", + "endTime": "2017-01-12T00:20:09.914Z", + "code": "UnHealthy", + "results": [ { "id": "000000", - "reasonType" : "VipUnResponsive", + "reasonType": "VipUnResponsive", "summary": "We are sorry, your VPN gateway is unreachable from the Internet", "detail": "During this time S2S VPN tunnels to on premises sites or other Azure virtual networks will be disconnected", "recommendedActions": [ diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkWatcherTroubleshootResultQuery.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkWatcherTroubleshootResultQuery.json index b92f114e4acb..0b3a11635816 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkWatcherTroubleshootResultQuery.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkWatcherTroubleshootResultQuery.json @@ -1,62 +1,62 @@ { - "parameters" : { + "parameters": { "api-version": "2019-04-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", - "networkWatcherName" : "nw1", - "parameters" : { - "targetResourceId" : "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1" + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkWatcherName": "nw1", + "parameters": { + "targetResourceId": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1" } }, - "responses" : { - "200" : { - "body" : { - "startTime" : "2017-01-12T00:19:47.0442834Z", - "endTime" : "2017-01-12T00:20:09.914Z", - "code" : "UnHealthy", - "results" : [ + "responses": { + "200": { + "body": { + "startTime": "2017-01-12T00:19:47.0442834Z", + "endTime": "2017-01-12T00:20:09.914Z", + "code": "UnHealthy", + "results": [ { "id": "000000", - "reasonType" : "VipUnResponsive", - "summary" : "We are sorry, your VPN gateway is unreachable from the Internet", - "detail" : "During this time S2S VPN tunnels to on premises sites or other Azure virtual networks will be disconnected", - "recommendedActions" : [ + "reasonType": "VipUnResponsive", + "summary": "We are sorry, your VPN gateway is unreachable from the Internet", + "detail": "During this time S2S VPN tunnels to on premises sites or other Azure virtual networks will be disconnected", + "recommendedActions": [ { - "actionText" : "Verify if there is a network security group (NSG) applied to the GatewaySubnet", - "actionUri" : "https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-create-nsg-arm-pportal", - "actionUriText" : "Verify" + "actionText": "Verify if there is a network security group (NSG) applied to the GatewaySubnet", + "actionUri": "https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-create-nsg-arm-pportal", + "actionUriText": "Verify" }, { - "actionText" : "If your VPN gateway isn't up and running by the expected resolution time, contact support", - "actionUri" : "http://azure.microsoft.com/support", - "actionUriText" : "contact support" + "actionText": "If your VPN gateway isn't up and running by the expected resolution time, contact support", + "actionUri": "http://azure.microsoft.com/support", + "actionUriText": "contact support" } ] } ] } }, - "202" : { - "body" : { - "startTime" : "2017-01-12T00:19:47.0442834Z", - "endTime" : "2017-01-12T00:20:09.914Z", - "code" : "UnHealthy", - "results" : [ + "202": { + "body": { + "startTime": "2017-01-12T00:19:47.0442834Z", + "endTime": "2017-01-12T00:20:09.914Z", + "code": "UnHealthy", + "results": [ { - "id" : "000000", - "reasonType" : "VipUnResponsive", - "summary" : "We are sorry, your VPN gateway is unreachable from the Internet", - "detail" : "During this time S2S VPN tunnels to on premises sites or other Azure virtual networks will be disconnected", - "recommendedActions" : [ + "id": "000000", + "reasonType": "VipUnResponsive", + "summary": "We are sorry, your VPN gateway is unreachable from the Internet", + "detail": "During this time S2S VPN tunnels to on premises sites or other Azure virtual networks will be disconnected", + "recommendedActions": [ { - "actionText" : "Verify if there is a network security group (NSG) applied to the GatewaySubnet", - "actionUri" : "https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-create-nsg-arm-pportal", - "actionUriText" : "Verify" + "actionText": "Verify if there is a network security group (NSG) applied to the GatewaySubnet", + "actionUri": "https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-create-nsg-arm-pportal", + "actionUriText": "Verify" }, { - "actionText" : "If your VPN gateway isn't up and running by the expected resolution time, contact support", - "actionUri" : "http://azure.microsoft.com/support", - "actionUriText" : "contact support" + "actionText": "If your VPN gateway isn't up and running by the expected resolution time, contact support", + "actionUri": "http://azure.microsoft.com/support", + "actionUriText": "contact support" } ] } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkWatcherUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkWatcherUpdateTags.json index 20004c9304b3..b28eb7c71c0d 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkWatcherUpdateTags.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NetworkWatcherUpdateTags.json @@ -1,30 +1,30 @@ { - "parameters" : { + "parameters": { "api-version": "2019-04-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", - "networkWatcherName" : "nw1", - "parameters" : { + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkWatcherName": "nw1", + "parameters": { "tags": { "tag1": "value1", "tag2": "value2" } } }, - "responses" : { - "200" : { - "body" : { - "name" : "nw1", - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1", - "etag" : "W/\"00000000-0000-0000-0000-000000000000\"", - "type" : "Microsoft.Network/networkWatchers", - "location" : "eastus", + "responses": { + "200": { + "body": { + "name": "nw1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "type": "Microsoft.Network/networkWatchers", + "location": "eastus", "tags": { "tag1": "value1", "tag2": "value2" }, - "properties" : { - "provisioningState" : "Succeeded" + "properties": { + "provisioningState": "Succeeded" } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/P2SVpnGatewayDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/P2SVpnGatewayDelete.json index 539087144b95..e7e3966d3f9f 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/P2SVpnGatewayDelete.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/P2SVpnGatewayDelete.json @@ -1,13 +1,13 @@ { - "parameters": { - "gatewayName": "p2sVpnGateway1", - "resourceGroupName": "rg1", - "api-version": "2019-04-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { }, - "202": { }, - "204": { } - } + "parameters": { + "gatewayName": "p2sVpnGateway1", + "resourceGroupName": "rg1", + "api-version": "2019-04-01", + "subscriptionId": "subid" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/P2SVpnGatewayGenerateVpnProfile.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/P2SVpnGatewayGenerateVpnProfile.json index bb7b8b3548ed..ef87a39f75d0 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/P2SVpnGatewayGenerateVpnProfile.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/P2SVpnGatewayGenerateVpnProfile.json @@ -1,19 +1,17 @@ { + "parameters": { + "api-version": "2019-04-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "gatewayName": "p2sVpnGateway1", "parameters": { - "api-version": "2019-04-01", - "subscriptionId": "subid", - "resourceGroupName": "rg1", - "gatewayName" : "p2sVpnGateway1", - "parameters": { - "authenticationMethod": "EAPTLS" - } - }, - "responses" : { - "202" : { - }, - "200" : { - "body" : "" - } + "authenticationMethod": "EAPTLS" } + }, + "responses": { + "202": {}, + "200": { + "body": "" + } + } } - diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/P2SVpnGatewayGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/P2SVpnGatewayGet.json index 285260318bac..03325273a941 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/P2SVpnGatewayGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/P2SVpnGatewayGet.json @@ -9,7 +9,7 @@ "200": { "body": { "name": "p2sVpnGateway1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/P2SvpnGateways/p2sVpnGateway1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/P2SvpnGateways/p2sVpnGateway1", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "location": "West US", "type": "Microsoft.Network/p2sVpnGateways", @@ -18,29 +18,29 @@ "virtualHub": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" }, - "p2SVpnServerConfiguration": { + "p2SVpnServerConfiguration": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1" - }, - "vpnClientAddressPool": { + }, + "vpnClientAddressPool": { "addressPrefixes": [ - "101.3.0.0/16" + "101.3.0.0/16" ] - }, - "customRoutes": { + }, + "customRoutes": { "addressPrefixes": [ - "101.168.0.6/32" + "101.168.0.6/32" ] - }, - "vpnGatewayScaleUnit": 1, - "vpnClientConnectionHealth": { + }, + "vpnGatewayScaleUnit": 1, + "vpnClientConnectionHealth": { "vpnClientConnectionsCount": 2, "allocatedIpAddresses": [ - "1.1.1.1", - "2.2.2.2" + "1.1.1.1", + "2.2.2.2" ], - "totalIngressBytesTransferred":2000, - "totalEgressBytesTransferred":3000 - } + "totalIngressBytesTransferred": 2000, + "totalEgressBytesTransferred": 3000 + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/P2SVpnGatewayGetConnectionHealth.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/P2SVpnGatewayGetConnectionHealth.json index 3b2c93874e23..975d679be8f3 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/P2SVpnGatewayGetConnectionHealth.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/P2SVpnGatewayGetConnectionHealth.json @@ -9,7 +9,7 @@ "200": { "body": { "name": "p2sVpnGateway1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/P2SvpnGateways/p2sVpnGateway1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/P2SvpnGateways/p2sVpnGateway1", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "location": "West US", "type": "Microsoft.Network/p2sVpnGateways", @@ -18,33 +18,32 @@ "virtualHub": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" }, - "p2SVpnServerConfiguration": { + "p2SVpnServerConfiguration": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1" - }, - "vpnClientAddressPool": { + }, + "vpnClientAddressPool": { "addressPrefixes": [ - "101.3.0.0/16" + "101.3.0.0/16" ] - }, - "customRoutes": { + }, + "customRoutes": { "addressPrefixes": [ - "101.168.0.6/32" + "101.168.0.6/32" ] - }, - "vpnGatewayScaleUnit": 1, - "vpnClientConnectionHealth": { + }, + "vpnGatewayScaleUnit": 1, + "vpnClientConnectionHealth": { "vpnClientConnectionsCount": 2, "allocatedIpAddresses": [ - "1.1.1.1", - "2.2.2.2" + "1.1.1.1", + "2.2.2.2" ], - "totalIngressBytesTransferred":2000, - "totalEgressBytesTransferred":3000 - } + "totalIngressBytesTransferred": 2000, + "totalEgressBytesTransferred": 3000 + } } } }, - "202": { - } + "202": {} } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/P2SVpnGatewayList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/P2SVpnGatewayList.json index 1ddbb74beeb5..a14d71f8860f 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/P2SVpnGatewayList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/P2SVpnGatewayList.json @@ -19,29 +19,29 @@ "virtualHub": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" }, - "p2SVpnServerConfiguration": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1" - }, - "vpnClientAddressPool": { - "addressPrefixes": [ - "101.3.0.0/16" - ] - }, - "customRoutes": { - "addressPrefixes": [ - "101.168.0.6/32" - ] - }, - "vpnGatewayScaleUnit": 1, - "vpnClientConnectionHealth": { - "vpnClientConnectionsCount": 2, - "allocatedIpAddresses": [ - "1.1.1.1", - "2.2.2.2" - ], - "totalIngressBytesTransferred":2000, - "totalEgressBytesTransferred":3000 - } + "p2SVpnServerConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1" + }, + "vpnClientAddressPool": { + "addressPrefixes": [ + "101.3.0.0/16" + ] + }, + "customRoutes": { + "addressPrefixes": [ + "101.168.0.6/32" + ] + }, + "vpnGatewayScaleUnit": 1, + "vpnClientConnectionHealth": { + "vpnClientConnectionsCount": 2, + "allocatedIpAddresses": [ + "1.1.1.1", + "2.2.2.2" + ], + "totalIngressBytesTransferred": 2000, + "totalEgressBytesTransferred": 3000 + } } }, { @@ -55,29 +55,29 @@ "virtualHub": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub2" }, - "p2SVpnServerConfiguration": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1" - }, - "vpnClientAddressPool": { - "addressPrefixes": [ - "101.4.0.0/16" - ] - }, - "customRoutes": { - "addressPrefixes": [ - "101.168.0.6/32" - ] - }, - "vpnGatewayScaleUnit": 1, - "vpnClientConnectionHealth": { - "vpnClientConnectionsCount": 2, - "allocatedIpAddresses": [ - "1.1.1.1", - "2.2.2.2" - ], - "totalIngressBytesTransferred":2000, - "totalEgressBytesTransferred":3000 - } + "p2SVpnServerConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1" + }, + "vpnClientAddressPool": { + "addressPrefixes": [ + "101.4.0.0/16" + ] + }, + "customRoutes": { + "addressPrefixes": [ + "101.168.0.6/32" + ] + }, + "vpnGatewayScaleUnit": 1, + "vpnClientConnectionHealth": { + "vpnClientConnectionsCount": 2, + "allocatedIpAddresses": [ + "1.1.1.1", + "2.2.2.2" + ], + "totalIngressBytesTransferred": 2000, + "totalEgressBytesTransferred": 3000 + } } } ] diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/P2SVpnGatewayListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/P2SVpnGatewayListByResourceGroup.json index 1ddbb74beeb5..a14d71f8860f 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/P2SVpnGatewayListByResourceGroup.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/P2SVpnGatewayListByResourceGroup.json @@ -19,29 +19,29 @@ "virtualHub": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" }, - "p2SVpnServerConfiguration": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1" - }, - "vpnClientAddressPool": { - "addressPrefixes": [ - "101.3.0.0/16" - ] - }, - "customRoutes": { - "addressPrefixes": [ - "101.168.0.6/32" - ] - }, - "vpnGatewayScaleUnit": 1, - "vpnClientConnectionHealth": { - "vpnClientConnectionsCount": 2, - "allocatedIpAddresses": [ - "1.1.1.1", - "2.2.2.2" - ], - "totalIngressBytesTransferred":2000, - "totalEgressBytesTransferred":3000 - } + "p2SVpnServerConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1" + }, + "vpnClientAddressPool": { + "addressPrefixes": [ + "101.3.0.0/16" + ] + }, + "customRoutes": { + "addressPrefixes": [ + "101.168.0.6/32" + ] + }, + "vpnGatewayScaleUnit": 1, + "vpnClientConnectionHealth": { + "vpnClientConnectionsCount": 2, + "allocatedIpAddresses": [ + "1.1.1.1", + "2.2.2.2" + ], + "totalIngressBytesTransferred": 2000, + "totalEgressBytesTransferred": 3000 + } } }, { @@ -55,29 +55,29 @@ "virtualHub": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub2" }, - "p2SVpnServerConfiguration": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1" - }, - "vpnClientAddressPool": { - "addressPrefixes": [ - "101.4.0.0/16" - ] - }, - "customRoutes": { - "addressPrefixes": [ - "101.168.0.6/32" - ] - }, - "vpnGatewayScaleUnit": 1, - "vpnClientConnectionHealth": { - "vpnClientConnectionsCount": 2, - "allocatedIpAddresses": [ - "1.1.1.1", - "2.2.2.2" - ], - "totalIngressBytesTransferred":2000, - "totalEgressBytesTransferred":3000 - } + "p2SVpnServerConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1" + }, + "vpnClientAddressPool": { + "addressPrefixes": [ + "101.4.0.0/16" + ] + }, + "customRoutes": { + "addressPrefixes": [ + "101.168.0.6/32" + ] + }, + "vpnGatewayScaleUnit": 1, + "vpnClientConnectionHealth": { + "vpnClientConnectionsCount": 2, + "allocatedIpAddresses": [ + "1.1.1.1", + "2.2.2.2" + ], + "totalIngressBytesTransferred": 2000, + "totalEgressBytesTransferred": 3000 + } } } ] diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/P2SVpnGatewayPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/P2SVpnGatewayPut.json index b6c0d8b6e2ac..362f45c9a5dc 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/P2SVpnGatewayPut.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/P2SVpnGatewayPut.json @@ -14,17 +14,17 @@ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" }, "p2SVpnServerConfiguration": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1" + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1" }, "vpnClientAddressPool": { - "addressPrefixes": [ - "101.3.0.0/16" - ] + "addressPrefixes": [ + "101.3.0.0/16" + ] }, "customRoutes": { - "addressPrefixes": [ - "101.168.0.6/32" - ] + "addressPrefixes": [ + "101.168.0.6/32" + ] }, "vpnGatewayScaleUnit": 1 } @@ -43,24 +43,24 @@ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" }, "p2SVpnServerConfiguration": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1" + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1" }, "vpnClientAddressPool": { - "addressPrefixes": [ - "101.3.0.0/16" - ] + "addressPrefixes": [ + "101.3.0.0/16" + ] }, "customRoutes": { - "addressPrefixes": [ - "101.168.0.6/32" - ] + "addressPrefixes": [ + "101.168.0.6/32" + ] }, "vpnGatewayScaleUnit": 1, "vpnClientConnectionHealth": { - "vpnClientConnectionsCount": 0, - "allocatedIpAddresses": [], - "totalIngressBytesTransferred": 0, - "totalEgressBytesTransferred": 0 + "vpnClientConnectionsCount": 0, + "allocatedIpAddresses": [], + "totalIngressBytesTransferred": 0, + "totalEgressBytesTransferred": 0 } } }, @@ -76,24 +76,24 @@ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" }, "p2SVpnServerConfiguration": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1" + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1" }, "vpnClientAddressPool": { - "addressPrefixes": [ - "101.3.0.0/16" - ] + "addressPrefixes": [ + "101.3.0.0/16" + ] }, "customRoutes": { - "addressPrefixes": [ - "101.168.0.6/32" - ] + "addressPrefixes": [ + "101.168.0.6/32" + ] }, "vpnGatewayScaleUnit": 1, "vpnClientConnectionHealth": { - "vpnClientConnectionsCount": 0, - "allocatedIpAddresses": [], - "totalIngressBytesTransferred": 0, - "totalEgressBytesTransferred": 0 + "vpnClientConnectionsCount": 0, + "allocatedIpAddresses": [], + "totalIngressBytesTransferred": 0, + "totalEgressBytesTransferred": 0 } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/P2SVpnGatewayUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/P2SVpnGatewayUpdateTags.json index f642c3821d75..53e12737cb5c 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/P2SVpnGatewayUpdateTags.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/P2SVpnGatewayUpdateTags.json @@ -28,27 +28,27 @@ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" }, "p2SVpnServerConfiguration": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1" + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1" }, "vpnClientAddressPool": { - "addressPrefixes": [ - "101.3.0.0/16" - ] + "addressPrefixes": [ + "101.3.0.0/16" + ] }, "customRoutes": { - "addressPrefixes": [ - "101.168.0.6/32" - ] + "addressPrefixes": [ + "101.168.0.6/32" + ] }, "vpnGatewayScaleUnit": 1, "vpnClientConnectionHealth": { - "vpnClientConnectionsCount": 2, - "allocatedIpAddresses": [ + "vpnClientConnectionsCount": 2, + "allocatedIpAddresses": [ "1.1.1.1", "2.2.2.2" - ], - "totalIngressBytesTransferred":2000, - "totalEgressBytesTransferred":3000 + ], + "totalIngressBytesTransferred": 2000, + "totalEgressBytesTransferred": 3000 } } }, @@ -68,30 +68,29 @@ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" }, "p2SVpnServerConfiguration": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1" + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1" }, "vpnClientAddressPool": { - "addressPrefixes": [ - "101.3.0.0/16" - ] + "addressPrefixes": [ + "101.3.0.0/16" + ] }, "customRoutes": { - "addressPrefixes": [ - "101.168.0.6/32" - ] + "addressPrefixes": [ + "101.168.0.6/32" + ] }, "vpnGatewayScaleUnit": 1, "vpnClientConnectionHealth": { - "vpnClientConnectionsCount": 2, - "allocatedIpAddresses": [ + "vpnClientConnectionsCount": 2, + "allocatedIpAddresses": [ "1.1.1.1", "2.2.2.2" - ], - "totalIngressBytesTransferred":2000, - "totalEgressBytesTransferred":3000 + ], + "totalIngressBytesTransferred": 2000, + "totalEgressBytesTransferred": 3000 } } } } } - diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/P2SVpnServerConfigurationDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/P2SVpnServerConfigurationDelete.json index 7b6dc939accc..5d3aa98023b0 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/P2SVpnServerConfigurationDelete.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/P2SVpnServerConfigurationDelete.json @@ -1,14 +1,14 @@ { - "parameters": { - "p2SVpnServerConfigurationName": "p2sVpnServerConfiguration1", - "virtualWanName": "virtualWan1", - "resourceGroupName": "rg1", - "api-version": "2019-04-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { }, - "202": { }, - "204": { } - } + "parameters": { + "p2SVpnServerConfigurationName": "p2sVpnServerConfiguration1", + "virtualWanName": "virtualWan1", + "resourceGroupName": "rg1", + "api-version": "2019-04-01", + "subscriptionId": "subid" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/P2SVpnServerConfigurationGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/P2SVpnServerConfigurationGet.json index e58e97b3837b..2691ff6d53eb 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/P2SVpnServerConfigurationGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/P2SVpnServerConfigurationGet.json @@ -14,62 +14,72 @@ "properties": { "provisioningState": "Succeeded", "vpnProtocols": [ - "IkeV2" - ], - "vpnClientIpsecPolicies": [{ - "saLifeTimeSeconds": 86472, - "saDataSizeKilobytes": 429497, - "ipsecEncryption": "AES256", - "ipsecIntegrity": "SHA256", - "ikeEncryption": "AES256", - "ikeIntegrity": "SHA384", - "dhGroup": "DHGroup14", - "pfsGroup": "PFS14" - }], - "p2SVpnServerConfigVpnClientRootCertificates": [{ - "name": "p2sVpnServerConfigVpnClientRootCert1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigVpnClientRootCertificates/p2sVpnServerConfigVpnClientRootCert1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuN" - }, - "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigVpnClientRootCertificates" - }], - "p2SVpnServerConfigVpnClientRevokedCertificates": [{ - "name": "p2sVpnServerConfigVpnClientRevokedCert1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigVpnClientRevokedCertificates/p2sVpnServerConfigVpnClientRevokedCert1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "Thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" - }, - "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigVpnClientRevokedCertificates" - }], + "IkeV2" + ], + "vpnClientIpsecPolicies": [ + { + "saLifeTimeSeconds": 86472, + "saDataSizeKilobytes": 429497, + "ipsecEncryption": "AES256", + "ipsecIntegrity": "SHA256", + "ikeEncryption": "AES256", + "ikeIntegrity": "SHA384", + "dhGroup": "DHGroup14", + "pfsGroup": "PFS14" + } + ], + "p2SVpnServerConfigVpnClientRootCertificates": [ + { + "name": "p2sVpnServerConfigVpnClientRootCert1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigVpnClientRootCertificates/p2sVpnServerConfigVpnClientRootCert1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuN" + }, + "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigVpnClientRootCertificates" + } + ], + "p2SVpnServerConfigVpnClientRevokedCertificates": [ + { + "name": "p2sVpnServerConfigVpnClientRevokedCert1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigVpnClientRevokedCertificates/p2sVpnServerConfigVpnClientRevokedCert1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "Thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" + }, + "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigVpnClientRevokedCertificates" + } + ], "radiusServerAddress": "8.9.9.9", - "radiusServerSecret":"123_abc", - "p2SVpnServerConfigRadiusServerRootCertificates": [{ - "name": "p2sVpnServerConfigRadiusServerRootCer1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigRadiusServerRootCertificates/p2sVpnServerConfigRadiusServerRootCer1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuM" - }, - "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigRadiusServerRootCertificates" - }], - "p2SVpnServerConfigRadiusClientRootCertificates": [{ - "name": "p2sVpnServerConfigRadiusClientRootCert1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigRadiusClientRootCertificates/p2sVpnServerConfigRadiusClientRootCert1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "Thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" - }, - "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigRadiusClientRootCertificates" - }] + "radiusServerSecret": "123_abc", + "p2SVpnServerConfigRadiusServerRootCertificates": [ + { + "name": "p2sVpnServerConfigRadiusServerRootCer1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigRadiusServerRootCertificates/p2sVpnServerConfigRadiusServerRootCer1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuM" + }, + "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigRadiusServerRootCertificates" + } + ], + "p2SVpnServerConfigRadiusClientRootCertificates": [ + { + "name": "p2sVpnServerConfigRadiusClientRootCert1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigRadiusClientRootCertificates/p2sVpnServerConfigRadiusClientRootCert1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "Thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" + }, + "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigRadiusClientRootCertificates" + } + ] }, "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations" } - } + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/P2SVpnServerConfigurationList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/P2SVpnServerConfigurationList.json index 0d1c441cb528..75c5080fe34e 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/P2SVpnServerConfigurationList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/P2SVpnServerConfigurationList.json @@ -9,66 +9,76 @@ "200": { "body": [ { - "name": "p2sVpnServerConfiguration1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "name": "p2sVpnServerConfiguration1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "properties": { "provisioningState": "Succeeded", - "vpnProtocols": [ - "IkeV2" - ], - "vpnClientIpsecPolicies": [{ - "saLifeTimeSeconds": 86472, - "saDataSizeKilobytes": 429497, - "ipsecEncryption": "AES256", - "ipsecIntegrity": "SHA256", - "ikeEncryption": "AES256", - "ikeIntegrity": "SHA384", - "dhGroup": "DHGroup14", - "pfsGroup": "PFS14" - }], - "p2SVpnServerConfigVpnClientRootCertificates": [{ - "name": "p2sVpnServerConfigVpnClientRootCert1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigVpnClientRootCertificates/p2sVpnServerConfigVpnClientRootCert1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuN" - }, - "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigVpnClientRootCertificates" - }], - "p2SVpnServerConfigVpnClientRevokedCertificates": [{ + "vpnProtocols": [ + "IkeV2" + ], + "vpnClientIpsecPolicies": [ + { + "saLifeTimeSeconds": 86472, + "saDataSizeKilobytes": 429497, + "ipsecEncryption": "AES256", + "ipsecIntegrity": "SHA256", + "ikeEncryption": "AES256", + "ikeIntegrity": "SHA384", + "dhGroup": "DHGroup14", + "pfsGroup": "PFS14" + } + ], + "p2SVpnServerConfigVpnClientRootCertificates": [ + { + "name": "p2sVpnServerConfigVpnClientRootCert1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigVpnClientRootCertificates/p2sVpnServerConfigVpnClientRootCert1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuN" + }, + "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigVpnClientRootCertificates" + } + ], + "p2SVpnServerConfigVpnClientRevokedCertificates": [ + { "name": "p2sVpnServerConfigVpnClientRevokedCert1", "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigVpnClientRevokedCertificates/VpnClientRevokedCert2", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "properties": { - "provisioningState": "Succeeded", - "Thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" - }, - "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigVpnClientRevokedCertificates" - }], - "radiusServerAddress": "8.9.9.9", - "radiusServerSecret":"123_abc", - "p2SVpnServerConfigRadiusServerRootCertificates": [{ - "name": "p2sVpnServerConfigRadiusServerRootCert1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigRadiusServerRootCertificates/p2sVpnServerConfigRadiusServerRootCert", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuM" - }, - "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigRadiusServerRootCertificates" - }], - "p2SVpnServerConfigRadiusClientRootCertificates": [{ + "provisioningState": "Succeeded", + "Thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" + }, + "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigVpnClientRevokedCertificates" + } + ], + "radiusServerAddress": "8.9.9.9", + "radiusServerSecret": "123_abc", + "p2SVpnServerConfigRadiusServerRootCertificates": [ + { + "name": "p2sVpnServerConfigRadiusServerRootCert1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigRadiusServerRootCertificates/p2sVpnServerConfigRadiusServerRootCert", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuM" + }, + "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigRadiusServerRootCertificates" + } + ], + "p2SVpnServerConfigRadiusClientRootCertificates": [ + { "name": "p2sVpnServerConfigRadiusClientRootCert1", "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigRadiusClientRootCertificates/p2sVpnServerConfigRadiusClientRootCert1", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "properties": { - "provisioningState": "Succeeded", - "Thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" - }, - "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigRadiusClientRootCertificates" - }] + "provisioningState": "Succeeded", + "Thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" + }, + "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigRadiusClientRootCertificates" + } + ] } } ] diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/P2SVpnServerConfigurationPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/P2SVpnServerConfigurationPut.json index 5c7540814384..73ca41d88602 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/P2SVpnServerConfigurationPut.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/P2SVpnServerConfigurationPut.json @@ -8,44 +8,54 @@ "p2SVpnServerConfigurationParameters": { "properties": { "vpnProtocols": [ - "IkeV2" - ], - "vpnClientIpsecPolicies": [{ - "saLifeTimeSeconds": 86472, - "saDataSizeKilobytes": 429497, - "ipsecEncryption": "AES256", - "ipsecIntegrity": "SHA256", - "ikeEncryption": "AES256", - "ikeIntegrity": "SHA384", - "dhGroup": "DHGroup14", - "pfsGroup": "PFS14" - }], - "p2SVpnServerConfigVpnClientRootCertificates": [{ - "name": "p2sVpnServerConfigVpnClientRootCert1", - "properties": { - "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuN" - } - }], - "p2SVpnServerConfigVpnClientRevokedCertificates": [{ - "name": "p2sVpnServerConfigVpnClientRevokedCert1", - "properties": { - "thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" - } - }], + "IkeV2" + ], + "vpnClientIpsecPolicies": [ + { + "saLifeTimeSeconds": 86472, + "saDataSizeKilobytes": 429497, + "ipsecEncryption": "AES256", + "ipsecIntegrity": "SHA256", + "ikeEncryption": "AES256", + "ikeIntegrity": "SHA384", + "dhGroup": "DHGroup14", + "pfsGroup": "PFS14" + } + ], + "p2SVpnServerConfigVpnClientRootCertificates": [ + { + "name": "p2sVpnServerConfigVpnClientRootCert1", + "properties": { + "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuN" + } + } + ], + "p2SVpnServerConfigVpnClientRevokedCertificates": [ + { + "name": "p2sVpnServerConfigVpnClientRevokedCert1", + "properties": { + "thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" + } + } + ], "radiusServerAddress": "8.9.9.9", - "radiusServerSecret":"123_abc", - "p2SVpnServerConfigRadiusServerRootCertificates": [{ - "name": "p2sVpnServerConfigRadiusServerRootCert1", - "properties": { - "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuM" - } - }], - "p2SVpnServerConfigRadiusClientRootCertificates": [{ - "name": "p2sVpnServerConfigRadiusClientRootCert1", - "properties": { - "thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" - } - }] + "radiusServerSecret": "123_abc", + "p2SVpnServerConfigRadiusServerRootCertificates": [ + { + "name": "p2sVpnServerConfigRadiusServerRootCert1", + "properties": { + "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuM" + } + } + ], + "p2SVpnServerConfigRadiusClientRootCertificates": [ + { + "name": "p2sVpnServerConfigRadiusClientRootCert1", + "properties": { + "thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" + } + } + ] } } }, @@ -57,60 +67,70 @@ "properties": { "provisioningState": "Succeeded", "vpnProtocols": [ - "IkeV2" - ], - "vpnClientIpsecPolicies": [{ - "saLifeTimeSeconds": 86472, - "saDataSizeKilobytes": 429497, - "ipsecEncryption": "AES256", - "ipsecIntegrity": "SHA256", - "ikeEncryption": "AES256", - "ikeIntegrity": "SHA384", - "dhGroup": "DHGroup14", - "pfsGroup": "PFS14" - }], - "p2SVpnServerConfigVpnClientRootCertificates": [{ - "name": "p2sVpnServerConfigVpnClientRootCert1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigVpnClientRootCertificates/p2sVpnServerConfigVpnClientRootCert1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuN" - }, - "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigVpnClientRootCertificates" - }], - "p2SVpnServerConfigVpnClientRevokedCertificates": [{ - "name": "p2sVpnServerConfigVpnClientRevokedCert1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigVpnClientRevokedCertificates/p2sVpnServerConfigVpnClientRevokedCert1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "Thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" - }, - "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigVpnClientRevokedCertificates" - }], + "IkeV2" + ], + "vpnClientIpsecPolicies": [ + { + "saLifeTimeSeconds": 86472, + "saDataSizeKilobytes": 429497, + "ipsecEncryption": "AES256", + "ipsecIntegrity": "SHA256", + "ikeEncryption": "AES256", + "ikeIntegrity": "SHA384", + "dhGroup": "DHGroup14", + "pfsGroup": "PFS14" + } + ], + "p2SVpnServerConfigVpnClientRootCertificates": [ + { + "name": "p2sVpnServerConfigVpnClientRootCert1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigVpnClientRootCertificates/p2sVpnServerConfigVpnClientRootCert1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuN" + }, + "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigVpnClientRootCertificates" + } + ], + "p2SVpnServerConfigVpnClientRevokedCertificates": [ + { + "name": "p2sVpnServerConfigVpnClientRevokedCert1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigVpnClientRevokedCertificates/p2sVpnServerConfigVpnClientRevokedCert1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "Thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" + }, + "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigVpnClientRevokedCertificates" + } + ], "radiusServerAddress": "8.9.9.9", - "radiusServerSecret":"123_abc", - "p2SVpnServerConfigRadiusServerRootCertificates": [{ - "name": "p2sVpnServerConfigRadiusServerRootCert1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigRadiusServerRootCertificates/p2sVpnServerConfigRadiusServerRootCert1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuM" - }, - "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigRadiusServerRootCertificates" - }], - "p2SVpnServerConfigRadiusClientRootCertificates": [{ - "name": "p2sVpnServerConfigRadiusClientRootCert1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigRadiusClientRootCertificates/p2sVpnServerConfigRadiusClientRootCert1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "Thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" - }, - "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigRadiusClientRootCertificates" - }] + "radiusServerSecret": "123_abc", + "p2SVpnServerConfigRadiusServerRootCertificates": [ + { + "name": "p2sVpnServerConfigRadiusServerRootCert1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigRadiusServerRootCertificates/p2sVpnServerConfigRadiusServerRootCert1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuM" + }, + "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigRadiusServerRootCertificates" + } + ], + "p2SVpnServerConfigRadiusClientRootCertificates": [ + { + "name": "p2sVpnServerConfigRadiusClientRootCert1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigRadiusClientRootCertificates/p2sVpnServerConfigRadiusClientRootCert1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "Thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" + }, + "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigRadiusClientRootCertificates" + } + ] }, "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations" }, @@ -121,60 +141,70 @@ "properties": { "provisioningState": "Succeeded", "vpnProtocols": [ - "IkeV2" - ], - "vpnClientIpsecPolicies": [{ - "saLifeTimeSeconds": 86472, - "saDataSizeKilobytes": 429497, - "ipsecEncryption": "AES256", - "ipsecIntegrity": "SHA256", - "ikeEncryption": "AES256", - "ikeIntegrity": "SHA384", - "dhGroup": "DHGroup14", - "pfsGroup": "PFS14" - }], - "p2SVpnServerConfigVpnClientRootCertificates": [{ - "name": "p2sVpnServerConfigVpnClientRootCert1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigVpnClientRootCertificates/p2sVpnServerConfigVpnClientRootCert1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuN" - }, - "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigVpnClientRootCertificates" - }], - "p2SVpnServerConfigVpnClientRevokedCertificates": [{ - "name": "p2sVpnServerConfigVpnClientRevokedCert1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigVpnClientRevokedCertificates/p2sVpnServerConfigVpnClientRevokedCert1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "Thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" - }, - "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigVpnClientRevokedCertificates" - }], + "IkeV2" + ], + "vpnClientIpsecPolicies": [ + { + "saLifeTimeSeconds": 86472, + "saDataSizeKilobytes": 429497, + "ipsecEncryption": "AES256", + "ipsecIntegrity": "SHA256", + "ikeEncryption": "AES256", + "ikeIntegrity": "SHA384", + "dhGroup": "DHGroup14", + "pfsGroup": "PFS14" + } + ], + "p2SVpnServerConfigVpnClientRootCertificates": [ + { + "name": "p2sVpnServerConfigVpnClientRootCert1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigVpnClientRootCertificates/p2sVpnServerConfigVpnClientRootCert1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuN" + }, + "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigVpnClientRootCertificates" + } + ], + "p2SVpnServerConfigVpnClientRevokedCertificates": [ + { + "name": "p2sVpnServerConfigVpnClientRevokedCert1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigVpnClientRevokedCertificates/p2sVpnServerConfigVpnClientRevokedCert1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "Thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" + }, + "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigVpnClientRevokedCertificates" + } + ], "radiusServerAddress": "8.9.9.9", - "radiusServerSecret":"123_abc", - "p2SVpnServerConfigRadiusServerRootCertificates": [{ - "name": "p2sVpnServerConfigRadiusServerRootCert1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigRadiusServerRootCertificates/p2sVpnServerConfigRadiusServerRootCert1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuM" - }, - "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigRadiusServerRootCertificates" - }], - "p2SVpnServerConfigRadiusClientRootCertificates": [{ - "name": "p2sVpnServerConfigRadiusClientRootCert1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigRadiusClientRootCertificates/p2sVpnServerConfigRadiusClientRootCert1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "Thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" - }, - "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigRadiusClientRootCertificates" - }] + "radiusServerSecret": "123_abc", + "p2SVpnServerConfigRadiusServerRootCertificates": [ + { + "name": "p2sVpnServerConfigRadiusServerRootCert1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigRadiusServerRootCertificates/p2sVpnServerConfigRadiusServerRootCert1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuM" + }, + "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigRadiusServerRootCertificates" + } + ], + "p2SVpnServerConfigRadiusClientRootCertificates": [ + { + "name": "p2sVpnServerConfigRadiusClientRootCert1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigRadiusClientRootCertificates/p2sVpnServerConfigRadiusClientRootCert1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "Thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" + }, + "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigRadiusClientRootCertificates" + } + ] }, "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations" } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PeerExpressRouteCircuitConnectionList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PeerExpressRouteCircuitConnectionList.json index 279f278da2d0..edf653a21273 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PeerExpressRouteCircuitConnectionList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PeerExpressRouteCircuitConnectionList.json @@ -50,4 +50,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateEndpointCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateEndpointCreate.json index 98218b737bf3..95eb2657e574 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateEndpointCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateEndpointCreate.json @@ -1,97 +1,97 @@ -{ - "parameters" : { - "api-version": "2019-04-01", - "subscriptionId" : "subId", - "resourceGroupName": "rg1", - "privateEndpointName": "testPe", - "parameters": { - "properties": { - "privateLinkServiceConnections": [ - { - "properties": { - "privateLinkServiceId":"/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls", - "groupIds": [ - "groupIdFromResource" - ], - "requestMessage": "Please approve my connection." - } - } - ], - "subnet": { - "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet" - } - } - } - }, - "responses" : { - "200" : { - "body" : { - "name" : "testPe", - "id" : "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe", - "location" : "eastus", - "properties" : { - "provisioningState": "Succeeded", - "privateLinkServiceConnections": [ - { - "properties": { - "privateLinkServiceId":"/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls", - "groupIds": [ - "groupIdFromResource" - ], - "requestMessage": "Please approve my connection.", - "privateLinkServiceConnectionState" : { - "status": "Approved", - "description": "Auto-approved", - "actionRequired": "None" - } - } - } - ], - "manualPrivateLinkServiceConnections": [], - "subnet": { - "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet" - }, - "networkInterfaces": [ - { - "id": "/subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/testPe.nic.abcd1234" - } - ] - } - } - }, - "201" : { - "body" : { - "name" : "testPe", - "id" : "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe", - "location" : "eastus", - "properties" : { - "provisioningState" : "Succeeded", - "privateLinkServiceConnections": [ - { - "properties": { - "privateLinkServiceId":"/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls", - "groupIds": [ - "groupIdFromResource" - ], - "requestMessage": "Please approve my connection.", - "privateLinkServiceConnectionState" : { - "status": "Approved", - "description": "Auto-approved", - "actionRequired": "None" - } - } - } - ], - "subnet": { - "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet" - }, - "networkInterfaces": [ - { - "id": "/subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/testPe.nic.abcd1234" - } - ] - } - } - } - } -} +{ + "parameters": { + "api-version": "2019-04-01", + "subscriptionId": "subId", + "resourceGroupName": "rg1", + "privateEndpointName": "testPe", + "parameters": { + "properties": { + "privateLinkServiceConnections": [ + { + "properties": { + "privateLinkServiceId": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls", + "groupIds": [ + "groupIdFromResource" + ], + "requestMessage": "Please approve my connection." + } + } + ], + "subnet": { + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet" + } + } + } + }, + "responses": { + "200": { + "body": { + "name": "testPe", + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded", + "privateLinkServiceConnections": [ + { + "properties": { + "privateLinkServiceId": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls", + "groupIds": [ + "groupIdFromResource" + ], + "requestMessage": "Please approve my connection.", + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "Auto-approved", + "actionRequired": "None" + } + } + } + ], + "manualPrivateLinkServiceConnections": [], + "subnet": { + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet" + }, + "networkInterfaces": [ + { + "id": "/subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/testPe.nic.abcd1234" + } + ] + } + } + }, + "201": { + "body": { + "name": "testPe", + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded", + "privateLinkServiceConnections": [ + { + "properties": { + "privateLinkServiceId": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls", + "groupIds": [ + "groupIdFromResource" + ], + "requestMessage": "Please approve my connection.", + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "Auto-approved", + "actionRequired": "None" + } + } + } + ], + "subnet": { + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet" + }, + "networkInterfaces": [ + { + "id": "/subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/testPe.nic.abcd1234" + } + ] + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateEndpointCreateForManualApproval.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateEndpointCreateForManualApproval.json index 9ef87a1ce0a1..d7e6f6b87492 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateEndpointCreateForManualApproval.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateEndpointCreateForManualApproval.json @@ -1,7 +1,7 @@ { - "parameters" : { + "parameters": { "api-version": "2019-04-01", - "subscriptionId" : "subId", + "subscriptionId": "subId", "resourceGroupName": "rg1", "privateEndpointName": "testPe", "parameters": { @@ -9,7 +9,7 @@ "manualPrivateLinkServiceConnections": [ { "properties": { - "privateLinkServiceId":"/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls", + "privateLinkServiceId": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls", "groupIds": [ "groupIdFromResource" ], @@ -23,24 +23,24 @@ } } }, - "responses" : { - "200" : { - "body" : { - "name" : "testPe", - "id" : "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe", - "location" : "eastus", - "properties" : { + "responses": { + "200": { + "body": { + "name": "testPe", + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe", + "location": "eastus", + "properties": { "provisioningState": "Succeeded", "privateLinkServiceConnections": [], "manualPrivateLinkServiceConnections": [ { "properties": { - "privateLinkServiceId":"/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls", + "privateLinkServiceId": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls", "groupIds": [ "groupIdFromResource" ], "requestMessage": "Please manually approve my connection.", - "privateLinkServiceConnectionState" : { + "privateLinkServiceConnectionState": { "status": "Pending", "description": "Awaiting approval", "actionRequired": "None" @@ -59,22 +59,22 @@ } } }, - "201" : { - "body" : { - "name" : "testPe", - "id" : "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe", - "location" : "eastus", - "properties" : { - "provisioningState" : "Succeeded", + "201": { + "body": { + "name": "testPe", + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded", "privateLinkServiceConnections": [ { "properties": { - "privateLinkServiceId":"/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls", + "privateLinkServiceId": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls", "groupIds": [ "groupIdFromResource" ], "requestMessage": "Please approve my connection.", - "privateLinkServiceConnectionState" : { + "privateLinkServiceConnectionState": { "status": "Approved", "description": "Auto-approved", "actionRequired": "None" diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateEndpointDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateEndpointDelete.json index 369a0fc9c149..654d4c0d0974 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateEndpointDelete.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateEndpointDelete.json @@ -1,13 +1,13 @@ { - "parameters" : { + "parameters": { "api-version": "2019-04-01", - "subscriptionId" : "subId", + "subscriptionId": "subId", "resourceGroupName": "rg1", "privateEndpointName": "testPe" }, - "responses" : { - "200" : { }, - "202" : { }, - "204" : { } + "responses": { + "200": {}, + "202": {}, + "204": {} } -} \ No newline at end of file +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateEndpointGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateEndpointGet.json index b1b485a6ca0b..575a9d6a50ef 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateEndpointGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateEndpointGet.json @@ -1,46 +1,46 @@ -{ - "parameters" : { - "api-version": "2019-04-01", - "subscriptionId" : "subId", - "resourceGroupName" : "rg1", - "privateEndpointName" : "testPe" - }, - "responses" : { - "200" : { - "body" : { - "name" : "testPe", - "id" : "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe", - "type" : "Microsoft.Network/privateEndpoints", - "location" : "eastus", - "properties" : { - "provisioningState" : "Succeeded", - "privateLinkServiceConnections": [ - { - "properties": { - "privateLinkServiceId":"/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls", - "groupIds": [ - "groupIdFromResource" - ], - "requestMessage": "Please approve my connection.", - "privateLinkServiceConnectionState" : { - "status": "Approved", - "description": "Auto-approved", - "actionRequired": "None" - } - } - } - ], - "manualPrivateLinkServiceConnections": [], - "subnet": { - "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet" - }, - "networkInterfaces": [ - { - "id": "/subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/testPe.nic.abcd1234" - } - ] - } - } - } - } -} +{ + "parameters": { + "api-version": "2019-04-01", + "subscriptionId": "subId", + "resourceGroupName": "rg1", + "privateEndpointName": "testPe" + }, + "responses": { + "200": { + "body": { + "name": "testPe", + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe", + "type": "Microsoft.Network/privateEndpoints", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded", + "privateLinkServiceConnections": [ + { + "properties": { + "privateLinkServiceId": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls", + "groupIds": [ + "groupIdFromResource" + ], + "requestMessage": "Please approve my connection.", + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "Auto-approved", + "actionRequired": "None" + } + } + } + ], + "manualPrivateLinkServiceConnections": [], + "subnet": { + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet" + }, + "networkInterfaces": [ + { + "id": "/subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/testPe.nic.abcd1234" + } + ] + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateEndpointGetForManualApproval.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateEndpointGetForManualApproval.json index 7a6c93434a78..5eb53858dffa 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateEndpointGetForManualApproval.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateEndpointGetForManualApproval.json @@ -1,29 +1,29 @@ { - "parameters" : { + "parameters": { "api-version": "2019-04-01", - "subscriptionId" : "subId", - "resourceGroupName" : "rg1", - "privateEndpointName" : "testPe" + "subscriptionId": "subId", + "resourceGroupName": "rg1", + "privateEndpointName": "testPe" }, - "responses" : { - "200" : { - "body" : { - "name" : "testPe", - "id" : "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe", - "type" : "Microsoft.Network/privateEndpoints", - "location" : "eastus", - "properties" : { - "provisioningState" : "Succeeded", + "responses": { + "200": { + "body": { + "name": "testPe", + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe", + "type": "Microsoft.Network/privateEndpoints", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded", "privateLinkServiceConnections": [], "manualPrivateLinkServiceConnections": [ { "properties": { - "privateLinkServiceId":"/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls", + "privateLinkServiceId": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls", "groupIds": [ "groupIdFromResource" ], "requestMessage": "Please manually approve my connection.", - "privateLinkServiceConnectionState" : { + "privateLinkServiceConnectionState": { "status": "Pending", "description": "Awaiting approval", "actionRequired": "None" diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateEndpointList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateEndpointList.json index dda06a25b3f8..a3ce9fb8c8ab 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateEndpointList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateEndpointList.json @@ -1,83 +1,83 @@ -{ - "parameters" : { - "api-version": "2019-04-01", - "subscriptionId" : "subId", - "resourceGroupName" : "rg1" - }, - "responses" : { - "200" : { - "body" : { - "value": [ - { - "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/pe1", - "name": "pe1", - "type": "Microsoft.Network/privateEndpoints", - "location": "eastus", - "properties" : { - "provisioningState" : "Succeeded", - "privateLinkServiceConnections": [ - { - "properties": { - "privateLinkServiceId":"/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls1", - "groupIds": [ - "groupIdFromResource" - ], - "requestMessage": "Please approve my connection for pe1.", - "privateLinkServiceConnectionState" : { - "status": "Approved", - "description": "Auto-approved", - "actionRequired": "None" - } - } - } - ], - "manualPrivateLinkServiceConnections": [], - "subnet": { - "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet" - }, - "networkInterfaces": [ - { - "id": "/subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/pe1.nic.abcd1234" - } - ] - } - }, - { - "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/pe2", - "name": "pe2", - "type": "Microsoft.Network/privateEndpoints", - "location": "eastus", - "properties" : { - "provisioningState" : "Succeeded", - "privateLinkServiceConnections": [], - "manualPrivateLinkServiceConnections": [ - { - "properties": { - "privateLinkServiceId":"/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls2", - "groupIds": [ - "groupIdFromResource" - ], - "requestMessage": "Please manually approve my connection for pe2.", - "privateLinkServiceConnectionState" : { - "status": "Pending", - "description": "Awaiting approval", - "actionRequired": "None" - } - } - } - ], - "subnet": { - "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet2" - }, - "networkInterfaces": [ - { - "id": "/subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/pe2.nic.zyxw9876" - } - ] - } - } - ] - } - } - } -} +{ + "parameters": { + "api-version": "2019-04-01", + "subscriptionId": "subId", + "resourceGroupName": "rg1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/pe1", + "name": "pe1", + "type": "Microsoft.Network/privateEndpoints", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded", + "privateLinkServiceConnections": [ + { + "properties": { + "privateLinkServiceId": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls1", + "groupIds": [ + "groupIdFromResource" + ], + "requestMessage": "Please approve my connection for pe1.", + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "Auto-approved", + "actionRequired": "None" + } + } + } + ], + "manualPrivateLinkServiceConnections": [], + "subnet": { + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet" + }, + "networkInterfaces": [ + { + "id": "/subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/pe1.nic.abcd1234" + } + ] + } + }, + { + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/pe2", + "name": "pe2", + "type": "Microsoft.Network/privateEndpoints", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded", + "privateLinkServiceConnections": [], + "manualPrivateLinkServiceConnections": [ + { + "properties": { + "privateLinkServiceId": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls2", + "groupIds": [ + "groupIdFromResource" + ], + "requestMessage": "Please manually approve my connection for pe2.", + "privateLinkServiceConnectionState": { + "status": "Pending", + "description": "Awaiting approval", + "actionRequired": "None" + } + } + } + ], + "subnet": { + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet2" + }, + "networkInterfaces": [ + { + "id": "/subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/pe2.nic.zyxw9876" + } + ] + } + } + ] + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateEndpointListAll.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateEndpointListAll.json index 8e047dd50605..3a875c884a50 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateEndpointListAll.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateEndpointListAll.json @@ -1,114 +1,114 @@ -{ - "parameters" : { - "api-version": "2019-04-01", - "subscriptionId" : "subId" - }, - "responses" : { - "200" : { - "body" : { - "value": [ - { - "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/pe1", - "name": "pe1", - "type": "Microsoft.Network/privateEndpoints", - "location": "eastus", - "properties" : { - "provisioningState" : "Succeeded", - "privateLinkServiceConnections": [ - { - "properties": { - "privateLinkServiceId":"/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls1", - "groupIds": [ - "groupIdFromResource" - ], - "requestMessage": "Please approve my connection for pe1.", - "privateLinkServiceConnectionState" : { - "status": "Approved", - "description": "Auto-approved", - "actionRequired": "None" - } - } - } - ], - "subnet": { - "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet" - }, - "networkInterfaces": [ - { - "id": "/subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/pe1.nic.abcd1234" - } - ] - } - }, - { - "id": "/subscriptions/subId/resourceGroups/rg2/providers/Microsoft.Network/privateEndpoints/pe2", - "name": "pe2", - "type": "Microsoft.Network/privateEndpoints", - "location": "eastus", - "properties" : { - "provisioningState" : "Succeeded", - "privateLinkServiceConnections": [], - "manualPrivateLinkServiceConnections": [ - { - "properties": { - "privateLinkServiceId":"/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls2", - "groupIds": [ - "groupIdFromResource" - ], - "requestMessage": "Please manually approve my connection for pe2.", - "privateLinkServiceConnectionState" : { - "status": "Pending", - "description": "Awaiting approval", - "actionRequired": "None" - } - } - } - ], - "subnet": { - "id": "/subscriptions/subId/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet2" - }, - "networkInterfaces": [ - { - "id": "/subscriptions/subId/resourceGroups/rg2/provders/Microsoft.Network/networkInterfaces/pe2.nic.zyxw9876" - } - ] - } - }, - { - "id": "/subscriptions/subId/resourceGroups/rg3/providers/Microsoft.Network/privateEndpoints/pe3", - "name": "pe3", - "type": "Microsoft.Network/privateEndpoints", - "location": "eastus", - "properties" : { - "provisioningState" : "Succeeded", - "privateLinkServiceConnections": [ - { - "properties": { - "privateLinkServiceId":"/subscriptions/subId/resourceGroups/rg3/providers/Microsoft.Network/privateLinkServices/testPls3", - "groupIds": [ - "groupIdFromResource" - ], - "requestMessage": "Please approve my connection for pe3.", - "privateLinkServiceConnectionState" : { - "status": "Approved", - "description": "Auto-approved", - "actionRequired": "None" - } - } - } - ], - "subnet": { - "id": "/subscriptions/subId/resourceGroups/rg3/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet3" - }, - "networkInterfaces": [ - { - "id": "/subscriptions/subId/resourceGroups/rg3/provders/Microsoft.Network/networkInterfaces/pe3.nic.efgh5463" - } - ] - } - } - ] - } - } - } -} +{ + "parameters": { + "api-version": "2019-04-01", + "subscriptionId": "subId" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/pe1", + "name": "pe1", + "type": "Microsoft.Network/privateEndpoints", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded", + "privateLinkServiceConnections": [ + { + "properties": { + "privateLinkServiceId": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls1", + "groupIds": [ + "groupIdFromResource" + ], + "requestMessage": "Please approve my connection for pe1.", + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "Auto-approved", + "actionRequired": "None" + } + } + } + ], + "subnet": { + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet" + }, + "networkInterfaces": [ + { + "id": "/subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/pe1.nic.abcd1234" + } + ] + } + }, + { + "id": "/subscriptions/subId/resourceGroups/rg2/providers/Microsoft.Network/privateEndpoints/pe2", + "name": "pe2", + "type": "Microsoft.Network/privateEndpoints", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded", + "privateLinkServiceConnections": [], + "manualPrivateLinkServiceConnections": [ + { + "properties": { + "privateLinkServiceId": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls2", + "groupIds": [ + "groupIdFromResource" + ], + "requestMessage": "Please manually approve my connection for pe2.", + "privateLinkServiceConnectionState": { + "status": "Pending", + "description": "Awaiting approval", + "actionRequired": "None" + } + } + } + ], + "subnet": { + "id": "/subscriptions/subId/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet2" + }, + "networkInterfaces": [ + { + "id": "/subscriptions/subId/resourceGroups/rg2/provders/Microsoft.Network/networkInterfaces/pe2.nic.zyxw9876" + } + ] + } + }, + { + "id": "/subscriptions/subId/resourceGroups/rg3/providers/Microsoft.Network/privateEndpoints/pe3", + "name": "pe3", + "type": "Microsoft.Network/privateEndpoints", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded", + "privateLinkServiceConnections": [ + { + "properties": { + "privateLinkServiceId": "/subscriptions/subId/resourceGroups/rg3/providers/Microsoft.Network/privateLinkServices/testPls3", + "groupIds": [ + "groupIdFromResource" + ], + "requestMessage": "Please approve my connection for pe3.", + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "Auto-approved", + "actionRequired": "None" + } + } + } + ], + "subnet": { + "id": "/subscriptions/subId/resourceGroups/rg3/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet3" + }, + "networkInterfaces": [ + { + "id": "/subscriptions/subId/resourceGroups/rg3/provders/Microsoft.Network/networkInterfaces/pe3.nic.efgh5463" + } + ] + } + } + ] + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateLinkServiceCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateLinkServiceCreate.json index c3623de9df74..01544e532e2b 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateLinkServiceCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateLinkServiceCreate.json @@ -1,7 +1,7 @@ { - "parameters" : { + "parameters": { "api-version": "2019-04-01", - "subscriptionId" : "subId", + "subscriptionId": "subId", "resourceGroupName": "rg1", "serviceName": "testPls", "parameters": { @@ -46,13 +46,13 @@ } } }, - "responses" : { - "200" : { - "body" : { - "name" : "testPls", - "id" : "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls", - "location" : "eastus", - "properties" : { + "responses": { + "200": { + "body": { + "name": "testPls", + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls", + "location": "eastus", + "properties": { "provisioningState": "Succeeded", "visibility": { "subscriptions": [ @@ -99,13 +99,13 @@ } } }, - "201" : { - "body" : { - "name" : "testPls", - "id" : "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls", - "location" : "eastus", - "properties" : { - "provisioningState" : "Succeeded", + "201": { + "body": { + "name": "testPls", + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded", "visibility": { "subscriptions": [ "subscription1", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateLinkServiceDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateLinkServiceDelete.json index c06d48980276..ffb407e56c93 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateLinkServiceDelete.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateLinkServiceDelete.json @@ -1,13 +1,13 @@ { - "parameters" : { + "parameters": { "api-version": "2019-04-01", - "subscriptionId" : "subId", + "subscriptionId": "subId", "resourceGroupName": "rg1", "serviceName": "testPls" }, - "responses" : { - "200" : { }, - "202" : { }, - "204" : { } + "responses": { + "200": {}, + "202": {}, + "204": {} } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateLinkServiceDeletePrivateEndpointConnection.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateLinkServiceDeletePrivateEndpointConnection.json index 486157dee85f..87461d8199f8 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateLinkServiceDeletePrivateEndpointConnection.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateLinkServiceDeletePrivateEndpointConnection.json @@ -1,14 +1,14 @@ { - "parameters" : { + "parameters": { "api-version": "2019-04-01", - "subscriptionId" : "subId", + "subscriptionId": "subId", "resourceGroupName": "rg1", "serviceName": "testPls", - "peConnectionName":"testPlePeConnection" + "peConnectionName": "testPlePeConnection" }, - "responses" : { - "200" : { }, - "202" : { }, - "204" : { } + "responses": { + "200": {}, + "202": {}, + "204": {} } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateLinkServiceGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateLinkServiceGet.json index b06de9e6943f..38a081c87c82 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateLinkServiceGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateLinkServiceGet.json @@ -1,19 +1,19 @@ { - "parameters" : { + "parameters": { "api-version": "2019-04-01", - "subscriptionId" : "subId", - "resourceGroupName" : "rg1", - "serviceName" : "testPls" + "subscriptionId": "subId", + "resourceGroupName": "rg1", + "serviceName": "testPls" }, - "responses" : { - "200" : { - "body" : { - "name" : "testPls", - "id" : "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls", - "type" : "Microsoft.Network/privateLinkServices", - "location" : "eastus", - "properties" : { - "provisioningState" : "Succeeded", + "responses": { + "200": { + "body": { + "name": "testPls", + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls", + "type": "Microsoft.Network/privateLinkServices", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded", "visibility": { "subscriptions": [ "subscription1", @@ -56,11 +56,11 @@ "name": "privateEndpointConnection", "properties": { "privateEndpoint": { - "id":"/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe" + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe" }, "privateLinkServiceConnectionState": { - "status":"Approved", - "description":"approved it for some reason." + "status": "Approved", + "description": "approved it for some reason." } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateLinkServiceList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateLinkServiceList.json index 2abd3241b95a..0ee3e3d62f5d 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateLinkServiceList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateLinkServiceList.json @@ -1,20 +1,20 @@ { - "parameters" : { + "parameters": { "api-version": "2019-04-01", - "subscriptionId" : "subId", - "resourceGroupName" : "rg1" + "subscriptionId": "subId", + "resourceGroupName": "rg1" }, - "responses" : { - "200" : { - "body" : { + "responses": { + "200": { + "body": { "value": [ { - "name" : "testPls1", - "id" : "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls1", - "type" : "Microsoft.Network/privateLinkServices", - "location" : "eastus", - "properties" : { - "provisioningState" : "Succeeded", + "name": "testPls1", + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls1", + "type": "Microsoft.Network/privateLinkServices", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded", "visibility": { "subscriptions": [ "subscription1" @@ -53,11 +53,11 @@ "name": "pec1", "properties": { "privateEndpoint": { - "id":"/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe1" + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe1" }, "privateLinkServiceConnectionState": { - "status":"Approved", - "description":"approved it for some reason." + "status": "Approved", + "description": "approved it for some reason." } } } @@ -70,12 +70,12 @@ } }, { - "name" : "testPls2", - "id" : "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls2", - "type" : "Microsoft.Network/privateLinkServices", - "location" : "eastus", - "properties" : { - "provisioningState" : "Succeeded", + "name": "testPls2", + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls2", + "type": "Microsoft.Network/privateLinkServices", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded", "visibility": { "subscriptions": [ "subscription1", @@ -118,11 +118,11 @@ "name": "pec2", "properties": { "privateEndpoint": { - "id":"/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe2" + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe2" }, "privateLinkServiceConnectionState": { - "status":"Approved", - "description":"approved it for some reason." + "status": "Approved", + "description": "approved it for some reason." } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateLinkServiceListAll.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateLinkServiceListAll.json index d1a553edc07c..ccab84e6fb09 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateLinkServiceListAll.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateLinkServiceListAll.json @@ -1,19 +1,19 @@ { - "parameters" : { + "parameters": { "api-version": "2019-04-01", - "subscriptionId" : "subId" + "subscriptionId": "subId" }, - "responses" : { - "200" : { - "body" : { + "responses": { + "200": { + "body": { "value": [ { - "name" : "testPls1", - "id" : "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls1", - "type" : "Microsoft.Network/privateLinkServices", - "location" : "eastus", - "properties" : { - "provisioningState" : "Succeeded", + "name": "testPls1", + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls1", + "type": "Microsoft.Network/privateLinkServices", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded", "visibility": { "subscriptions": [ "subscription1", @@ -56,11 +56,11 @@ "name": "pec1", "properties": { "privateEndpoint": { - "id":"/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe1" + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe1" }, "privateLinkServiceConnectionState": { - "status":"Approved", - "description":"approved it for some reason." + "status": "Approved", + "description": "approved it for some reason." } } } @@ -73,12 +73,12 @@ } }, { - "name" : "testPls2", - "id" : "/subscriptions/subId/resourceGroups/rg2/providers/Microsoft.Network/privateLinkServices/testPls2", - "type" : "Microsoft.Network/privateLinkServices", - "location" : "eastus", - "properties" : { - "provisioningState" : "Succeeded", + "name": "testPls2", + "id": "/subscriptions/subId/resourceGroups/rg2/providers/Microsoft.Network/privateLinkServices/testPls2", + "type": "Microsoft.Network/privateLinkServices", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded", "visibility": { "subscriptions": [ "subscription1", @@ -119,11 +119,11 @@ "name": "pec1", "properties": { "privateEndpoint": { - "id":"/subscriptions/subId/resourceGroups/rg2/providers/Microsoft.Network/privateEndpoints/testPe2" + "id": "/subscriptions/subId/resourceGroups/rg2/providers/Microsoft.Network/privateEndpoints/testPe2" }, "privateLinkServiceConnectionState": { - "status":"Approved", - "description":"approved it for some reason." + "status": "Approved", + "description": "approved it for some reason." } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateLinkServiceUpdatePrivateEndpointConnection.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateLinkServiceUpdatePrivateEndpointConnection.json index a9dd85acc934..c4094a353d7b 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateLinkServiceUpdatePrivateEndpointConnection.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateLinkServiceUpdatePrivateEndpointConnection.json @@ -1,10 +1,10 @@ { - "parameters" : { + "parameters": { "api-version": "2019-04-01", - "subscriptionId" : "subId", + "subscriptionId": "subId", "resourceGroupName": "rg1", "serviceName": "testPls", - "peConnectionName":"testPlePeConnection", + "peConnectionName": "testPlePeConnection", "parameters": { "name": "testPlePeConnection", "properties": { @@ -18,7 +18,7 @@ } } }, - "responses" : { - "200" : {} + "responses": { + "200": {} } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PublicIpAddressCreateCustomizedValues.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PublicIpAddressCreateCustomizedValues.json index 7bcee8252089..a32449078489 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PublicIpAddressCreateCustomizedValues.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PublicIpAddressCreateCustomizedValues.json @@ -1,10 +1,12 @@ { - "parameters" : { + "parameters": { "api-version": "2019-04-01", - "subscriptionId" : "subid", + "subscriptionId": "subid", "resourceGroupName": "rg1", "publicIpAddressName": "test-ip", - "zones": [ "1" ], + "zones": [ + "1" + ], "parameters": { "properties": { "publicIPAllocationMethod": "Static", @@ -17,47 +19,51 @@ "location": "eastus" } }, - "responses" : { - "200" : { - "body" : { - "name" : "testDNS-ip", - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip", - "location" : "eastus", - "zones": [ "1" ], - "properties" : { - "provisioningState" : "Succeeded", - "publicIPAddressVersion" : "IPv4", - "publicIPAllocationMethod" : "Static", - "idleTimeoutInMinutes" : 10, - "ipConfiguration" : { - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1" + "responses": { + "200": { + "body": { + "name": "testDNS-ip", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip", + "location": "eastus", + "zones": [ + "1" + ], + "properties": { + "provisioningState": "Succeeded", + "publicIPAddressVersion": "IPv4", + "publicIPAllocationMethod": "Static", + "idleTimeoutInMinutes": 10, + "ipConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1" } }, "sku": { - "name": "Standard" + "name": "Standard" }, - "type" : "Microsoft.Network/publicIPAddresses" + "type": "Microsoft.Network/publicIPAddresses" } }, - "201" : { - "body" : { - "name" : "testDNS-ip", - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip", - "location" : "eastus", - "zones": [ "1" ], - "properties" : { - "provisioningState" : "Succeeded", - "publicIPAddressVersion" : "IPv4", - "publicIPAllocationMethod" : "Static", - "idleTimeoutInMinutes" : 10, - "ipConfiguration" : { - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1" + "201": { + "body": { + "name": "testDNS-ip", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip", + "location": "eastus", + "zones": [ + "1" + ], + "properties": { + "provisioningState": "Succeeded", + "publicIPAddressVersion": "IPv4", + "publicIPAllocationMethod": "Static", + "idleTimeoutInMinutes": 10, + "ipConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1" } }, "sku": { - "name": "Standard" + "name": "Standard" }, - "type" : "Microsoft.Network/publicIPAddresses" + "type": "Microsoft.Network/publicIPAddresses" } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PublicIpAddressCreateDefaults.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PublicIpAddressCreateDefaults.json index 543cadc97c89..43f6251430dc 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PublicIpAddressCreateDefaults.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PublicIpAddressCreateDefaults.json @@ -1,52 +1,52 @@ { - "parameters" : { + "parameters": { "api-version": "2019-04-01", - "subscriptionId" : "subid", + "subscriptionId": "subid", "resourceGroupName": "rg1", "publicIpAddressName": "test-ip", "parameters": { "location": "eastus" } }, - "responses" : { - "200" : { - "body" : { - "name" : "testDNS-ip", - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip", - "location" : "eastus", - "properties" : { - "provisioningState" : "Succeeded", - "publicIPAddressVersion" : "IPv4", - "publicIPAllocationMethod" : "Dynamic", - "idleTimeoutInMinutes" : 4, - "ipConfiguration" : { - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1" + "responses": { + "200": { + "body": { + "name": "testDNS-ip", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded", + "publicIPAddressVersion": "IPv4", + "publicIPAllocationMethod": "Dynamic", + "idleTimeoutInMinutes": 4, + "ipConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1" } }, "sku": { - "name": "Basic" + "name": "Basic" }, - "type" : "Microsoft.Network/publicIPAddresses" + "type": "Microsoft.Network/publicIPAddresses" } }, - "201" : { - "body" : { - "name" : "testDNS-ip", - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip", - "location" : "eastus", - "properties" : { - "provisioningState" : "Succeeded", - "publicIPAddressVersion" : "IPv4", - "publicIPAllocationMethod" : "Dynamic", - "idleTimeoutInMinutes" : 4, - "ipConfiguration" : { - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1" + "201": { + "body": { + "name": "testDNS-ip", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded", + "publicIPAddressVersion": "IPv4", + "publicIPAllocationMethod": "Dynamic", + "idleTimeoutInMinutes": 4, + "ipConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1" } }, "sku": { - "name": "Basic" + "name": "Basic" }, - "type" : "Microsoft.Network/publicIPAddresses" + "type": "Microsoft.Network/publicIPAddresses" } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PublicIpAddressCreateDns.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PublicIpAddressCreateDns.json index 8eec3ca1bb31..284e4beb5437 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PublicIpAddressCreateDns.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PublicIpAddressCreateDns.json @@ -1,7 +1,7 @@ { - "parameters" : { + "parameters": { "api-version": "2019-04-01", - "subscriptionId" : "subid", + "subscriptionId": "subid", "resourceGroupName": "rg1", "publicIpAddressName": "test-ip", "parameters": { @@ -13,47 +13,47 @@ "location": "eastus" } }, - "responses" : { - "200" : { - "body" : { - "name" : "testDNS-ip", - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip", - "location" : "eastus", - "properties" : { - "provisioningState" : "Succeeded", - "publicIPAddressVersion" : "IPv4", - "publicIPAllocationMethod" : "Dynamic", - "idleTimeoutInMinutes" : 4, - "dnsSettings" : { - "domainNameLabel" : "dnslbl", - "fqdn" : "dnslbl.westus.cloudapp.azure.com" + "responses": { + "200": { + "body": { + "name": "testDNS-ip", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded", + "publicIPAddressVersion": "IPv4", + "publicIPAllocationMethod": "Dynamic", + "idleTimeoutInMinutes": 4, + "dnsSettings": { + "domainNameLabel": "dnslbl", + "fqdn": "dnslbl.westus.cloudapp.azure.com" }, - "ipConfiguration" : { - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1" + "ipConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1" } }, - "type" : "Microsoft.Network/publicIPAddresses" + "type": "Microsoft.Network/publicIPAddresses" } }, - "201" : { - "body" : { - "name" : "testDNS-ip", - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip", - "location" : "eastus", - "properties" : { - "provisioningState" : "Succeeded", - "publicIPAddressVersion" : "IPv4", - "publicIPAllocationMethod" : "Dynamic", - "idleTimeoutInMinutes" : 4, - "dnsSettings" : { - "domainNameLabel" : "dnslbl", - "fqdn" : "dnslbl.westus.cloudapp.azure.com" + "201": { + "body": { + "name": "testDNS-ip", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded", + "publicIPAddressVersion": "IPv4", + "publicIPAllocationMethod": "Dynamic", + "idleTimeoutInMinutes": 4, + "dnsSettings": { + "domainNameLabel": "dnslbl", + "fqdn": "dnslbl.westus.cloudapp.azure.com" }, - "ipConfiguration" : { - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1" + "ipConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1" } }, - "type" : "Microsoft.Network/publicIPAddresses" + "type": "Microsoft.Network/publicIPAddresses" } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PublicIpAddressDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PublicIpAddressDelete.json index be11b0bfa5fd..de947e2b9d0b 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PublicIpAddressDelete.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PublicIpAddressDelete.json @@ -1,13 +1,13 @@ { - "parameters" : { + "parameters": { "api-version": "2019-04-01", - "subscriptionId" : "subid", + "subscriptionId": "subid", "resourceGroupName": "rg1", "publicIpAddressName": "test-ip" }, - "responses" : { - "200" : { }, - "202" : { }, - "204" : { } + "responses": { + "200": {}, + "202": {}, + "204": {} } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PublicIpAddressGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PublicIpAddressGet.json index e2303918b157..a27e54483e35 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PublicIpAddressGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PublicIpAddressGet.json @@ -1,36 +1,36 @@ { - "parameters" : { + "parameters": { "api-version": "2019-04-01", - "subscriptionId" : "subid", + "subscriptionId": "subid", "resourceGroupName": "rg1", "publicIpAddressName": "testDNS-ip" }, - "responses" : { - "200" : { - "body" : { - "name" : "testDNS-ip", - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/testDNS-ip", - "location" : "westus", - "properties" : { - "provisioningState" : "Succeeded", - "publicIPAddressVersion" : "IPv4", - "publicIPAllocationMethod" : "Dynamic", - "idleTimeoutInMinutes" : 4, - "ipConfiguration" : { - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1" + "responses": { + "200": { + "body": { + "name": "testDNS-ip", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/testDNS-ip", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "publicIPAddressVersion": "IPv4", + "publicIPAllocationMethod": "Dynamic", + "idleTimeoutInMinutes": 4, + "ipConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1" }, - "ipTags" : [ + "ipTags": [ { - "ipTagType" : "FirstPartyUsage", - "tag" : "SQL" + "ipTagType": "FirstPartyUsage", + "tag": "SQL" }, { - "ipTagType" : "FirstPartyUsage", - "tag" : "Storage" + "ipTagType": "FirstPartyUsage", + "tag": "Storage" } - ] - }, - "type" : "Microsoft.Network/publicIPAddresses" + ] + }, + "type": "Microsoft.Network/publicIPAddresses" } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PublicIpAddressList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PublicIpAddressList.json index e9dc8756fe74..420aea2d46f9 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PublicIpAddressList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PublicIpAddressList.json @@ -1,57 +1,57 @@ { - "parameters" : { + "parameters": { "api-version": "2019-04-01", - "subscriptionId" : "subid", + "subscriptionId": "subid", "resourceGroupName": "rg1" }, - "responses" : { - "200" : { - "body" : { - "value" : [ + "responses": { + "200": { + "body": { + "value": [ { - "name" : "testDNS-ip", - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/testDNS-ip", - "location" : "westus", - "properties" : { - "provisioningState" : "Succeeded", - "publicIPAddressVersion" : "IPv4", - "publicIPAllocationMethod" : "Dynamic", - "idleTimeoutInMinutes" : 4, - "ipConfiguration" : { - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1" + "name": "testDNS-ip", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/testDNS-ip", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "publicIPAddressVersion": "IPv4", + "publicIPAllocationMethod": "Dynamic", + "idleTimeoutInMinutes": 4, + "ipConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1" }, - "ipTags" : [ + "ipTags": [ { - "ipTagType" : "FirstPartyUsage", - "tag" : "SQL" + "ipTagType": "FirstPartyUsage", + "tag": "SQL" }, { - "ipTagType" : "FirstPartyUsage", - "tag" : "Storage" + "ipTagType": "FirstPartyUsage", + "tag": "Storage" } - ] - }, - "type" : "Microsoft.Network/publicIPAddresses" + ] + }, + "type": "Microsoft.Network/publicIPAddresses" }, { - "name" : "ip03", - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/ip03", - "location" : "westus", - "properties" : { - "provisioningState" : "Succeeded", - "ipAddress" : "40.85.154.247", - "publicIPAddressVersion" : "IPv4", - "publicIPAllocationMethod" : "Dynamic", - "idleTimeoutInMinutes" : 4, - "dnsSettings" : { - "domainNameLabel" : "testlbl", - "fqdn" : "testlbl.westus.cloudapp.azure.com" + "name": "ip03", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/ip03", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "ipAddress": "40.85.154.247", + "publicIPAddressVersion": "IPv4", + "publicIPAllocationMethod": "Dynamic", + "idleTimeoutInMinutes": 4, + "dnsSettings": { + "domainNameLabel": "testlbl", + "fqdn": "testlbl.westus.cloudapp.azure.com" }, - "ipConfiguration" : { - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/testLb/frontendIPConfigurations/LoadBalancerFrontEnd" + "ipConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/testLb/frontendIPConfigurations/LoadBalancerFrontEnd" } }, - "type" : "Microsoft.Network/publicIPAddresses" + "type": "Microsoft.Network/publicIPAddresses" } ] } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PublicIpAddressListAll.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PublicIpAddressListAll.json index f91fe99d3470..ef338d4f2bb6 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PublicIpAddressListAll.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PublicIpAddressListAll.json @@ -1,46 +1,46 @@ { - "parameters" : { + "parameters": { "api-version": "2019-04-01", - "subscriptionId" : "subid" + "subscriptionId": "subid" }, - "responses" : { - "200" : { - "body" : { - "value" : [ + "responses": { + "200": { + "body": { + "value": [ { - "name" : "testDNS-ip", - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/testDNS-ip", - "location" : "westus", - "properties" : { - "provisioningState" : "Succeeded", - "publicIPAddressVersion" : "IPv4", - "publicIPAllocationMethod" : "Dynamic", - "idleTimeoutInMinutes" : 4, - "ipConfiguration" : { - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1" + "name": "testDNS-ip", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/testDNS-ip", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "publicIPAddressVersion": "IPv4", + "publicIPAllocationMethod": "Dynamic", + "idleTimeoutInMinutes": 4, + "ipConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1" } }, - "type" : "Microsoft.Network/publicIPAddresses" + "type": "Microsoft.Network/publicIPAddresses" }, { - "name" : "ip01", - "id" : "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/publicIPAddresses/ip01", - "location" : "westus", - "properties" : { - "provisioningState" : "Succeeded", - "ipAddress" : "40.85.154.247", - "publicIPAddressVersion" : "IPv4", - "publicIPAllocationMethod" : "Dynamic", - "idleTimeoutInMinutes" : 4, - "dnsSettings" : { - "domainNameLabel" : "testlbl", - "fqdn" : "testlbl.westus.cloudapp.azure.com" + "name": "ip01", + "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/publicIPAddresses/ip01", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "ipAddress": "40.85.154.247", + "publicIPAddressVersion": "IPv4", + "publicIPAllocationMethod": "Dynamic", + "idleTimeoutInMinutes": 4, + "dnsSettings": { + "domainNameLabel": "testlbl", + "fqdn": "testlbl.westus.cloudapp.azure.com" }, - "ipConfiguration" : { - "id" : "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/loadBalancers/testLb/frontendIPConfigurations/LoadBalancerFrontEnd" + "ipConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/loadBalancers/testLb/frontendIPConfigurations/LoadBalancerFrontEnd" } }, - "type" : "Microsoft.Network/publicIPAddresses" + "type": "Microsoft.Network/publicIPAddresses" } ] } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PublicIpAddressUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PublicIpAddressUpdateTags.json index 0d2b0744e11d..195a14e533ea 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PublicIpAddressUpdateTags.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PublicIpAddressUpdateTags.json @@ -1,7 +1,7 @@ { - "parameters" : { + "parameters": { "api-version": "2019-04-01", - "subscriptionId" : "subid", + "subscriptionId": "subid", "resourceGroupName": "rg1", "publicIpAddressName": "test-ip", "parameters": { @@ -11,26 +11,26 @@ } } }, - "responses" : { - "200" : { - "body" : { - "name" : "testDNS-ip", - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip", - "location" : "westus", - "properties" : { - "provisioningState" : "Succeeded", - "publicIPAddressVersion" : "IPv4", - "publicIPAllocationMethod" : "Static", - "idleTimeoutInMinutes" : 10, - "ipConfiguration" : { - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1" + "responses": { + "200": { + "body": { + "name": "testDNS-ip", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "publicIPAddressVersion": "IPv4", + "publicIPAllocationMethod": "Static", + "idleTimeoutInMinutes": 10, + "ipConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1" } }, "tags": { "tag1": "value1", "tag2": "value2" }, - "type" : "Microsoft.Network/publicIPAddresses" + "type": "Microsoft.Network/publicIPAddresses" } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PublicIpPrefixCreateCustomizedValues.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PublicIpPrefixCreateCustomizedValues.json index 5dcee069d43b..e9f3cd342ce4 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PublicIpPrefixCreateCustomizedValues.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PublicIpPrefixCreateCustomizedValues.json @@ -1,54 +1,60 @@ { - "parameters" : { + "parameters": { "api-version": "2019-04-01", - "subscriptionId" : "subid", + "subscriptionId": "subid", "resourceGroupName": "rg1", "publicIpPrefixName": "test-ipprefix", - "zones": [ "1" ], + "zones": [ + "1" + ], "parameters": { "properties": { "publicIPAddressVersion": "IPv4", - "prefixLength":30 + "prefixLength": 30 }, "sku": { "name": "Standard" } } }, - "responses" : { - "200" : { - "body" : { - "name" : "test-ipprefix", - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix", - "location" : "westus", - "zones": [ "1" ], - "properties" : { - "provisioningState" : "Succeeded", - "publicIPAddressVersion" : "IPv4", - "prefixLength":30 + "responses": { + "200": { + "body": { + "name": "test-ipprefix", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix", + "location": "westus", + "zones": [ + "1" + ], + "properties": { + "provisioningState": "Succeeded", + "publicIPAddressVersion": "IPv4", + "prefixLength": 30 }, "sku": { - "name": "Standard" + "name": "Standard" }, - "type" : "Microsoft.Network/publicIPPrefixes" + "type": "Microsoft.Network/publicIPPrefixes" } }, - "201" : { - "body" : { - "name" : "test-ipprefix", - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ipprefix", - "location" : "westus", - "zones": [ "1" ], - "properties" : { - "provisioningState" : "Succeeded", - "publicIPAddressVersion" : "IPv4", - "prefixLength":30 + "201": { + "body": { + "name": "test-ipprefix", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ipprefix", + "location": "westus", + "zones": [ + "1" + ], + "properties": { + "provisioningState": "Succeeded", + "publicIPAddressVersion": "IPv4", + "prefixLength": 30 }, "sku": { - "name": "Standard" + "name": "Standard" }, - "type" : "Microsoft.Network/publicIPPrefixes" + "type": "Microsoft.Network/publicIPPrefixes" } } } -} \ No newline at end of file +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PublicIpPrefixCreateDefaults.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PublicIpPrefixCreateDefaults.json index f4f152cddee3..7311ddb8658b 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PublicIpPrefixCreateDefaults.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PublicIpPrefixCreateDefaults.json @@ -1,43 +1,43 @@ { - "parameters" : { + "parameters": { "api-version": "2019-04-01", - "subscriptionId" : "subid", + "subscriptionId": "subid", "resourceGroupName": "rg1", "publicIpPrefixName": "test-ipprefix", "parameters": {} }, - "responses" : { - "200" : { - "body" : { - "name" : "test-ipprefix", - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix", - "location" : "westus", - "properties" : { - "provisioningState" : "Succeeded", - "publicIPAddressVersion" : "IPv4", - "prefixLength":30 + "responses": { + "200": { + "body": { + "name": "test-ipprefix", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "publicIPAddressVersion": "IPv4", + "prefixLength": 30 }, "sku": { - "name": "Standard" + "name": "Standard" }, - "type" : "Microsoft.Network/publicIPPrefixes" + "type": "Microsoft.Network/publicIPPrefixes" } }, - "201" : { - "body" : { - "name" : "test-ipprefix", - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix", - "location" : "westus", - "properties" : { - "provisioningState" : "Succeeded", - "publicIPAddressVersion" : "IPv4", - "prefixLength":30 + "201": { + "body": { + "name": "test-ipprefix", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "publicIPAddressVersion": "IPv4", + "prefixLength": 30 }, "sku": { - "name": "Standard" + "name": "Standard" }, - "type" : "Microsoft.Network/publicIPPrefixes" + "type": "Microsoft.Network/publicIPPrefixes" } } } -} \ No newline at end of file +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PublicIpPrefixDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PublicIpPrefixDelete.json index 84095ea9a0bc..c49203f0e6a1 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PublicIpPrefixDelete.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PublicIpPrefixDelete.json @@ -1,13 +1,13 @@ { - "parameters" : { + "parameters": { "api-version": "2019-04-01", - "subscriptionId" : "subid", + "subscriptionId": "subid", "resourceGroupName": "rg1", "publicIpPrefixName": "test-ipprefix" }, - "responses" : { - "200" : { }, - "202" : { }, - "204" : { } + "responses": { + "200": {}, + "202": {}, + "204": {} } -} \ No newline at end of file +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PublicIpPrefixGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PublicIpPrefixGet.json index 5eb43b14f970..dfab5e67b6c3 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PublicIpPrefixGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PublicIpPrefixGet.json @@ -1,30 +1,29 @@ { - "parameters" : { + "parameters": { "api-version": "2019-04-01", - "subscriptionId" : "subid", + "subscriptionId": "subid", "resourceGroupName": "rg1", "publicIpPrefixName": "test-ipprefix" }, - "responses" : { - "200" : { - "body" : { - "name" : "test-ipprefix", - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix", - "location" : "westus", - "properties" : { - "provisioningState" : "Succeeded", - "publicIPAddressVersion" : "IPv4", - "prefixLength":30, - "ipPrefix":"192.168.254.2/30", - "ipTags" : [ - ], - "publicIPAddresses": [ + "responses": { + "200": { + "body": { + "name": "test-ipprefix", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "publicIPAddressVersion": "IPv4", + "prefixLength": 30, + "ipPrefix": "192.168.254.2/30", + "ipTags": [], + "publicIPAddresses": [ { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1" } ] - }, - "type" : "Microsoft.Network/publicIPPrefixes" + }, + "type": "Microsoft.Network/publicIPPrefixes" } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PublicIpPrefixList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PublicIpPrefixList.json index 002447d2693d..f795ee31dc43 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PublicIpPrefixList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PublicIpPrefixList.json @@ -1,45 +1,45 @@ { - "parameters" : { + "parameters": { "api-version": "2019-04-01", - "subscriptionId" : "subid", + "subscriptionId": "subid", "resourceGroupName": "rg1" }, - "responses" : { - "200" : { - "body" : { - "value" : [ + "responses": { + "200": { + "body": { + "value": [ { - "name" : "test-ipprefix", - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix", - "location" : "westus", - "properties" : { - "provisioningState" : "Succeeded", - "publicIPAddressVersion" : "IPv4", - "prefixLength":30, - "ipPrefix":"40.85.154.2/30", - "ipTags" : [ + "name": "test-ipprefix", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "publicIPAddressVersion": "IPv4", + "prefixLength": 30, + "ipPrefix": "40.85.154.2/30", + "ipTags": [ { - "ipTagType" : "FirstPartyUsage", - "tag" : "SQL" + "ipTagType": "FirstPartyUsage", + "tag": "SQL" } - ] - }, - "type" : "Microsoft.Network/publicIPPrefixes" + ] + }, + "type": "Microsoft.Network/publicIPPrefixes" }, { - "name" : "ipprefix03", - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/ipprefix03", - "location" : "westus", - "properties" : { - "provisioningState" : "Succeeded", - "publicIPAddressVersion" : "IPv4", - "prefixLength":31, - "ipPrefix" : "40.85.153.2/31" + "name": "ipprefix03", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/ipprefix03", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "publicIPAddressVersion": "IPv4", + "prefixLength": 31, + "ipPrefix": "40.85.153.2/31" }, - "type" : "Microsoft.Network/publicIPPrefixes" + "type": "Microsoft.Network/publicIPPrefixes" } ] } } } -} \ No newline at end of file +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PublicIpPrefixListAll.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PublicIpPrefixListAll.json index 8f0443eaa266..55da83ee5119 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PublicIpPrefixListAll.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PublicIpPrefixListAll.json @@ -1,40 +1,40 @@ { - "parameters" : { + "parameters": { "api-version": "2019-04-01", - "subscriptionId" : "subid" + "subscriptionId": "subid" }, - "responses" : { - "200" : { - "body" : { - "value" : [ + "responses": { + "200": { + "body": { + "value": [ { - "name" : "test-ipprefix", - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix", - "location" : "westus", - "properties" : { - "provisioningState" : "Succeeded", - "publicIPAddressVersion" : "IPv4", - "prefixLength":30, - "ipPrefix":"41.85.154.247/30", + "name": "test-ipprefix", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "publicIPAddressVersion": "IPv4", + "prefixLength": 30, + "ipPrefix": "41.85.154.247/30", "publicIPAddresses": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1" - } - ] + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1" + } + ] }, - "type" : "Microsoft.Network/publicIPPrefixes" + "type": "Microsoft.Network/publicIPPrefixes" }, { - "name" : "ipprefix01", - "id" : "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/publicIPPrefixes/ipprefix01", - "location" : "westus", - "properties" : { - "provisioningState" : "Succeeded", - "ipPrefix" : "40.85.154.247/30", - "publicIPAddressVersion" : "IPv4", - "prefixLength":30 + "name": "ipprefix01", + "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/publicIPPrefixes/ipprefix01", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "ipPrefix": "40.85.154.247/30", + "publicIPAddressVersion": "IPv4", + "prefixLength": 30 }, - "type" : "Microsoft.Network/publicIPPrefixes" + "type": "Microsoft.Network/publicIPPrefixes" } ] } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PublicIpPrefixUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PublicIpPrefixUpdateTags.json index c2ab4b63d239..11e954724c55 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PublicIpPrefixUpdateTags.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PublicIpPrefixUpdateTags.json @@ -1,7 +1,7 @@ { - "parameters" : { + "parameters": { "api-version": "2019-04-01", - "subscriptionId" : "subid", + "subscriptionId": "subid", "resourceGroupName": "rg1", "publicIpPrefixName": "test-ipprefix", "parameters": { @@ -11,23 +11,23 @@ } } }, - "responses" : { - "200" : { - "body" : { - "name" : "test-ipprefix", - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix", - "location" : "westus", - "properties" : { - "provisioningState" : "Succeeded", - "publicIPAddressVersion" : "IPv4", - "prefixLength":30 + "responses": { + "200": { + "body": { + "name": "test-ipprefix", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "publicIPAddressVersion": "IPv4", + "prefixLength": 30 }, "tags": { "tag1": "value1", "tag2": "value2" }, - "type" : "Microsoft.Network/publicIPPrefixes" + "type": "Microsoft.Network/publicIPPrefixes" } } } -} \ No newline at end of file +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/RouteFilterCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/RouteFilterCreate.json index f8eaa33bfbe2..61ef1d87efdf 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/RouteFilterCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/RouteFilterCreate.json @@ -1,96 +1,96 @@ { - "parameters": { - "routeFilterName": "filterName", - "resourceGroupName": "rg1", - "api-version": "2019-04-01", - "subscriptionId": "subid", - "routeFilterParameters": { - "location": "West US", - "tags": { - "key1": "value1" - }, + "parameters": { + "routeFilterName": "filterName", + "resourceGroupName": "rg1", + "api-version": "2019-04-01", + "subscriptionId": "subid", + "routeFilterParameters": { + "location": "West US", + "tags": { + "key1": "value1" + }, + "properties": { + "rules": [ + { + "name": "ruleName", "properties": { - "rules": [ - { - "name": "ruleName", - "properties": { - "access": "Allow", - "routeFilterRuleType": "Community", - "communities": [ - "12076:5030", - "12076:5040" - ] - } - } - ], - "peerings": [ ] + "access": "Allow", + "routeFilterRuleType": "Community", + "communities": [ + "12076:5030", + "12076:5040" + ] } + } + ], + "peerings": [] + } + } + }, + "responses": { + "201": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "name": "filterName", + "type": "Microsofot.Network/routeFilters", + "tags": { + "key1": "value1" + }, + "properties": { + "provisioningState": "Succeeded", + "rules": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "name": "ruleName", + "properties": { + "provisioningState": "Succeeded", + "access": "Allow", + "routeFilterRuleType": "Community", + "communities": [ + "12076:5030", + "12076:5040" + ] + } + } + ], + "peerings": [] } + } }, - "responses": { - "201": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "location": "West US", - "name": "filterName", - "type": "Microsofot.Network/routeFilters", - "tags": { - "key1": "value1" - }, - "properties": { - "provisioningState": "Succeeded", - "rules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "name": "ruleName", - "properties": { - "provisioningState": "Succeeded", - "access": "Allow", - "routeFilterRuleType": "Community", - "communities": [ - "12076:5030", - "12076:5040" - ] - } - } - ], - "peerings": [ ] - } - } + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "name": "filterName", + "type": "Microsofot.Network/routeFilters", + "tags": { + "key1": "value1" }, - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "location": "West US", - "name": "filterName", - "type": "Microsofot.Network/routeFilters", - "tags": { - "key1": "value1" - }, - "properties": { - "provisioningState": "Succeeded", - "rules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "name": "ruleName", - "properties": { - "provisioningState": "Succeeded", - "access": "Allow", - "routeFilterRuleType": "Community", - "communities": [ - "12076:5030", - "12076:5040" - ] - } - } - ], - "peerings": [ ] - } + "properties": { + "provisioningState": "Succeeded", + "rules": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "name": "ruleName", + "properties": { + "provisioningState": "Succeeded", + "access": "Allow", + "routeFilterRuleType": "Community", + "communities": [ + "12076:5030", + "12076:5040" + ] + } } + ], + "peerings": [] } + } } + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/RouteFilterDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/RouteFilterDelete.json index ff5c28f07a12..994bb618285e 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/RouteFilterDelete.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/RouteFilterDelete.json @@ -6,8 +6,8 @@ "subscriptionId": "subid" }, "responses": { - "200": { }, - "202": { }, - "204": { } + "200": {}, + "202": {}, + "204": {} } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/RouteFilterList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/RouteFilterList.json index c188c6c1985b..c40b01dd6442 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/RouteFilterList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/RouteFilterList.json @@ -8,34 +8,34 @@ "body": { "value": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "location": "West US", - "name": "filterName", - "type": "Microsofot.Network/routeFilters", - "tags": { - "key1": "value1" - }, - "properties": { - "provisioningState": "Succeeded", - "rules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "name": "ruleName", - "properties": { - "provisioningState": "Succeeded", - "access": "Allow", - "routeFilterRuleType": "Community", - "communities": [ - "12076:5030", - "12076:5040" - ] - } + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "name": "filterName", + "type": "Microsofot.Network/routeFilters", + "tags": { + "key1": "value1" + }, + "properties": { + "provisioningState": "Succeeded", + "rules": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "name": "ruleName", + "properties": { + "provisioningState": "Succeeded", + "access": "Allow", + "routeFilterRuleType": "Community", + "communities": [ + "12076:5030", + "12076:5040" + ] } - ], - "peerings": [] - } + } + ], + "peerings": [] + } } ] } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/RouteFilterListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/RouteFilterListByResourceGroup.json index a38b8cbfdaa3..4a1371bd10cb 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/RouteFilterListByResourceGroup.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/RouteFilterListByResourceGroup.json @@ -9,34 +9,34 @@ "body": { "value": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "location": "West US", - "name": "filterName", - "type": "Microsofot.Network/routeFilters", - "tags": { - "key1": "value1" - }, - "properties": { - "provisioningState": "Succeeded", - "rules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "name": "ruleName", - "properties": { - "provisioningState": "Succeeded", - "access": "Allow", - "routeFilterRuleType": "Community", - "communities": [ - "12076:5030", - "12076:5040" - ] - } + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "name": "filterName", + "type": "Microsofot.Network/routeFilters", + "tags": { + "key1": "value1" + }, + "properties": { + "provisioningState": "Succeeded", + "rules": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "name": "ruleName", + "properties": { + "provisioningState": "Succeeded", + "access": "Allow", + "routeFilterRuleType": "Community", + "communities": [ + "12076:5030", + "12076:5040" + ] } - ], - "peerings": [] - } + } + ], + "peerings": [] + } } ] } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/RouteFilterRuleDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/RouteFilterRuleDelete.json index 7325500a3508..5ac6c7d20d03 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/RouteFilterRuleDelete.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/RouteFilterRuleDelete.json @@ -7,8 +7,8 @@ "subscriptionId": "subid" }, "responses": { - "200": { }, - "202": { }, - "204": { } + "200": {}, + "202": {}, + "204": {} } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/RouteTableCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/RouteTableCreate.json index e80b3cd5596a..2ba82d779336 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/RouteTableCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/RouteTableCreate.json @@ -1,29 +1,29 @@ { - "parameters" : { + "parameters": { "api-version": "2019-04-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", - "routeTableName" : "testrt", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "routeTableName": "testrt", "parameters": { "location": "westus" } }, - "responses" : { - "200" : { - "body" : { + "responses": { + "200": { + "body": { "name": "testrt", "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeTables/testrt", "type": "Microsoft.Network/routeTables", "location": "westus", "properties": { "provisioningState": "Succeeded", - "routes": [ ], + "routes": [], "disableBgpRoutePropagation": true } } }, - "201" : { - "body" : { + "201": { + "body": { "name": "testrt", "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeTables/testrt", "type": "Microsoft.Network/routeTables", @@ -31,7 +31,7 @@ "properties": { "provisioningState": "Succeeded", "disableBgpRoutePropagation": true, - "routes": [ ] + "routes": [] } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/RouteTableCreateWithRoute.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/RouteTableCreateWithRoute.json index c9f7928c4997..0c6374da572a 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/RouteTableCreateWithRoute.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/RouteTableCreateWithRoute.json @@ -1,9 +1,9 @@ { - "parameters" : { + "parameters": { "api-version": "2019-04-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", - "routeTableName" : "testrt", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "routeTableName": "testrt", "parameters": { "properties": { "disableBgpRoutePropagation": true, @@ -20,9 +20,9 @@ "location": "westus" } }, - "responses" : { - "200" : { - "body" : { + "responses": { + "200": { + "body": { "name": "testrt", "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeTables/testrt", "type": "Microsoft.Network/routeTables", @@ -44,8 +44,8 @@ } } }, - "201" : { - "body" : { + "201": { + "body": { "name": "testrt", "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeTables/testrt", "type": "Microsoft.Network/routeTables", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/RouteTableDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/RouteTableDelete.json index d35515ca5304..41dca651529b 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/RouteTableDelete.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/RouteTableDelete.json @@ -1,13 +1,13 @@ { - "parameters" : { + "parameters": { "api-version": "2019-04-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", - "routeTableName" : "testrt" + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "routeTableName": "testrt" }, - "responses" : { - "200" : { }, - "202" : { }, - "204" : { } + "responses": { + "200": {}, + "202": {}, + "204": {} } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/RouteTableGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/RouteTableGet.json index 330c59244e06..767a75826d83 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/RouteTableGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/RouteTableGet.json @@ -1,13 +1,13 @@ { - "parameters" : { + "parameters": { "api-version": "2019-04-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", - "routeTableName" : "testrt" + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "routeTableName": "testrt" }, - "responses" : { - "200" : { - "body" : { + "responses": { + "200": { + "body": { "name": "testrt", "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeTables/testrt", "type": "Microsoft.Network/routeTables", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/RouteTableList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/RouteTableList.json index 2d4f5e6f7d58..2b0bf63d9be0 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/RouteTableList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/RouteTableList.json @@ -1,12 +1,12 @@ { - "parameters" : { + "parameters": { "api-version": "2019-04-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1" + "subscriptionId": "subid", + "resourceGroupName": "rg1" }, - "responses" : { - "200" : { - "body" : { + "responses": { + "200": { + "body": { "value": [ { "name": "testrt", @@ -37,7 +37,7 @@ "properties": { "disableBgpRoutePropagation": true, "provisioningState": "Succeeded", - "routes": [ ] + "routes": [] } } ] diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/RouteTableListAll.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/RouteTableListAll.json index 115037a634a4..aa0820073ad9 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/RouteTableListAll.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/RouteTableListAll.json @@ -1,11 +1,11 @@ { - "parameters" : { + "parameters": { "api-version": "2019-04-01", - "subscriptionId" : "subid" + "subscriptionId": "subid" }, - "responses" : { - "200" : { - "body" : { + "responses": { + "200": { + "body": { "value": [ { "name": "testrt", @@ -34,7 +34,7 @@ "location": "westus", "properties": { "provisioningState": "Succeeded", - "routes": [ ] + "routes": [] } } ] diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/RouteTableRouteCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/RouteTableRouteCreate.json index 0332b3710eeb..9c8a3f5b5f2d 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/RouteTableRouteCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/RouteTableRouteCreate.json @@ -1,9 +1,9 @@ { - "parameters" : { + "parameters": { "api-version": "2019-04-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", - "routeTableName" : "testrt", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "routeTableName": "testrt", "routeName": "route1", "routeParameters": { "properties": { @@ -12,9 +12,9 @@ } } }, - "responses" : { - "200" : { - "body" : { + "responses": { + "200": { + "body": { "name": "route1", "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeTables/testrt/routes/route1", "properties": { @@ -24,8 +24,8 @@ } } }, - "201" : { - "body" : { + "201": { + "body": { "name": "route1", "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeTables/testrt/routes/route1", "properties": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/RouteTableRouteDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/RouteTableRouteDelete.json index 0c6fa423a709..576c5fa2837c 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/RouteTableRouteDelete.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/RouteTableRouteDelete.json @@ -1,14 +1,14 @@ { - "parameters" : { + "parameters": { "api-version": "2019-04-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", - "routeTableName" : "testrt", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "routeTableName": "testrt", "routeName": "route1" }, - "responses" : { - "200" : { }, - "202" : { }, - "204" : { } + "responses": { + "200": {}, + "202": {}, + "204": {} } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/RouteTableRouteGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/RouteTableRouteGet.json index aedea4061ec8..25ad09781f0e 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/RouteTableRouteGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/RouteTableRouteGet.json @@ -1,14 +1,14 @@ { - "parameters" : { + "parameters": { "api-version": "2019-04-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", - "routeTableName" : "testrt", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "routeTableName": "testrt", "routeName": "route1" }, - "responses" : { - "200" : { - "body" : { + "responses": { + "200": { + "body": { "name": "route1", "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeTables/testrt/routes/route1", "properties": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/RouteTableRouteList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/RouteTableRouteList.json index 45e54476516e..ca6e5a06ea13 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/RouteTableRouteList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/RouteTableRouteList.json @@ -1,13 +1,13 @@ { - "parameters" : { + "parameters": { "api-version": "2019-04-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", - "routeTableName" : "testrt" + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "routeTableName": "testrt" }, - "responses" : { - "200" : { - "body" : { + "responses": { + "200": { + "body": { "value": [ { "name": "route1", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/RouteTableUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/RouteTableUpdateTags.json index 4a7721d6d457..6c0320dfa4b5 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/RouteTableUpdateTags.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/RouteTableUpdateTags.json @@ -1,9 +1,9 @@ { - "parameters" : { + "parameters": { "api-version": "2019-04-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", - "routeTableName" : "testrt", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "routeTableName": "testrt", "parameters": { "tags": { "tag1": "value1", @@ -11,9 +11,9 @@ } } }, - "responses" : { - "200" : { - "body" : { + "responses": { + "200": { + "body": { "name": "testrt", "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeTables/testrt", "type": "Microsoft.Network/routeTables", @@ -24,7 +24,7 @@ }, "properties": { "provisioningState": "Succeeded", - "routes": [ ] + "routes": [] } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ServiceCommunityList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ServiceCommunityList.json index 4e23cdd27799..0e88211bc5db 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ServiceCommunityList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ServiceCommunityList.json @@ -12,7 +12,7 @@ "name": "skype", "type": "Microsofot.Network/bgpServiceCommunities", "properties": { - "serviceName" : "skype", + "serviceName": "skype", "bgpCommunities": [ { "serviceSupportedRegion": "Global", @@ -23,7 +23,7 @@ "13.67.186.105/32" ], "isAuthorizedToUse": true, - "serviceGroup" : "O365" + "serviceGroup": "O365" } ] } @@ -33,7 +33,7 @@ "name": "exchange", "type": "Microsofot.Network/bgpServiceCommunities", "properties": { - "serviceName" : "exchange", + "serviceName": "exchange", "bgpCommunities": [ { "serviceSupportedRegion": "Global", @@ -44,7 +44,7 @@ "13.67.186.105/32" ], "isAuthorizedToUse": true, - "serviceGroup" : "O365" + "serviceGroup": "O365" } ] } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ServiceEndpointPolicyCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ServiceEndpointPolicyCreate.json index 9d912839861d..220645cb01dd 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ServiceEndpointPolicyCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ServiceEndpointPolicyCreate.json @@ -1,40 +1,38 @@ { - "parameters" : { + "parameters": { "api-version": "2019-04-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", - "serviceEndpointPolicyName" : "testPolicy", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "serviceEndpointPolicyName": "testPolicy", "parameters": {} }, - "responses" : { - "200" : { - "body" : { + "responses": { + "200": { + "body": { "name": "testnsg", "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ServiceEndpointPolicies/testpolicy", "type": "Microsoft.Network/ServiceEndpointPolicies", "location": "westus", - "properties": - { - "serviceEndpointPolicyDefinitions": [ ], - "subnets": [ ], + "properties": { + "serviceEndpointPolicyDefinitions": [], + "subnets": [], "provisioningState": "Succeeded", "resourceGuid": "6A7C139D-8B8D-499B-B7CB-4F3F02A8A44F" - } + } } }, - "201" : { - "body" : { + "201": { + "body": { "name": "testnsg", "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testpolicy", "type": "Microsoft.Network/ServiceEndpointPolicies", "location": "westus", - "properties": - { + "properties": { "serviceEndpointPolicyDefinitions": [], - "subnets": [ ], + "subnets": [], "provisioningState": "Succeeded", "resourceGuid": "6A7C139D-8B8D-499B-B7CB-4F3F02A8A44F" - } + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ServiceEndpointPolicyCreateWithDefinition.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ServiceEndpointPolicyCreateWithDefinition.json index 309810942f32..e159e810691a 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ServiceEndpointPolicyCreateWithDefinition.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ServiceEndpointPolicyCreateWithDefinition.json @@ -1,80 +1,78 @@ { - "parameters" : { + "parameters": { "api-version": "2019-04-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", - "serviceEndpointPolicyName" : "testPolicy", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "serviceEndpointPolicyName": "testPolicy", "parameters": { - "properties": { - "serviceEndpointPolicyDefinitions": [ + "properties": { + "serviceEndpointPolicyDefinitions": [ { "name": "StorageServiceEndpointPolicyDefinition", "properties": { - "description": "Storage Service EndpointPolicy Definition", - "service": "Microsoft.Storage", - "serviceResources": [ + "description": "Storage Service EndpointPolicy Definition", + "service": "Microsoft.Storage", + "serviceResources": [ "/subscriptions/subid1", "/subscriptions/subid1/resourceGroups/storageRg", "/subscriptions/subid1/resourceGroups/storageRg/providers/Microsoft.Storage/storageAccounts/stAccount" - ] + ] } - } - ] - } + } + ] } + } }, - "responses" : { - "200" : { - "body" : { + "responses": { + "200": { + "body": { "name": "testnsg", "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ServiceEndpointPolicies/testpolicy", "type": "Microsoft.Network/ServiceEndpointPolicies", "location": "westus", - "properties": - { + "properties": { "serviceEndpointPolicyDefinitions": [ - { - "name": "StorageServiceEndpointPolicyDefinition", - "properties": { - "description": "Storage Service EndpointPolicy Definition", - "service": "Microsoft.Storage", - "serviceResources": [ - "/subscriptions/subid1", - "/subscriptions/subid1/resourceGroups/storageRg", - "/subscriptions/subid1/resourceGroups/storageRg/providers/Microsoft.Storage/storageAccounts/stAccount" - ] + { + "name": "StorageServiceEndpointPolicyDefinition", + "properties": { + "description": "Storage Service EndpointPolicy Definition", + "service": "Microsoft.Storage", + "serviceResources": [ + "/subscriptions/subid1", + "/subscriptions/subid1/resourceGroups/storageRg", + "/subscriptions/subid1/resourceGroups/storageRg/providers/Microsoft.Storage/storageAccounts/stAccount" + ] + } } - } ], - "subnets": [ ], + "subnets": [], "provisioningState": "Succeeded", "resourceGuid": "6A7C139D-8B8D-499B-B7CB-4F3F02A8A44F" } } }, - "201" : { - "body" : { + "201": { + "body": { "name": "testnsg", "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ServiceEndpointPolicies/testpolicy", "type": "Microsoft.Network/ServiceEndpointPolicies", "location": "westus", - "properties": - { + "properties": { "serviceEndpointPolicyDefinitions": [ - { - "name": "StorageServiceEndpointPolicyDefinition", - "properties": { - "description": "Storage Service EndpointPolicy Definition", - "service": "Microsoft.Storage", - "serviceResources": [ - "/subscriptions/subid1", - "/subscriptions/subid1/resourceGroups/storageRg", - "/subscriptions/subid1/resourceGroups/storageRg/providers/Microsoft.Storage/storageAccounts/stAccount" - ] + { + "name": "StorageServiceEndpointPolicyDefinition", + "properties": { + "description": "Storage Service EndpointPolicy Definition", + "service": "Microsoft.Storage", + "serviceResources": [ + "/subscriptions/subid1", + "/subscriptions/subid1/resourceGroups/storageRg", + "/subscriptions/subid1/resourceGroups/storageRg/providers/Microsoft.Storage/storageAccounts/stAccount" + ] + } } - } ], - "subnets": [ ], + "subnets": [], "provisioningState": "Succeeded", "resourceGuid": "6A7C139D-8B8D-499B-B7CB-4F3F02A8A44F" } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ServiceEndpointPolicyDefinitionCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ServiceEndpointPolicyDefinitionCreate.json index e0bb0e524930..37aff91065e0 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ServiceEndpointPolicyDefinitionCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ServiceEndpointPolicyDefinitionCreate.json @@ -1,50 +1,50 @@ { - "parameters" : { + "parameters": { "api-version": "2019-04-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", - "serviceEndpointPolicyName" : "testPolicy", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "serviceEndpointPolicyName": "testPolicy", "serviceEndpointPolicyDefinitionName": "testDefinition", "ServiceEndpointPolicyDefinitions": { - "properties": { - "description": "Storage Service EndpointPolicy Definition", - "service": "Microsoft.Storage", - "serviceResources": [ - "/subscriptions/subid1", - "/subscriptions/subid1/resourceGroups/storageRg", - "/subscriptions/subid1/resourceGroups/storageRg/providers/Microsoft.Storage/storageAccounts/stAccount" - ] + "properties": { + "description": "Storage Service EndpointPolicy Definition", + "service": "Microsoft.Storage", + "serviceResources": [ + "/subscriptions/subid1", + "/subscriptions/subid1/resourceGroups/storageRg", + "/subscriptions/subid1/resourceGroups/storageRg/providers/Microsoft.Storage/storageAccounts/stAccount" + ] + } } - } }, - "responses" : { - "200" : { - "body" : { + "responses": { + "200": { + "body": { "name": "testDefinition", - "id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/serviceEndpointPolicies/testPolicy/serviceEndpointPolicyDefinitions/testDefinition", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/serviceEndpointPolicies/testPolicy/serviceEndpointPolicyDefinitions/testDefinition", "properties": { - "description": "Storage Service EndpointPolicy Definition", - "service": "Microsoft.Storage", - "serviceResources": [ + "description": "Storage Service EndpointPolicy Definition", + "service": "Microsoft.Storage", + "serviceResources": [ "/subscriptions/subid1", "/subscriptions/subid1/resourceGroups/storageRg", "/subscriptions/subid1/resourceGroups/storageRg/providers/Microsoft.Storage/storageAccounts/stAccount" - ] - } + ] + } } }, - "201" : { - "body" : { + "201": { + "body": { "name": "rule1", - "id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1", "properties": { - "description": "Storage Service EndpointPolicy Definition", - "service": "Microsoft.Storage", - "serviceResources": [ + "description": "Storage Service EndpointPolicy Definition", + "service": "Microsoft.Storage", + "serviceResources": [ "/subscriptions/subid1", "/subscriptions/subid1/resourceGroups/storageRg", "/subscriptions/subid1/resourceGroups/storageRg/providers/Microsoft.Storage/storageAccounts/stAccount" - ] + ] } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ServiceEndpointPolicyDefinitionDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ServiceEndpointPolicyDefinitionDelete.json index 8f06ba206d71..5f84d2349057 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ServiceEndpointPolicyDefinitionDelete.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ServiceEndpointPolicyDefinitionDelete.json @@ -1,14 +1,14 @@ { - "parameters" : { + "parameters": { "api-version": "2019-04-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", - "serviceEndpointPolicyName" : "testPolicy", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "serviceEndpointPolicyName": "testPolicy", "serviceEndpointPolicyDefinitionName": "testDefinition" }, - "responses" : { - "200" : { }, - "202" : { }, - "204" : { } + "responses": { + "200": {}, + "202": {}, + "204": {} } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ServiceEndpointPolicyDefinitionGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ServiceEndpointPolicyDefinitionGet.json index 75c562d6afcb..4030d782f125 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ServiceEndpointPolicyDefinitionGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ServiceEndpointPolicyDefinitionGet.json @@ -1,25 +1,25 @@ { - "parameters" : { + "parameters": { "api-version": "2019-04-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", - "serviceEndpointPolicyName" : "testPolicy", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "serviceEndpointPolicyName": "testPolicy", "serviceEndpointPolicyDefinitionName": "testDefinition" }, - "responses" : { - "200" : { - "body" : { + "responses": { + "200": { + "body": { "name": "testDefinition", - "id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/serviceEndpointPolicies/testPolicy/serviceEndpointPolicyDefinitions/testDefinition", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/serviceEndpointPolicies/testPolicy/serviceEndpointPolicyDefinitions/testDefinition", "properties": { - "description": "Storage Service EndpointPolicy Definition", - "service": "Microsoft.Storage", - "serviceResources": [ + "description": "Storage Service EndpointPolicy Definition", + "service": "Microsoft.Storage", + "serviceResources": [ "/subscriptions/subid1", "/subscriptions/subid1/resourceGroups/storageRg", "/subscriptions/subid1/resourceGroups/storageRg/providers/Microsoft.Storage/storageAccounts/stAccount" - ] - } + ] + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ServiceEndpointPolicyDefinitionList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ServiceEndpointPolicyDefinitionList.json index bc3433470949..8b144be9f380 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ServiceEndpointPolicyDefinitionList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ServiceEndpointPolicyDefinitionList.json @@ -1,25 +1,25 @@ { - "parameters" : { + "parameters": { "api-version": "2019-04-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", - "serviceEndpointPolicyName" : "testPolicy" + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "serviceEndpointPolicyName": "testPolicy" }, - "responses" : { - "200" : { - "body" : { + "responses": { + "200": { + "body": { "value": [ { "name": "testDef", - "id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/serviceEndpointPolicies/testPolicy/serviceEndpointPolicyDefinitions/testDef", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/serviceEndpointPolicies/testPolicy/serviceEndpointPolicyDefinitions/testDef", "properties": { - "description": "Storage Service EndpointPolicy Definition", - "service": "Microsoft.Storage", - "serviceResources": [ + "description": "Storage Service EndpointPolicy Definition", + "service": "Microsoft.Storage", + "serviceResources": [ "/subscriptions/subid1", "/subscriptions/subid1/resourceGroups/storageRg", "/subscriptions/subid1/resourceGroups/storageRg/providers/Microsoft.Storage/storageAccounts/stAccount" - ] + ] } } ] diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ServiceEndpointPolicyDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ServiceEndpointPolicyDelete.json index b1201a6dc55a..137b60dcd9f6 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ServiceEndpointPolicyDelete.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ServiceEndpointPolicyDelete.json @@ -1,13 +1,13 @@ { - "parameters" : { + "parameters": { "api-version": "2019-04-01", - "subscriptionId" : "subid", + "subscriptionId": "subid", "resourceGroupName": "rg1", "serviceEndpointPolicyName": "serviceEndpointPolicy1" }, - "responses" : { - "200" : { }, - "202" : { }, - "204" : { } + "responses": { + "200": {}, + "202": {}, + "204": {} } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ServiceEndpointPolicyGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ServiceEndpointPolicyGet.json index a6ba5503eb25..041e3f7bb9a2 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ServiceEndpointPolicyGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ServiceEndpointPolicyGet.json @@ -1,39 +1,37 @@ { - "parameters" : { + "parameters": { "api-version": "2019-04-01", - "subscriptionId" : "subid", + "subscriptionId": "subid", "resourceGroupName": "rg1", "serviceEndpointPolicyName": "testServiceEndpointPolicy" }, - "responses" : { - "200" : { - "body" : { - "name" : "testServiceEndpointPolicy", - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/serviceEndpointPolicies/testServiceEndpointPolicy", + "responses": { + "200": { + "body": { + "name": "testServiceEndpointPolicy", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/serviceEndpointPolicies/testServiceEndpointPolicy", "type": "Microsoft.Network/serviceEndpointPolicies", - "location" : "westus", - "properties": - { + "location": "westus", + "properties": { "serviceEndpointPolicyDefinitions": [ - { - "name": "StorageServiceEndpointPolicyDefinition", - "properties": { - "description": "Storage Service EndpointPolicy Definition", - "service": "Microsoft.Storage", - "serviceResources": [ - "/subscriptions/subid1", - "/subscriptions/subid1/resourceGroups/storageRg", - "/subscriptions/subid1/resourceGroups/storageRg/providers/Microsoft.Storage/storageAccounts/stAccount" - ] + { + "name": "StorageServiceEndpointPolicyDefinition", + "properties": { + "description": "Storage Service EndpointPolicy Definition", + "service": "Microsoft.Storage", + "serviceResources": [ + "/subscriptions/subid1", + "/subscriptions/subid1/resourceGroups/storageRg", + "/subscriptions/subid1/resourceGroups/storageRg/providers/Microsoft.Storage/storageAccounts/stAccount" + ] + } } - } - ], - "subnets": [ ], - "provisioningState": "Succeeded", - "resourceGuid": "6A7C139D-8B8D-499B-B7CB-4F3F02A8A44F" - } - } - } - } + ], + "subnets": [], + "provisioningState": "Succeeded", + "resourceGuid": "6A7C139D-8B8D-499B-B7CB-4F3F02A8A44F" + } + } + } + } } - diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ServiceEndpointPolicyList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ServiceEndpointPolicyList.json index 122979b82039..638e67fa85b8 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ServiceEndpointPolicyList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ServiceEndpointPolicyList.json @@ -1,59 +1,57 @@ { - "parameters" : { + "parameters": { "api-version": "2019-04-01", - "subscriptionId" : "subid", + "subscriptionId": "subid", "resourceGroupName": "rg1" }, - "responses" : { - "200" : { - "body" : { - "value" : [ + "responses": { + "200": { + "body": { + "value": [ { - "name" : "testServiceEndpointPolicy", - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/serviceEndpointPolicies/testServiceEndpointPolicy", - "location" : "westus", - "properties": - { + "name": "testServiceEndpointPolicy", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/serviceEndpointPolicies/testServiceEndpointPolicy", + "location": "westus", + "properties": { "serviceEndpointPolicyDefinitions": [ - { - "name": "StorageServiceEndpointPolicyDefinition", - "properties": { - "description": "Storage Service EndpointPolicy Definition", - "service": "Microsoft.Storage", - "serviceResources": [ - "/subscriptions/subid1", - "/subscriptions/subid1resourceGroups/storageRg", - "/subscriptions/subid1/resourceGroups/storageRg/providers/Microsoft.Storage/storageAccounts/stAccount" - ] + { + "name": "StorageServiceEndpointPolicyDefinition", + "properties": { + "description": "Storage Service EndpointPolicy Definition", + "service": "Microsoft.Storage", + "serviceResources": [ + "/subscriptions/subid1", + "/subscriptions/subid1resourceGroups/storageRg", + "/subscriptions/subid1/resourceGroups/storageRg/providers/Microsoft.Storage/storageAccounts/stAccount" + ] + } } - } ], - "subnets": [ ], + "subnets": [], "provisioningState": "Succeeded", "resourceGuid": "6A7C139D-8B8D-499B-B7CB-4F3F02A8A44F" - } + } }, { - "name" : "testServiceEndpointPolicy1", - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/serviceEndpointPolicies/testServiceEndpointPolicy1", - "location" : "westus", - "properties": - { + "name": "testServiceEndpointPolicy1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/serviceEndpointPolicies/testServiceEndpointPolicy1", + "location": "westus", + "properties": { "serviceEndpointPolicyDefinitions": [ - { - "name": "StorageServiceEndpointPolicyDefinition1", - "properties": { - "description": "Storage Service EndpointPolicy Definition", - "service": "Microsoft.Storage", - "serviceResources": [ - "/subscriptions/subid1", - "/subscriptions/subid1/resourceGroups/storageRg", - "/subscriptions/subid1/resourceGroups/storageRg/providers/Microsoft.Storage/storageAccounts/stAccount" - ] + { + "name": "StorageServiceEndpointPolicyDefinition1", + "properties": { + "description": "Storage Service EndpointPolicy Definition", + "service": "Microsoft.Storage", + "serviceResources": [ + "/subscriptions/subid1", + "/subscriptions/subid1/resourceGroups/storageRg", + "/subscriptions/subid1/resourceGroups/storageRg/providers/Microsoft.Storage/storageAccounts/stAccount" + ] + } } - } ], - "subnets": [ ], + "subnets": [], "provisioningState": "Succeeded", "resourceGuid": "6A7C139D-8B8D-499B-B7CB-4F3F02A8A44F" } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ServiceEndpointPolicyListAll.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ServiceEndpointPolicyListAll.json index ba0c6606f28e..70925b39b6b5 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ServiceEndpointPolicyListAll.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ServiceEndpointPolicyListAll.json @@ -1,34 +1,33 @@ { - "parameters" : { + "parameters": { "api-version": "2019-04-01", - "subscriptionId" : "subid" + "subscriptionId": "subid" }, - "responses" : { - "200" : { - "body" : { + "responses": { + "200": { + "body": { "value": [ { "name": "testPolicy", "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/serviceEndpointPolicies/testPolicy", "type": "Microsoft.Network/serviceEndpointPolicies", "location": "westus", - "properties": - { + "properties": { "serviceEndpointPolicyDefinitions": [ - { - "name": "StorageServiceEndpointPolicyDefinition1", - "properties": { - "description": "Storage Service EndpointPolicy Definition", - "service": "Microsoft.Storage", - "serviceResources": [ - "/subscriptions/subid1", - "/subscriptions/subid1/resourceGroups/storageRg", - "/subscriptions/subid1/resourceGroups/storageRg/providers/Microsoft.Storage/storageAccounts/stAccount" - ] + { + "name": "StorageServiceEndpointPolicyDefinition1", + "properties": { + "description": "Storage Service EndpointPolicy Definition", + "service": "Microsoft.Storage", + "serviceResources": [ + "/subscriptions/subid1", + "/subscriptions/subid1/resourceGroups/storageRg", + "/subscriptions/subid1/resourceGroups/storageRg/providers/Microsoft.Storage/storageAccounts/stAccount" + ] + } } - } ], - "subnets": [ ], + "subnets": [], "provisioningState": "Succeeded", "resourceGuid": "6A7C139D-8B8D-499B-B7CB-4F3F02A8A44F" } @@ -38,23 +37,22 @@ "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/serviceEndpointPolicies/testPolicy2", "type": "Microsoft.Network/serviceEndpointPolicies", "location": "westus", - "properties": - { + "properties": { "serviceEndpointPolicyDefinitions": [ - { - "name": "StorageServiceEndpointPolicyDefinition2", - "properties": { - "description": "Storage Service EndpointPolicy Definition", - "service": "Microsoft.Storage", - "serviceResources": [ - "/subscriptions/subid1", - "/subscriptions/subid1/resourceGroups/storageRg", - "/subscriptions/subid1/resourceGroups/storageRg/providers/Microsoft.Storage/storageAccounts/stAccount" - ] + { + "name": "StorageServiceEndpointPolicyDefinition2", + "properties": { + "description": "Storage Service EndpointPolicy Definition", + "service": "Microsoft.Storage", + "serviceResources": [ + "/subscriptions/subid1", + "/subscriptions/subid1/resourceGroups/storageRg", + "/subscriptions/subid1/resourceGroups/storageRg/providers/Microsoft.Storage/storageAccounts/stAccount" + ] + } } - } ], - "subnets": [ ], + "subnets": [], "provisioningState": "Succeeded", "resourceGuid": "6A7C139D-8B8D-499B-B7CB-4F3F02A8A44F" } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ServiceEndpointPolicyUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ServiceEndpointPolicyUpdateTags.json index 30f6799cfa15..6d1f2507f3fb 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ServiceEndpointPolicyUpdateTags.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ServiceEndpointPolicyUpdateTags.json @@ -1,7 +1,7 @@ { - "parameters" : { + "parameters": { "api-version": "2019-04-01", - "subscriptionId" : "subid", + "subscriptionId": "subid", "resourceGroupName": "rg1", "serviceEndpointPolicyName": "testServiceEndpointPolicy", "parameters": { @@ -11,13 +11,13 @@ } } }, - "responses" : { - "200" : { - "body" : { - "name" : "testServiceEndpointPolicy", - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/serviceEndpointPolicies/testServiceEndpointPolicy", + "responses": { + "200": { + "body": { + "name": "testServiceEndpointPolicy", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/serviceEndpointPolicies/testServiceEndpointPolicy", "type": "Microsoft.Network/serviceEndpointPolicies", - "location" : "westus", + "location": "westus", "tags": { "tag1": "value1", "tag2": "value2" diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/SubnetCreateServiceEndpoint.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/SubnetCreateServiceEndpoint.json index 036373d58488..5d1f91212b72 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/SubnetCreateServiceEndpoint.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/SubnetCreateServiceEndpoint.json @@ -9,7 +9,9 @@ "properties": { "addressPrefix": "10.0.0.0/16", "serviceEndpoints": [ - { "service": "Microsoft.Storage" } + { + "service": "Microsoft.Storage" + } ] } } @@ -21,14 +23,16 @@ "name": "subnet1", "properties": { "addressPrefix": "10.0.0.0/16", - "serviceEndpoints": [{ - "service": "Microsoft.Storage", - "locations": [ - "eastus2(stage)", - "usnorth(stage)" - ], - "provisioningState": "Succeeded" - }], + "serviceEndpoints": [ + { + "service": "Microsoft.Storage", + "locations": [ + "eastus2(stage)", + "usnorth(stage)" + ], + "provisioningState": "Succeeded" + } + ], "provisioningState": "Succeeded" } } @@ -39,14 +43,16 @@ "name": "subnet1", "properties": { "addressPrefix": "10.0.0.0/16", - "serviceEndpoints": [{ - "service": "Microsoft.Storage", - "locations": [ - "eastus2(stage)", - "usnorth(stage)" - ], - "provisioningState": "Succeeded" - }], + "serviceEndpoints": [ + { + "service": "Microsoft.Storage", + "locations": [ + "eastus2(stage)", + "usnorth(stage)" + ], + "provisioningState": "Succeeded" + } + ], "provisioningState": "Succeeded" } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/SubnetDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/SubnetDelete.json index 3f5bf7b4c77c..67c03b30bba5 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/SubnetDelete.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/SubnetDelete.json @@ -7,8 +7,8 @@ "subscriptionId": "subid" }, "responses": { - "200": { }, - "202": { }, - "204": { } + "200": {}, + "202": {}, + "204": {} } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualHubDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualHubDelete.json index 8a9fb8182532..9edfae3d519c 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualHubDelete.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualHubDelete.json @@ -1,13 +1,13 @@ { - "parameters": { - "virtualHubName": "virtualHub1", - "resourceGroupName": "rg1", - "api-version": "2019-04-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { }, - "202": { }, - "204": { } - } + "parameters": { + "virtualHubName": "virtualHub1", + "resourceGroupName": "rg1", + "api-version": "2019-04-01", + "subscriptionId": "subid" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualHubGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualHubGet.json index f58fb5aca0e2..1dd219de279d 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualHubGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualHubGet.json @@ -1,27 +1,27 @@ { - "parameters": { - "virtualHubName": "virtualHub1", - "resourceGroupName": "rg1", - "api-version": "2019-04-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "location": "West US", - "name": "virtualHub1", - "type": "Microsoft.Network/virtualHubs", - "properties": { - "provisioningState": "Succeeded", - "virtualWan": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1" - }, - "virtualNetworkConnections": [ ], - "addressPrefix": "10.10.1.0/24" - } - } + "parameters": { + "virtualHubName": "virtualHub1", + "resourceGroupName": "rg1", + "api-version": "2019-04-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "name": "virtualHub1", + "type": "Microsoft.Network/virtualHubs", + "properties": { + "provisioningState": "Succeeded", + "virtualWan": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1" + }, + "virtualNetworkConnections": [], + "addressPrefix": "10.10.1.0/24" } + } } + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualHubList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualHubList.json index c5ff8f5cf7af..d63b0b37fc66 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualHubList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualHubList.json @@ -7,64 +7,64 @@ "200": { "body": { "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "location": "West US", - "name": "virtualHub1", - "type": "Microsoft.Network/virtualHubs", - "properties": { + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "name": "virtualHub1", + "type": "Microsoft.Network/virtualHubs", + "properties": { + "provisioningState": "Succeeded", + "virtualWan": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1" + }, + "virtualNetworkConnections": [ + { + "name": "connection1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualHubs/virtualHub1/hubVirtualNetworkConnections/connection1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { "provisioningState": "Succeeded", - "virtualWan": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1" + "remoteVirtualNetwork": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualNetworks/SpokeVnet1" }, - "virtualNetworkConnections": [ - { - "name": "connection1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualHubs/virtualHub1/hubVirtualNetworkConnections/connection1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "remoteVirtualNetwork": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualNetworks/SpokeVnet1" - }, - "allowHubToRemoteVnetTransit": true, - "allowRemoteVnetToUseHubVnetGateways": false - } - } - ], - "addressPrefix": "10.10.1.0/24" + "allowHubToRemoteVnetTransit": true, + "allowRemoteVnetToUseHubVnetGateways": false + } } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualHubs/virtualHub2", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "location": "East US", - "name": "virtualHub2", - "type": "Microsoft.Network/virtualHubs", - "properties": { + ], + "addressPrefix": "10.10.1.0/24" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualHubs/virtualHub2", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "East US", + "name": "virtualHub2", + "type": "Microsoft.Network/virtualHubs", + "properties": { + "provisioningState": "Succeeded", + "virtualWan": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1" + }, + "virtualNetworkConnections": [ + { + "name": "connection2", + "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsofot.Network/virtualHubs/virtualHub2/hubVirtualNetworkConnections/connection2", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { "provisioningState": "Succeeded", - "virtualWan": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1" + "remoteVirtualNetwork": { + "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsofot.Network/virtualNetworks/SpokeVnet2" }, - "virtualNetworkConnections": [ - { - "name": "connection2", - "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsofot.Network/virtualHubs/virtualHub2/hubVirtualNetworkConnections/connection2", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "remoteVirtualNetwork": { - "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsofot.Network/virtualNetworks/SpokeVnet2" - }, - "allowHubToRemoteVnetTransit": true, - "allowRemoteVnetToUseHubVnetGateways": false - } - } - ], - "addressPrefix": "210.10.1.0/24" + "allowHubToRemoteVnetTransit": true, + "allowRemoteVnetToUseHubVnetGateways": false + } } + ], + "addressPrefix": "210.10.1.0/24" } + } ] } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualHubListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualHubListByResourceGroup.json index 8117d76046db..76c261e72207 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualHubListByResourceGroup.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualHubListByResourceGroup.json @@ -8,64 +8,64 @@ "200": { "body": { "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "location": "West US", - "name": "virtualHub1", - "type": "Microsoft.Network/virtualHubs", - "properties": { + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "name": "virtualHub1", + "type": "Microsoft.Network/virtualHubs", + "properties": { + "provisioningState": "Succeeded", + "virtualWan": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1" + }, + "virtualNetworkConnections": [ + { + "name": "connection1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualHubs/virtualHub1/hubVirtualNetworkConnections/connection1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { "provisioningState": "Succeeded", - "virtualWan": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1" + "remoteVirtualNetwork": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualNetworks/SpokeVnet1" }, - "virtualNetworkConnections": [ - { - "name": "connection1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualHubs/virtualHub1/hubVirtualNetworkConnections/connection1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "remoteVirtualNetwork": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualNetworks/SpokeVnet1" - }, - "allowHubToRemoteVnetTransit": true, - "allowRemoteVnetToUseHubVnetGateways": false - } - } - ], - "addressPrefix": "10.10.1.0/24" + "allowHubToRemoteVnetTransit": true, + "allowRemoteVnetToUseHubVnetGateways": false + } } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub2", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "location": "East US", - "name": "virtualHub2", - "type": "Microsoft.Network/virtualHubs", - "properties": { + ], + "addressPrefix": "10.10.1.0/24" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub2", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "East US", + "name": "virtualHub2", + "type": "Microsoft.Network/virtualHubs", + "properties": { + "provisioningState": "Succeeded", + "virtualWan": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1" + }, + "virtualNetworkConnections": [ + { + "name": "connection2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualHubs/virtualHub2/hubVirtualNetworkConnections/connection2", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { "provisioningState": "Succeeded", - "virtualWan": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1" + "remoteVirtualNetwork": { + "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsofot.Network/virtualNetworks/SpokeVnet2" }, - "virtualNetworkConnections": [ - { - "name": "connection2", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualHubs/virtualHub2/hubVirtualNetworkConnections/connection2", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "remoteVirtualNetwork": { - "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsofot.Network/virtualNetworks/SpokeVnet2" - }, - "allowHubToRemoteVnetTransit": true, - "allowRemoteVnetToUseHubVnetGateways": false - } - } - ], - "addressPrefix": "210.10.1.0/24" + "allowHubToRemoteVnetTransit": true, + "allowRemoteVnetToUseHubVnetGateways": false + } } + ], + "addressPrefix": "210.10.1.0/24" } + } ] } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualHubPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualHubPut.json index 1acc061f124a..a50062813ceb 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualHubPut.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualHubPut.json @@ -1,56 +1,56 @@ { - "parameters": { - "virtualHubName": "virtualHub2", - "resourceGroupName": "rg1", - "api-version": "2019-04-01", - "subscriptionId": "subid", - "virtualHubParameters": { - "location": "West US", - "tags": { - "key1": "value1" - }, - "properties": { - "virtualWan": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1" - }, - "addressPrefix": "10.168.0.0/24" - } + "parameters": { + "virtualHubName": "virtualHub2", + "resourceGroupName": "rg1", + "api-version": "2019-04-01", + "subscriptionId": "subid", + "virtualHubParameters": { + "location": "West US", + "tags": { + "key1": "value1" + }, + "properties": { + "virtualWan": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1" + }, + "addressPrefix": "10.168.0.0/24" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub2", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "name": "virtualHub2", + "type": "Microsoft.Network/virtualHubs", + "properties": { + "provisioningState": "Succeeded", + "virtualWan": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1" + }, + "virtualNetworkConnections": [], + "addressPrefix": "10.168.0.0/24" } + } }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub2", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "location": "West US", - "name": "virtualHub2", - "type": "Microsoft.Network/virtualHubs", - "properties": { - "provisioningState": "Succeeded", - "virtualWan": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1" - }, - "virtualNetworkConnections": [ ], - "addressPrefix": "10.168.0.0/24" - } - } - }, - "201": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub2", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "location": "West US", - "name": "virtualHub2", - "type": "Microsoft.Network/virtualHubs", - "properties": { - "provisioningState": "Succeeded", - "virtualWan": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1" - }, - "virtualNetworkConnections": [ ], - "addressPrefix": "10.168.0.0/24" - } - } + "201": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub2", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "name": "virtualHub2", + "type": "Microsoft.Network/virtualHubs", + "properties": { + "provisioningState": "Succeeded", + "virtualWan": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1" + }, + "virtualNetworkConnections": [], + "addressPrefix": "10.168.0.0/24" } + } } + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualHubUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualHubUpdateTags.json index 3e4f2b604f69..36ecf7655e3d 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualHubUpdateTags.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualHubUpdateTags.json @@ -28,7 +28,7 @@ "virtualWan": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1" }, - "virtualNetworkConnections": [ ], + "virtualNetworkConnections": [], "addressPrefix": "10.168.0.0/24" } } @@ -49,7 +49,7 @@ "virtualWan": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1" }, - "virtualNetworkConnections": [ ], + "virtualNetworkConnections": [], "addressPrefix": "10.168.0.0/24" } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkCheckIPAddressAvailability.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkCheckIPAddressAvailability.json index de6c0bb8a1f7..1d8fa826fb28 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkCheckIPAddressAvailability.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkCheckIPAddressAvailability.json @@ -1,14 +1,14 @@ { - "parameters" : { + "parameters": { "api-version": "2019-04-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", - "virtualNetworkName" : "test-vnet", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "virtualNetworkName": "test-vnet", "ipAddress": "10.0.1.4" }, - "responses" : { - "200" : { - "body" : { + "responses": { + "200": { + "body": { "available": false, "availableIPAddresses": [ "10.0.1.5", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkCreate.json index cbab5da30c6a..ecb3002511ef 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkCreate.json @@ -1,9 +1,9 @@ { - "parameters" : { + "parameters": { "api-version": "2019-04-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", - "virtualNetworkName" : "test-vnet", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "virtualNetworkName": "test-vnet", "parameters": { "properties": { "addressSpace": { @@ -15,40 +15,40 @@ "location": "eastus" } }, - "responses" : { - "200" : { - "body" : { - "name" : "test-vnet", - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet", - "type" : "Microsoft.Network/virtualNetworks", - "location" : "eastus", - "properties" : { - "provisioningState" : "Succeeded", - "addressSpace" : { - "addressPrefixes" : [ + "responses": { + "200": { + "body": { + "name": "test-vnet", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet", + "type": "Microsoft.Network/virtualNetworks", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded", + "addressSpace": { + "addressPrefixes": [ "10.0.0.0/16" ] }, - "subnets" : [], - "virtualNetworkPeerings" : [] + "subnets": [], + "virtualNetworkPeerings": [] } } }, - "201" : { - "body" : { - "name" : "test-vnet", - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet", - "type" : "Microsoft.Network/virtualNetworks", - "location" : "eastus", - "properties" : { - "provisioningState" : "Succeeded", - "addressSpace" : { - "addressPrefixes" : [ + "201": { + "body": { + "name": "test-vnet", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet", + "type": "Microsoft.Network/virtualNetworks", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded", + "addressSpace": { + "addressPrefixes": [ "10.0.0.0/16" ] }, - "subnets" : [], - "virtualNetworkPeerings" : [] + "subnets": [], + "virtualNetworkPeerings": [] } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkCreateServiceEndpointPolicy.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkCreateServiceEndpointPolicy.json index 9763aca67132..6fac6d3f26fa 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkCreateServiceEndpointPolicy.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkCreateServiceEndpointPolicy.json @@ -1,9 +1,9 @@ { - "parameters" : { + "parameters": { "api-version": "2019-04-01", - "subscriptionId" : "subid", - "resourceGroupName" : "vnetTest", - "virtualNetworkName" : "vnet1", + "subscriptionId": "subid", + "resourceGroupName": "vnetTest", + "virtualNetworkName": "vnet1", "parameters": { "properties": { "addressSpace": { @@ -33,17 +33,17 @@ "location": "eastus" } }, - "responses" : { - "200" : { - "body" : { - "name" : "vnet1", - "id" : "/subscriptions/subid/resourceGroups/vnetTest/providers/Microsoft.Network/virtualNetworks/vnet1", - "type" : "Microsoft.Network/virtualNetworks", - "location" : "eastus", - "properties" : { - "provisioningState" : "Succeeded", - "addressSpace" : { - "addressPrefixes" : [ + "responses": { + "200": { + "body": { + "name": "vnet1", + "id": "/subscriptions/subid/resourceGroups/vnetTest/providers/Microsoft.Network/virtualNetworks/vnet1", + "type": "Microsoft.Network/virtualNetworks", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded", + "addressSpace": { + "addressPrefixes": [ "10.0.0.0/16" ] }, @@ -74,20 +74,20 @@ } } ], - "virtualNetworkPeerings" : [] + "virtualNetworkPeerings": [] } } }, - "201" : { - "body" : { - "name" : "vnet1", - "id" : "/subscriptions/subid/resourceGroups/vnetTest/providers/Microsoft.Network/virtualNetworks/vnet1", - "type" : "Microsoft.Network/virtualNetworks", - "location" : "eastus", - "properties" : { - "provisioningState" : "Succeeded", - "addressSpace" : { - "addressPrefixes" : [ + "201": { + "body": { + "name": "vnet1", + "id": "/subscriptions/subid/resourceGroups/vnetTest/providers/Microsoft.Network/virtualNetworks/vnet1", + "type": "Microsoft.Network/virtualNetworks", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded", + "addressSpace": { + "addressPrefixes": [ "10.0.0.0/16" ] }, @@ -118,7 +118,7 @@ } } ], - "virtualNetworkPeerings" : [] + "virtualNetworkPeerings": [] } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkCreateServiceEndpoints.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkCreateServiceEndpoints.json index e8cbc8ea4176..cb1f0426953c 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkCreateServiceEndpoints.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkCreateServiceEndpoints.json @@ -1,9 +1,9 @@ { - "parameters" : { + "parameters": { "api-version": "2019-04-01", - "subscriptionId" : "subid", - "resourceGroupName" : "vnetTest", - "virtualNetworkName" : "vnet1", + "subscriptionId": "subid", + "resourceGroupName": "vnetTest", + "virtualNetworkName": "vnet1", "parameters": { "properties": { "addressSpace": { @@ -28,17 +28,17 @@ "location": "eastus" } }, - "responses" : { - "200" : { - "body" : { - "name" : "vnet1", - "id" : "/subscriptions/subid/resourceGroups/vnetTest/providers/Microsoft.Network/virtualNetworks/vnet1", - "type" : "Microsoft.Network/virtualNetworks", - "location" : "eastus", - "properties" : { - "provisioningState" : "Succeeded", - "addressSpace" : { - "addressPrefixes" : [ + "responses": { + "200": { + "body": { + "name": "vnet1", + "id": "/subscriptions/subid/resourceGroups/vnetTest/providers/Microsoft.Network/virtualNetworks/vnet1", + "type": "Microsoft.Network/virtualNetworks", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded", + "addressSpace": { + "addressPrefixes": [ "10.0.0.0/16" ] }, @@ -64,20 +64,20 @@ } } ], - "virtualNetworkPeerings" : [] + "virtualNetworkPeerings": [] } } }, - "201" : { - "body" : { - "name" : "vnet1", - "id" : "/subscriptions/subid/resourceGroups/vnetTest/providers/Microsoft.Network/virtualNetworks/vnet1", - "type" : "Microsoft.Network/virtualNetworks", - "location" : "eastus", - "properties" : { - "provisioningState" : "Succeeded", - "addressSpace" : { - "addressPrefixes" : [ + "201": { + "body": { + "name": "vnet1", + "id": "/subscriptions/subid/resourceGroups/vnetTest/providers/Microsoft.Network/virtualNetworks/vnet1", + "type": "Microsoft.Network/virtualNetworks", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded", + "addressSpace": { + "addressPrefixes": [ "10.0.0.0/16" ] }, @@ -103,7 +103,7 @@ } } ], - "virtualNetworkPeerings" : [] + "virtualNetworkPeerings": [] } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkCreateSubnet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkCreateSubnet.json index 493f2e360035..bea2b63f46df 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkCreateSubnet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkCreateSubnet.json @@ -1,9 +1,9 @@ { - "parameters" : { + "parameters": { "api-version": "2019-04-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", - "virtualNetworkName" : "test-vnet", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "virtualNetworkName": "test-vnet", "parameters": { "properties": { "addressSpace": { @@ -23,17 +23,17 @@ "location": "eastus" } }, - "responses" : { - "200" : { - "body" : { - "name" : "test-vnet", - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet", - "type" : "Microsoft.Network/virtualNetworks", - "location" : "eastus", - "properties" : { - "provisioningState" : "Succeeded", - "addressSpace" : { - "addressPrefixes" : [ + "responses": { + "200": { + "body": { + "name": "test-vnet", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet", + "type": "Microsoft.Network/virtualNetworks", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded", + "addressSpace": { + "addressPrefixes": [ "10.0.0.0/16" ] }, @@ -47,20 +47,20 @@ } } ], - "virtualNetworkPeerings" : [] + "virtualNetworkPeerings": [] } } }, - "201" : { - "body" : { - "name" : "test-vnet", - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet", - "type" : "Microsoft.Network/virtualNetworks", - "location" : "eastus", - "properties" : { - "provisioningState" : "Succeeded", - "addressSpace" : { - "addressPrefixes" : [ + "201": { + "body": { + "name": "test-vnet", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet", + "type": "Microsoft.Network/virtualNetworks", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded", + "addressSpace": { + "addressPrefixes": [ "10.0.0.0/16" ] }, @@ -74,7 +74,7 @@ } } ], - "virtualNetworkPeerings" : [] + "virtualNetworkPeerings": [] } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkCreateSubnetWithAddressPrefixes.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkCreateSubnetWithAddressPrefixes.json index 9af65c47f0f4..9716a5a26c1b 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkCreateSubnetWithAddressPrefixes.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkCreateSubnetWithAddressPrefixes.json @@ -1,9 +1,9 @@ { - "parameters" : { + "parameters": { "api-version": "2019-04-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", - "virtualNetworkName" : "test-vnet", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "virtualNetworkName": "test-vnet", "parameters": { "properties": { "addressSpace": { @@ -26,17 +26,17 @@ "location": "eastus" } }, - "responses" : { - "200" : { - "body" : { - "name" : "test-vnet", - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet", - "type" : "Microsoft.Network/virtualNetworks", - "location" : "eastus", - "properties" : { - "provisioningState" : "Succeeded", - "addressSpace" : { - "addressPrefixes" : [ + "responses": { + "200": { + "body": { + "name": "test-vnet", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet", + "type": "Microsoft.Network/virtualNetworks", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded", + "addressSpace": { + "addressPrefixes": [ "10.0.0.0/16" ] }, @@ -53,20 +53,20 @@ } } ], - "virtualNetworkPeerings" : [] + "virtualNetworkPeerings": [] } } }, - "201" : { - "body" : { - "name" : "test-vnet", - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet", - "type" : "Microsoft.Network/virtualNetworks", - "location" : "eastus", - "properties" : { - "provisioningState" : "Succeeded", - "addressSpace" : { - "addressPrefixes" : [ + "201": { + "body": { + "name": "test-vnet", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet", + "type": "Microsoft.Network/virtualNetworks", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded", + "addressSpace": { + "addressPrefixes": [ "10.0.0.0/16" ] }, @@ -83,7 +83,7 @@ } } ], - "virtualNetworkPeerings" : [] + "virtualNetworkPeerings": [] } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkCreateSubnetWithDelegation.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkCreateSubnetWithDelegation.json index a486022bcc98..c43ed564cb1e 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkCreateSubnetWithDelegation.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkCreateSubnetWithDelegation.json @@ -1,9 +1,9 @@ { - "parameters" : { + "parameters": { "api-version": "2019-04-01", - "subscriptionId" : "subId", - "resourceGroupName" : "rg1", - "virtualNetworkName" : "test-vnet", + "subscriptionId": "subId", + "resourceGroupName": "rg1", + "virtualNetworkName": "test-vnet", "parameters": { "properties": { "addressSpace": { @@ -31,17 +31,17 @@ "location": "eastus" } }, - "responses" : { - "200" : { - "body" : { - "name" : "test-vnet", - "id" : "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet", - "type" : "Microsoft.Network/virtualNetworks", - "location" : "eastus", - "properties" : { - "provisioningState" : "Succeeded", - "addressSpace" : { - "addressPrefixes" : [ + "responses": { + "200": { + "body": { + "name": "test-vnet", + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet", + "type": "Microsoft.Network/virtualNetworks", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded", + "addressSpace": { + "addressPrefixes": [ "10.0.0.0/16" ] }, @@ -67,20 +67,20 @@ } } ], - "virtualNetworkPeerings" : [] + "virtualNetworkPeerings": [] } } }, - "201" : { - "body" : { - "name" : "test-vnet", - "id" : "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet", - "type" : "Microsoft.Network/virtualNetworks", - "location" : "eastus", - "properties" : { - "provisioningState" : "Succeeded", - "addressSpace" : { - "addressPrefixes" : [ + "201": { + "body": { + "name": "test-vnet", + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet", + "type": "Microsoft.Network/virtualNetworks", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded", + "addressSpace": { + "addressPrefixes": [ "10.0.0.0/16" ] }, @@ -106,7 +106,7 @@ } } ], - "virtualNetworkPeerings" : [] + "virtualNetworkPeerings": [] } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkDelete.json index 105cc327b83b..2fad346123ba 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkDelete.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkDelete.json @@ -1,13 +1,13 @@ { - "parameters" : { + "parameters": { "api-version": "2019-04-01", - "subscriptionId" : "subid", + "subscriptionId": "subid", "resourceGroupName": "rg1", "virtualNetworkName": "test-vnet" }, - "responses" : { - "200" : { }, - "202" : { }, - "204" : { } + "responses": { + "200": {}, + "202": {}, + "204": {} } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkGatewayConnectionCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkGatewayConnectionCreate.json index 5b42765f1f87..ef1947b23d15 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkGatewayConnectionCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkGatewayConnectionCreate.json @@ -1,136 +1,136 @@ { + "parameters": { + "api-version": "2019-04-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "virtualNetworkGatewayConnectionName": "connS2S", "parameters": { - "api-version": "2019-04-01", - "subscriptionId": "subid", - "resourceGroupName": "rg1", - "virtualNetworkGatewayConnectionName" : "connS2S", - "parameters": { - "properties": { - "virtualNetworkGateway1": { - "properties": { - "ipConfigurations": [ - { - "properties": { - "privateIPAllocationMethod": "Dynamic", - "subnet": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/GatewaySubnet" - }, - "publicIPAddress": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/gwpip" - } - }, - "name": "gwipconfig1", - "etag": "W/\"00000000-0000-0000-0000-000000000000\"", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/ipConfigurations/gwipconfig1" - } - ], - "gatewayType": "Vpn", - "vpnType": "RouteBased", - "enableBgp": false, - "activeActive": false, - "sku": { - "name": "VpnGw1", - "tier": "VpnGw1", - "capacity": 2 - }, - "bgpSettings": { - "asn": 65514, - "bgpPeeringAddress": "10.0.1.30", - "peerWeight": 0 - }, - "resourceGuid": "00000000-0000-0000-0000-000000000000" - }, - "etag": "W/\"00000000-0000-0000-0000-000000000000\"", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw", - "location": "centralus", - "tags": {} - }, - "localNetworkGateway2": { - "properties": { - "localNetworkAddressSpace": { - "addressPrefixes": [ - "10.1.0.0/16" - ] - }, - "gatewayIpAddress": "x.x.x.x", - "resourceGuid": "00000000-0000-0000-0000-000000000000" - }, - "etag": "W/\"00000000-0000-0000-0000-000000000000\"", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/localgw", - "location": "centralus", - "tags": {} + "properties": { + "virtualNetworkGateway1": { + "properties": { + "ipConfigurations": [ + { + "properties": { + "privateIPAllocationMethod": "Dynamic", + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/GatewaySubnet" + }, + "publicIPAddress": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/gwpip" + } }, - "connectionType": "IPsec", - "connectionProtocol": "IKEv2", - "routingWeight": 0, - "sharedKey": "Abc123", - "enableBgp": false, - "usePolicyBasedTrafficSelectors": false, - "ipsecPolicies": [] + "name": "gwipconfig1", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/ipConfigurations/gwipconfig1" + } + ], + "gatewayType": "Vpn", + "vpnType": "RouteBased", + "enableBgp": false, + "activeActive": false, + "sku": { + "name": "VpnGw1", + "tier": "VpnGw1", + "capacity": 2 + }, + "bgpSettings": { + "asn": 65514, + "bgpPeeringAddress": "10.0.1.30", + "peerWeight": 0 }, - "location": "centralus" + "resourceGuid": "00000000-0000-0000-0000-000000000000" + }, + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw", + "location": "centralus", + "tags": {} + }, + "localNetworkGateway2": { + "properties": { + "localNetworkAddressSpace": { + "addressPrefixes": [ + "10.1.0.0/16" + ] + }, + "gatewayIpAddress": "x.x.x.x", + "resourceGuid": "00000000-0000-0000-0000-000000000000" + }, + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/localgw", + "location": "centralus", + "tags": {} + }, + "connectionType": "IPsec", + "connectionProtocol": "IKEv2", + "routingWeight": 0, + "sharedKey": "Abc123", + "enableBgp": false, + "usePolicyBasedTrafficSelectors": false, + "ipsecPolicies": [] + }, + "location": "centralus" + } + }, + "responses": { + "201": { + "body": { + "name": "connS2S", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/connections/connS2S", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "type": "Microsoft.Network/connections", + "location": "centralus", + "properties": { + "provisioningState": "Updating", + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "virtualNetworkGateway1": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw", + "properties": {} + }, + "localNetworkGateway2": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/localgw", + "properties": {} + }, + "connectionType": "IPsec", + "connectionProtocol": "IKEv2", + "routingWeight": 0, + "sharedKey": "Abc123", + "enableBgp": false, + "usePolicyBasedTrafficSelectors": false, + "ipsecPolicies": [], + "ingressBytesTransferred": 0, + "egressBytesTransferred": 0 } + } }, - "responses" : { - "201" : { - "body" : { - "name": "connS2S", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/connections/connS2S", - "etag": "W/\"00000000-0000-0000-0000-000000000000\"", - "type": "Microsoft.Network/connections", - "location": "centralus", - "properties": { - "provisioningState": "Updating", - "resourceGuid": "00000000-0000-0000-0000-000000000000", - "virtualNetworkGateway1": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw", - "properties": {} - }, - "localNetworkGateway2": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/localgw", - "properties": {} - }, - "connectionType": "IPsec", - "connectionProtocol": "IKEv2", - "routingWeight": 0, - "sharedKey": "Abc123", - "enableBgp": false, - "usePolicyBasedTrafficSelectors": false, - "ipsecPolicies": [], - "ingressBytesTransferred": 0, - "egressBytesTransferred": 0 - } - } - }, - "200" : { - "body" : { - "name": "connS2S", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/connections/connS2S", - "etag": "W/\"00000000-0000-0000-0000-000000000000\"", - "type": "Microsoft.Network/connections", - "location": "centralus", - "properties": { - "provisioningState": "Updating", - "resourceGuid": "00000000-0000-0000-0000-000000000000", - "virtualNetworkGateway1": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw", - "properties": {} - }, - "localNetworkGateway2": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/localgw", - "properties": {} - }, - "connectionType": "IPsec", - "connectionProtocol": "IKEv2", - "routingWeight": 0, - "sharedKey": "Abc123", - "enableBgp": false, - "usePolicyBasedTrafficSelectors": false, - "ipsecPolicies": [], - "ingressBytesTransferred": 0, - "egressBytesTransferred": 0 - } - } + "200": { + "body": { + "name": "connS2S", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/connections/connS2S", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "type": "Microsoft.Network/connections", + "location": "centralus", + "properties": { + "provisioningState": "Updating", + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "virtualNetworkGateway1": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw", + "properties": {} + }, + "localNetworkGateway2": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/localgw", + "properties": {} + }, + "connectionType": "IPsec", + "connectionProtocol": "IKEv2", + "routingWeight": 0, + "sharedKey": "Abc123", + "enableBgp": false, + "usePolicyBasedTrafficSelectors": false, + "ipsecPolicies": [], + "ingressBytesTransferred": 0, + "egressBytesTransferred": 0 } + } } + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkGatewayConnectionDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkGatewayConnectionDelete.json index f116a79bae81..1ed538c912ab 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkGatewayConnectionDelete.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkGatewayConnectionDelete.json @@ -1,13 +1,13 @@ { - "parameters": { - "api-version": "2019-04-01", - "subscriptionId": "subid", - "resourceGroupName": "rg1", - "virtualNetworkGatewayConnectionName" : "conn1" - }, - "responses" : { - "202" : { }, - "200" : { }, - "204" : { } - } + "parameters": { + "api-version": "2019-04-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "virtualNetworkGatewayConnectionName": "conn1" + }, + "responses": { + "202": {}, + "200": {}, + "204": {} + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkGatewayConnectionGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkGatewayConnectionGet.json index 2bad653665d1..a3810360efe6 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkGatewayConnectionGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkGatewayConnectionGet.json @@ -1,41 +1,41 @@ { - "parameters": { - "api-version": "2019-04-01", - "subscriptionId": "subid", - "resourceGroupName": "rg1", - "virtualNetworkGatewayConnectionName" : "connS2S" - }, - "responses" : { - "200" : { - "body" : { - "name": "connS2S", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/connections/connS2S", - "etag": "W/\"00000000-0000-0000-0000-000000000000\"", - "type": "Microsoft.Network/connections", - "location": "centralus", - "properties": { - "provisioningState": "Succeeded", - "resourceGuid": "00000000-0000-0000-0000-000000000000", - "virtualNetworkGateway1": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw", - "properties": {} - }, - "localNetworkGateway2": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/localgw", - "properties": {} - }, - "connectionType": "IPsec", - "connectionProtocol": "IKEv2", - "routingWeight": 0, - "sharedKey": "Abc123", - "enableBgp": false, - "usePolicyBasedTrafficSelectors": false, - "ipsecPolicies": [], - "connectionStatus": "Connecting", - "ingressBytesTransferred": 0, - "egressBytesTransferred": 0 - } - } + "parameters": { + "api-version": "2019-04-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "virtualNetworkGatewayConnectionName": "connS2S" + }, + "responses": { + "200": { + "body": { + "name": "connS2S", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/connections/connS2S", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "type": "Microsoft.Network/connections", + "location": "centralus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "virtualNetworkGateway1": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw", + "properties": {} + }, + "localNetworkGateway2": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/localgw", + "properties": {} + }, + "connectionType": "IPsec", + "connectionProtocol": "IKEv2", + "routingWeight": 0, + "sharedKey": "Abc123", + "enableBgp": false, + "usePolicyBasedTrafficSelectors": false, + "ipsecPolicies": [], + "connectionStatus": "Connecting", + "ingressBytesTransferred": 0, + "egressBytesTransferred": 0 } + } } + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkGatewayConnectionGetSharedKey.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkGatewayConnectionGetSharedKey.json index 6f41cd1c05d8..a986943e1f64 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkGatewayConnectionGetSharedKey.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkGatewayConnectionGetSharedKey.json @@ -1,15 +1,15 @@ { - "parameters": { - "api-version": "2019-04-01", - "subscriptionId": "subid", - "resourceGroupName": "rg1", - "virtualNetworkGatewayConnectionName" : "connS2S" - }, - "responses" : { - "200" : { - "body" : { - "value": "AzureAbc123" - } - } + "parameters": { + "api-version": "2019-04-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "virtualNetworkGatewayConnectionName": "connS2S" + }, + "responses": { + "200": { + "body": { + "value": "AzureAbc123" + } } + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkGatewayConnectionResetSharedKey.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkGatewayConnectionResetSharedKey.json index e7d10375633a..c853bdbc82b6 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkGatewayConnectionResetSharedKey.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkGatewayConnectionResetSharedKey.json @@ -1,19 +1,19 @@ { + "parameters": { + "api-version": "2019-04-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "virtualNetworkGatewayConnectionName": "conn1", "parameters": { - "api-version": "2019-04-01", - "subscriptionId": "subid", - "resourceGroupName": "rg1", - "virtualNetworkGatewayConnectionName" : "conn1", - "parameters": { - "keyLength": 128 - } - }, - "responses" : { - "200" : { - "body" : { - "keyLength": 128 - } - }, - "202" : { } + "keyLength": 128 } + }, + "responses": { + "200": { + "body": { + "keyLength": 128 + } + }, + "202": {} + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkGatewayConnectionSetSharedKey.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkGatewayConnectionSetSharedKey.json index 0ca461c93b03..66e42f6b63bd 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkGatewayConnectionSetSharedKey.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkGatewayConnectionSetSharedKey.json @@ -1,23 +1,23 @@ { + "parameters": { + "api-version": "2019-04-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "virtualNetworkGatewayConnectionName": "connS2S", "parameters": { - "api-version": "2019-04-01", - "subscriptionId": "subid", - "resourceGroupName": "rg1", - "virtualNetworkGatewayConnectionName" : "connS2S", - "parameters": { - "value": "AzureAbc123" - } + "value": "AzureAbc123" + } + }, + "responses": { + "200": { + "body": { + "value": "AzureAbc123" + } }, - "responses" : { - "200" : { - "body" : { - "value": "AzureAbc123" - } - }, - "201" : { - "body" : { - "value": "AzureAbc123" - } - } + "201": { + "body": { + "value": "AzureAbc123" + } } + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkGatewayConnectionUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkGatewayConnectionUpdateTags.json index 35da058a5da8..8077f4b77f0a 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkGatewayConnectionUpdateTags.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkGatewayConnectionUpdateTags.json @@ -1,8 +1,8 @@ { - "parameters" : { + "parameters": { "api-version": "2019-04-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", + "subscriptionId": "subid", + "resourceGroupName": "rg1", "virtualNetworkGatewayConnectionName": "test", "parameters": { "tags": { @@ -11,9 +11,9 @@ } } }, - "responses" : { - "200" : { - "body" : { + "responses": { + "200": { + "body": { "name": "test", "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/connections/test", "type": "Microsoft.Network/connections", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkGatewayConnectionsList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkGatewayConnectionsList.json index ff995cebe0f2..3e08d544e822 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkGatewayConnectionsList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkGatewayConnectionsList.json @@ -1,69 +1,69 @@ { - "parameters": { - "api-version": "2019-04-01", - "subscriptionId": "subid", - "resourceGroupName": "rg1" - }, - "responses" : { - "200" : { - "body" : { - "value": [ - { - "name": "conn1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/connections/conn1", - "etag": "W/\"00000000-0000-0000-0000-000000000000\"", - "type": "Microsoft.Network/connections", - "location": "centralus", - "properties": { - "provisioningState": "Succeeded", - "resourceGuid": "00000000-0000-0000-0000-000000000000", - "virtualNetworkGateway1": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw1", - "properties": {} - }, - "localNetworkGateway2": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/localgw1", - "properties": {} - }, - "connectionType": "IPsec", - "connectionProtocol": "IKEv1", - "routingWeight": 0, - "enableBgp": false, - "usePolicyBasedTrafficSelectors": false, - "ipsecPolicies": [], - "ingressBytesTransferred": 0, - "egressBytesTransferred": 0 - } - }, - { - "name": "conn2", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/connections/conn2", - "etag": "W/\"00000000-0000-0000-0000-000000000000\"", - "type": "Microsoft.Network/connections", - "location": "eastus", - "properties": { - "provisioningState": "Succeeded", - "resourceGuid": "00000000-0000-0000-0000-000000000000", - "virtualNetworkGateway1": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw2", - "properties": {} - }, - "localNetworkGateway2": { - "properties": {}, - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/localgw2" - }, - "connectionType": "IPsec", - "connectionProtocol": "IKEv2", - "routingWeight": 0, - "enableBgp": false, - "usePolicyBasedTrafficSelectors": false, - "ipsecPolicies": [], - "ingressBytesTransferred": 0, - "egressBytesTransferred": 0 - } - } - ] - } - } + "parameters": { + "api-version": "2019-04-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "conn1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/connections/conn1", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "type": "Microsoft.Network/connections", + "location": "centralus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "virtualNetworkGateway1": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw1", + "properties": {} + }, + "localNetworkGateway2": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/localgw1", + "properties": {} + }, + "connectionType": "IPsec", + "connectionProtocol": "IKEv1", + "routingWeight": 0, + "enableBgp": false, + "usePolicyBasedTrafficSelectors": false, + "ipsecPolicies": [], + "ingressBytesTransferred": 0, + "egressBytesTransferred": 0 + } + }, + { + "name": "conn2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/connections/conn2", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "type": "Microsoft.Network/connections", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "virtualNetworkGateway1": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw2", + "properties": {} + }, + "localNetworkGateway2": { + "properties": {}, + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/localgw2" + }, + "connectionType": "IPsec", + "connectionProtocol": "IKEv2", + "routingWeight": 0, + "enableBgp": false, + "usePolicyBasedTrafficSelectors": false, + "ipsecPolicies": [], + "ingressBytesTransferred": 0, + "egressBytesTransferred": 0 + } + } + ] + } } + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkGatewayDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkGatewayDelete.json index 86a70c1ad6ce..be0896370325 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkGatewayDelete.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkGatewayDelete.json @@ -1,13 +1,13 @@ { - "parameters": { - "api-version": "2019-04-01", - "subscriptionId": "subid", - "resourceGroupName": "rg1", - "virtualNetworkGatewayName" : "vpngw" - }, - "responses" : { - "202" : { }, - "200" : { }, - "204" : { } - } + "parameters": { + "api-version": "2019-04-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "virtualNetworkGatewayName": "vpngw" + }, + "responses": { + "202": {}, + "200": {}, + "204": {} + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkGatewayGenerateVpnClientPackage.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkGatewayGenerateVpnClientPackage.json index 00977914fdf9..82d3a763fe6f 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkGatewayGenerateVpnClientPackage.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkGatewayGenerateVpnClientPackage.json @@ -1,16 +1,15 @@ { - "parameters": { - "api-version": "2019-04-01", - "subscriptionId": "subid", - "resourceGroupName": "rg1", - "virtualNetworkGatewayName" : "vpngw", - "parameters": { - } + "parameters": { + "api-version": "2019-04-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "virtualNetworkGatewayName": "vpngw", + "parameters": {} + }, + "responses": { + "200": { + "body": "" }, - "responses" : { - "200" : { - "body" : "" - }, - "202": {} - } + "202": {} + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkGatewayGenerateVpnProfile.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkGatewayGenerateVpnProfile.json index e26eaec538e8..c484e392b1cd 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkGatewayGenerateVpnProfile.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkGatewayGenerateVpnProfile.json @@ -1,16 +1,15 @@ { - "parameters": { - "api-version": "2019-04-01", - "subscriptionId": "subid", - "resourceGroupName": "rg1", - "virtualNetworkGatewayName" : "vpngw", - "parameters": {} - }, - "responses" : { - "202" : { - }, - "200" : { - "body" : "" - } + "parameters": { + "api-version": "2019-04-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "virtualNetworkGatewayName": "vpngw", + "parameters": {} + }, + "responses": { + "202": {}, + "200": { + "body": "" } + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkGatewayGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkGatewayGet.json index 1a1823f29d79..092a3bb17f99 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkGatewayGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkGatewayGet.json @@ -1,69 +1,69 @@ { - "parameters": { - "api-version": "2019-04-01", - "subscriptionId": "subid", - "resourceGroupName": "rg1", - "virtualNetworkGatewayName" : "vpngw" - }, - "responses" : { - "200" : { - "body" : { - "name": "vpngw", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw", - "etag": "W/\"00000000-0000-0000-0000-000000000000\"", - "type": "Microsoft.Network/virtualNetworkGateways", - "location": "centralus", - "properties": { - "provisioningState": "Succeeded", - "resourceGuid": "00000000-0000-0000-0000-000000000000", - "ipConfigurations": [ - { - "name": "gwipconfig1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/ipConfigurations/gwipconfig1", - "etag": "W/\"00000000-0000-0000-0000-000000000000\"", - "properties": { - "provisioningState": "Succeeded", - "privateIPAllocationMethod": "Dynamic", - "publicIPAddress": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/gwpip" - }, - "subnet": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/GatewaySubnet" - } - } - } - ], - "sku": { - "name": "VpnGw1", - "tier": "VpnGw1", - "capacity": 0 - }, - "gatewayType": "Vpn", - "vpnType": "RouteBased", - "enableBgp": false, - "activeActive": false, - "vpnClientConfiguration": { - "vpnClientProtocols": [ - "OpenVPN" - ], - "vpnClientRootCertificates": [], - "vpnClientRevokedCertificates": [], - "aadTenant": "https://login.microsoftonline.com/99163270-c9ab-4279-bb12-5353ed9bf6e1", - "aadAudience": "fd11706c-e78c-4828-8be7-ac7dcefd4b17", - "aadIssuer": "https://sts.windows.net/99163270-c9ab-4279-bb12-5353ed9bf6e1/" - }, - "bgpSettings": { - "asn": 65514, - "bgpPeeringAddress": "10.0.1.30", - "peerWeight": 0 - }, - "customRoutes": { - "addressPrefixes": [ - "101.168.0.6/32" - ] - } + "parameters": { + "api-version": "2019-04-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "virtualNetworkGatewayName": "vpngw" + }, + "responses": { + "200": { + "body": { + "name": "vpngw", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "type": "Microsoft.Network/virtualNetworkGateways", + "location": "centralus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "ipConfigurations": [ + { + "name": "gwipconfig1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/ipConfigurations/gwipconfig1", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "properties": { + "provisioningState": "Succeeded", + "privateIPAllocationMethod": "Dynamic", + "publicIPAddress": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/gwpip" + }, + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/GatewaySubnet" } + } } + ], + "sku": { + "name": "VpnGw1", + "tier": "VpnGw1", + "capacity": 0 + }, + "gatewayType": "Vpn", + "vpnType": "RouteBased", + "enableBgp": false, + "activeActive": false, + "vpnClientConfiguration": { + "vpnClientProtocols": [ + "OpenVPN" + ], + "vpnClientRootCertificates": [], + "vpnClientRevokedCertificates": [], + "aadTenant": "https://login.microsoftonline.com/99163270-c9ab-4279-bb12-5353ed9bf6e1", + "aadAudience": "fd11706c-e78c-4828-8be7-ac7dcefd4b17", + "aadIssuer": "https://sts.windows.net/99163270-c9ab-4279-bb12-5353ed9bf6e1/" + }, + "bgpSettings": { + "asn": 65514, + "bgpPeeringAddress": "10.0.1.30", + "peerWeight": 0 + }, + "customRoutes": { + "addressPrefixes": [ + "101.168.0.6/32" + ] + } } + } } + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkGatewayGetAdvertisedRoutes.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkGatewayGetAdvertisedRoutes.json index 51fc6d4c02db..17754c40a180 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkGatewayGetAdvertisedRoutes.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkGatewayGetAdvertisedRoutes.json @@ -1,17 +1,15 @@ { - "parameters": { - "api-version": "2019-04-01", - "subscriptionId": "subid", - "resourceGroupName": "rg1", - "virtualNetworkGatewayName" : "vpngw", - "peer": "test" - }, - "responses" : { - "202" : { }, - "200" : { - "body" : { - - } - } + "parameters": { + "api-version": "2019-04-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "virtualNetworkGatewayName": "vpngw", + "peer": "test" + }, + "responses": { + "202": {}, + "200": { + "body": {} } + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkGatewayGetBGPPeerStatus.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkGatewayGetBGPPeerStatus.json index 69914a4bffc3..c2937fc4de39 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkGatewayGetBGPPeerStatus.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkGatewayGetBGPPeerStatus.json @@ -1,16 +1,14 @@ { - "parameters": { - "api-version": "2019-04-01", - "subscriptionId": "subid", - "resourceGroupName": "rg1", - "virtualNetworkGatewayName" : "vpngw" - }, - "responses" : { - "202" : { }, - "200" : { - "body" : { - - } - } + "parameters": { + "api-version": "2019-04-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "virtualNetworkGatewayName": "vpngw" + }, + "responses": { + "202": {}, + "200": { + "body": {} } + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkGatewayGetVpnClientIpsecParameters.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkGatewayGetVpnClientIpsecParameters.json index 336542054c93..cf39d8aaa5bb 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkGatewayGetVpnClientIpsecParameters.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkGatewayGetVpnClientIpsecParameters.json @@ -1,20 +1,20 @@ { - "parameters": { - "api-version": "2019-04-01", - "subscriptionId": "subid", - "resourceGroupName": "rg1", - "virtualNetworkGatewayName" : "vpngw" - }, - "responses" : { - "200" : { - "saLifeTimeSeconds": 86473, - "saDataSizeKilobytes": 429497, - "ipsecEncryption": "AES256", - "ipsecIntegrity": "SHA256", - "ikeEncryption": "AES256", - "ikeIntegrity": "SHA384", - "dhGroup": "DHGroup2", - "pfsGroup": "PFS2" - } + "parameters": { + "api-version": "2019-04-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "virtualNetworkGatewayName": "vpngw" + }, + "responses": { + "200": { + "saLifeTimeSeconds": 86473, + "saDataSizeKilobytes": 429497, + "ipsecEncryption": "AES256", + "ipsecIntegrity": "SHA256", + "ikeEncryption": "AES256", + "ikeIntegrity": "SHA384", + "dhGroup": "DHGroup2", + "pfsGroup": "PFS2" } + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkGatewayGetVpnProfilePackageUrl.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkGatewayGetVpnProfilePackageUrl.json index af53a7efdef6..afbebe82cf00 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkGatewayGetVpnProfilePackageUrl.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkGatewayGetVpnProfilePackageUrl.json @@ -1,14 +1,14 @@ { - "parameters": { - "api-version": "2019-04-01", - "subscriptionId": "subid", - "resourceGroupName": "rg1", - "virtualNetworkGatewayName" : "vpngw" - }, - "responses" : { - "202" : { }, - "200" : { - "body" : "" - } + "parameters": { + "api-version": "2019-04-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "virtualNetworkGatewayName": "vpngw" + }, + "responses": { + "202": {}, + "200": { + "body": "" } + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkGatewayGetVpnclientConnectionHealth.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkGatewayGetVpnclientConnectionHealth.json index 47be064b1c71..00765896fc5b 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkGatewayGetVpnclientConnectionHealth.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkGatewayGetVpnclientConnectionHealth.json @@ -1,47 +1,45 @@ { - "parameters": { - "resourceGroupName": "p2s-vnet-test", - "api-version": "2019-04-01", - "subscriptionId": "subid", - "virtualNetworkGatewayName" : "vpnp2sgw" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "vpnConnectionId": "IKEv2_1e1cfe59-5c7c-4315-a876-b11fbfdfeed4", - "vpnConnectionDuration": 900, - "vpnConnectionTime": "2019-05-02T22:26:22", - "publicIpAddress": "167.220.2.232:45522", - "privateIpAddress": "192.168.210.2", - "vpnUserName": "gwp2schildcert", - "maxBandwidth": 240000000, - "egressPacketsTransferred": 557, - "egressBytesTransferred": 33420, - "ingressPacketsTransferred": 557, - "ingressBytesTransferred": 33420, - "maxPacketsPerSecond": 4 - }, - { - "vpnConnectionId": "IKEv2_571cfe59-2c7d-1415-e813-c51fbfdfea16", - "vpnConnectionDuration": 800, - "vpnConnectionTime": "2019-05-01T21:06:12", - "publicIpAddress": "167.220.2.232:45213", - "privateIpAddress": "192.168.210.1", - "vpnUserName": "gwp2schildcert", - "maxBandwidth": 220000000, - "egressPacketsTransferred": 357, - "egressBytesTransferred": 23420, - "ingressPacketsTransferred": 357, - "ingressBytesTransferred": 23420, - "maxPacketsPerSecond": 4 - } - ] - } - }, - "202": { + "parameters": { + "resourceGroupName": "p2s-vnet-test", + "api-version": "2019-04-01", + "subscriptionId": "subid", + "virtualNetworkGatewayName": "vpnp2sgw" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "vpnConnectionId": "IKEv2_1e1cfe59-5c7c-4315-a876-b11fbfdfeed4", + "vpnConnectionDuration": 900, + "vpnConnectionTime": "2019-05-02T22:26:22", + "publicIpAddress": "167.220.2.232:45522", + "privateIpAddress": "192.168.210.2", + "vpnUserName": "gwp2schildcert", + "maxBandwidth": 240000000, + "egressPacketsTransferred": 557, + "egressBytesTransferred": 33420, + "ingressPacketsTransferred": 557, + "ingressBytesTransferred": 33420, + "maxPacketsPerSecond": 4 + }, + { + "vpnConnectionId": "IKEv2_571cfe59-2c7d-1415-e813-c51fbfdfea16", + "vpnConnectionDuration": 800, + "vpnConnectionTime": "2019-05-01T21:06:12", + "publicIpAddress": "167.220.2.232:45213", + "privateIpAddress": "192.168.210.1", + "vpnUserName": "gwp2schildcert", + "maxBandwidth": 220000000, + "egressPacketsTransferred": 357, + "egressBytesTransferred": 23420, + "ingressPacketsTransferred": 357, + "ingressBytesTransferred": 23420, + "maxPacketsPerSecond": 4 + } + ] } - } + }, + "202": {} } - \ No newline at end of file +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkGatewayLearnedRoutes.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkGatewayLearnedRoutes.json index eb4cfaeee913..c2937fc4de39 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkGatewayLearnedRoutes.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkGatewayLearnedRoutes.json @@ -1,16 +1,14 @@ { - "parameters": { - "api-version": "2019-04-01", - "subscriptionId": "subid", - "resourceGroupName": "rg1", - "virtualNetworkGatewayName" : "vpngw" - }, - "responses" : { - "202" : {}, - "200" : { - "body" : { - - } - } + "parameters": { + "api-version": "2019-04-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "virtualNetworkGatewayName": "vpngw" + }, + "responses": { + "202": {}, + "200": { + "body": {} } + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkGatewayList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkGatewayList.json index e7f8b9870978..b9cc85e28ff4 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkGatewayList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkGatewayList.json @@ -1,124 +1,124 @@ { - "parameters": { - "api-version": "2019-04-01", - "subscriptionId": "subid", - "resourceGroupName": "rg1" - }, - "responses" : { - "200" : { - "body" : { - "value": [ - { - "name": "vpngw1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw1", - "etag": "W/\"00000000-0000-0000-0000-000000000000\"", - "type": "Microsoft.Network/virtualNetworkGateways", - "location": "loc1", - "properties": { - "provisioningState": "Succeeded", - "resourceGuid": "00000000-0000-0000-0000-000000000000", - "ipConfigurations": [ - { - "name": "default", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw1/ipConfigurations/default", - "etag": "W/\"00000000-0000-0000-0000-000000000000\"", - "properties": { - "provisioningState": "Succeeded", - "privateIPAllocationMethod": "Dynamic", - "publicIPAddress": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/vpngw1-ip" - }, - "subnet": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/GatewaySubnet" - } - } - } - ], - "sku": { - "name": "VpnGw1", - "tier": "VpnGw1", - "capacity": 2 - }, - "gatewayType": "Vpn", - "vpnType": "RouteBased", - "enableBgp": false, - "activeActive": false, - "vpnClientConfiguration": { - "vpnClientProtocols": [], - "vpnClientRootCertificates": [], - "vpnClientRevokedCertificates": [] - }, - "bgpSettings": { - "asn": 65515, - "bgpPeeringAddress": "10.0.0.14", - "peerWeight": 0 - }, - "customRoutes": { - "addressPrefixes": [ - "101.168.0.6/32" - ] - } - } + "parameters": { + "api-version": "2019-04-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "vpngw1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw1", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "type": "Microsoft.Network/virtualNetworkGateways", + "location": "loc1", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "ipConfigurations": [ + { + "name": "default", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw1/ipConfigurations/default", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "properties": { + "provisioningState": "Succeeded", + "privateIPAllocationMethod": "Dynamic", + "publicIPAddress": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/vpngw1-ip" }, - { - "name": "vpngw2", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw2", - "etag": "W/\"00000000-0000-0000-0000-000000000000\"", - "type": "Microsoft.Network/virtualNetworkGateways", - "location": "loc2", - "properties": { - "provisioningState": "Succeeded", - "resourceGuid": "00000000-0000-0000-0000-000000000000", - "ipConfigurations": [ - { - "name": "default", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw2/ipConfigurations/default", - "etag": "W/\"00000000-0000-0000-0000-000000000000\"", - "properties": { - "provisioningState": "Succeeded", - "privateIPAllocationMethod": "Dynamic", - "publicIPAddress": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/vpngw2-ip" - }, - "subnet": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/GatewaySubnet" - } - } - } - ], - "sku": { - "name": "VpnGw1", - "tier": "VpnGw1", - "capacity": 2 - }, - "gatewayType": "Vpn", - "vpnType": "RouteBased", - "enableBgp": false, - "activeActive": false, - "vpnClientConfiguration": { - "vpnClientProtocols": [ - "OpenVPN" - ], - "vpnClientRootCertificates": [], - "vpnClientRevokedCertificates": [], - "aadTenant": "https://login.microsoftonline.com/99163270-c9ab-4279-bb12-5353ed9bf6e1", - "aadAudience": "fd11706c-e78c-4828-8be7-ac7dcefd4b17", - "aadIssuer": "https://sts.windows.net/99163270-c9ab-4279-bb12-5353ed9bf6e1/" - }, - "bgpSettings": { - "asn": 65515, - "bgpPeeringAddress": "10.1.0.46", - "peerWeight": 0 - }, - "customRoutes": { - "addressPrefixes": [ - "101.168.0.6/32" - ] - } - } + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/GatewaySubnet" } + } + } + ], + "sku": { + "name": "VpnGw1", + "tier": "VpnGw1", + "capacity": 2 + }, + "gatewayType": "Vpn", + "vpnType": "RouteBased", + "enableBgp": false, + "activeActive": false, + "vpnClientConfiguration": { + "vpnClientProtocols": [], + "vpnClientRootCertificates": [], + "vpnClientRevokedCertificates": [] + }, + "bgpSettings": { + "asn": 65515, + "bgpPeeringAddress": "10.0.0.14", + "peerWeight": 0 + }, + "customRoutes": { + "addressPrefixes": [ + "101.168.0.6/32" ] + } } - } + }, + { + "name": "vpngw2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw2", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "type": "Microsoft.Network/virtualNetworkGateways", + "location": "loc2", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "ipConfigurations": [ + { + "name": "default", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw2/ipConfigurations/default", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "properties": { + "provisioningState": "Succeeded", + "privateIPAllocationMethod": "Dynamic", + "publicIPAddress": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/vpngw2-ip" + }, + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/GatewaySubnet" + } + } + } + ], + "sku": { + "name": "VpnGw1", + "tier": "VpnGw1", + "capacity": 2 + }, + "gatewayType": "Vpn", + "vpnType": "RouteBased", + "enableBgp": false, + "activeActive": false, + "vpnClientConfiguration": { + "vpnClientProtocols": [ + "OpenVPN" + ], + "vpnClientRootCertificates": [], + "vpnClientRevokedCertificates": [], + "aadTenant": "https://login.microsoftonline.com/99163270-c9ab-4279-bb12-5353ed9bf6e1", + "aadAudience": "fd11706c-e78c-4828-8be7-ac7dcefd4b17", + "aadIssuer": "https://sts.windows.net/99163270-c9ab-4279-bb12-5353ed9bf6e1/" + }, + "bgpSettings": { + "asn": 65515, + "bgpPeeringAddress": "10.1.0.46", + "peerWeight": 0 + }, + "customRoutes": { + "addressPrefixes": [ + "101.168.0.6/32" + ] + } + } + } + ] + } } + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkGatewayReset.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkGatewayReset.json index a45c9dd2932e..3ab788c8dfcd 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkGatewayReset.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkGatewayReset.json @@ -1,60 +1,60 @@ { - "parameters": { - "api-version": "2019-04-01", - "subscriptionId": "subid", - "resourceGroupName": "rg1", - "virtualNetworkGatewayName" : "vpngw" - }, - "responses" : { - "202" : { }, - "200" : { - "body" : { - "name": "vpngw", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw", - "etag": "W/\"00000000-0000-0000-0000-000000000000\"", - "type": "Microsoft.Network/virtualNetworkGateways", - "location": "centralus", - "properties": { - "provisioningState": "Succeeded", - "resourceGuid": "00000000-0000-0000-0000-000000000000", - "ipConfigurations": [ - { - "name": "gwipconfig1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/ipConfigurations/gwipconfig1", - "etag": "W/\"00000000-0000-0000-0000-000000000000\"", - "properties": { - "provisioningState": "Succeeded", - "privateIPAllocationMethod": "Dynamic", - "publicIPAddress": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/gwpip" - }, - "subnet": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/GatewaySubnet" - } - } - } - ], - "sku": { - "name": "VpnGw1", - "tier": "VpnGw1", - "capacity": 0 - }, - "gatewayType": "Vpn", - "vpnType": "RouteBased", - "enableBgp": false, - "activeActive": false, - "bgpSettings": { - "asn": 65514, - "bgpPeeringAddress": "10.0.1.30", - "peerWeight": 0 - }, - "customRoutes": { - "addressPrefixes": [ - "101.168.0.6/32" - ] - } + "parameters": { + "api-version": "2019-04-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "virtualNetworkGatewayName": "vpngw" + }, + "responses": { + "202": {}, + "200": { + "body": { + "name": "vpngw", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "type": "Microsoft.Network/virtualNetworkGateways", + "location": "centralus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "ipConfigurations": [ + { + "name": "gwipconfig1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/ipConfigurations/gwipconfig1", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "properties": { + "provisioningState": "Succeeded", + "privateIPAllocationMethod": "Dynamic", + "publicIPAddress": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/gwpip" + }, + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/GatewaySubnet" } + } } + ], + "sku": { + "name": "VpnGw1", + "tier": "VpnGw1", + "capacity": 0 + }, + "gatewayType": "Vpn", + "vpnType": "RouteBased", + "enableBgp": false, + "activeActive": false, + "bgpSettings": { + "asn": 65514, + "bgpPeeringAddress": "10.0.1.30", + "peerWeight": 0 + }, + "customRoutes": { + "addressPrefixes": [ + "101.168.0.6/32" + ] + } } + } } + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkGatewayResetVpnClientSharedKey.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkGatewayResetVpnClientSharedKey.json index c8e690e75770..41178ce18142 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkGatewayResetVpnClientSharedKey.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkGatewayResetVpnClientSharedKey.json @@ -1,12 +1,12 @@ { - "parameters": { - "api-version": "2019-04-01", - "subscriptionId": "subid", - "resourceGroupName": "rg1", - "virtualNetworkGatewayName" : "vpngw" - }, - "responses" : { - "202" : { }, - "200" : { } - } -} \ No newline at end of file + "parameters": { + "api-version": "2019-04-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "virtualNetworkGatewayName": "vpngw" + }, + "responses": { + "202": {}, + "200": {} + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkGatewaySetVpnClientIpsecParameters.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkGatewaySetVpnClientIpsecParameters.json index eceb7a44c0cc..84c3bc6d0107 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkGatewaySetVpnClientIpsecParameters.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkGatewaySetVpnClientIpsecParameters.json @@ -1,25 +1,24 @@ { - "parameters": { - "api-version": "2019-04-01", - "subscriptionId": "subid", - "resourceGroupName": "rg1", - "virtualNetworkGatewayName" : "vpngw", - "vpnclientIpsecParams": { - "saLifeTimeSeconds": 86473, - "saDataSizeKilobytes": 429497, - "ipsecEncryption": "AES256", - "ipsecIntegrity": "SHA256", - "ikeEncryption": "AES256", - "ikeIntegrity": "SHA384", - "dhGroup": "DHGroup2", - "pfsGroup": "PFS2" - } - }, - "responses" : { - "202" : { - }, - "200" : { - "body" : "" - } + "parameters": { + "api-version": "2019-04-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "virtualNetworkGatewayName": "vpngw", + "vpnclientIpsecParams": { + "saLifeTimeSeconds": 86473, + "saDataSizeKilobytes": 429497, + "ipsecEncryption": "AES256", + "ipsecIntegrity": "SHA256", + "ikeEncryption": "AES256", + "ikeIntegrity": "SHA384", + "dhGroup": "DHGroup2", + "pfsGroup": "PFS2" } + }, + "responses": { + "202": {}, + "200": { + "body": "" + } + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkGatewaySupportedVpnDevice.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkGatewaySupportedVpnDevice.json index 95d074d86723..29d95df6b3cc 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkGatewaySupportedVpnDevice.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkGatewaySupportedVpnDevice.json @@ -1,13 +1,13 @@ { - "parameters": { - "api-version": "2019-04-01", - "subscriptionId": "subid", - "resourceGroupName": "rg1", - "virtualNetworkGatewayName" : "vpngw" - }, - "responses" : { - "200" : { - "body" : "" - } + "parameters": { + "api-version": "2019-04-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "virtualNetworkGatewayName": "vpngw" + }, + "responses": { + "200": { + "body": "" } + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkGatewayUpdate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkGatewayUpdate.json index 5614832ffa3f..65ab7ec4197c 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkGatewayUpdate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkGatewayUpdate.json @@ -1,165 +1,165 @@ { + "parameters": { + "api-version": "2019-04-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "virtualNetworkGatewayName": "vpngw", "parameters": { - "api-version": "2019-04-01", - "subscriptionId": "subid", - "resourceGroupName": "rg1", - "virtualNetworkGatewayName" : "vpngw", - "parameters": { + "properties": { + "ipConfigurations": [ + { "properties": { - "ipConfigurations": [ - { - "properties": { - "privateIPAllocationMethod": "Dynamic", - "subnet": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/GatewaySubnet" - }, - "publicIPAddress": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/gwpip" - } - }, - "name": "gwipconfig1" - } - ], - "gatewayType": "Vpn", - "vpnType": "RouteBased", - "enableBgp": false, - "activeActive": false, - "sku": { - "name": "VpnGw1", - "tier": "VpnGw1" - }, - "bgpSettings": { - "asn": 65515, - "bgpPeeringAddress": "10.0.1.30", - "peerWeight": 0 - }, - "customRoutes": { - "addressPrefixes": [ - "101.168.0.6/32" - ] - } + "privateIPAllocationMethod": "Dynamic", + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/GatewaySubnet" + }, + "publicIPAddress": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/gwpip" + } }, - "location": "centralus" + "name": "gwipconfig1" + } + ], + "gatewayType": "Vpn", + "vpnType": "RouteBased", + "enableBgp": false, + "activeActive": false, + "sku": { + "name": "VpnGw1", + "tier": "VpnGw1" + }, + "bgpSettings": { + "asn": 65515, + "bgpPeeringAddress": "10.0.1.30", + "peerWeight": 0 + }, + "customRoutes": { + "addressPrefixes": [ + "101.168.0.6/32" + ] } - }, - "responses" : { - "200" : { - "body" : { - "name": "vpngw", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw", - "etag": "W/\"00000000-0000-0000-0000-000000000000\"", - "type": "Microsoft.Network/virtualNetworkGateways", - "location": "centralus", - "properties": { - "provisioningState": "Succeeded", - "resourceGuid": "00000000-0000-0000-0000-000000000000", - "ipConfigurations": [ - { - "name": "gwipconfig1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/ipConfigurations/gwipconfig1", - "etag": "W/\"00000000-0000-0000-0000-000000000000\"", - "properties": { - "provisioningState": "Succeeded", - "privateIPAllocationMethod": "Dynamic", - "publicIPAddress": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/gwpip" - }, - "subnet": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/GatewaySubnet" - } - } - } - ], - "sku": { - "name": "VpnGw1", - "tier": "VpnGw1", - "capacity": 0 - }, - "gatewayType": "Vpn", - "vpnType": "RouteBased", - "enableBgp": false, - "activeActive": false, - "vpnClientConfiguration": { - "vpnClientProtocols": [ - "OpenVPN" - ], - "vpnClientRootCertificates": [], - "vpnClientRevokedCertificates": [], - "aadTenant": "", - "aadAudience": "", - "aadIssuer": "" - }, - "bgpSettings": { - "asn": 65515, - "bgpPeeringAddress": "10.0.1.30", - "peerWeight": 0 - }, - "customRoutes": { - "addressPrefixes": [ - "101.168.0.6/32" - ] - } + }, + "location": "centralus" + } + }, + "responses": { + "200": { + "body": { + "name": "vpngw", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "type": "Microsoft.Network/virtualNetworkGateways", + "location": "centralus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "ipConfigurations": [ + { + "name": "gwipconfig1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/ipConfigurations/gwipconfig1", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "properties": { + "provisioningState": "Succeeded", + "privateIPAllocationMethod": "Dynamic", + "publicIPAddress": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/gwpip" + }, + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/GatewaySubnet" } + } } - }, - "201" : { - "body" : { - "name": "vpngw", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw", - "etag": "W/\"00000000-0000-0000-0000-000000000000\"", - "type": "Microsoft.Network/virtualNetworkGateways", - "location": "centralus", - "properties": { - "provisioningState": "Succeeded", - "resourceGuid": "00000000-0000-0000-0000-000000000000", - "ipConfigurations": [ - { - "name": "gwipconfig1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/ipConfigurations/gwipconfig1", - "etag": "W/\"00000000-0000-0000-0000-000000000000\"", - "properties": { - "provisioningState": "Succeeded", - "privateIPAllocationMethod": "Dynamic", - "publicIPAddress": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/gwpip" - }, - "subnet": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/GatewaySubnet" - } - } - } - ], - "sku": { - "name": "VpnGw1", - "tier": "VpnGw1", - "capacity": 0 - }, - "gatewayType": "Vpn", - "vpnType": "RouteBased", - "enableBgp": false, - "activeActive": false, - "vpnClientConfiguration": { - "vpnClientProtocols": [ - "OpenVPN" - ], - "vpnClientRootCertificates": [], - "vpnClientRevokedCertificates": [], - "aadTenant": "https://login.microsoftonline.com/99163270-c9ab-4279-bb12-5353ed9bf6e1", - "aadAudience": "fd11706c-e78c-4828-8be7-ac7dcefd4b17", - "aadIssuer": "https://sts.windows.net/99163270-c9ab-4279-bb12-5353ed9bf6e1/" - }, - "bgpSettings": { - "asn": 65515, - "bgpPeeringAddress": "10.0.1.30", - "peerWeight": 0 - }, - "customRoutes": { - "addressPrefixes": [ - "101.168.0.6/32" - ] - } + ], + "sku": { + "name": "VpnGw1", + "tier": "VpnGw1", + "capacity": 0 + }, + "gatewayType": "Vpn", + "vpnType": "RouteBased", + "enableBgp": false, + "activeActive": false, + "vpnClientConfiguration": { + "vpnClientProtocols": [ + "OpenVPN" + ], + "vpnClientRootCertificates": [], + "vpnClientRevokedCertificates": [], + "aadTenant": "", + "aadAudience": "", + "aadIssuer": "" + }, + "bgpSettings": { + "asn": 65515, + "bgpPeeringAddress": "10.0.1.30", + "peerWeight": 0 + }, + "customRoutes": { + "addressPrefixes": [ + "101.168.0.6/32" + ] + } + } + } + }, + "201": { + "body": { + "name": "vpngw", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "type": "Microsoft.Network/virtualNetworkGateways", + "location": "centralus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "ipConfigurations": [ + { + "name": "gwipconfig1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/ipConfigurations/gwipconfig1", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "properties": { + "provisioningState": "Succeeded", + "privateIPAllocationMethod": "Dynamic", + "publicIPAddress": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/gwpip" + }, + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/GatewaySubnet" } + } } + ], + "sku": { + "name": "VpnGw1", + "tier": "VpnGw1", + "capacity": 0 + }, + "gatewayType": "Vpn", + "vpnType": "RouteBased", + "enableBgp": false, + "activeActive": false, + "vpnClientConfiguration": { + "vpnClientProtocols": [ + "OpenVPN" + ], + "vpnClientRootCertificates": [], + "vpnClientRevokedCertificates": [], + "aadTenant": "https://login.microsoftonline.com/99163270-c9ab-4279-bb12-5353ed9bf6e1", + "aadAudience": "fd11706c-e78c-4828-8be7-ac7dcefd4b17", + "aadIssuer": "https://sts.windows.net/99163270-c9ab-4279-bb12-5353ed9bf6e1/" + }, + "bgpSettings": { + "asn": 65515, + "bgpPeeringAddress": "10.0.1.30", + "peerWeight": 0 + }, + "customRoutes": { + "addressPrefixes": [ + "101.168.0.6/32" + ] + } } + } } + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkGatewayUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkGatewayUpdateTags.json index 63fbb9b6e43d..87960df2e87e 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkGatewayUpdateTags.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkGatewayUpdateTags.json @@ -1,9 +1,9 @@ { - "parameters" : { + "parameters": { "api-version": "2019-04-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", - "virtualNetworkGatewayName" : "vpngw", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "virtualNetworkGatewayName": "vpngw", "parameters": { "tags": { "tag1": "value1", @@ -11,9 +11,9 @@ } } }, - "responses" : { - "200" : { - "body" : { + "responses": { + "200": { + "body": { "name": "vpngw", "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw", "type": "Microsoft.Network/virtualNetworkGateways", @@ -57,7 +57,7 @@ }, "customRoutes": { "addressPrefixes": [ - "101.168.0.6/32" + "101.168.0.6/32" ] } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkGatewayVpnDeviceConfigurationScript.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkGatewayVpnDeviceConfigurationScript.json index 37b97d0daf0e..eee928ec4730 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkGatewayVpnDeviceConfigurationScript.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkGatewayVpnDeviceConfigurationScript.json @@ -1,18 +1,18 @@ { + "parameters": { + "api-version": "2019-04-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "virtualNetworkGatewayConnectionName": "vpngw", "parameters": { - "api-version": "2019-04-01", - "subscriptionId": "subid", - "resourceGroupName": "rg1", - "virtualNetworkGatewayConnectionName" : "vpngw", - "parameters": { - "vendor": "Cisco", - "deviceFamily": "ISR", - "firmwareVersion": "IOS 15.1 (Preview)" - } - }, - "responses" : { - "200" : { - "body" : "! Microsoft Corporation\r\n! ---------------------------------------------------------------------------------------------------------------------\r\n! Sample VPN tunnel configuration template for IOS-based devices\r\n!\r\n! This configuration template applies to Cisco VPN devices running IOS 15.1 or beyond (ISR or ASR)\r\n!\r\n\r\n\r\n\t\t\r\n\r\n! ---------------------------------------------------------------------------------------------------------------------\r\n! ACL rules\r\n!\r\n! Some VPN devices require explicit ACL rules to allow cross-premises traffic:\r\n!\r\n! 1. Allow traffic between on premises address ranges and VNet address ranges\r\n! 2. Allow IKE traffic (UDP:500) between on premises VPN devices and Azure VPN gateway\r\n! 3. Allow IPsec traffic (Proto:ESP) between on premises VPN devices and Azure VPN gateway\r\n!\r\n\t\t\r\naccess-list 101 permit ip 10.1.0.0 0.0.255.255 10.0.0.0 0.0.255.255\r\n\r\n! ---------------------------------------------------------------------------------------------------------------------\r\n! Internet Key Exchange (IKE) configuration\r\n!\r\n! This section specifies the authentication, encryption, hashing, and Diffie-Hellman group parameters for IKE\r\n! main mode or phase 1\r\n!\r\n\r\ncrypto ikev2 proposal SwaggerS2S-proposal\r\n encryption DES3\r\n integrity SHA384\r\n group DHGroup24\r\n lifetime 3600\r\n exit\r\n\r\ncrypto ikev2 policy SwaggerS2S-policy\r\n proposal SwaggerS2S-proposal\r\n exit\r\n\r\ncrypto ikev2 keyring SwaggerBranch-keyring\r\n\t\t\r\n\t\tpeer 52.173.199.254\r\n\t\taddress 52.173.199.254\r\n\t\tpre-shared-key lALEHuppeopJmA94exRNiRr2QzuZ6lOsvzu5IlJUEA6LthbTc8g5MTT86MCsGNMzGkTAaLuLnEJoD1Cn4cIlr94qKZm9drsgllzWvsPNezS71stAkaW1Bb7h6GBnDlDP\r\n exit\r\n\r\ncrypto ikev2 profile SwaggerS2S-profile\r\n match address local 10.3.0.0\r\n\tmatch identity remote address 52.173.199.254 255.255.255.255\r\n\t\t\r\n authentication remote pre-share\r\n authentication local pre-share\r\n keyring SwaggerBranch-keyring\r\n exit\r\n\r\n! ---------------------------------------------------------------------------------------------------------------------\r\n! IPsec configuration\r\n!\r\n! This section specifies encryption, authentication, tunnel mode properties for the Phase 2 negotiation\r\n!\r\ncrypto ipsec transform-set SwaggerS2S-TransformSet DES3 DES3\r\n mode tunnel\r\n exit\r\n\r\n! ---------------------------------------------------------------------------------------------------------------------\r\n! Crypto map configuration\r\n!\r\n! This section defines a crypto profile that binds the cross-premises network traffic to the IPsec and IKE\r\n! policy profiles for this connection. Then defines the VTI (virtual tunnel interface) with the crypto\r\n! profile. A random interface number (tunnel 1) was used with a random link local address (169.254.0.1/28)\r\n! for the tunnel interface. If either selection is already used in the VPN device, please select another\r\n! interface number or address. The only requirement is that they must not overlap with another interface\r\n! on the same VPN device.\r\n!\r\ncrypto ipsec profile SwaggerS2S-IPsecProfile\r\n set transform-set SwaggerS2S-TransformSet\r\n set ikev2-profile SwaggerS2S-profile\r\n set pfs None\r\n set security-association lifetime 3600\r\n exit\r\n\r\n\r\nint tunnel 52.173.199.254\r\n ip address 169.254.0.1 255.255.255.252\r\n ip tcp adjust-mss 1350\r\n tunnel source 10.3.0.0\r\n tunnel mode ipsec ipv4\r\n tunnel destination 52.173.199.254\r\n tunnel protection ipsec profile SwaggerS2S-IPsecProfile\r\n exit\r\n\r\n\tip route 10.0.0.0 255.255.0.0 tunnel 52.173.199.254 " - } + "vendor": "Cisco", + "deviceFamily": "ISR", + "firmwareVersion": "IOS 15.1 (Preview)" } + }, + "responses": { + "200": { + "body": "! Microsoft Corporation\r\n! ---------------------------------------------------------------------------------------------------------------------\r\n! Sample VPN tunnel configuration template for IOS-based devices\r\n!\r\n! This configuration template applies to Cisco VPN devices running IOS 15.1 or beyond (ISR or ASR)\r\n!\r\n\r\n\r\n\t\t\r\n\r\n! ---------------------------------------------------------------------------------------------------------------------\r\n! ACL rules\r\n!\r\n! Some VPN devices require explicit ACL rules to allow cross-premises traffic:\r\n!\r\n! 1. Allow traffic between on premises address ranges and VNet address ranges\r\n! 2. Allow IKE traffic (UDP:500) between on premises VPN devices and Azure VPN gateway\r\n! 3. Allow IPsec traffic (Proto:ESP) between on premises VPN devices and Azure VPN gateway\r\n!\r\n\t\t\r\naccess-list 101 permit ip 10.1.0.0 0.0.255.255 10.0.0.0 0.0.255.255\r\n\r\n! ---------------------------------------------------------------------------------------------------------------------\r\n! Internet Key Exchange (IKE) configuration\r\n!\r\n! This section specifies the authentication, encryption, hashing, and Diffie-Hellman group parameters for IKE\r\n! main mode or phase 1\r\n!\r\n\r\ncrypto ikev2 proposal SwaggerS2S-proposal\r\n encryption DES3\r\n integrity SHA384\r\n group DHGroup24\r\n lifetime 3600\r\n exit\r\n\r\ncrypto ikev2 policy SwaggerS2S-policy\r\n proposal SwaggerS2S-proposal\r\n exit\r\n\r\ncrypto ikev2 keyring SwaggerBranch-keyring\r\n\t\t\r\n\t\tpeer 52.173.199.254\r\n\t\taddress 52.173.199.254\r\n\t\tpre-shared-key lALEHuppeopJmA94exRNiRr2QzuZ6lOsvzu5IlJUEA6LthbTc8g5MTT86MCsGNMzGkTAaLuLnEJoD1Cn4cIlr94qKZm9drsgllzWvsPNezS71stAkaW1Bb7h6GBnDlDP\r\n exit\r\n\r\ncrypto ikev2 profile SwaggerS2S-profile\r\n match address local 10.3.0.0\r\n\tmatch identity remote address 52.173.199.254 255.255.255.255\r\n\t\t\r\n authentication remote pre-share\r\n authentication local pre-share\r\n keyring SwaggerBranch-keyring\r\n exit\r\n\r\n! ---------------------------------------------------------------------------------------------------------------------\r\n! IPsec configuration\r\n!\r\n! This section specifies encryption, authentication, tunnel mode properties for the Phase 2 negotiation\r\n!\r\ncrypto ipsec transform-set SwaggerS2S-TransformSet DES3 DES3\r\n mode tunnel\r\n exit\r\n\r\n! ---------------------------------------------------------------------------------------------------------------------\r\n! Crypto map configuration\r\n!\r\n! This section defines a crypto profile that binds the cross-premises network traffic to the IPsec and IKE\r\n! policy profiles for this connection. Then defines the VTI (virtual tunnel interface) with the crypto\r\n! profile. A random interface number (tunnel 1) was used with a random link local address (169.254.0.1/28)\r\n! for the tunnel interface. If either selection is already used in the VPN device, please select another\r\n! interface number or address. The only requirement is that they must not overlap with another interface\r\n! on the same VPN device.\r\n!\r\ncrypto ipsec profile SwaggerS2S-IPsecProfile\r\n set transform-set SwaggerS2S-TransformSet\r\n set ikev2-profile SwaggerS2S-profile\r\n set pfs None\r\n set security-association lifetime 3600\r\n exit\r\n\r\n\r\nint tunnel 52.173.199.254\r\n ip address 169.254.0.1 255.255.255.252\r\n ip tcp adjust-mss 1350\r\n tunnel source 10.3.0.0\r\n tunnel mode ipsec ipv4\r\n tunnel destination 52.173.199.254\r\n tunnel protection ipsec profile SwaggerS2S-IPsecProfile\r\n exit\r\n\r\n\tip route 10.0.0.0 255.255.0.0 tunnel 52.173.199.254 " + } + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkGet.json index ac630d4d72b2..530e24022efd 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkGet.json @@ -1,38 +1,40 @@ { - "parameters" : { + "parameters": { "api-version": "2019-04-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", - "virtualNetworkName" : "test-vnet" + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "virtualNetworkName": "test-vnet" }, - "responses" : { - "200" : { - "body" : { - "name" : "test-vnet", - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet", - "type" : "Microsoft.Network/virtualNetworks", - "location" : "westus", - "properties" : { - "provisioningState" : "Succeeded", - "addressSpace" : { - "addressPrefixes" : [ + "responses": { + "200": { + "body": { + "name": "test-vnet", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet", + "type": "Microsoft.Network/virtualNetworks", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "addressSpace": { + "addressPrefixes": [ "10.0.0.0/16" ] }, - "subnets" : [{ - "name" : "subnet1", - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1", - "properties" : { - "provisioningState" : "Succeeded", - "addressPrefix" : "10.0.1.0/24", - "ipConfigurations" : [{ - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe" + "subnets": [ + { + "name": "subnet1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1", + "properties": { + "provisioningState": "Succeeded", + "addressPrefix": "10.0.1.0/24", + "ipConfigurations": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe" } ] } } ], - "virtualNetworkPeerings" : [] + "virtualNetworkPeerings": [] } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkGetWithServiceAssociationLink.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkGetWithServiceAssociationLink.json index 54c40b77a7a2..6a6bb6fdc50d 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkGetWithServiceAssociationLink.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkGetWithServiceAssociationLink.json @@ -22,43 +22,43 @@ "subnets": [ { "name": "subnet1", - "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1", - "etag": "W/\"4d3e91b4-f67f-48be-880b-e4a8abdd019e\"", - "properties": { - "provisioningState": "Succeeded", - "addressPrefix": "10.0.214.0/24", - "ipConfigurationProfiles": [ - { - "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0/ipConfigurations/ipconfigprofile1" - } - ], - "serviceAssociationLinks": [ - { - "name": "serviceAssociationLink1", - "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1/serviceAssociationLinks/serviceAssociationLink1", - "etag": "W/\"4d3e91b4-f67f-48be-880b-e4a8abdd019e\"", - "properties": { - "provisioningState": "Succeeded", - "linkedResourceType": "Microsoft.Provider/resourceType" - } - } - ], - "serviceEndpoints": [], - "delegations": [ - { - "name": "aciDelegation", - "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1/delegations/aciDelegation", - "etag": "W/\"4d3e91b4-f67f-48be-880b-e4a8abdd019e\"", - "properties": { - "provisioningState": "Succeeded", - "serviceName": "Microsoft.Provider/resourceType", - "actions": [ - "Microsoft.Network/virtualNetworks/subnets/action" - ] - } - } - ] - } + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1", + "etag": "W/\"4d3e91b4-f67f-48be-880b-e4a8abdd019e\"", + "properties": { + "provisioningState": "Succeeded", + "addressPrefix": "10.0.214.0/24", + "ipConfigurationProfiles": [ + { + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0/ipConfigurations/ipconfigprofile1" + } + ], + "serviceAssociationLinks": [ + { + "name": "serviceAssociationLink1", + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1/serviceAssociationLinks/serviceAssociationLink1", + "etag": "W/\"4d3e91b4-f67f-48be-880b-e4a8abdd019e\"", + "properties": { + "provisioningState": "Succeeded", + "linkedResourceType": "Microsoft.Provider/resourceType" + } + } + ], + "serviceEndpoints": [], + "delegations": [ + { + "name": "aciDelegation", + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1/delegations/aciDelegation", + "etag": "W/\"4d3e91b4-f67f-48be-880b-e4a8abdd019e\"", + "properties": { + "provisioningState": "Succeeded", + "serviceName": "Microsoft.Provider/resourceType", + "actions": [ + "Microsoft.Network/virtualNetworks/subnets/action" + ] + } + } + ] + } } ], "virtualNetworkPeerings": [] @@ -66,4 +66,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkGetWithSubnetDelegation.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkGetWithSubnetDelegation.json index fca526dcc218..542563d090f3 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkGetWithSubnetDelegation.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkGetWithSubnetDelegation.json @@ -19,30 +19,36 @@ "10.0.0.0/16" ] }, - "subnets": [{ - "name": "subnet1", - "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1", - "properties": { - "provisioningState": "Succeeded", - "addressPrefix": "10.0.1.0/24", - "ipConfigurations": [{ - "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe" - }], - "delegations": [{ - "name": "myDelegation", - "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1/delegations/myDelegation", - "properties": { - "provisioningState": "Succeeded", - "serviceName": "Microsoft.Provider/resourceType", - "actions": [] - } - }], - "purpose": "" + "subnets": [ + { + "name": "subnet1", + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1", + "properties": { + "provisioningState": "Succeeded", + "addressPrefix": "10.0.1.0/24", + "ipConfigurations": [ + { + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe" + } + ], + "delegations": [ + { + "name": "myDelegation", + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1/delegations/myDelegation", + "properties": { + "provisioningState": "Succeeded", + "serviceName": "Microsoft.Provider/resourceType", + "actions": [] + } + } + ], + "purpose": "" + } } - }], + ], "virtualNetworkPeerings": [] } } } } -} \ No newline at end of file +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkList.json index e4433b49f499..00a5fc292c03 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkList.json @@ -1,12 +1,12 @@ { - "parameters" : { + "parameters": { "api-version": "2019-04-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1" + "subscriptionId": "subid", + "resourceGroupName": "rg1" }, - "responses" : { - "200" : { - "body" : { + "responses": { + "200": { + "body": { "value": [ { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkListAll.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkListAll.json index 5f7bc4fa0ac6..6a4e14d77b97 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkListAll.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkListAll.json @@ -1,11 +1,11 @@ { - "parameters" : { + "parameters": { "api-version": "2019-04-01", - "subscriptionId" : "subid" + "subscriptionId": "subid" }, - "responses" : { - "200" : { - "body" : { + "responses": { + "200": { + "body": { "value": [ { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkPeeringDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkPeeringDelete.json index 00dabb2cf158..079868bfe5ef 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkPeeringDelete.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkPeeringDelete.json @@ -7,8 +7,8 @@ "subscriptionId": "subid" }, "responses": { - "200": { }, - "202": { }, - "204": { } + "200": {}, + "202": {}, + "204": {} } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkTapCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkTapCreate.json index efcfae8278be..55166868b99b 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkTapCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkTapCreate.json @@ -1,60 +1,60 @@ { - "parameters" : { + "parameters": { "api-version": "2019-04-01", - "subscriptionId" : "subid", + "subscriptionId": "subid", "resourceGroupName": "rg1", "tapName": "test-vtap", "parameters": { "properties": { "destinationNetworkInterfaceIPConfiguration": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface/ipConfigurations/ipconfig1" + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface/ipConfigurations/ipconfig1" } }, "location": "centraluseuap" } }, - "responses" : { - "200" : { - "body" : { + "responses": { + "200": { + "body": { "name": "testvtap", "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkTaps/testvtap", "etag": "etag", "type": "Microsoft.Network/virtualNetworkTaps", "location": "centraluseuap", "properties": { - "destinationNetworkInterfaceIPConfiguration": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface/ipConfigurations/testIPConfig1" - }, - "destinationPort": 4789, - "provisioningState": "Succeded", - "resourceGuid": "6A7C139D-8B8D-499B-B7CB-4F3F02A8A44F", - "networkInterfaceTapConfigurations": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface2/tapConfigurations/testtapConfiguration" - } - ] + "destinationNetworkInterfaceIPConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface/ipConfigurations/testIPConfig1" + }, + "destinationPort": 4789, + "provisioningState": "Succeded", + "resourceGuid": "6A7C139D-8B8D-499B-B7CB-4F3F02A8A44F", + "networkInterfaceTapConfigurations": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface2/tapConfigurations/testtapConfiguration" + } + ] } } }, - "201" : { - "body" : { + "201": { + "body": { "name": "testvtap", "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkTaps/testvtap", "etag": "etag", "type": "Microsoft.Network/virtualNetworkTaps", "location": "centraluseuap", "properties": { - "destinationNetworkInterfaceIPConfiguration": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface/ipConfigurations/testIPConfig1" - }, - "destinationPort": 4789, - "provisioningState": "Succeded", - "resourceGuid": "6A7C139D-8B8D-499B-B7CB-4F3F02A8A44F", - "networkInterfaceTapConfigurations": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface2/tapConfigurations/testtapConfiguration" - } - ] + "destinationNetworkInterfaceIPConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface/ipConfigurations/testIPConfig1" + }, + "destinationPort": 4789, + "provisioningState": "Succeded", + "resourceGuid": "6A7C139D-8B8D-499B-B7CB-4F3F02A8A44F", + "networkInterfaceTapConfigurations": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface2/tapConfigurations/testtapConfiguration" + } + ] } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkTapDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkTapDelete.json index 38896aa7ffab..c086d5555d87 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkTapDelete.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkTapDelete.json @@ -1,13 +1,13 @@ { - "parameters" : { + "parameters": { "api-version": "2019-04-01", - "subscriptionId" : "subid", + "subscriptionId": "subid", "resourceGroupName": "rg1", "tapName": "test-vtap" }, - "responses" : { - "200" : { }, - "202" : { }, - "204" : { } + "responses": { + "200": {}, + "202": {}, + "204": {} } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkTapGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkTapGet.json index b090942ccca2..f61a7c7548a0 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkTapGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkTapGet.json @@ -1,30 +1,30 @@ { - "parameters" : { + "parameters": { "api-version": "2019-04-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", - "tapName" : "testvtap" + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "tapName": "testvtap" }, - "responses" : { - "200" : { - "body" : { + "responses": { + "200": { + "body": { "name": "testvtap", "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkTaps/testvtap", "etag": "etag", "type": "Microsoft.Network/virtualNetworkTaps", "location": "centraluseuap", "properties": { - "destinationNetworkInterfaceIPConfiguration": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface/ipConfigurations/testIPConfig1" - }, - "destinationPort": 4789, - "provisioningState": "Succeded", - "resourceGuid": "6A7C139D-8B8D-499B-B7CB-4F3F02A8A44F", - "networkInterfaceTapConfigurations": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface2/tapConfigurations/testtapConfiguration" - } - ] + "destinationNetworkInterfaceIPConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface/ipConfigurations/testIPConfig1" + }, + "destinationPort": 4789, + "provisioningState": "Succeded", + "resourceGuid": "6A7C139D-8B8D-499B-B7CB-4F3F02A8A44F", + "networkInterfaceTapConfigurations": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface2/tapConfigurations/testtapConfiguration" + } + ] } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkTapList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkTapList.json index ac8395df2071..b84835d49102 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkTapList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkTapList.json @@ -1,53 +1,53 @@ { - "parameters" : { + "parameters": { "api-version": "2019-04-01", - "subscriptionId" : "subid", + "subscriptionId": "subid", "resourceGroupName": "rg1" }, - "responses" : { - "200" : { - "body" : { + "responses": { + "200": { + "body": { "value": [ - { + { "name": "testvtap", "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkTaps/testvtap", "etag": "etag", "type": "Microsoft.Network/virtualNetworkTaps", "location": "centraluseuap", "properties": { - "destinationNetworkInterfaceIPConfiguration": { + "destinationNetworkInterfaceIPConfiguration": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface/ipConfigurations/testIPConfig1" - }, - "destinationPort": 4789, - "provisioningState": "Succeded", - "resourceGuid": "6A7C139D-8B8D-499B-B7CB-4F3F02A8A44F", - "networkInterfaceTapConfigurations": [ + }, + "destinationPort": 4789, + "provisioningState": "Succeded", + "resourceGuid": "6A7C139D-8B8D-499B-B7CB-4F3F02A8A44F", + "networkInterfaceTapConfigurations": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface2/tapConfigurations/testtapConfiguration" + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface2/tapConfigurations/testtapConfiguration" } - ] - } - }, - { + ] + } + }, + { "name": "testvtap2", "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkTaps/testvtap2", "etag": "etag", "type": "Microsoft.Network/virtualNetworkTaps", "location": "centraluseuap", "properties": { - "destinationNetworkInterfaceIPConfiguration": { + "destinationNetworkInterfaceIPConfiguration": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface/ipConfigurations/testIPConfig1" - }, - "destinationPort": 4789, - "provisioningState": "Succeded", - "resourceGuid": "6A7C139D-8B8D-499B-B7CB-4F3F02A8A44F", - "networkInterfaceTapConfigurations": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface3/tapConfigurations/testtapConfiguration" - } - ] - } - } + }, + "destinationPort": 4789, + "provisioningState": "Succeded", + "resourceGuid": "6A7C139D-8B8D-499B-B7CB-4F3F02A8A44F", + "networkInterfaceTapConfigurations": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface3/tapConfigurations/testtapConfiguration" + } + ] + } + } ] } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkTapListAll.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkTapListAll.json index a463e601e885..bb73569dff68 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkTapListAll.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkTapListAll.json @@ -1,52 +1,52 @@ { - "parameters" : { + "parameters": { "api-version": "2019-04-01", - "subscriptionId" : "subid" + "subscriptionId": "subid" }, - "responses" : { - "200" : { - "body" : { + "responses": { + "200": { + "body": { "value": [ - { + { "name": "testvtap", "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkTaps/testvtap", "etag": "etag", "type": "Microsoft.Network/virtualNetworkTaps", "location": "centraluseuap", "properties": { - "destinationNetworkInterfaceIPConfiguration": { + "destinationNetworkInterfaceIPConfiguration": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface/ipConfigurations/testIPConfig1" - }, - "destinationPort": 4789, - "provisioningState": "Succeded", - "resourceGuid": "6A7C139D-8B8D-499B-B7CB-4F3F02A8A44F", - "networkInterfaceTapConfigurations": [ + }, + "destinationPort": 4789, + "provisioningState": "Succeded", + "resourceGuid": "6A7C139D-8B8D-499B-B7CB-4F3F02A8A44F", + "networkInterfaceTapConfigurations": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface2/tapConfigurations/testtapConfiguration" + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface2/tapConfigurations/testtapConfiguration" } - ] - } - }, - { + ] + } + }, + { "name": "testvtap2", "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkTaps/testvtap2", "etag": "etag", "type": "Microsoft.Network/virtualNetworkTaps", "location": "centraluseuap", "properties": { - "destinationNetworkInterfaceIPConfiguration": { + "destinationNetworkInterfaceIPConfiguration": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface/ipConfigurations/testIPConfig1" - }, - "destinationPort": 4789, - "provisioningState": "Succeded", - "resourceGuid": "6A7C139D-8B8D-499B-B7CB-4F3F02A8A44F", - "networkInterfaceTapConfigurations": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface3/tapConfigurations/testtapConfiguration" - } - ] - } - } + }, + "destinationPort": 4789, + "provisioningState": "Succeded", + "resourceGuid": "6A7C139D-8B8D-499B-B7CB-4F3F02A8A44F", + "networkInterfaceTapConfigurations": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface3/tapConfigurations/testtapConfiguration" + } + ] + } + } ] } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkTapUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkTapUpdateTags.json index d04636228ec9..9d11a9e48ee3 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkTapUpdateTags.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkTapUpdateTags.json @@ -1,7 +1,7 @@ { - "parameters" : { + "parameters": { "api-version": "2019-04-01", - "subscriptionId" : "subid", + "subscriptionId": "subid", "resourceGroupName": "rg1", "tapName": "test-vtap", "tapParameters": { @@ -11,29 +11,29 @@ } } }, - "responses" : { - "200" : { - "body" : { - "name" : "test-vtap", - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkTaps/test-vtap", - "location" : "eastus", + "responses": { + "200": { + "body": { + "name": "test-vtap", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkTaps/test-vtap", + "location": "eastus", "tags": { "tag1": "value1", "tag2": "value2" }, - "properties" : { - "destinationNetworkInterfaceIPConfiguration": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface/ipConfigurations/testIPConfig1" - }, - "destinationPort": 4789, - "provisioningState": "Succeded", - "networkInterfaceTapConfigurations": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface2/tapConfigurations/testtapConfiguration" - } - ] + "properties": { + "destinationNetworkInterfaceIPConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface/ipConfigurations/testIPConfig1" + }, + "destinationPort": 4789, + "provisioningState": "Succeded", + "networkInterfaceTapConfigurations": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface2/tapConfigurations/testtapConfiguration" + } + ] }, - "type" : "Microsoft.Network/virtualNetworkTaps" + "type": "Microsoft.Network/virtualNetworkTaps" } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkUpdateTags.json index 4797c9a2ce06..1b269e6fdacf 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkUpdateTags.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkUpdateTags.json @@ -1,9 +1,9 @@ { - "parameters" : { + "parameters": { "api-version": "2019-04-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", - "virtualNetworkName" : "test-vnet", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "virtualNetworkName": "test-vnet", "location": "westus", "parameters": { "tags": { @@ -12,26 +12,26 @@ } } }, - "responses" : { - "200" : { - "body" : { - "name" : "test-vnet", - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet", - "type" : "Microsoft.Network/virtualNetworks", - "location" : "westus", + "responses": { + "200": { + "body": { + "name": "test-vnet", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet", + "type": "Microsoft.Network/virtualNetworks", + "location": "westus", "tags": { "tag1": "value1", "tag2": "value2" }, - "properties" : { - "provisioningState" : "Succeeded", - "addressSpace" : { - "addressPrefixes" : [ + "properties": { + "provisioningState": "Succeeded", + "addressSpace": { + "addressPrefixes": [ "10.0.0.0/16" ] }, - "subnets" : [], - "virtualNetworkPeerings" : [] + "subnets": [], + "virtualNetworkPeerings": [] } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualWANDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualWANDelete.json index a0b3d613aa03..54b85d3b9829 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualWANDelete.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualWANDelete.json @@ -1,13 +1,13 @@ { - "parameters": { - "VirtualWANName": "virtualWan1", - "resourceGroupName": "rg1", - "api-version": "2019-04-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { }, - "202": { }, - "204": { } - } + "parameters": { + "VirtualWANName": "virtualWan1", + "resourceGroupName": "rg1", + "api-version": "2019-04-01", + "subscriptionId": "subid" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualWANGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualWANGet.json index 0edbecfaa91e..962d9561f688 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualWANGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualWANGet.json @@ -1,34 +1,34 @@ { - "parameters": { - "VirtualWANName": "wan1", - "resourceGroupName": "rg1", - "api-version": "2019-04-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWANs/wan1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "location": "West US", - "name": "wan1", - "type": "Microsoft.Network/virtualWANs", - "tags": { - "key1": "value1" - }, - "properties": { - "provisioningState": "Succeeded", - "disableVpnEncryption": false, - "virtualHubs": [ - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1", - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub2" - ], - "vpnSites": [ - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1", - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite2" - ] - } - } + "parameters": { + "VirtualWANName": "wan1", + "resourceGroupName": "rg1", + "api-version": "2019-04-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWANs/wan1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "name": "wan1", + "type": "Microsoft.Network/virtualWANs", + "tags": { + "key1": "value1" + }, + "properties": { + "provisioningState": "Succeeded", + "disableVpnEncryption": false, + "virtualHubs": [ + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1", + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub2" + ], + "vpnSites": [ + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1", + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite2" + ] } + } } + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualWANList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualWANList.json index 81b6fcdeaffa..963d9abc2f45 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualWANList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualWANList.json @@ -7,50 +7,50 @@ "200": { "body": { "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWANs/wan1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "location": "West US", - "name": "wan1", - "type": "Microsoft.Network/virtualWANs", - "tags": { - "key1": "value1" - }, - "properties": { - "provisioningState": "Succeeded", - "disableVpnEncryption": false, - "virtualHubs": [ - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1", - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub2" - ], - "vpnSites": [ - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1", - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite2" - ] - } + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWANs/wan1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "name": "wan1", + "type": "Microsoft.Network/virtualWANs", + "tags": { + "key1": "value1" }, - { - "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualWANs/wan2", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "location": "East US", - "name": "wan2", - "type": "Microsoft.Network/virtualWANs", - "tags": { - "key1": "value1" - }, - "properties": { - "provisioningState": "Succeeded", - "disableVpnEncryption": false, - "virtualHubs": [ - "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualHubs/hub1", - "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualHubs/hub2" - ], - "vpnSites": [ - "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/vpnSites/vpnSite1", - "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/vpnSites/vpnSite2" - ] - } + "properties": { + "provisioningState": "Succeeded", + "disableVpnEncryption": false, + "virtualHubs": [ + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1", + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub2" + ], + "vpnSites": [ + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1", + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite2" + ] } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualWANs/wan2", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "East US", + "name": "wan2", + "type": "Microsoft.Network/virtualWANs", + "tags": { + "key1": "value1" + }, + "properties": { + "provisioningState": "Succeeded", + "disableVpnEncryption": false, + "virtualHubs": [ + "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualHubs/hub1", + "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualHubs/hub2" + ], + "vpnSites": [ + "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/vpnSites/vpnSite1", + "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/vpnSites/vpnSite2" + ] + } + } ] } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualWANListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualWANListByResourceGroup.json index b299dbaf4d30..5a67575cf63a 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualWANListByResourceGroup.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualWANListByResourceGroup.json @@ -8,50 +8,50 @@ "200": { "body": { "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWANs/wan1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "location": "West US", - "name": "wan1", - "type": "Microsoft.Network/virtualWANs", - "tags": { - "key1": "value1" - }, - "properties": { - "provisioningState": "Succeeded", - "disableVpnEncryption": false, - "virtualHubs": [ - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1", - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub2" - ], - "vpnSites": [ - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1", - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite2" - ] - } + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWANs/wan1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "name": "wan1", + "type": "Microsoft.Network/virtualWANs", + "tags": { + "key1": "value1" }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWANs/wan2", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "location": "East US", - "name": "wan2", - "type": "Microsoft.Network/virtualWANs", - "tags": { - "key1": "value1" - }, - "properties": { - "provisioningState": "Succeeded", - "disableVpnEncryption": false, - "virtualHubs": [ - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub3", - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub4" - ], - "vpnSites": [ - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite3", - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite4" - ] - } + "properties": { + "provisioningState": "Succeeded", + "disableVpnEncryption": false, + "virtualHubs": [ + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1", + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub2" + ], + "vpnSites": [ + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1", + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite2" + ] } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWANs/wan2", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "East US", + "name": "wan2", + "type": "Microsoft.Network/virtualWANs", + "tags": { + "key1": "value1" + }, + "properties": { + "provisioningState": "Succeeded", + "disableVpnEncryption": false, + "virtualHubs": [ + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub3", + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub4" + ], + "vpnSites": [ + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite3", + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite4" + ] + } + } ] } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualWANPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualWANPut.json index b57b8c24df1b..6b46f6f8582e 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualWANPut.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualWANPut.json @@ -1,67 +1,67 @@ { - "parameters": { - "VirtualWANName": "wan1", - "resourceGroupName": "rg1", - "api-version": "2019-04-01", - "subscriptionId": "subid", - "WANParameters": { - "location": "West US", - "tags": { - "key1": "value1" - }, - "properties": { - "disableVpnEncryption": false - } + "parameters": { + "VirtualWANName": "wan1", + "resourceGroupName": "rg1", + "api-version": "2019-04-01", + "subscriptionId": "subid", + "WANParameters": { + "location": "West US", + "tags": { + "key1": "value1" + }, + "properties": { + "disableVpnEncryption": false + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWANs/wan1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "name": "wan1", + "type": "Microsoft.Network/virtualWANs", + "tags": { + "key1": "value1" + }, + "properties": { + "provisioningState": "Succeeded", + "disableVpnEncryption": false, + "virtualHubs": [ + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1", + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub2" + ], + "vpnSites": [ + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1", + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite2" + ] } + } }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWANs/wan1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "location": "West US", - "name": "wan1", - "type": "Microsoft.Network/virtualWANs", - "tags": { - "key1": "value1" - }, - "properties": { - "provisioningState": "Succeeded", - "disableVpnEncryption": false, - "virtualHubs": [ - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1", - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub2" - ], - "vpnSites": [ - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1", - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite2" - ] - } - } + "201": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWANs/wan1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "name": "wan1", + "type": "Microsoft.Network/virtualWANs", + "tags": { + "key1": "value1" }, - "201": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWANs/wan1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "location": "West US", - "name": "wan1", - "type": "Microsoft.Network/virtualWANs", - "tags": { - "key1": "value1" - }, - "properties": { - "provisioningState": "Succeeded", - "disableVpnEncryption": false, - "virtualHubs": [ - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1", - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub2" - ], - "vpnSites": [ - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1", - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite2" - ] - } - } + "properties": { + "provisioningState": "Succeeded", + "disableVpnEncryption": false, + "virtualHubs": [ + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1", + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub2" + ], + "vpnSites": [ + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1", + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite2" + ] } + } } + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualWANUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualWANUpdateTags.json index 70decbba90e2..01ff8ad39328 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualWANUpdateTags.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualWANUpdateTags.json @@ -1,66 +1,66 @@ { - "parameters": { - "VirtualWANName": "wan1", - "resourceGroupName": "rg1", - "api-version": "2019-04-01", - "subscriptionId": "subid", - "WANParameters": { - "tags": { - "key1": "value1", - "key2": "value2" - } + "parameters": { + "VirtualWANName": "wan1", + "resourceGroupName": "rg1", + "api-version": "2019-04-01", + "subscriptionId": "subid", + "WANParameters": { + "tags": { + "key1": "value1", + "key2": "value2" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWANs/wan1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "name": "wan1", + "type": "Microsoft.Network/virtualWANs", + "tags": { + "key1": "value1", + "key2": "value2" + }, + "properties": { + "provisioningState": "Succeeded", + "disableVpnEncryption": false, + "virtualHubs": [ + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1", + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub2" + ], + "vpnSites": [ + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1", + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite2" + ] } + } }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWANs/wan1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "location": "West US", - "name": "wan1", - "type": "Microsoft.Network/virtualWANs", - "tags": { - "key1": "value1", - "key2": "value2" - }, - "properties": { - "provisioningState": "Succeeded", - "disableVpnEncryption": false, - "virtualHubs": [ - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1", - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub2" - ], - "vpnSites": [ - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1", - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite2" - ] - } - } + "201": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWANs/wan1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "name": "wan1", + "type": "Microsoft.Network/virtualWANs", + "tags": { + "key1": "value1", + "key2": "value2" }, - "201": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWANs/wan1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "location": "West US", - "name": "wan1", - "type": "Microsoft.Network/virtualWANs", - "tags": { - "key1": "value1", - "key2": "value2" - }, - "properties": { - "provisioningState": "Succeeded", - "disableVpnEncryption": false, - "virtualHubs": [ - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1", - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub2" - ], - "vpnSites": [ - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1", - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite2" - ] - } - } + "properties": { + "provisioningState": "Succeeded", + "disableVpnEncryption": false, + "virtualHubs": [ + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1", + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub2" + ], + "vpnSites": [ + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1", + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite2" + ] } + } } + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VmssNetworkInterfaceGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VmssNetworkInterfaceGet.json index de8b2d4a7ec5..bb1b21c63014 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VmssNetworkInterfaceGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VmssNetworkInterfaceGet.json @@ -1,62 +1,62 @@ { - "parameters" : { + "parameters": { "api-version": "2017-03-30", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", - "networkInterfaceName" : "nic1", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkInterfaceName": "nic1", "virtualMachineScaleSetName": "vmss1", "virtualmachineIndex": "1" }, - "responses" : { - "200" : { - "body" : { - "name" : "nic1", - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1", - "properties" : { - "provisioningState" : "Succeeded", - "ipConfigurations" : [ + "responses": { + "200": { + "body": { + "name": "nic1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1", + "properties": { + "provisioningState": "Succeeded", + "ipConfigurations": [ { - "name" : "ip1", - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1/ipConfigurations/ip1", - "properties" : { - "provisioningState" : "Succeeded", - "privateIPAddress" : "10.0.0.5", - "privateIPAllocationMethod" : "Dynamic", - "publicIPAddress" : { - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1/ipConfigurations/ip1/publicIPAddresses/pub1" + "name": "ip1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1/ipConfigurations/ip1", + "properties": { + "provisioningState": "Succeeded", + "privateIPAddress": "10.0.0.5", + "privateIPAllocationMethod": "Dynamic", + "publicIPAddress": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1/ipConfigurations/ip1/publicIPAddresses/pub1" }, - "subnet" : { - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1" + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1" }, - "primary" : true, - "privateIPAddressVersion" : "IPv4", - "loadBalancerBackendAddressPools" : [ + "primary": true, + "privateIPAddressVersion": "IPv4", + "loadBalancerBackendAddressPools": [ { - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/addressPool1" + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/addressPool1" } ], - "loadBalancerInboundNatRules" : [ + "loadBalancerInboundNatRules": [ { - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natPool1.1" + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natPool1.1" } ] } } ], - "dnsSettings" : { - "dnsServers" : [], - "appliedDnsServers" : [], - "internalDomainNameSuffix" : "dns.cdmx.internal.cloudapp.net" + "dnsSettings": { + "dnsServers": [], + "appliedDnsServers": [], + "internalDomainNameSuffix": "dns.cdmx.internal.cloudapp.net" }, - "macAddress" : "00-00-00-00-00-00", - "enableAcceleratedNetworking" : false, - "enableIPForwarding" : false, - "networkSecurityGroup" : { - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1" + "macAddress": "00-00-00-00-00-00", + "enableAcceleratedNetworking": false, + "enableIPForwarding": false, + "networkSecurityGroup": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1" }, - "primary" : true, - "virtualMachine" : { - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1" + "primary": true, + "virtualMachine": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1" } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VmssNetworkInterfaceIpConfigGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VmssNetworkInterfaceIpConfigGet.json index 445dae399b7d..3b0b460e3e5d 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VmssNetworkInterfaceIpConfigGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VmssNetworkInterfaceIpConfigGet.json @@ -1,16 +1,16 @@ { - "parameters" : { + "parameters": { "api-version": "2017-03-30", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", + "subscriptionId": "subid", + "resourceGroupName": "rg1", "virtualMachineScaleSetName": "vmss1", "virtualmachineIndex": "2", "networkInterfaceName": "nic1", "ipConfigurationName": "ip1" }, - "responses" : { - "200" : { - "body" : { + "responses": { + "200": { + "body": { "name": "ip1", "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/2/networkInterfaces/nic1/ipConfigurations/ip1", "properties": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VmssNetworkInterfaceIpConfigList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VmssNetworkInterfaceIpConfigList.json index 1758de1ee444..096c72dd6cd5 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VmssNetworkInterfaceIpConfigList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VmssNetworkInterfaceIpConfigList.json @@ -1,15 +1,15 @@ { - "parameters" : { + "parameters": { "api-version": "2017-03-30", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", + "subscriptionId": "subid", + "resourceGroupName": "rg1", "virtualMachineScaleSetName": "vmss1", "virtualmachineIndex": "2", "networkInterfaceName": "nic1" }, - "responses" : { - "200" : { - "body" : { + "responses": { + "200": { + "body": { "value": [ { "name": "ip1", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VmssNetworkInterfaceList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VmssNetworkInterfaceList.json index aa3be3aba845..a554ba43fc16 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VmssNetworkInterfaceList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VmssNetworkInterfaceList.json @@ -1,13 +1,13 @@ { - "parameters" : { + "parameters": { "api-version": "2017-03-30", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", + "subscriptionId": "subid", + "resourceGroupName": "rg1", "virtualMachineScaleSetName": "vmss1" }, - "responses" : { - "200" : { - "body" : { + "responses": { + "200": { + "body": { "value": [ { "name": "nic1", @@ -42,7 +42,7 @@ ] } } - ], + ], "dnsSettings": { "dnsServers": [], "appliedDnsServers": [], @@ -74,7 +74,7 @@ "privateIPAddress": "10.0.0.5", "privateIPAllocationMethod": "Dynamic", "publicIPAddress": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1/ipConfigurations/ip1/publicIPAddresses/pub1" + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1/ipConfigurations/ip1/publicIPAddresses/pub1" }, "subnet": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1" diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VmssVmNetworkInterfaceList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VmssVmNetworkInterfaceList.json index e44ecaa437fd..b351fa9dce32 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VmssVmNetworkInterfaceList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VmssVmNetworkInterfaceList.json @@ -1,14 +1,14 @@ { - "parameters" : { + "parameters": { "api-version": "2017-03-30", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", + "subscriptionId": "subid", + "resourceGroupName": "rg1", "virtualMachineScaleSetName": "vmss1", "virtualmachineIndex": "1" }, - "responses" : { - "200" : { - "body" : { + "responses": { + "200": { + "body": { "value": [ { "name": "nic1", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VpnConnectionDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VpnConnectionDelete.json index b5e3331c4d07..c3b1e90ecb3e 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VpnConnectionDelete.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VpnConnectionDelete.json @@ -7,8 +7,8 @@ "subscriptionId": "subid" }, "responses": { - "200": { }, - "202": { }, - "204": { } + "200": {}, + "202": {}, + "204": {} } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VpnConnectionGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VpnConnectionGet.json index a00a8fdaeac6..0862363f2f88 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VpnConnectionGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VpnConnectionGet.json @@ -25,9 +25,9 @@ "connectionBandwidth": 100, "sharedKey": "key", "enableBgp": false, - "usePolicyBasedTrafficSelectors": false, + "usePolicyBasedTrafficSelectors": false, "useLocalAzureIpAddress": false, - "ipsecPolicies": [ ] + "ipsecPolicies": [] } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VpnConnectionList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VpnConnectionList.json index 7b1d78a4f455..01b653d52dd5 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VpnConnectionList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VpnConnectionList.json @@ -27,7 +27,7 @@ "enableBgp": false, "usePolicyBasedTrafficSelectors": false, "useLocalAzureIpAddress": false, - "ipsecPolicies": [ ] + "ipsecPolicies": [] } } ] diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VpnConnectionPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VpnConnectionPut.json index 69d084e3ebca..1fcf79f8234c 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VpnConnectionPut.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VpnConnectionPut.json @@ -10,7 +10,7 @@ "remoteVpnSite": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" }, - "vpnConnectionProtocolType" : "IKEv1", + "vpnConnectionProtocolType": "IKEv1", "sharedKey": "key" } } @@ -33,9 +33,9 @@ "connectionBandwidth": 100, "sharedKey": "key", "enableBgp": false, - "usePolicyBasedTrafficSelectors": false, + "usePolicyBasedTrafficSelectors": false, "useLocalAzureIpAddress": false, - "ipsecPolicies": [ ] + "ipsecPolicies": [] } }, "201": { @@ -55,9 +55,9 @@ "connectionBandwidth": 100, "sharedKey": "key", "enableBgp": false, - "usePolicyBasedTrafficSelectors": false, + "usePolicyBasedTrafficSelectors": false, "useLocalAzureIpAddress": false, - "ipsecPolicies": [ ] + "ipsecPolicies": [] } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VpnGatewayDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VpnGatewayDelete.json index 6e64b42aca09..7dd8f4dafa51 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VpnGatewayDelete.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VpnGatewayDelete.json @@ -1,13 +1,13 @@ { "parameters": { - "gatewayName": "gateway1", + "gatewayName": "gateway1", "resourceGroupName": "rg1", "api-version": "2019-04-01", "subscriptionId": "subid" }, "responses": { - "200": { }, - "202": { }, - "204": { } + "200": {}, + "202": {}, + "204": {} } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VpnGatewayGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VpnGatewayGet.json index ba45c31c9f1f..d7b25191dea6 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VpnGatewayGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VpnGatewayGet.json @@ -36,7 +36,7 @@ "sharedKey": "key", "enableBgp": false, "useLocalAzureIpAddress": false, - "ipsecPolicies": [ ] + "ipsecPolicies": [] } } ], diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VpnGatewayList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VpnGatewayList.json index 8a862227ccb0..14d86a48fbd3 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VpnGatewayList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VpnGatewayList.json @@ -37,7 +37,7 @@ "sharedKey": "key", "enableBgp": false, "useLocalAzureIpAddress": false, - "ipsecPolicies": [ ] + "ipsecPolicies": [] } } ], @@ -77,7 +77,7 @@ "sharedKey": "key", "enableBgp": false, "useLocalAzureIpAddress": false, - "ipsecPolicies": [ ] + "ipsecPolicies": [] } } ], diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VpnGatewayListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VpnGatewayListByResourceGroup.json index 4a1a50be1ec9..755690f8cd0e 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VpnGatewayListByResourceGroup.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VpnGatewayListByResourceGroup.json @@ -37,7 +37,7 @@ "sharedKey": "key", "enableBgp": false, "useLocalAzureIpAddress": false, - "ipsecPolicies": [ ] + "ipsecPolicies": [] } } ], @@ -77,7 +77,7 @@ "sharedKey": "key", "enableBgp": false, "useLocalAzureIpAddress": false, - "ipsecPolicies": [ ] + "ipsecPolicies": [] } } ], diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VpnGatewayPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VpnGatewayPut.json index 8c3b8c657a93..997bced17a2b 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VpnGatewayPut.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VpnGatewayPut.json @@ -62,7 +62,7 @@ "sharedKey": "key", "enableBgp": false, "useLocalAzureIpAddress": false, - "ipsecPolicies": [ ] + "ipsecPolicies": [] } } ], @@ -102,7 +102,7 @@ "sharedKey": "key", "enableBgp": false, "useLocalAzureIpAddress": false, - "ipsecPolicies": [ ] + "ipsecPolicies": [] } } ], diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VpnGatewayReset.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VpnGatewayReset.json index 5d9ab982bfc4..df92b5b73889 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VpnGatewayReset.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VpnGatewayReset.json @@ -6,7 +6,7 @@ "subscriptionId": "subid" }, "responses": { - "202" : { }, + "202": {}, "200": { "body": { "name": "vpngw", @@ -37,7 +37,7 @@ "sharedKey": "key", "enableBgp": false, "useLocalAzureIpAddress": false, - "ipsecPolicies": [ ] + "ipsecPolicies": [] } } ], diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VpnGatewayUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VpnGatewayUpdateTags.json index c5b8b2ee7ee5..8ac4a427e4d7 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VpnGatewayUpdateTags.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VpnGatewayUpdateTags.json @@ -44,7 +44,7 @@ "connectionBandwidthInMbps": 100, "sharedKey": "key", "enableBgp": false, - "ipsecPolicies": [ ] + "ipsecPolicies": [] } } ], @@ -91,7 +91,7 @@ "connectionBandwidthInMbps": 100, "sharedKey": "key", "enableBgp": false, - "ipsecPolicies": [ ] + "ipsecPolicies": [] } } ], diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VpnSiteDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VpnSiteDelete.json index e633c22a5433..73b88dbd3b2b 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VpnSiteDelete.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VpnSiteDelete.json @@ -6,8 +6,8 @@ "subscriptionId": "subid" }, "responses": { - "200": { }, - "202": { }, - "204": { } + "200": {}, + "202": {}, + "204": {} } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/WafListAllPolicies.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/WafListAllPolicies.json index a4c0565f1dc5..3411ba26585c 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/WafListAllPolicies.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/WafListAllPolicies.json @@ -25,27 +25,27 @@ }, "customRules": [ { - "name": "Rule1", - "priority": 1, - "ruleType": "MatchRule", - "matchConditions": [ + "name": "Rule1", + "priority": 1, + "ruleType": "MatchRule", + "matchConditions": [ + { + "matchVariables": [ { - "matchVariables": [ - { - "variableName": "RemoteAddr", - "selector": null - } - ], - "operator": "IPMatch", - "negationConditon": false, - "matchValues": [ - "192.168.1.0/24", - "10.0.0.0/24" - ], - "transforms": [] + "variableName": "RemoteAddr", + "selector": null } - ], - "action": "Block" + ], + "operator": "IPMatch", + "negationConditon": false, + "matchValues": [ + "192.168.1.0/24", + "10.0.0.0/24" + ], + "transforms": [] + } + ], + "action": "Block" }, { "name": "Rule2", @@ -88,4 +88,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/WafListPolicies.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/WafListPolicies.json index 04ef04dc8e70..8f0981f3385d 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/WafListPolicies.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/WafListPolicies.json @@ -26,27 +26,27 @@ }, "customRules": [ { - "name": "Rule1", - "priority": 1, - "ruleType": "MatchRule", - "matchConditions": [ + "name": "Rule1", + "priority": 1, + "ruleType": "MatchRule", + "matchConditions": [ + { + "matchVariables": [ { - "matchVariables": [ - { - "variableName": "RemoteAddr", - "selector": null - } - ], - "operator": "IPMatch", - "negationConditon": false, - "matchValues": [ - "192.168.1.0/24", - "10.0.0.0/24" - ], - "transforms": [] + "variableName": "RemoteAddr", + "selector": null } - ], - "action": "Block" + ], + "operator": "IPMatch", + "negationConditon": false, + "matchValues": [ + "192.168.1.0/24", + "10.0.0.0/24" + ], + "transforms": [] + } + ], + "action": "Block" }, { "name": "Rule2", @@ -89,4 +89,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/WafPolicyCreateOrUpdate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/WafPolicyCreateOrUpdate.json index cd00453497f1..11e5195b604d 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/WafPolicyCreateOrUpdate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/WafPolicyCreateOrUpdate.json @@ -43,7 +43,7 @@ ], "operator": "IPMatch", "matchValues": [ - "192.168.1.0/24" + "192.168.1.0/24" ] }, { @@ -55,7 +55,7 @@ ], "operator": "Contains", "matchValues": [ - "Windows" + "Windows" ] } ], @@ -85,27 +85,27 @@ }, "customRules": [ { - "name": "Rule1", - "priority": 1, - "ruleType": "MatchRule", - "matchConditions": [ + "name": "Rule1", + "priority": 1, + "ruleType": "MatchRule", + "matchConditions": [ + { + "matchVariables": [ { - "matchVariables": [ - { - "variableName": "RemoteAddr", - "selector": null - } - ], - "operator": "IPMatch", - "negationConditon": false, - "matchValues": [ - "192.168.1.0/24", - "10.0.0.0/24" - ], - "transforms": [] + "variableName": "RemoteAddr", + "selector": null } - ], - "action": "Block" + ], + "operator": "IPMatch", + "negationConditon": false, + "matchValues": [ + "192.168.1.0/24", + "10.0.0.0/24" + ], + "transforms": [] + } + ], + "action": "Block" }, { "name": "Rule2", @@ -164,27 +164,27 @@ }, "customRules": [ { - "name": "Rule1", - "priority": 1, - "ruleType": "MatchRule", - "matchConditions": [ + "name": "Rule1", + "priority": 1, + "ruleType": "MatchRule", + "matchConditions": [ + { + "matchVariables": [ { - "matchVariables": [ - { - "variableName": "RemoteAddr", - "selector": null - } - ], - "operator": "IPMatch", - "negationConditon": false, - "matchValues": [ - "192.168.1.0/24", - "10.0.0.0/24" - ], - "transforms": [] + "variableName": "RemoteAddr", + "selector": null } - ], - "action": "Block" + ], + "operator": "IPMatch", + "negationConditon": false, + "matchValues": [ + "192.168.1.0/24", + "10.0.0.0/24" + ], + "transforms": [] + } + ], + "action": "Block" }, { "name": "Rule2", @@ -225,4 +225,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/WafPolicyDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/WafPolicyDelete.json index d4366f7fd795..dcfc95fbba81 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/WafPolicyDelete.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/WafPolicyDelete.json @@ -10,4 +10,4 @@ "202": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/WafPolicyGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/WafPolicyGet.json index 8dd6dcbc2a5b..905974343390 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/WafPolicyGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/WafPolicyGet.json @@ -25,27 +25,27 @@ }, "customRules": [ { - "name": "Rule1", - "priority": 1, - "ruleType": "MatchRule", - "matchConditions": [ + "name": "Rule1", + "priority": 1, + "ruleType": "MatchRule", + "matchConditions": [ + { + "matchVariables": [ { - "matchVariables": [ - { - "variableName": "RemoteAddr", - "selector": null - } - ], - "operator": "IPMatch", - "negationConditon": false, - "matchValues": [ - "192.168.1.0/24", - "10.0.0.0/24" - ], - "transforms": [] + "variableName": "RemoteAddr", + "selector": null } - ], - "action": "Block" + ], + "operator": "IPMatch", + "negationConditon": false, + "matchValues": [ + "192.168.1.0/24", + "10.0.0.0/24" + ], + "transforms": [] + } + ], + "action": "Block" }, { "name": "Rule2", @@ -86,4 +86,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/expressRouteCircuit.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/expressRouteCircuit.json index b8fb07680cb3..3062fd1d0d3c 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/expressRouteCircuit.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/expressRouteCircuit.json @@ -86,7 +86,9 @@ "final-state-via": "location" }, "x-ms-examples": { - "Delete ExpressRouteCircuit Authorization": { "$ref": "./examples/ExpressRouteCircuitAuthorizationDelete.json" } + "Delete ExpressRouteCircuit Authorization": { + "$ref": "./examples/ExpressRouteCircuitAuthorizationDelete.json" + } } }, "get": { @@ -133,7 +135,9 @@ } }, "x-ms-examples": { - "Get ExpressRouteCircuit Authorization": { "$ref": "./examples/ExpressRouteCircuitAuthorizationGet.json" } + "Get ExpressRouteCircuit Authorization": { + "$ref": "./examples/ExpressRouteCircuitAuthorizationGet.json" + } } }, "put": { @@ -199,7 +203,9 @@ "final-state-via": "azure-async-operation" }, "x-ms-examples": { - "Create ExpressRouteCircuit Authorization": { "$ref": "./examples/ExpressRouteCircuitAuthorizationCreate.json" } + "Create ExpressRouteCircuit Authorization": { + "$ref": "./examples/ExpressRouteCircuitAuthorizationCreate.json" + } } } }, @@ -244,7 +250,9 @@ "nextLinkName": "nextLink" }, "x-ms-examples": { - "List ExpressRouteCircuit Authorization": { "$ref": "./examples/ExpressRouteCircuitAuthorizationList.json" } + "List ExpressRouteCircuit Authorization": { + "$ref": "./examples/ExpressRouteCircuitAuthorizationList.json" + } } } }, @@ -300,7 +308,9 @@ "final-state-via": "location" }, "x-ms-examples": { - "Delete ExpressRouteCircuit Peerings": { "$ref": "./examples/ExpressRouteCircuitPeeringDelete.json" } + "Delete ExpressRouteCircuit Peerings": { + "$ref": "./examples/ExpressRouteCircuitPeeringDelete.json" + } } }, "get": { @@ -347,7 +357,9 @@ } }, "x-ms-examples": { - "Get ExpressRouteCircuit Peering": { "$ref": "./examples/ExpressRouteCircuitPeeringGet.json" } + "Get ExpressRouteCircuit Peering": { + "$ref": "./examples/ExpressRouteCircuitPeeringGet.json" + } } }, "put": { @@ -413,7 +425,9 @@ "final-state-via": "azure-async-operation" }, "x-ms-examples": { - "Create ExpressRouteCircuit Peerings": { "$ref": "./examples/ExpressRouteCircuitPeeringCreate.json" } + "Create ExpressRouteCircuit Peerings": { + "$ref": "./examples/ExpressRouteCircuitPeeringCreate.json" + } } } }, @@ -457,8 +471,10 @@ "x-ms-pageable": { "nextLinkName": "nextLink" }, - "x-ms-examples":{ - "List ExpressRouteCircuit Peerings": { "$ref": "./examples/ExpressRouteCircuitPeeringList.json" } + "x-ms-examples": { + "List ExpressRouteCircuit Peerings": { + "$ref": "./examples/ExpressRouteCircuitPeeringList.json" + } } } }, @@ -517,7 +533,9 @@ } }, "x-ms-examples": { - "Delete ExpressRouteCircuit": { "$ref": "./examples/ExpressRouteCircuitConnectionDelete.json" } + "Delete ExpressRouteCircuit": { + "$ref": "./examples/ExpressRouteCircuitConnectionDelete.json" + } }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { @@ -704,7 +722,9 @@ "nextLinkName": "nextLink" }, "x-ms-examples": { - "List ExpressRouteCircuit Connection": { "$ref": "./examples/ExpressRouteCircuitConnectionList.json" } + "List ExpressRouteCircuit Connection": { + "$ref": "./examples/ExpressRouteCircuitConnectionList.json" + } } } }, @@ -814,7 +834,9 @@ "nextLinkName": "nextLink" }, "x-ms-examples": { - "List Peer ExpressRouteCircuit Connection": { "$ref": "./examples/PeerExpressRouteCircuitConnectionList.json" } + "List Peer ExpressRouteCircuit Connection": { + "$ref": "./examples/PeerExpressRouteCircuitConnectionList.json" + } } } }, @@ -863,7 +885,9 @@ "final-state-via": "location" }, "x-ms-examples": { - "Delete ExpressRouteCircuit": { "$ref": "./examples/ExpressRouteCircuitDelete.json" } + "Delete ExpressRouteCircuit": { + "$ref": "./examples/ExpressRouteCircuitDelete.json" + } } }, "get": { @@ -903,7 +927,9 @@ } }, "x-ms-examples": { - "Get ExpressRouteCircuit": { "$ref": "./examples/ExpressRouteCircuitGet.json" } + "Get ExpressRouteCircuit": { + "$ref": "./examples/ExpressRouteCircuitGet.json" + } } }, "put": { @@ -962,8 +988,12 @@ "final-state-via": "azure-async-operation" }, "x-ms-examples": { - "Create ExpressRouteCircuit": { "$ref": "./examples/ExpressRouteCircuitCreate.json" }, - "Create ExpressRouteCircuit on ExpressRoutePort": { "$ref": "./examples/ExpressRouteCircuitCreateOnExpressRoutePort.json" } + "Create ExpressRouteCircuit": { + "$ref": "./examples/ExpressRouteCircuitCreate.json" + }, + "Create ExpressRouteCircuit on ExpressRoutePort": { + "$ref": "./examples/ExpressRouteCircuitCreateOnExpressRoutePort.json" + } } }, "patch": { @@ -1078,7 +1108,9 @@ "final-state-via": "location" }, "x-ms-examples": { - "List ARP Table": { "$ref": "./examples/ExpressRouteCircuitARPTableList.json" } + "List ARP Table": { + "$ref": "./examples/ExpressRouteCircuitARPTableList.json" + } } } }, @@ -1141,7 +1173,9 @@ "final-state-via": "location" }, "x-ms-examples": { - "List Route Tables": { "$ref": "./examples/ExpressRouteCircuitRouteTableList.json" } + "List Route Tables": { + "$ref": "./examples/ExpressRouteCircuitRouteTableList.json" + } } } }, @@ -1204,7 +1238,9 @@ "final-state-via": "location" }, "x-ms-examples": { - "List Route Table Summary": { "$ref": "./examples/ExpressRouteCircuitRouteTableSummaryList.json" } + "List Route Table Summary": { + "$ref": "./examples/ExpressRouteCircuitRouteTableSummaryList.json" + } } } }, @@ -1246,7 +1282,9 @@ } }, "x-ms-examples": { - "Get ExpressRoute Circuit Traffic Stats": { "$ref": "./examples/ExpressRouteCircuitStats.json" } + "Get ExpressRoute Circuit Traffic Stats": { + "$ref": "./examples/ExpressRouteCircuitStats.json" + } } } }, @@ -1295,7 +1333,9 @@ } }, "x-ms-examples": { - "Get ExpressRoute Circuit Peering Traffic Stats": { "$ref": "./examples/ExpressRouteCircuitPeeringStats.json" } + "Get ExpressRoute Circuit Peering Traffic Stats": { + "$ref": "./examples/ExpressRouteCircuitPeeringStats.json" + } } } }, @@ -1333,7 +1373,9 @@ "nextLinkName": "nextLink" }, "x-ms-examples": { - "List ExpressRouteCircuits in a resource group": { "$ref": "./examples/ExpressRouteCircuitListByResourceGroup.json" } + "List ExpressRouteCircuits in a resource group": { + "$ref": "./examples/ExpressRouteCircuitListByResourceGroup.json" + } } } }, @@ -1364,7 +1406,9 @@ "nextLinkName": "nextLink" }, "x-ms-examples": { - "List ExpressRouteCircuits in a subscription": { "$ref": "./examples/ExpressRouteCircuitListBySubscription.json" } + "List ExpressRouteCircuits in a subscription": { + "$ref": "./examples/ExpressRouteCircuitListBySubscription.json" + } } } }, @@ -1395,7 +1439,9 @@ "nextLinkName": "nextLink" }, "x-ms-examples": { - "List ExpressRoute providers": { "$ref": "./examples/ExpressRouteProviderList.json" } + "List ExpressRoute providers": { + "$ref": "./examples/ExpressRouteProviderList.json" + } } } } @@ -1651,7 +1697,7 @@ "$ref": "#/definitions/Ipv6ExpressRouteCircuitPeeringConfig", "description": "The IPv6 peering configuration." }, - "expressRouteConnection" : { + "expressRouteConnection": { "$ref": "./expressRouteGateway.json#/definitions/ExpressRouteConnectionId", "description": "The ExpressRoute connection." }, diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/expressRouteCrossConnection.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/expressRouteCrossConnection.json index a78676767a39..faa5f9c77656 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/expressRouteCrossConnection.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/expressRouteCrossConnection.json @@ -109,11 +109,11 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}": { "get": { - "tags": [ - "ExpressRouteCrossConnections" - ], - "operationId": "ExpressRouteCrossConnections_Get", - "description": "Gets details about the specified ExpressRouteCrossConnection.", + "tags": [ + "ExpressRouteCrossConnections" + ], + "operationId": "ExpressRouteCrossConnections_Get", + "description": "Gets details about the specified ExpressRouteCrossConnection.", "parameters": [ { "name": "resourceGroupName", @@ -176,7 +176,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/ExpressRouteCrossConnection" + "$ref": "#/definitions/ExpressRouteCrossConnection" }, "description": "Parameters supplied to the update express route crossConnection operation." }, @@ -192,7 +192,7 @@ "description": "Update successful. The operation returns the resulting ExpressRouteCrossConnection resource.", "schema": { "$ref": "#/definitions/ExpressRouteCrossConnection" - } + } } }, "x-ms-examples": { @@ -207,48 +207,48 @@ }, "patch": { "tags": [ - "ExpressRouteCrossConnections" + "ExpressRouteCrossConnections" ], "operationId": "ExpressRouteCrossConnections_UpdateTags", "description": "Updates an express route cross connection tags.", "parameters": [ - { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group." - }, - { - "name": "crossConnectionName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the cross connection." - }, - { - "name": "crossConnectionParameters", - "in": "body", - "required": true, - "schema": { - "$ref": "./network.json#/definitions/TagsObject" + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." }, - "description": "Parameters supplied to update express route cross connection tags." - }, - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - } + { + "name": "crossConnectionName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the cross connection." + }, + { + "name": "crossConnectionParameters", + "in": "body", + "required": true, + "schema": { + "$ref": "./network.json#/definitions/TagsObject" + }, + "description": "Parameters supplied to update express route cross connection tags." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } ], "responses": { - "200": { - "description": "Update successful. The operation returns the resulting ExpressRouteCrossConnection resource.", - "schema": { - "$ref": "#/definitions/ExpressRouteCrossConnection" + "200": { + "description": "Update successful. The operation returns the resulting ExpressRouteCrossConnection resource.", + "schema": { + "$ref": "#/definitions/ExpressRouteCrossConnection" + } } - } }, "x-ms-examples": { "UpdateExpressRouteCrossConnectionTags": { @@ -719,7 +719,7 @@ "ExpressRouteCircuitReference": { "properties": { "id": { - "type":"string", + "type": "string", "description": "Corresponding Express Route Circuit Id." } }, diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/expressRouteGateway.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/expressRouteGateway.json index 2a12c51d90f1..e7aad735e851 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/expressRouteGateway.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/expressRouteGateway.json @@ -1,640 +1,640 @@ { - "swagger": "2.0", - "info": { - "title": "NetworkManagementClient", - "description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.", - "version": "2019-04-01" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] + "swagger": "2.0", + "info": { + "title": "NetworkManagementClient", + "description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.", + "version": "2019-04-01" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow.", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteGateways": { + "get": { + "tags": [ + "ExpressRouteGateways" + ], + "operationId": "ExpressRouteGateways_ListBySubscription", + "x-ms-examples": { + "ExpressRouteGatewayListBySubscription": { + "$ref": "./examples/ExpressRouteGatewayListBySubscription.json" + } + }, + "description": "Lists ExpressRoute gateways under a given subscription.", + "parameters": [ + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful.", + "schema": { + "$ref": "#/definitions/ExpressRouteGatewayList" + } + } } - ], - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "description": "Azure Active Directory OAuth2 Flow.", - "scopes": { - "user_impersonation": "impersonate your user account" + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways": { + "get": { + "tags": [ + "ExpressRouteGateways" + ], + "operationId": "ExpressRouteGateways_ListByResourceGroup", + "x-ms-examples": { + "ExpressRouteGatewayListByResourceGroup": { + "$ref": "./examples/ExpressRouteGatewayListByResourceGroup.json" + } + }, + "description": "Lists ExpressRoute gateways in a given resource group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Operation successful.", + "schema": { + "$ref": "#/definitions/ExpressRouteGatewayList" } + } } + } }, - "paths": { - "/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteGateways": { - "get": { - "tags": [ - "ExpressRouteGateways" - ], - "operationId": "ExpressRouteGateways_ListBySubscription", - "x-ms-examples": { - "ExpressRouteGatewayListBySubscription": { - "$ref": "./examples/ExpressRouteGatewayListBySubscription.json" - } - }, - "description": "Lists ExpressRoute gateways under a given subscription.", - "parameters": [ - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Request successful.", - "schema": { - "$ref": "#/definitions/ExpressRouteGatewayList" - } - } - } + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}": { + "put": { + "tags": [ + "ExpressRouteGateways" + ], + "operationId": "ExpressRouteGateways_CreateOrUpdate", + "x-ms-examples": { + "ExpressRouteGatewayCreate": { + "$ref": "./examples/ExpressRouteGatewayCreate.json" + } + }, + "description": "Creates or updates a ExpressRoute gateway in a specified resource group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "expressRouteGatewayName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the ExpressRoute gateway." + }, + { + "name": "putExpressRouteGatewayParameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ExpressRouteGateway" + }, + "description": "Parameters required in an ExpressRoute gateway PUT operation." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Update successful. The operation returns the resulting ExpressRoute gateway resource.", + "schema": { + "$ref": "#/definitions/ExpressRouteGateway" + } + }, + "201": { + "description": "Create successful. The operation returns the resulting ExpressRoute gateway resource.", + "schema": { + "$ref": "#/definitions/ExpressRouteGateway" } + } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways": { - "get": { - "tags": [ - "ExpressRouteGateways" - ], - "operationId": "ExpressRouteGateways_ListByResourceGroup", - "x-ms-examples": { - "ExpressRouteGatewayListByResourceGroup": { - "$ref": "./examples/ExpressRouteGatewayListByResourceGroup.json" - } - }, - "description": "Lists ExpressRoute gateways in a given resource group.", - "parameters": [ - { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group." - }, - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Operation successful.", - "schema": { - "$ref": "#/definitions/ExpressRouteGatewayList" - } - } - } + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } + }, + "get": { + "tags": [ + "ExpressRouteGateways" + ], + "operationId": "ExpressRouteGateways_Get", + "x-ms-examples": { + "ExpressRouteGatewayGet": { + "$ref": "./examples/ExpressRouteGatewayGet.json" + } + }, + "description": "Fetches the details of a ExpressRoute gateway in a resource group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "expressRouteGatewayName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the ExpressRoute gateway." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Operation succeeded. The operation returns the ExpressRoute gateway.", + "schema": { + "$ref": "#/definitions/ExpressRouteGateway" } + } + } + }, + "delete": { + "tags": [ + "ExpressRouteGateways" + ], + "operationId": "ExpressRouteGateways_Delete", + "x-ms-examples": { + "ExpressRouteGatewayDelete": { + "$ref": "./examples/ExpressRouteGatewayDelete.json" + } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}": { - "put": { - "tags": [ - "ExpressRouteGateways" - ], - "operationId": "ExpressRouteGateways_CreateOrUpdate", - "x-ms-examples": { - "ExpressRouteGatewayCreate": { - "$ref": "./examples/ExpressRouteGatewayCreate.json" - } - }, - "description": "Creates or updates a ExpressRoute gateway in a specified resource group.", - "parameters": [ - { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group." - }, - { - "name": "expressRouteGatewayName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the ExpressRoute gateway." - }, - { - "name": "putExpressRouteGatewayParameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/ExpressRouteGateway" - }, - "description": "Parameters required in an ExpressRoute gateway PUT operation." - }, - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Update successful. The operation returns the resulting ExpressRoute gateway resource.", - "schema": { - "$ref": "#/definitions/ExpressRouteGateway" - } - }, - "201": { - "description": "Create successful. The operation returns the resulting ExpressRoute gateway resource.", - "schema": { - "$ref": "#/definitions/ExpressRouteGateway" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - } - }, - "get": { - "tags": [ - "ExpressRouteGateways" - ], - "operationId": "ExpressRouteGateways_Get", - "x-ms-examples": { - "ExpressRouteGatewayGet": { - "$ref": "./examples/ExpressRouteGatewayGet.json" - } - }, - "description": "Fetches the details of a ExpressRoute gateway in a resource group.", - "parameters": [ - { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group." - }, - { - "name": "expressRouteGatewayName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the ExpressRoute gateway." - }, - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Operation succeeded. The operation returns the ExpressRoute gateway.", - "schema": { - "$ref": "#/definitions/ExpressRouteGateway" - } - } - } + "description": "Deletes the specified ExpressRoute gateway in a resource group. An ExpressRoute gateway resource can only be deleted when there are no connection subresources.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "expressRouteGatewayName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the ExpressRoute gateway." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "202": { + "description": "Accepted and the operation will complete asynchronously." + }, + "200": { + "description": "Delete successful." + }, + "204": { + "description": "Delete successful." + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}/expressRouteConnections/{connectionName}": { + "put": { + "tags": [ + "ExpressRouteConnections" + ], + "operationId": "ExpressRouteConnections_CreateOrUpdate", + "x-ms-examples": { + "ExpressRouteConnectionCreate": { + "$ref": "./examples/ExpressRouteConnectionCreate.json" + } + }, + "description": "Creates a connection between an ExpressRoute gateway and an ExpressRoute circuit.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "expressRouteGatewayName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the ExpressRoute gateway." + }, + { + "name": "connectionName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the connection subresource." + }, + { + "name": "putExpressRouteConnectionParameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ExpressRouteConnection" }, - "delete": { - "tags": [ - "ExpressRouteGateways" - ], - "operationId": "ExpressRouteGateways_Delete", - "x-ms-examples": { - "ExpressRouteGatewayDelete": { - "$ref": "./examples/ExpressRouteGatewayDelete.json" - } - }, - "description": "Deletes the specified ExpressRoute gateway in a resource group. An ExpressRoute gateway resource can only be deleted when there are no connection subresources.", - "parameters": [ - { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group." - }, - { - "name": "expressRouteGatewayName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the ExpressRoute gateway." - }, - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "202": { - "description": "Accepted and the operation will complete asynchronously." - }, - "200": { - "description": "Delete successful." - }, - "204": { - "description": "Delete successful." - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - } + "description": "Parameters required in an ExpressRouteConnection PUT operation." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Update successful. The operation returns the ExpressRouteConnection.", + "schema": { + "$ref": "#/definitions/ExpressRouteConnection" + } + }, + "201": { + "description": "Create successful. The operation returns the ExpressRouteConnection.", + "schema": { + "$ref": "#/definitions/ExpressRouteConnection" } + } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}/expressRouteConnections/{connectionName}": { - "put": { - "tags": [ - "ExpressRouteConnections" - ], - "operationId": "ExpressRouteConnections_CreateOrUpdate", - "x-ms-examples": { - "ExpressRouteConnectionCreate": { - "$ref": "./examples/ExpressRouteConnectionCreate.json" - } - }, - "description": "Creates a connection between an ExpressRoute gateway and an ExpressRoute circuit.", - "parameters": [ - { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group." - }, - { - "name": "expressRouteGatewayName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the ExpressRoute gateway." - }, - { - "name": "connectionName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the connection subresource." - }, - { - "name": "putExpressRouteConnectionParameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/ExpressRouteConnection" - }, - "description": "Parameters required in an ExpressRouteConnection PUT operation." - }, - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Update successful. The operation returns the ExpressRouteConnection.", - "schema": { - "$ref": "#/definitions/ExpressRouteConnection" - } - }, - "201": { - "description": "Create successful. The operation returns the ExpressRouteConnection.", - "schema": { - "$ref": "#/definitions/ExpressRouteConnection" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - } - }, - "get": { - "tags": [ - "ExpressRouteConnections" - ], - "operationId": "ExpressRouteConnections_Get", - "x-ms-examples": { - "ExpressRouteConnectionGet": { - "$ref": "./examples/ExpressRouteConnectionGet.json" - } - }, - "description": "Gets the specified ExpressRouteConnection.", - "parameters": [ - { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group." - }, - { - "name": "expressRouteGatewayName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the ExpressRoute gateway." - }, - { - "name": "connectionName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the ExpressRoute connection." - }, - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Request successful. The operation returns the ExpressRouteConnection.", - "schema": { - "$ref": "#/definitions/ExpressRouteConnection" - } - } - } - }, - "delete": { - "tags": [ - "ExpressRouteConnections" - ], - "operationId": "ExpressRouteConnections_Delete", - "x-ms-examples": { - "ExpressRouteConnectionDelete": { - "$ref": "./examples/ExpressRouteConnectionDelete.json" - } - }, - "description": "Deletes a connection to a ExpressRoute circuit.", - "parameters": [ - { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group." - }, - { - "name": "expressRouteGatewayName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the ExpressRoute gateway." - }, - { - "name": "connectionName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the connection subresource." - }, - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "202": { - "description": "Accepted, and the operation will continue asynchronously." - }, - "200": { - "description": "Delete successful." - }, - "204": { - "description": "Delete successful." - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - } + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } + }, + "get": { + "tags": [ + "ExpressRouteConnections" + ], + "operationId": "ExpressRouteConnections_Get", + "x-ms-examples": { + "ExpressRouteConnectionGet": { + "$ref": "./examples/ExpressRouteConnectionGet.json" + } + }, + "description": "Gets the specified ExpressRouteConnection.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "expressRouteGatewayName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the ExpressRoute gateway." + }, + { + "name": "connectionName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the ExpressRoute connection." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns the ExpressRouteConnection.", + "schema": { + "$ref": "#/definitions/ExpressRouteConnection" } + } + } + }, + "delete": { + "tags": [ + "ExpressRouteConnections" + ], + "operationId": "ExpressRouteConnections_Delete", + "x-ms-examples": { + "ExpressRouteConnectionDelete": { + "$ref": "./examples/ExpressRouteConnectionDelete.json" + } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}/expressRouteConnections": { - "get": { - "tags": [ - "ExpressRouteConnections" - ], - "operationId": "ExpressRouteConnections_List", - "x-ms-examples": { - "ExpressRouteConnectionList": { - "$ref": "./examples/ExpressRouteConnectionList.json" - } - }, - "description": "Lists ExpressRouteConnections.", - "parameters": [ - { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group." - }, - { - "name": "expressRouteGatewayName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the ExpressRoute gateway." - }, - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Request successful.", - "schema": { - "$ref": "#/definitions/ExpressRouteConnectionList" - } - } - } + "description": "Deletes a connection to a ExpressRoute circuit.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "expressRouteGatewayName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the ExpressRoute gateway." + }, + { + "name": "connectionName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the connection subresource." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "202": { + "description": "Accepted, and the operation will continue asynchronously." + }, + "200": { + "description": "Delete successful." + }, + "204": { + "description": "Delete successful." + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}/expressRouteConnections": { + "get": { + "tags": [ + "ExpressRouteConnections" + ], + "operationId": "ExpressRouteConnections_List", + "x-ms-examples": { + "ExpressRouteConnectionList": { + "$ref": "./examples/ExpressRouteConnectionList.json" + } + }, + "description": "Lists ExpressRouteConnections.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "expressRouteGatewayName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the ExpressRoute gateway." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful.", + "schema": { + "$ref": "#/definitions/ExpressRouteConnectionList" } + } + } + } + } + }, + "definitions": { + "VirtualHubId": { + "properties": { + "id": { + "type": "string", + "description": "The resource URI for the Virtual Hub where the ExpressRoute gateway is or will be deployed. The Virtual Hub resource and the ExpressRoute gateway resource reside in the same subscription." + } + }, + "description": "Virtual Hub identifier." + }, + "ExpressRouteCircuitPeeringId": { + "properties": { + "id": { + "type": "string", + "description": "The ID of the ExpressRoute circuit peering." + } + }, + "description": "ExpressRoute circuit peering identifier." + }, + "ExpressRouteConnectionId": { + "properties": { + "id": { + "type": "string", + "readOnly": true, + "description": "The ID of the ExpressRouteConnection." } + }, + "description": "The ID of the ExpressRouteConnection." }, - "definitions": { - "VirtualHubId": { - "properties": { - "id": { - "type": "string", - "description": "The resource URI for the Virtual Hub where the ExpressRoute gateway is or will be deployed. The Virtual Hub resource and the ExpressRoute gateway resource reside in the same subscription." + "ExpressRouteGatewayProperties": { + "required": [ + "virtualHub" + ], + "properties": { + "autoScaleConfiguration": { + "properties": { + "bounds": { + "properties": { + "min": { + "type": "integer", + "description": "Minimum number of scale units deployed for ExpressRoute gateway." + }, + "max": { + "type": "integer", + "description": "Maximum number of scale units deployed for ExpressRoute gateway." } - }, - "description": "Virtual Hub identifier." + }, + "description": "Minimum and maximum number of scale units to deploy." + } + }, + "description": "Configuration for auto scaling." }, - "ExpressRouteCircuitPeeringId": { - "properties": { - "id": { - "type": "string", - "description": "The ID of the ExpressRoute circuit peering." - } - }, - "description": "ExpressRoute circuit peering identifier." + "expressRouteConnections": { + "type": "array", + "readOnly": true, + "description": "List of ExpressRoute connections to the ExpressRoute gateway.", + "items": { + "$ref": "#/definitions/ExpressRouteConnection" + } }, - "ExpressRouteConnectionId": { - "properties": { - "id": { - "type": "string", - "readOnly": true, - "description": "The ID of the ExpressRouteConnection." - } - }, - "description": "The ID of the ExpressRouteConnection." + "provisioningState": { + "$ref": "./network.json#/definitions/ProvisioningState", + "description": "The provisioning state of the resource." }, - "ExpressRouteGatewayProperties": { - "required": [ - "virtualHub" - ], - "properties": { - "autoScaleConfiguration": { - "properties": { - "bounds": { - "properties": { - "min": { - "type": "integer", - "description": "Minimum number of scale units deployed for ExpressRoute gateway." - }, - "max": { - "type": "integer", - "description": "Maximum number of scale units deployed for ExpressRoute gateway." - } - }, - "description": "Minimum and maximum number of scale units to deploy." - } - }, - "description": "Configuration for auto scaling." - }, - "expressRouteConnections": { - "type": "array", - "readOnly": true, - "description": "List of ExpressRoute connections to the ExpressRoute gateway.", - "items": { - "$ref": "#/definitions/ExpressRouteConnection" - } - }, - "provisioningState": { - "$ref": "./network.json#/definitions/ProvisioningState", - "description": "The provisioning state of the resource." - }, - "virtualHub": { - "$ref": "#/definitions/VirtualHubId", - "description": "The Virtual Hub where the ExpressRoute gateway is or will be deployed." - } - }, - "description": "ExpressRoute gateway resource properties." + "virtualHub": { + "$ref": "#/definitions/VirtualHubId", + "description": "The Virtual Hub where the ExpressRoute gateway is or will be deployed." + } + }, + "description": "ExpressRoute gateway resource properties." + }, + "ExpressRouteGateway": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ExpressRouteGatewayProperties", + "description": "Properties of the express route gateway." }, - "ExpressRouteGateway": { - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/ExpressRouteGatewayProperties", - "description": "Properties of the express route gateway." - }, - "etag": { - "type": "string", - "readOnly": true, - "description": "A unique read-only string that changes whenever the resource is updated." - } - }, - "allOf": [ - { - "$ref": "./network.json#/definitions/Resource" - } - ], - "description": "ExpressRoute gateway resource." + "etag": { + "type": "string", + "readOnly": true, + "description": "A unique read-only string that changes whenever the resource is updated." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/Resource" + } + ], + "description": "ExpressRoute gateway resource." + }, + "ExpressRouteGatewayList": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/ExpressRouteGateway" + }, + "description": "List of ExpressRoute gateways." + } + }, + "description": "List of ExpressRoute gateways." + }, + "ExpressRouteConnectionProperties": { + "required": [ + "expressRouteCircuitPeering" + ], + "properties": { + "provisioningState": { + "$ref": "./network.json#/definitions/ProvisioningState", + "description": "The provisioning state of the resource." }, - "ExpressRouteGatewayList": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/ExpressRouteGateway" - }, - "description": "List of ExpressRoute gateways." - } - }, - "description": "List of ExpressRoute gateways." + "expressRouteCircuitPeering": { + "$ref": "#/definitions/ExpressRouteCircuitPeeringId", + "description": "The ExpressRoute circuit peering." }, - "ExpressRouteConnectionProperties": { - "required": [ - "expressRouteCircuitPeering" - ], - "properties": { - "provisioningState": { - "$ref": "./network.json#/definitions/ProvisioningState", - "description": "The provisioning state of the resource." - }, - "expressRouteCircuitPeering": { - "$ref": "#/definitions/ExpressRouteCircuitPeeringId", - "description": "The ExpressRoute circuit peering." - }, - "authorizationKey": { - "type": "string", - "description": "Authorization key to establish the connection." - }, - "routingWeight": { - "type": "integer", - "description": "The routing weight associated to the connection." - } - }, - "description": "Properties of the ExpressRouteConnection subresource." + "authorizationKey": { + "type": "string", + "description": "Authorization key to establish the connection." }, - "ExpressRouteConnection": { - "required": [ - "name" - ], - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/ExpressRouteConnectionProperties", - "description": "Properties of the express route connection." - }, - "name": { - "type": "string", - "description": "The name of the resource." - } - }, - "allOf": [ - { - "$ref": "./network.json#/definitions/SubResource" - } - ], - "description": "ExpressRouteConnection resource." + "routingWeight": { + "type": "integer", + "description": "The routing weight associated to the connection." + } + }, + "description": "Properties of the ExpressRouteConnection subresource." + }, + "ExpressRouteConnection": { + "required": [ + "name" + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ExpressRouteConnectionProperties", + "description": "Properties of the express route connection." }, - "ExpressRouteConnectionList": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/ExpressRouteConnection" - }, - "description": "The list of ExpressRoute connections." - } - }, - "description": "ExpressRouteConnection list." + "name": { + "type": "string", + "description": "The name of the resource." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/SubResource" + } + ], + "description": "ExpressRouteConnection resource." + }, + "ExpressRouteConnectionList": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/ExpressRouteConnection" + }, + "description": "The list of ExpressRoute connections." } + }, + "description": "ExpressRouteConnection list." } + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/expressRoutePort.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/expressRoutePort.json index 868fbae9cc51..f7fcbcf806b5 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/expressRoutePort.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/expressRoutePort.json @@ -1,753 +1,775 @@ { - "swagger": "2.0", - "info": { - "title": "NetworkManagementClient", - "description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.", - "version": "2019-04-01" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] - } - ], - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "description": "Azure Active Directory OAuth2 Flow.", - "scopes": { - "user_impersonation": "impersonate your user account" + "swagger": "2.0", + "info": { + "title": "NetworkManagementClient", + "description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.", + "version": "2019-04-01" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow.", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/ExpressRoutePortsLocations": { + "get": { + "tags": [ + "ExpressRoutePortsLocations" + ], + "operationId": "ExpressRoutePortsLocations_List", + "description": "Retrieves all ExpressRoutePort peering locations. Does not return available bandwidths for each location. Available bandwidths can only be obtained when retrieving a specific peering location.", + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns the list of all ExpressRoutePort peering locations.", + "schema": { + "$ref": "#/definitions/ExpressRoutePortsLocationListResult" } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "ExpressRoutePortsLocationList": { + "$ref": "./examples/ExpressRoutePortsLocationList.json" + } } + } }, - "paths": { - "/subscriptions/{subscriptionId}/providers/Microsoft.Network/ExpressRoutePortsLocations": { - "get": { - "tags": [ - "ExpressRoutePortsLocations" - ], - "operationId": "ExpressRoutePortsLocations_List", - "description": "Retrieves all ExpressRoutePort peering locations. Does not return available bandwidths for each location. Available bandwidths can only be obtained when retrieving a specific peering location.", - "parameters": [ - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Request successful. The operation returns the list of all ExpressRoutePort peering locations.", - "schema": { - "$ref": "#/definitions/ExpressRoutePortsLocationListResult" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "ExpressRoutePortsLocationList": { "$ref": "./examples/ExpressRoutePortsLocationList.json" } - } + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/ExpressRoutePortsLocations/{locationName}": { + "get": { + "tags": [ + "ExpressRoutePortsLocations" + ], + "operationId": "ExpressRoutePortsLocations_Get", + "description": "Retrieves a single ExpressRoutePort peering location, including the list of available bandwidths available at said peering location.", + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "name": "locationName", + "in": "path", + "required": true, + "type": "string", + "description": "Name of the requested ExpressRoutePort peering location." + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns the requested ExpressRoutePort peering location.", + "schema": { + "$ref": "#/definitions/ExpressRoutePortsLocation" } + } + }, + "x-ms-examples": { + "ExpressRoutePortsLocationGet": { + "$ref": "./examples/ExpressRoutePortsLocationGet.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}": { + "delete": { + "tags": [ + "ExpressRoutePorts" + ], + "operationId": "ExpressRoutePorts_Delete", + "description": "Deletes the specified ExpressRoutePort resource.", + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "expressRoutePortName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the ExpressRoutePort resource." + } + ], + "responses": { + "200": { + "description": "Delete successful." + }, + "202": { + "description": "Accepted and the operation will complete asynchronously." + }, + "204": { + "description": "Request successful. Resource does not exist." + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Network/ExpressRoutePortsLocations/{locationName}": { - "get": { - "tags": [ - "ExpressRoutePortsLocations" - ], - "operationId": "ExpressRoutePortsLocations_Get", - "description": "Retrieves a single ExpressRoutePort peering location, including the list of available bandwidths available at said peering location.", - "parameters": [ - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "name": "locationName", - "in": "path", - "required": true, - "type": "string", - "description": "Name of the requested ExpressRoutePort peering location." - } - ], - "responses": { - "200": { - "description": "Request successful. The operation returns the requested ExpressRoutePort peering location.", - "schema": { - "$ref": "#/definitions/ExpressRoutePortsLocation" - } - } - }, - "x-ms-examples": { - "ExpressRoutePortsLocationGet": { "$ref": "./examples/ExpressRoutePortsLocationGet.json" } - } + "x-ms-examples": { + "ExpressRoutePortDelete": { + "$ref": "./examples/ExpressRoutePortDelete.json" + } + } + }, + "get": { + "tags": [ + "ExpressRoutePorts" + ], + "operationId": "ExpressRoutePorts_Get", + "description": "Retrieves the requested ExpressRoutePort resource.", + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "expressRoutePortName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of ExpressRoutePort." + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns the requested ExpressRoutePort resource.", + "schema": { + "$ref": "#/definitions/ExpressRoutePort" } + } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}": { - "delete": { - "tags": [ - "ExpressRoutePorts" - ], - "operationId": "ExpressRoutePorts_Delete", - "description": "Deletes the specified ExpressRoutePort resource.", - "parameters": [ - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group." - }, - { - "name": "expressRoutePortName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the ExpressRoutePort resource." - } - ], - "responses": { - "200": { - "description": "Delete successful." - }, - "202": { - "description": "Accepted and the operation will complete asynchronously." - }, - "204": { - "description": "Request successful. Resource does not exist." - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-examples": { - "ExpressRoutePortDelete": { "$ref": "./examples/ExpressRoutePortDelete.json" } - } - }, - "get": { - "tags": [ - "ExpressRoutePorts" - ], - "operationId": "ExpressRoutePorts_Get", - "description": "Retrieves the requested ExpressRoutePort resource.", - "parameters": [ - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group." - }, - { - "name": "expressRoutePortName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of ExpressRoutePort." - } - ], - "responses": { - "200": { - "description": "Request successful. The operation returns the requested ExpressRoutePort resource.", - "schema": { - "$ref": "#/definitions/ExpressRoutePort" - } - } - }, - "x-ms-examples": { - "ExpressRoutePortGet": { "$ref": "./examples/ExpressRoutePortGet.json" } - } - }, - "put": { - "tags": [ - "ExpressRoutePorts" - ], - "operationId": "ExpressRoutePorts_CreateOrUpdate", - "description": "Creates or updates the specified ExpressRoutePort resource.", - "parameters": [ - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group." - }, - { - "name": "expressRoutePortName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the ExpressRoutePort resource." - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/ExpressRoutePort" - }, - "description": "Parameters supplied to the create ExpressRoutePort operation." - } - ], - "responses": { - "200": { - "description": "Update successful. The operation returns the resulting ExpressRoutePort resource.", - "schema": { - "$ref": "#/definitions/ExpressRoutePort" - } - }, - "201": { - "description": "Create successful. The operation returns the resulting ExpressRoutePort resource.", - "schema": { - "$ref": "#/definitions/ExpressRoutePort" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-examples": { - "ExpressRoutePortCreate": { "$ref": "./examples/ExpressRoutePortCreate.json" }, - "ExpressRoutePortUpdateLink": { "$ref": "./examples/ExpressRoutePortUpdateLink.json" } - } + "x-ms-examples": { + "ExpressRoutePortGet": { + "$ref": "./examples/ExpressRoutePortGet.json" + } + } + }, + "put": { + "tags": [ + "ExpressRoutePorts" + ], + "operationId": "ExpressRoutePorts_CreateOrUpdate", + "description": "Creates or updates the specified ExpressRoutePort resource.", + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "expressRoutePortName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the ExpressRoutePort resource." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ExpressRoutePort" }, - "patch": { - "tags": [ - "ExpressRoutePorts" - ], - "operationId": "ExpressRoutePorts_UpdateTags", - "description": "Update ExpressRoutePort tags.", - "parameters": [ - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group." - }, - { - "name": "expressRoutePortName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the ExpressRoutePort resource." - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "./network.json#/definitions/TagsObject" - }, - "description": "Parameters supplied to update ExpressRoutePort resource tags." - } - ], - "responses": { - "200": { - "description": "Update successful. The operation returns the resulting ExpressRoutePort resource.", - "schema": { - "$ref": "#/definitions/ExpressRoutePort" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-examples": { - "ExpressRoutePortUpdateTags": { "$ref": "./examples/ExpressRoutePortUpdateTags.json" } - } + "description": "Parameters supplied to the create ExpressRoutePort operation." + } + ], + "responses": { + "200": { + "description": "Update successful. The operation returns the resulting ExpressRoutePort resource.", + "schema": { + "$ref": "#/definitions/ExpressRoutePort" } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts": { - "get": { - "tags": [ - "ExpressRoutePorts" - ], - "operationId": "ExpressRoutePorts_ListByResourceGroup", - "description": "List all the ExpressRoutePort resources in the specified resource group.", - "parameters": [ - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group." - } - ], - "responses": { - "200": { - "description": "Request successful. The operation returns a list of ExpressRoutePort resources. If there are no ExpressRoutePort resources then an empty list is returned.", - "schema": { - "$ref": "#/definitions/ExpressRoutePortListResult" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "ExpressRoutePortListByResourceGroup": { "$ref": "./examples/ExpressRoutePortListByResourceGroup.json" } - } + }, + "201": { + "description": "Create successful. The operation returns the resulting ExpressRoutePort resource.", + "schema": { + "$ref": "#/definitions/ExpressRoutePort" } + } }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Network/ExpressRoutePorts": { - "get": { - "tags": [ - "ExpressRoutePorts" - ], - "operationId": "ExpressRoutePorts_List", - "description": "List all the ExpressRoutePort resources in the specified subscription.", - "parameters": [ - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Request successful. The operation returns a list of ExpressRoutePort resources. If there are no ExpressRoutePort resources then an empty list is returned.", - "schema": { - "$ref": "#/definitions/ExpressRoutePortListResult" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "ExpressRoutePortList": { "$ref": "./examples/ExpressRoutePortList.json" } - } - } + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}/links/{linkName}": { - "get": { - "tags": [ - "ExpressRouteLinks" - ], - "operationId": "ExpressRouteLinks_Get", - "description": "Retrieves the specified ExpressRouteLink resource.", - "parameters": [ - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group." - }, - { - "name": "expressRoutePortName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the ExpressRoutePort resource." - }, - { - "name": "linkName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the ExpressRouteLink resource." - } - ], - "responses": { - "200": { - "description": "Request successful. The operation returns the requested ExpressRouteLink resource.", - "schema": { - "$ref": "#/definitions/ExpressRouteLink" - } - } - }, - "x-ms-examples": { - "ExpressRouteLinkGet": { "$ref": "./examples/ExpressRouteLinkGet.json" } - } + "x-ms-examples": { + "ExpressRoutePortCreate": { + "$ref": "./examples/ExpressRoutePortCreate.json" + }, + "ExpressRoutePortUpdateLink": { + "$ref": "./examples/ExpressRoutePortUpdateLink.json" + } + } + }, + "patch": { + "tags": [ + "ExpressRoutePorts" + ], + "operationId": "ExpressRoutePorts_UpdateTags", + "description": "Update ExpressRoutePort tags.", + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "expressRoutePortName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the ExpressRoutePort resource." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "./network.json#/definitions/TagsObject" + }, + "description": "Parameters supplied to update ExpressRoutePort resource tags." + } + ], + "responses": { + "200": { + "description": "Update successful. The operation returns the resulting ExpressRoutePort resource.", + "schema": { + "$ref": "#/definitions/ExpressRoutePort" } + } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}/links": { - "get": { - "tags": [ - "ExpressRouteLinks" - ], - "operationId": "ExpressRouteLinks_List", - "description": "Retrieve the ExpressRouteLink sub-resources of the specified ExpressRoutePort resource.", - "parameters": [ - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group." - }, - { - "name": "expressRoutePortName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the ExpressRoutePort resource." - } - ], - "responses": { - "200": { - "description": "Request successful. The operation returns a list of ExpressRouteLink resources. If there are no ExpressRouteLink resources then an empty list is returned.", - "schema": { - "$ref": "#/definitions/ExpressRouteLinkListResult" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "ExpressRouteLinkGet": { "$ref": "./examples/ExpressRouteLinkList.json" } - } - } + "x-ms-long-running-operation": true, + "x-ms-examples": { + "ExpressRoutePortUpdateTags": { + "$ref": "./examples/ExpressRoutePortUpdateTags.json" + } } + } }, - "definitions": { - "ExpressRoutePortsLocationBandwidths": { - "title": "ExpressRoutePorts Location Bandwidths", - "description" : "Real-time inventory of available ExpressRoute port bandwidths.", - "properties": { - "offerName": { - "type": "string", - "readOnly": true, - "description": "Bandwidth descriptive name." - }, - "valueInGbps": { - "type": "integer", - "readOnly": true, - "description": "Bandwidth value in Gbps." - } + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts": { + "get": { + "tags": [ + "ExpressRoutePorts" + ], + "operationId": "ExpressRoutePorts_ListByResourceGroup", + "description": "List all the ExpressRoutePort resources in the specified resource group.", + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns a list of ExpressRoutePort resources. If there are no ExpressRoutePort resources then an empty list is returned.", + "schema": { + "$ref": "#/definitions/ExpressRoutePortListResult" } + } }, - "ExpressRoutePortsLocationPropertiesFormat": { - "title": "ExpressRoutePorts Location Properties", - "description" : "Properties specific to ExpressRoutePorts peering location resources.", - "properties": { - "address": { - "type": "string", - "readOnly": true, - "description": "Address of peering location." - }, - "contact": { - "type": "string", - "readOnly": true, - "description": "Contact details of peering locations." - }, - "availableBandwidths": { - "type": "array", - "items": { - "$ref": "#/definitions/ExpressRoutePortsLocationBandwidths" - }, - "description": "The inventory of available ExpressRoutePort bandwidths." - }, - "provisioningState": { - "type": "string", - "readOnly": true, - "description": "The provisioning state of the ExpressRoutePortLocation resource. Possible values are: 'Succeeded', 'Updating', 'Deleting', and 'Failed'." - } - } + "x-ms-pageable": { + "nextLinkName": "nextLink" }, - "ExpressRoutePortsLocation": { - "title": "ExpressRoutePorts Peering Location", - "description": "Definition of the ExpressRoutePorts peering location resource.", - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/ExpressRoutePortsLocationPropertiesFormat", - "description": "ExpressRoutePort peering location properties." - } - }, - "allOf": [ - { - "$ref": "./network.json#/definitions/Resource" - } - ] - }, - "ExpressRoutePortsLocationListResult": { - "title": "ExpressRoutePorts Location List Result", - "description": "Response for ListExpressRoutePortsLocations API service call.", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/ExpressRoutePortsLocation" - }, - "description": "The list of all ExpressRoutePort peering locations." - }, - "nextLink": { - "type": "string", - "description": "The URL to get the next set of results." - } + "x-ms-examples": { + "ExpressRoutePortListByResourceGroup": { + "$ref": "./examples/ExpressRoutePortListByResourceGroup.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/ExpressRoutePorts": { + "get": { + "tags": [ + "ExpressRoutePorts" + ], + "operationId": "ExpressRoutePorts_List", + "description": "List all the ExpressRoutePort resources in the specified subscription.", + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns a list of ExpressRoutePort resources. If there are no ExpressRoutePort resources then an empty list is returned.", + "schema": { + "$ref": "#/definitions/ExpressRoutePortListResult" } + } }, - "ExpressRouteLinkPropertiesFormat": { - "title": "ExpressRouteLink Resource Properties", - "description": "Properties specific to ExpressRouteLink resources.", - "properties": { - "routerName": { - "readOnly": true, - "type": "string", - "description": "Name of Azure router associated with physical port." - }, - "interfaceName": { - "readOnly": true, - "type": "string", - "description": "Name of Azure router interface." - }, - "patchPanelId": { - "readOnly": true, - "type": "string", - "description": "Mapping between physical port to patch panel port." - }, - "rackId": { - "readOnly": true, - "type": "string", - "description": "Mapping of physical patch panel to rack." - }, - "connectorType": { - "readOnly": true, - "type": "string", - "description": "Physical fiber port type.", - "enum": [ - "LC", - "SC" - ], - "x-ms-enum": { - "name": "ExpressRouteLinkConnectorType", - "modelAsString": true - } - }, - "adminState": { - "type": "string", - "description": "Administrative state of the physical port.", - "enum": [ - "Enabled", - "Disabled" - ], - "x-ms-enum": { - "name": "ExpressRouteLinkAdminState", - "modelAsString": true - } - }, - "provisioningState": { - "type": "string", - "readOnly": true, - "description": "The provisioning state of the ExpressRouteLink resource. Possible values are: 'Succeeded', 'Updating', 'Deleting', and 'Failed'." - } - } + "x-ms-pageable": { + "nextLinkName": "nextLink" }, - "ExpressRouteLink": { - "title" : "ExpressRouteLink", - "description": "ExpressRouteLink child resource definition.", - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/ExpressRouteLinkPropertiesFormat", - "description": "ExpressRouteLink properties." - }, - "name": { - "type": "string", - "description": "Name of child port resource that is unique among child port resources of the parent." - }, - "etag": { - "readOnly": true, - "type": "string", - "description": "A unique read-only string that changes whenever the resource is updated." - } - }, - "allOf": [ - { - "$ref": "./network.json#/definitions/SubResource" - } - ] - }, - "ExpressRouteLinkListResult": { - "title": "ExpressRouteLink List Result", - "description": "Response for ListExpressRouteLinks API service call.", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/ExpressRouteLink" - }, - "description": "The list of ExpressRouteLink sub-resources." - }, - "nextLink": { - "type": "string", - "description": "The URL to get the next set of results." - } + "x-ms-examples": { + "ExpressRoutePortList": { + "$ref": "./examples/ExpressRoutePortList.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}/links/{linkName}": { + "get": { + "tags": [ + "ExpressRouteLinks" + ], + "operationId": "ExpressRouteLinks_Get", + "description": "Retrieves the specified ExpressRouteLink resource.", + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "expressRoutePortName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the ExpressRoutePort resource." + }, + { + "name": "linkName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the ExpressRouteLink resource." + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns the requested ExpressRouteLink resource.", + "schema": { + "$ref": "#/definitions/ExpressRouteLink" } + } }, - "ExpressRoutePortPropertiesFormat": { - "title": "ExpressRoutePort Properties", - "description" : "Properties specific to ExpressRoutePort resources.", - "properties": { - "peeringLocation": { - "type": "string", - "description": "The name of the peering location that the ExpressRoutePort is mapped to physically." - }, - "bandwidthInGbps": { - "type": "integer", - "description": "Bandwidth of procured ports in Gbps." - }, - "provisionedBandwidthInGbps": { - "readOnly": true, - "type": "number", - "description": "Aggregate Gbps of associated circuit bandwidths." - }, - "mtu": { - "readOnly": true, - "type": "string", - "description": "Maximum transmission unit of the physical port pair(s)." - }, - "encapsulation": { - "type": "string", - "description": "Encapsulation method on physical ports.", - "enum": [ - "Dot1Q", - "QinQ" - ], - "x-ms-enum": { - "name": "ExpressRoutePortsEncapsulation", - "modelAsString": true - } - }, - "etherType": { - "readOnly": true, - "type": "string", - "description": "Ether type of the physical port." - }, - "allocationDate": { - "readOnly": true, - "type": "string", - "description": "Date of the physical port allocation to be used in Letter of Authorization." - }, - "links": { - "title" : "ExpressRouteLink Sub-Resources", - "description" : "The set of physical links of the ExpressRoutePort resource.", - "readOnly": false, - "type": "array", - "items": { - "$ref": "#/definitions/ExpressRouteLink" - } - }, - "circuits": { - "readOnly": true, - "type": "array", - "items": { - "$ref": "./network.json#/definitions/SubResource" - }, - "description": "Reference the ExpressRoute circuit(s) that are provisioned on this ExpressRoutePort resource." - }, - "provisioningState": { - "type": "string", - "readOnly": true, - "description": "The provisioning state of the ExpressRoutePort resource. Possible values are: 'Succeeded', 'Updating', 'Deleting', and 'Failed'." - }, - "resourceGuid": { - "type": "string", - "description": "The resource GUID property of the ExpressRoutePort resource." - } + "x-ms-examples": { + "ExpressRouteLinkGet": { + "$ref": "./examples/ExpressRouteLinkGet.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}/links": { + "get": { + "tags": [ + "ExpressRouteLinks" + ], + "operationId": "ExpressRouteLinks_List", + "description": "Retrieve the ExpressRouteLink sub-resources of the specified ExpressRoutePort resource.", + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "expressRoutePortName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the ExpressRoutePort resource." + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns a list of ExpressRouteLink resources. If there are no ExpressRouteLink resources then an empty list is returned.", + "schema": { + "$ref": "#/definitions/ExpressRouteLinkListResult" } + } }, - "ExpressRoutePort": { - "title": "ExpressRoute Port", - "description": "ExpressRoutePort resource definition.", - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/ExpressRoutePortPropertiesFormat", - "description": "ExpressRoutePort properties." - }, - "etag": { - "readOnly": true, - "type": "string", - "description": "A unique read-only string that changes whenever the resource is updated." - } - }, - "allOf": [ - { - "$ref": "./network.json#/definitions/Resource" - } - ] - }, - "ExpressRoutePortListResult": { - "title": "ExpressRoute Port List Result", - "description": "Response for ListExpressRoutePorts API service call.", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/ExpressRoutePort" - }, - "description": "A list of ExpressRoutePort resources." - }, - "nextLink": { - "type": "string", - "description": "The URL to get the next set of results." - } - } + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "ExpressRouteLinkGet": { + "$ref": "./examples/ExpressRouteLinkList.json" + } + } + } + } + }, + "definitions": { + "ExpressRoutePortsLocationBandwidths": { + "title": "ExpressRoutePorts Location Bandwidths", + "description": "Real-time inventory of available ExpressRoute port bandwidths.", + "properties": { + "offerName": { + "type": "string", + "readOnly": true, + "description": "Bandwidth descriptive name." + }, + "valueInGbps": { + "type": "integer", + "readOnly": true, + "description": "Bandwidth value in Gbps." + } + } + }, + "ExpressRoutePortsLocationPropertiesFormat": { + "title": "ExpressRoutePorts Location Properties", + "description": "Properties specific to ExpressRoutePorts peering location resources.", + "properties": { + "address": { + "type": "string", + "readOnly": true, + "description": "Address of peering location." + }, + "contact": { + "type": "string", + "readOnly": true, + "description": "Contact details of peering locations." + }, + "availableBandwidths": { + "type": "array", + "items": { + "$ref": "#/definitions/ExpressRoutePortsLocationBandwidths" + }, + "description": "The inventory of available ExpressRoutePort bandwidths." + }, + "provisioningState": { + "type": "string", + "readOnly": true, + "description": "The provisioning state of the ExpressRoutePortLocation resource. Possible values are: 'Succeeded', 'Updating', 'Deleting', and 'Failed'." + } + } + }, + "ExpressRoutePortsLocation": { + "title": "ExpressRoutePorts Peering Location", + "description": "Definition of the ExpressRoutePorts peering location resource.", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ExpressRoutePortsLocationPropertiesFormat", + "description": "ExpressRoutePort peering location properties." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/Resource" + } + ] + }, + "ExpressRoutePortsLocationListResult": { + "title": "ExpressRoutePorts Location List Result", + "description": "Response for ListExpressRoutePortsLocations API service call.", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/ExpressRoutePortsLocation" + }, + "description": "The list of all ExpressRoutePort peering locations." + }, + "nextLink": { + "type": "string", + "description": "The URL to get the next set of results." + } + } + }, + "ExpressRouteLinkPropertiesFormat": { + "title": "ExpressRouteLink Resource Properties", + "description": "Properties specific to ExpressRouteLink resources.", + "properties": { + "routerName": { + "readOnly": true, + "type": "string", + "description": "Name of Azure router associated with physical port." + }, + "interfaceName": { + "readOnly": true, + "type": "string", + "description": "Name of Azure router interface." + }, + "patchPanelId": { + "readOnly": true, + "type": "string", + "description": "Mapping between physical port to patch panel port." + }, + "rackId": { + "readOnly": true, + "type": "string", + "description": "Mapping of physical patch panel to rack." + }, + "connectorType": { + "readOnly": true, + "type": "string", + "description": "Physical fiber port type.", + "enum": [ + "LC", + "SC" + ], + "x-ms-enum": { + "name": "ExpressRouteLinkConnectorType", + "modelAsString": true + } + }, + "adminState": { + "type": "string", + "description": "Administrative state of the physical port.", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "ExpressRouteLinkAdminState", + "modelAsString": true + } + }, + "provisioningState": { + "type": "string", + "readOnly": true, + "description": "The provisioning state of the ExpressRouteLink resource. Possible values are: 'Succeeded', 'Updating', 'Deleting', and 'Failed'." + } + } + }, + "ExpressRouteLink": { + "title": "ExpressRouteLink", + "description": "ExpressRouteLink child resource definition.", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ExpressRouteLinkPropertiesFormat", + "description": "ExpressRouteLink properties." + }, + "name": { + "type": "string", + "description": "Name of child port resource that is unique among child port resources of the parent." + }, + "etag": { + "readOnly": true, + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/SubResource" + } + ] + }, + "ExpressRouteLinkListResult": { + "title": "ExpressRouteLink List Result", + "description": "Response for ListExpressRouteLinks API service call.", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/ExpressRouteLink" + }, + "description": "The list of ExpressRouteLink sub-resources." + }, + "nextLink": { + "type": "string", + "description": "The URL to get the next set of results." + } + } + }, + "ExpressRoutePortPropertiesFormat": { + "title": "ExpressRoutePort Properties", + "description": "Properties specific to ExpressRoutePort resources.", + "properties": { + "peeringLocation": { + "type": "string", + "description": "The name of the peering location that the ExpressRoutePort is mapped to physically." + }, + "bandwidthInGbps": { + "type": "integer", + "description": "Bandwidth of procured ports in Gbps." + }, + "provisionedBandwidthInGbps": { + "readOnly": true, + "type": "number", + "description": "Aggregate Gbps of associated circuit bandwidths." + }, + "mtu": { + "readOnly": true, + "type": "string", + "description": "Maximum transmission unit of the physical port pair(s)." + }, + "encapsulation": { + "type": "string", + "description": "Encapsulation method on physical ports.", + "enum": [ + "Dot1Q", + "QinQ" + ], + "x-ms-enum": { + "name": "ExpressRoutePortsEncapsulation", + "modelAsString": true + } + }, + "etherType": { + "readOnly": true, + "type": "string", + "description": "Ether type of the physical port." + }, + "allocationDate": { + "readOnly": true, + "type": "string", + "description": "Date of the physical port allocation to be used in Letter of Authorization." + }, + "links": { + "title": "ExpressRouteLink Sub-Resources", + "description": "The set of physical links of the ExpressRoutePort resource.", + "readOnly": false, + "type": "array", + "items": { + "$ref": "#/definitions/ExpressRouteLink" + } + }, + "circuits": { + "readOnly": true, + "type": "array", + "items": { + "$ref": "./network.json#/definitions/SubResource" + }, + "description": "Reference the ExpressRoute circuit(s) that are provisioned on this ExpressRoutePort resource." + }, + "provisioningState": { + "type": "string", + "readOnly": true, + "description": "The provisioning state of the ExpressRoutePort resource. Possible values are: 'Succeeded', 'Updating', 'Deleting', and 'Failed'." + }, + "resourceGuid": { + "type": "string", + "description": "The resource GUID property of the ExpressRoutePort resource." + } + } + }, + "ExpressRoutePort": { + "title": "ExpressRoute Port", + "description": "ExpressRoutePort resource definition.", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ExpressRoutePortPropertiesFormat", + "description": "ExpressRoutePort properties." + }, + "etag": { + "readOnly": true, + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/Resource" + } + ] + }, + "ExpressRoutePortListResult": { + "title": "ExpressRoute Port List Result", + "description": "Response for ListExpressRoutePorts API service call.", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/ExpressRoutePort" + }, + "description": "A list of ExpressRoutePort resources." + }, + "nextLink": { + "type": "string", + "description": "The URL to get the next set of results." } + } } + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/loadBalancer.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/loadBalancer.json index b752803aaea6..e2db71b7038a 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/loadBalancer.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/loadBalancer.json @@ -12,7 +12,6 @@ "consumes": [ "application/json" ], - "produces": [ "application/json" ], @@ -76,7 +75,9 @@ } }, "x-ms-examples": { - "Delete load balancer": { "$ref": "./examples/LoadBalancerDelete.json" } + "Delete load balancer": { + "$ref": "./examples/LoadBalancerDelete.json" + } }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { @@ -127,7 +128,9 @@ } }, "x-ms-examples": { - "Get load balancer": { "$ref": "./examples/LoadBalancerGet.json" } + "Get load balancer": { + "$ref": "./examples/LoadBalancerGet.json" + } } }, "put": { @@ -182,10 +185,18 @@ } }, "x-ms-examples": { - "Create load balancer": { "$ref": "./examples/LoadBalancerCreate.json" }, - "Create load balancer with Standard SKU": { "$ref": "./examples/LoadBalancerCreateStandardSku.json" }, - "Create load balancer with Frontend IP in Zone 1": { "$ref": "./examples/LoadBalancerCreateWithZones.json" }, - "Create load balancer with inbound nat pool": { "$ref": "./examples/LoadBalancerCreateWithInboundNatPool.json" } + "Create load balancer": { + "$ref": "./examples/LoadBalancerCreate.json" + }, + "Create load balancer with Standard SKU": { + "$ref": "./examples/LoadBalancerCreateStandardSku.json" + }, + "Create load balancer with Frontend IP in Zone 1": { + "$ref": "./examples/LoadBalancerCreateWithZones.json" + }, + "Create load balancer with inbound nat pool": { + "$ref": "./examples/LoadBalancerCreateWithInboundNatPool.json" + } }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { @@ -238,7 +249,9 @@ } }, "x-ms-examples": { - "Update load balancer tags": { "$ref": "./examples/LoadBalancerUpdateTags.json" } + "Update load balancer tags": { + "$ref": "./examples/LoadBalancerUpdateTags.json" + } }, "x-ms-long-running-operation": true } @@ -267,7 +280,9 @@ } }, "x-ms-examples": { - "List all load balancers": { "$ref": "./examples/LoadBalancerListAll.json" } + "List all load balancers": { + "$ref": "./examples/LoadBalancerListAll.json" + } }, "x-ms-pageable": { "nextLinkName": "nextLink" @@ -305,7 +320,9 @@ } }, "x-ms-examples": { - "List load balancers in resource group": { "$ref": "./examples/LoadBalancerList.json" } + "List load balancers in resource group": { + "$ref": "./examples/LoadBalancerList.json" + } }, "x-ms-pageable": { "nextLinkName": "nextLink" @@ -350,7 +367,9 @@ } }, "x-ms-examples": { - "LoadBalancerBackendAddressPoolList": { "$ref": "./examples/LoadBalancerBackendAddressPoolList.json" } + "LoadBalancerBackendAddressPoolList": { + "$ref": "./examples/LoadBalancerBackendAddressPoolList.json" + } }, "x-ms-pageable": { "nextLinkName": "nextLink" @@ -402,7 +421,9 @@ } }, "x-ms-examples": { - "LoadBalancerBackendAddressPoolGet": { "$ref": "./examples/LoadBalancerBackendAddressPoolGet.json" } + "LoadBalancerBackendAddressPoolGet": { + "$ref": "./examples/LoadBalancerBackendAddressPoolGet.json" + } } } }, @@ -444,7 +465,9 @@ } }, "x-ms-examples": { - "LoadBalancerFrontendIPConfigurationList": { "$ref": "./examples/LoadBalancerFrontendIPConfigurationList.json" } + "LoadBalancerFrontendIPConfigurationList": { + "$ref": "./examples/LoadBalancerFrontendIPConfigurationList.json" + } }, "x-ms-pageable": { "nextLinkName": "nextLink" @@ -496,7 +519,9 @@ } }, "x-ms-examples": { - "LoadBalancerFrontendIPConfigurationGet": { "$ref": "./examples/LoadBalancerFrontendIPConfigurationGet.json" } + "LoadBalancerFrontendIPConfigurationGet": { + "$ref": "./examples/LoadBalancerFrontendIPConfigurationGet.json" + } } } }, @@ -541,7 +566,9 @@ "nextLinkName": "nextLink" }, "x-ms-examples": { - "InboundNatRuleList": { "$ref": "./examples/InboundNatRuleList.json" } + "InboundNatRuleList": { + "$ref": "./examples/InboundNatRuleList.json" + } } } }, @@ -593,7 +620,9 @@ } }, "x-ms-examples": { - "InboundNatRuleDelete": { "$ref": "./examples/InboundNatRuleDelete.json" } + "InboundNatRuleDelete": { + "$ref": "./examples/InboundNatRuleDelete.json" + } }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { @@ -651,7 +680,9 @@ } }, "x-ms-examples": { - "InboundNatRuleGet": { "$ref": "./examples/InboundNatRuleGet.json" } + "InboundNatRuleGet": { + "$ref": "./examples/InboundNatRuleGet.json" + } } }, "put": { @@ -717,7 +748,9 @@ "final-state-via": "azure-async-operation" }, "x-ms-examples": { - "InboundNatRuleCreate": { "$ref": "./examples/InboundNatRuleCreate.json" } + "InboundNatRuleCreate": { + "$ref": "./examples/InboundNatRuleCreate.json" + } } } }, @@ -762,7 +795,9 @@ "nextLinkName": "nextLink" }, "x-ms-examples": { - "LoadBalancerLoadBalancingRuleList": { "$ref": "./examples/LoadBalancerLoadBalancingRuleList.json" } + "LoadBalancerLoadBalancingRuleList": { + "$ref": "./examples/LoadBalancerLoadBalancingRuleList.json" + } } } }, @@ -811,7 +846,9 @@ } }, "x-ms-examples": { - "LoadBalancerLoadBalancingRuleGet": { "$ref": "./examples/LoadBalancerLoadBalancingRuleGet.json" } + "LoadBalancerLoadBalancingRuleGet": { + "$ref": "./examples/LoadBalancerLoadBalancingRuleGet.json" + } } } }, @@ -856,7 +893,9 @@ "nextLinkName": "nextLink" }, "x-ms-examples": { - "LoadBalancerOutboundRuleList": { "$ref": "./examples/LoadBalancerOutboundRuleList.json" } + "LoadBalancerOutboundRuleList": { + "$ref": "./examples/LoadBalancerOutboundRuleList.json" + } } } }, @@ -905,7 +944,9 @@ } }, "x-ms-examples": { - "LoadBalancerOutboundRuleGet": { "$ref": "./examples/LoadBalancerOutboundRuleGet.json" } + "LoadBalancerOutboundRuleGet": { + "$ref": "./examples/LoadBalancerOutboundRuleGet.json" + } } } }, @@ -947,8 +988,12 @@ } }, "x-ms-examples": { - "LoadBalancerNetworkInterfaceListVmss": { "$ref": "./examples/LoadBalancerNetworkInterfaceListVmss.json" }, - "LoadBalancerNetworkInterfaceListSimple": { "$ref": "./examples/LoadBalancerNetworkInterfaceListSimple.json" } + "LoadBalancerNetworkInterfaceListVmss": { + "$ref": "./examples/LoadBalancerNetworkInterfaceListVmss.json" + }, + "LoadBalancerNetworkInterfaceListSimple": { + "$ref": "./examples/LoadBalancerNetworkInterfaceListSimple.json" + } }, "x-ms-pageable": { "nextLinkName": "nextLink" @@ -993,7 +1038,9 @@ } }, "x-ms-examples": { - "LoadBalancerProbeList": { "$ref": "./examples/LoadBalancerProbeList.json" } + "LoadBalancerProbeList": { + "$ref": "./examples/LoadBalancerProbeList.json" + } }, "x-ms-pageable": { "nextLinkName": "nextLink" @@ -1045,7 +1092,9 @@ } }, "x-ms-examples": { - "LoadBalancerProbeGet": { "$ref": "./examples/LoadBalancerProbeGet.json" } + "LoadBalancerProbeGet": { + "$ref": "./examples/LoadBalancerProbeGet.json" + } } } } @@ -1119,7 +1168,7 @@ "description": "The reference of the Public IP resource." }, "publicIPPrefix": { - "$ref":"./network.json#/definitions/SubResource", + "$ref": "./network.json#/definitions/SubResource", "description": "The reference of the Public IP Prefix resource." }, "provisioningState": { @@ -1269,7 +1318,7 @@ "disableOutboundSnat": { "type": "boolean", "description": "Configures SNAT for the VMs in the backend pool to use the publicIP address specified in the frontend of the load balancing rule." - }, + }, "provisioningState": { "type": "string", "description": "Gets the provisioning state of the PublicIP resource. Possible values are: 'Updating', 'Deleting', and 'Failed'." @@ -1558,12 +1607,12 @@ } }, "enableTcpReset": { - "type": "boolean", - "description": "Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP." + "type": "boolean", + "description": "Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP." }, "idleTimeoutInMinutes": { - "type": "integer", - "description": "The timeout for the TCP idle connection." + "type": "integer", + "description": "The timeout for the TCP idle connection." } }, "required": [ diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/natGateway.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/natGateway.json index b39fdae839ec..30694ee0856f 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/natGateway.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/natGateway.json @@ -75,7 +75,9 @@ } }, "x-ms-examples": { - "Delete nat gateway": { "$ref": "./examples/NatGatewayDelete.json" } + "Delete nat gateway": { + "$ref": "./examples/NatGatewayDelete.json" + } }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { @@ -126,7 +128,9 @@ } }, "x-ms-examples": { - "Get nat gateway": { "$ref": "./examples/NatGatewayGet.json" } + "Get nat gateway": { + "$ref": "./examples/NatGatewayGet.json" + } } }, "put": { @@ -187,11 +191,13 @@ } }, "x-ms-examples": { - "Create nat gateway": { "$ref": "./examples/NatGatewayCreateOrUpdate.json" } + "Create nat gateway": { + "$ref": "./examples/NatGatewayCreateOrUpdate.json" + } }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" + "final-state-via": "azure-async-operation" } }, "patch": { @@ -240,7 +246,9 @@ } }, "x-ms-examples": { - "Update nat gateway tags": { "$ref": "./examples/NatGatewayUpdateTags.json" } + "Update nat gateway tags": { + "$ref": "./examples/NatGatewayUpdateTags.json" + } } } }, @@ -268,7 +276,9 @@ } }, "x-ms-examples": { - "List all nat gateways": { "$ref": "./examples/NatGatewayListAll.json" } + "List all nat gateways": { + "$ref": "./examples/NatGatewayListAll.json" + } }, "x-ms-pageable": { "nextLinkName": "nextLink" @@ -306,7 +316,9 @@ } }, "x-ms-examples": { - "List nat gateways in resource group": { "$ref": "./examples/NatGatewayList.json" } + "List nat gateways in resource group": { + "$ref": "./examples/NatGatewayList.json" + } }, "x-ms-pageable": { "nextLinkName": "nextLink" diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/network.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/network.json index b60635d2152e..21bc34754f2e 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/network.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/network.json @@ -33,8 +33,7 @@ } } }, - "paths": { - }, + "paths": {}, "definitions": { "ErrorDetails": { "properties": { @@ -204,19 +203,19 @@ }, "description": "Identity for the resource." }, - "ProvisioningState":{ - "type":"string", - "readOnly":true, + "ProvisioningState": { + "type": "string", + "readOnly": true, "description": "The current provisioning state.", - "enum":[ + "enum": [ "Succeeded", "Updating", "Deleting", "Failed" ], - "x-ms-enum":{ - "name":"ProvisioningState", - "modelAsString":true + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true } }, "Access": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/networkInterface.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/networkInterface.json index fffbf735504e..a0115955c46d 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/networkInterface.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/networkInterface.json @@ -75,7 +75,9 @@ } }, "x-ms-examples": { - "Delete network interface": { "$ref": "./examples/NetworkInterfaceDelete.json" } + "Delete network interface": { + "$ref": "./examples/NetworkInterfaceDelete.json" + } }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { @@ -126,7 +128,9 @@ } }, "x-ms-examples": { - "Get network interface": { "$ref": "./examples/NetworkInterfaceGet.json" } + "Get network interface": { + "$ref": "./examples/NetworkInterfaceGet.json" + } } }, "put": { @@ -181,7 +185,9 @@ } }, "x-ms-examples": { - "Create network interface": { "$ref": "./examples/NetworkInterfaceCreate.json" } + "Create network interface": { + "$ref": "./examples/NetworkInterfaceCreate.json" + } }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { @@ -234,7 +240,9 @@ } }, "x-ms-examples": { - "Update network interface tags": { "$ref": "./examples/NetworkInterfaceUpdateTags.json" } + "Update network interface tags": { + "$ref": "./examples/NetworkInterfaceUpdateTags.json" + } }, "x-ms-long-running-operation": true } @@ -263,7 +271,9 @@ } }, "x-ms-examples": { - "List all network interfaces": { "$ref": "./examples/NetworkInterfaceListAll.json" } + "List all network interfaces": { + "$ref": "./examples/NetworkInterfaceListAll.json" + } }, "x-ms-pageable": { "nextLinkName": "nextLink" @@ -301,7 +311,9 @@ } }, "x-ms-examples": { - "List network interfaces in resource group": { "$ref": "./examples/NetworkInterfaceList.json" } + "List network interfaces in resource group": { + "$ref": "./examples/NetworkInterfaceList.json" + } }, "x-ms-pageable": { "nextLinkName": "nextLink" @@ -349,7 +361,9 @@ } }, "x-ms-examples": { - "Show network interface effective route tables": { "$ref": "./examples/NetworkInterfaceEffectiveRouteTableList.json" } + "Show network interface effective route tables": { + "$ref": "./examples/NetworkInterfaceEffectiveRouteTableList.json" + } }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { @@ -398,7 +412,9 @@ } }, "x-ms-examples": { - "List network interface effective network security groups": { "$ref": "./examples/NetworkInterfaceEffectiveNSGList.json" } + "List network interface effective network security groups": { + "$ref": "./examples/NetworkInterfaceEffectiveNSGList.json" + } }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { @@ -447,7 +463,9 @@ "nextLinkName": "nextLink" }, "x-ms-examples": { - "NetworkInterfaceIPConfigurationList": { "$ref": "./examples/NetworkInterfaceIPConfigurationList.json" } + "NetworkInterfaceIPConfigurationList": { + "$ref": "./examples/NetworkInterfaceIPConfigurationList.json" + } } } }, @@ -496,7 +514,9 @@ } }, "x-ms-examples": { - "NetworkInterfaceIPConfigurationGet": { "$ref": "./examples/NetworkInterfaceIPConfigurationGet.json" } + "NetworkInterfaceIPConfigurationGet": { + "$ref": "./examples/NetworkInterfaceIPConfigurationGet.json" + } } } }, @@ -541,7 +561,9 @@ "nextLinkName": "nextLink" }, "x-ms-examples": { - "NetworkInterfaceLoadBalancerList": { "$ref": "./examples/NetworkInterfaceLoadBalancerList.json" } + "NetworkInterfaceLoadBalancerList": { + "$ref": "./examples/NetworkInterfaceLoadBalancerList.json" + } } } }, @@ -592,9 +614,10 @@ "description": "Delete successful." } }, - "x-ms-examples": - { - "Delete tap configuration": { "$ref": "./examples/NetworkInterfaceTapConfigurationDelete.json" } + "x-ms-examples": { + "Delete tap configuration": { + "$ref": "./examples/NetworkInterfaceTapConfigurationDelete.json" + } }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { @@ -644,9 +667,10 @@ } } }, - "x-ms-examples": - { - "Get Network Interface Tap Configurations": { "$ref": "./examples/NetworkInterfaceTapConfigurationGet.json" } + "x-ms-examples": { + "Get Network Interface Tap Configurations": { + "$ref": "./examples/NetworkInterfaceTapConfigurationGet.json" + } } }, "put": { @@ -707,9 +731,10 @@ } } }, - "x-ms-examples": - { - "Create Network Interface Tap Configurations": { "$ref": "./examples/NetworkInterfaceTapConfigurationCreate.json" } + "x-ms-examples": { + "Create Network Interface Tap Configurations": { + "$ref": "./examples/NetworkInterfaceTapConfigurationCreate.json" + } }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { @@ -755,7 +780,9 @@ } }, "x-ms-examples": { - "List virtual network tap configurations": { "$ref": "./examples/NetworkInterfaceTapConfigurationList.json" } + "List virtual network tap configurations": { + "$ref": "./examples/NetworkInterfaceTapConfigurationList.json" + } }, "x-ms-pageable": { "nextLinkName": "nextLink" @@ -795,14 +822,14 @@ "NetworkInterfaceTapConfigurationPropertiesFormat": { "properties": { "virtualNetworkTap": { - "$ref": "./virtualNetworkTap.json#/definitions/VirtualNetworkTap", - "description": "The reference of the Virtual Network Tap resource." - }, - "provisioningState": { - "readOnly": true, - "type": "string", - "description": "The provisioning state of the network interface tap configuration. Possible values are: 'Updating', 'Deleting', and 'Failed'." - } + "$ref": "./virtualNetworkTap.json#/definitions/VirtualNetworkTap", + "description": "The reference of the Virtual Network Tap resource." + }, + "provisioningState": { + "readOnly": true, + "type": "string", + "description": "The provisioning state of the network interface tap configuration. Possible values are: 'Updating', 'Deleting', and 'Failed'." + } }, "description": "Properties of Virtual Network Tap configuration." }, @@ -940,7 +967,7 @@ "description": "The reference of the NetworkSecurityGroup resource." }, "privateEndpoint": { - "readOnly": true, + "readOnly": true, "$ref": "./privateEndpoint.json#/definitions/PrivateEndpoint", "description": "A reference to the private endpoint to which the network interface is linked." }, @@ -1104,7 +1131,7 @@ "tagMap": { "type": "string", "additionalProperties": { - "type":"array", + "type": "array", "items": { "type": "string" }, @@ -1177,14 +1204,14 @@ "type": "string", "description": "The destination address prefix." }, - "sourceAddressPrefixes" : { + "sourceAddressPrefixes": { "type": "array", "items": { "type": "string" }, "description": "The source address prefixes. Expected values include CIDR IP ranges, Default Tags (VirtualNetwork, AzureLoadBalancer, Internet), System Tags, and the asterisk (*)." }, - "destinationAddressPrefixes" : { + "destinationAddressPrefixes": { "type": "array", "items": { "type": "string" diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/networkProfile.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/networkProfile.json index 298437ed6010..df5b3976548e 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/networkProfile.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/networkProfile.json @@ -531,7 +531,7 @@ "description": "IP configuration profile child resource." }, "Container": { - "properties": { }, + "properties": {}, "allOf": [ { "$ref": "./network.json#/definitions/SubResource" diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/networkSecurityGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/networkSecurityGroup.json index 07c398a07ddb..6b7169c58f44 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/networkSecurityGroup.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/networkSecurityGroup.json @@ -75,7 +75,9 @@ } }, "x-ms-examples": { - "Delete network security group": { "$ref": "./examples/NetworkSecurityGroupDelete.json" } + "Delete network security group": { + "$ref": "./examples/NetworkSecurityGroupDelete.json" + } }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { @@ -126,7 +128,9 @@ } }, "x-ms-examples": { - "Get network security group": { "$ref": "./examples/NetworkSecurityGroupGet.json" } + "Get network security group": { + "$ref": "./examples/NetworkSecurityGroupGet.json" + } } }, "put": { @@ -181,8 +185,12 @@ } }, "x-ms-examples": { - "Create network security group": { "$ref": "./examples/NetworkSecurityGroupCreate.json" }, - "Create network security group with rule": { "$ref": "./examples/NetworkSecurityGroupCreateWithRule.json" } + "Create network security group": { + "$ref": "./examples/NetworkSecurityGroupCreate.json" + }, + "Create network security group with rule": { + "$ref": "./examples/NetworkSecurityGroupCreateWithRule.json" + } }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { @@ -235,7 +243,9 @@ } }, "x-ms-examples": { - "Update network security group tags": { "$ref": "./examples/NetworkSecurityGroupUpdateTags.json" } + "Update network security group tags": { + "$ref": "./examples/NetworkSecurityGroupUpdateTags.json" + } }, "x-ms-long-running-operation": true } @@ -264,7 +274,9 @@ } }, "x-ms-examples": { - "List all network security groups": { "$ref": "./examples/NetworkSecurityGroupListAll.json" } + "List all network security groups": { + "$ref": "./examples/NetworkSecurityGroupListAll.json" + } }, "x-ms-pageable": { "nextLinkName": "nextLink" @@ -302,7 +314,9 @@ } }, "x-ms-examples": { - "List network security groups in resource group": { "$ref": "./examples/NetworkSecurityGroupList.json" } + "List network security groups in resource group": { + "$ref": "./examples/NetworkSecurityGroupList.json" + } }, "x-ms-pageable": { "nextLinkName": "nextLink" @@ -357,7 +371,9 @@ } }, "x-ms-examples": { - "Delete network security rule from network security group": { "$ref": "./examples/NetworkSecurityGroupRuleDelete.json" } + "Delete network security rule from network security group": { + "$ref": "./examples/NetworkSecurityGroupRuleDelete.json" + } }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { @@ -408,7 +424,9 @@ } }, "x-ms-examples": { - "Get network security rule in network security group": { "$ref": "./examples/NetworkSecurityGroupRuleGet.json" } + "Get network security rule in network security group": { + "$ref": "./examples/NetworkSecurityGroupRuleGet.json" + } } }, "put": { @@ -470,7 +488,9 @@ } }, "x-ms-examples": { - "Create security rule": { "$ref": "./examples/NetworkSecurityGroupRuleCreate.json" } + "Create security rule": { + "$ref": "./examples/NetworkSecurityGroupRuleCreate.json" + } }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { @@ -516,7 +536,9 @@ } }, "x-ms-examples": { - "List network security rules in network security group": { "$ref": "./examples/NetworkSecurityGroupRuleList.json" } + "List network security rules in network security group": { + "$ref": "./examples/NetworkSecurityGroupRuleList.json" + } }, "x-ms-pageable": { "nextLinkName": "nextLink" @@ -561,14 +583,16 @@ } }, "x-ms-examples": { - "DefaultSecurityRuleList": { "$ref": "./examples/DefaultSecurityRuleList.json" } + "DefaultSecurityRuleList": { + "$ref": "./examples/DefaultSecurityRuleList.json" + } }, "x-ms-pageable": { "nextLinkName": "nextLink" } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/defaultSecurityRules/{defaultSecurityRuleName}" : { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/defaultSecurityRules/{defaultSecurityRuleName}": { "get": { "tags": [ "SecurityRules" @@ -613,7 +637,9 @@ } }, "x-ms-examples": { - "DefaultSecurityRuleGet": { "$ref": "./examples/DefaultSecurityRuleGet.json" } + "DefaultSecurityRuleGet": { + "$ref": "./examples/DefaultSecurityRuleGet.json" + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/networkWatcher.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/networkWatcher.json index 575433114f37..1b22374c325b 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/networkWatcher.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/networkWatcher.json @@ -93,7 +93,9 @@ } }, "x-ms-examples": { - "Create network watcher": { "$ref": "./examples/NetworkWatcherCreate.json" } + "Create network watcher": { + "$ref": "./examples/NetworkWatcherCreate.json" + } } }, "get": { @@ -139,7 +141,9 @@ } }, "x-ms-examples": { - "Get network watcher": { "$ref": "./examples/NetworkWatcherGet.json" } + "Get network watcher": { + "$ref": "./examples/NetworkWatcherGet.json" + } } }, "delete": { @@ -185,7 +189,9 @@ } }, "x-ms-examples": { - "Delete network watcher": { "$ref": "./examples/NetworkWatcherDelete.json" } + "Delete network watcher": { + "$ref": "./examples/NetworkWatcherDelete.json" + } }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { @@ -244,7 +250,9 @@ } }, "x-ms-examples": { - "Update network watcher tags": { "$ref": "./examples/NetworkWatcherUpdateTags.json" } + "Update network watcher tags": { + "$ref": "./examples/NetworkWatcherUpdateTags.json" + } } } }, @@ -288,7 +296,9 @@ "nextLinkName": null }, "x-ms-examples": { - "List network watchers": { "$ref": "./examples/NetworkWatcherList.json" } + "List network watchers": { + "$ref": "./examples/NetworkWatcherList.json" + } } } }, @@ -325,7 +335,9 @@ "nextLinkName": null }, "x-ms-examples": { - "List all network watchers": { "$ref": "./examples/NetworkWatcherListAll.json" } + "List all network watchers": { + "$ref": "./examples/NetworkWatcherListAll.json" + } } } }, @@ -447,7 +459,9 @@ } }, "x-ms-examples": { - "Ip flow verify": { "$ref": "./examples/NetworkWatcherIpFlowVerify.json" } + "Ip flow verify": { + "$ref": "./examples/NetworkWatcherIpFlowVerify.json" + } }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { @@ -514,7 +528,9 @@ } }, "x-ms-examples": { - "Get next hop": { "$ref": "./examples/NetworkWatcherNextHopGet.json" } + "Get next hop": { + "$ref": "./examples/NetworkWatcherNextHopGet.json" + } }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { @@ -581,7 +597,9 @@ } }, "x-ms-examples": { - "Get security group view": { "$ref": "./examples/NetworkWatcherSecurityGroupViewGet.json" } + "Get security group view": { + "$ref": "./examples/NetworkWatcherSecurityGroupViewGet.json" + } }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { @@ -649,7 +667,9 @@ } }, "x-ms-examples": { - "Create packet capture": { "$ref": "./examples/NetworkWatcherPacketCaptureCreate.json" } + "Create packet capture": { + "$ref": "./examples/NetworkWatcherPacketCaptureCreate.json" + } }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { @@ -706,7 +726,9 @@ } }, "x-ms-examples": { - "Get packet capture": { "$ref": "./examples/NetworkWatcherPacketCaptureGet.json" } + "Get packet capture": { + "$ref": "./examples/NetworkWatcherPacketCaptureGet.json" + } } }, "delete": { @@ -759,7 +781,9 @@ } }, "x-ms-examples": { - "Delete packet capture": { "$ref": "./examples/NetworkWatcherPacketCaptureDelete.json" } + "Delete packet capture": { + "$ref": "./examples/NetworkWatcherPacketCaptureDelete.json" + } }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { @@ -818,7 +842,9 @@ } }, "x-ms-examples": { - "Stop packet capture": { "$ref": "./examples/NetworkWatcherPacketCaptureStop.json" } + "Stop packet capture": { + "$ref": "./examples/NetworkWatcherPacketCaptureStop.json" + } }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { @@ -883,7 +909,9 @@ } }, "x-ms-examples": { - "Query packet capture status": { "$ref": "./examples/NetworkWatcherPacketCaptureQueryStatus.json" } + "Query packet capture status": { + "$ref": "./examples/NetworkWatcherPacketCaptureQueryStatus.json" + } }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { @@ -938,7 +966,9 @@ "nextLinkName": null }, "x-ms-examples": { - "List packet captures": { "$ref": "./examples/NetworkWatcherPacketCapturesList.json" } + "List packet captures": { + "$ref": "./examples/NetworkWatcherPacketCapturesList.json" + } } } }, @@ -1001,7 +1031,9 @@ } }, "x-ms-examples": { - "Get troubleshooting": { "$ref": "./examples/NetworkWatcherTroubleshootGet.json" } + "Get troubleshooting": { + "$ref": "./examples/NetworkWatcherTroubleshootGet.json" + } }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { @@ -1068,7 +1100,9 @@ } }, "x-ms-examples": { - "Get troubleshoot result": { "$ref": "./examples/NetworkWatcherTroubleshootResultQuery.json" } + "Get troubleshoot result": { + "$ref": "./examples/NetworkWatcherTroubleshootResultQuery.json" + } }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { @@ -1136,7 +1170,9 @@ } }, "x-ms-examples": { - "Configure flow log": { "$ref": "./examples/NetworkWatcherFlowLogConfigure.json" } + "Configure flow log": { + "$ref": "./examples/NetworkWatcherFlowLogConfigure.json" + } }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { @@ -1204,7 +1240,9 @@ } }, "x-ms-examples": { - "Get flow log status": { "$ref": "./examples/NetworkWatcherFlowLogStatusQuery.json" } + "Get flow log status": { + "$ref": "./examples/NetworkWatcherFlowLogStatusQuery.json" + } }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { @@ -1271,7 +1309,9 @@ } }, "x-ms-examples": { - "Check connectivity": { "$ref": "./examples/NetworkWatcherConnectivityCheck.json" } + "Check connectivity": { + "$ref": "./examples/NetworkWatcherConnectivityCheck.json" + } }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { @@ -1483,7 +1523,9 @@ } }, "x-ms-examples": { - "Create connection monitor": { "$ref": "./examples/NetworkWatcherConnectionMonitorCreate.json" } + "Create connection monitor": { + "$ref": "./examples/NetworkWatcherConnectionMonitorCreate.json" + } }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { @@ -1540,7 +1582,9 @@ } }, "x-ms-examples": { - "Get connection monitor": { "$ref": "./examples/NetworkWatcherConnectionMonitorGet.json" } + "Get connection monitor": { + "$ref": "./examples/NetworkWatcherConnectionMonitorGet.json" + } } }, "delete": { @@ -1593,7 +1637,9 @@ } }, "x-ms-examples": { - "Delete connection monitor": { "$ref": "./examples/NetworkWatcherConnectionMonitorDelete.json" } + "Delete connection monitor": { + "$ref": "./examples/NetworkWatcherConnectionMonitorDelete.json" + } }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { @@ -1652,7 +1698,9 @@ } }, "x-ms-examples": { - "Stop connection monitor": { "$ref": "./examples/NetworkWatcherConnectionMonitorStop.json" } + "Stop connection monitor": { + "$ref": "./examples/NetworkWatcherConnectionMonitorStop.json" + } }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { @@ -1711,7 +1759,9 @@ } }, "x-ms-examples": { - "Start connection monitor": { "$ref": "./examples/NetworkWatcherConnectionMonitorStart.json" } + "Start connection monitor": { + "$ref": "./examples/NetworkWatcherConnectionMonitorStart.json" + } }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { @@ -1776,7 +1826,9 @@ } }, "x-ms-examples": { - "Query connection monitor": { "$ref": "./examples/NetworkWatcherConnectionMonitorQuery.json" } + "Query connection monitor": { + "$ref": "./examples/NetworkWatcherConnectionMonitorQuery.json" + } }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { @@ -1831,7 +1883,9 @@ "nextLinkName": null }, "x-ms-examples": { - "List connection monitors": { "$ref": "./examples/NetworkWatcherConnectionMonitorList.json" } + "List connection monitors": { + "$ref": "./examples/NetworkWatcherConnectionMonitorList.json" + } } } }, @@ -1894,7 +1948,9 @@ } }, "x-ms-examples": { - "Network configuration diagnostic": { "$ref": "./examples/NetworkWatcherNetworkConfigurationDiagnostic.json" } + "Network configuration diagnostic": { + "$ref": "./examples/NetworkWatcherNetworkConfigurationDiagnostic.json" + } }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { @@ -2696,7 +2752,7 @@ } } }, - "TrafficAnalyticsProperties": { + "TrafficAnalyticsProperties": { "description": "Parameters that define the configuration of traffic analytics.", "required": [ "networkWatcherFlowAnalyticsConfiguration" @@ -3443,7 +3499,7 @@ }, "startTime": { "type": "string", - "format": "date-time", + "format": "date-time", "description": "The start time of the connection snapshot." }, "endTime": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/operation.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/operation.json index f06186665028..3bdf89df750b 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/operation.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/operation.json @@ -55,14 +55,16 @@ "nextLinkName": "nextLink" }, "x-ms-examples": { - "Get a list of operations for a resource provider": { "$ref": "./examples/OperationList.json" } + "Get a list of operations for a resource provider": { + "$ref": "./examples/OperationList.json" + } } } } }, "definitions": { "OperationListResult": { - "description": "Result of the request to list Network operations. It contains a list of operations and a URL link to get the next set of results.", + "description": "Result of the request to list Network operations. It contains a list of operations and a URL link to get the next set of results.", "properties": { "value": { "type": "array", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/privateEndpoint.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/privateEndpoint.json index 283c0fafa9cf..6894a39b34e1 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/privateEndpoint.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/privateEndpoint.json @@ -1,411 +1,425 @@ -{ - "swagger": "2.0", - "info": { - "title": "NetworkManagementClient", - "description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.", - "version": "2019-04-01" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] - } - ], - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "description": "Azure Active Directory OAuth2 Flow.", - "scopes": { - "user_impersonation": "impersonate your user account" - } - } - }, - "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateEndpoints/{privateEndpointName}": { - "delete": { - "tags": [ - "PrivateEndpoints" - ], - "operationId": "PrivateEndpoints_Delete", - "description": "Deletes the specified private endpoint.", - "parameters": [ - { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group." - }, - { - "name": "privateEndpointName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the private endpoint." - }, - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "202": { - "description": "Accepted and the operation will complete asynchronously." - }, - "204": { - "description": "Delete successful." - }, - "200": { - "description": "Delete successful." - }, - "default": { - "description": "Error", - "schema": { - "$ref": "./network.json#/definitions/Error" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-examples": { - "Delete private endpoint": { "$ref": "./examples/PrivateEndpointDelete.json" } - } - }, - "get": { - "tags": [ - "PrivateEndpoints" - ], - "operationId": "PrivateEndpoints_Get", - "description": "Gets the specified private endpoint by resource group.", - "parameters": [ - { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group." - }, - { - "name": "privateEndpointName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the private endpoint." - }, - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - }, - { - "name": "$expand", - "in": "query", - "required": false, - "type": "string", - "description": "Expands referenced resources." - } - ], - "responses": { - "200": { - "description": "Request successful. The operation returns the resulting private endpoint resource.", - "schema": { - "$ref": "#/definitions/PrivateEndpoint" - } - }, - "default": { - "description": "Error", - "schema": { - "$ref": "./network.json#/definitions/Error" - } - } - }, - "x-ms-examples": { - "Get private endpoint": { "$ref": "./examples/PrivateEndpointGet.json" }, - "Get private endpoint with manual approval connection" : {"$ref": "./examples/PrivateEndpointGetForManualApproval.json"} - } - }, - "put": { - "tags": [ - "PrivateEndpoints" - ], - "operationId": "PrivateEndpoints_CreateOrUpdate", - "description": "Creates or updates an private endpoint in the specified resource group.", - "parameters": [ - { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group." - }, - { - "name": "privateEndpointName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the private endpoint." - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/PrivateEndpoint" - }, - "description": "Parameters supplied to the create or update private endpoint operation" - }, - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Update successful. The operation returns the resulting private endpoint resource.", - "schema": { - "$ref": "#/definitions/PrivateEndpoint" - } - }, - "201": { - "description": "Create successful. The operation returns the resulting private endpoint resource.", - "schema": { - "$ref": "#/definitions/PrivateEndpoint" - } - }, - "default": { - "description": "Error", - "schema": { - "$ref": "./network.json#/definitions/Error" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-examples": { - "Create private endpoint": { "$ref": "./examples/PrivateEndpointCreate.json" }, - "Create private endpoint with manual approval connection": { "$ref": "./examples/PrivateEndpointCreateForManualApproval.json" } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateEndpoints": { - "get": { - "tags": [ - "PrivateEndpoints" - ], - "operationId": "PrivateEndpoints_List", - "description": "Gets all private endpoints in a resource group.", - "parameters": [ - { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group." - }, - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Request successful. The operation returns a list of private endpoint resources.", - "schema": { - "$ref": "#/definitions/PrivateEndpointListResult" - } - }, - "default": { - "description": "Error", - "schema": { - "$ref": "./network.json#/definitions/Error" - } - } - }, - "x-ms-examples": { - "List private endpoints in resource group": { "$ref": "./examples/PrivateEndpointList.json" } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Network/privateEndpoints": { - "get": { - "tags": [ - "PrivateEndpoints" - ], - "operationId": "PrivateEndpoints_ListBySubscription", - "description": "Gets all private endpoints in a subscription.", - "parameters": [ - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Request successful. The operation returns a list of private endpoint resources.", - "schema": { - "$ref": "#/definitions/PrivateEndpointListResult" - } - }, - "default": { - "description": "Error", - "schema": { - "$ref": "./network.json#/definitions/Error" - } - } - }, - "x-ms-examples": { - "List all private endpoints": { "$ref": "./examples/PrivateEndpointListAll.json" } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - } - }, - "definitions": { - "PrivateEndpoint": { - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/PrivateEndpointProperties", - "description": "Properties of the private endpoint." - }, - "etag": { - "type": "string", - "description": "Gets a unique read-only string that changes whenever the resource is updated." - } - }, - "allOf": [ - { - "$ref": "./network.json#/definitions/Resource" - } - ], - "description": "Private endpoint resource." - }, - "PrivateEndpointProperties": { - "properties": { - "subnet": { - "$ref": "./virtualNetwork.json#/definitions/Subnet", - "description": "The ID of the subnet from which the private IP will be allocated." - }, - "networkInterfaces": { - "type": "array", - "readOnly": true, - "items": { - "$ref": "./networkInterface.json#/definitions/NetworkInterface" - }, - "description": "Gets an array of references to the network interfaces created for this private endpoint." - }, - "provisioningState": { - "readOnly": true, - "type": "string", - "description": "The provisioning state of the private endpoint. Possible values are: 'Updating', 'Deleting', and 'Failed'." - }, - "privateLinkServiceConnections": { - "type": "array", - "items": { - "$ref": "#/definitions/PrivateLinkServiceConnection" - }, - "description": "A grouping of information about the connection to the remote resource." - }, - "manualPrivateLinkServiceConnections": { - "type": "array", - "items": { - "$ref": "#/definitions/PrivateLinkServiceConnection" - }, - "description": "A grouping of information about the connection to the remote resource. Used when the network admin does not have access to approve connections to the remote resource." - } - }, - "description": "Properties of the private endpoint." - }, - "PrivateLinkServiceConnection": { - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/PrivateLinkServiceConnectionProperties", - "description": "Properties of the private link service connection" - }, - "name": { - "type": "string", - "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource." - } - }, - "allOf": [ - { - "$ref": "./network.json#/definitions/SubResource" - } - ], - "description": "PrivateLinkServiceConnection resource." - }, - "PrivateLinkServiceConnectionProperties": { - "properties": { - "privateLinkServiceId": { - "type":"string", - "description": "The resource id of private link service." - }, - "groupIds": { - "type":"array", - "items": { - "type":"string" - }, - "description": "The ID(s) of the group(s) obtained from the remote resource that this private endpoint should connect to." - }, - "requestMessage": { - "type":"string", - "description": "A message passed to the owner of the remote resource with this connection request. Restricted to 140 chars." - }, - "privateLinkServiceConnectionState": { - "$ref":"./privateLinkService.json#/definitions/PrivateLinkServiceConnectionState", - "description": "A collection of read-only information about the state of the connection to the remote resource." - } - }, - "description": "Properties of the PrivateLinkServiceConnection" - }, - "PrivateEndpointListResult": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/PrivateEndpoint" - }, - "description": "Gets a list of private endpoint resources in a resource group." - }, - "nextLink": { - "type": "string", - "description": "The URL to get the next set of results.", - "readOnly": true - } - }, - "description": "Response for the ListPrivateEndpoints API service call." - } - } -} +{ + "swagger": "2.0", + "info": { + "title": "NetworkManagementClient", + "description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.", + "version": "2019-04-01" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow.", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateEndpoints/{privateEndpointName}": { + "delete": { + "tags": [ + "PrivateEndpoints" + ], + "operationId": "PrivateEndpoints_Delete", + "description": "Deletes the specified private endpoint.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "privateEndpointName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the private endpoint." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "202": { + "description": "Accepted and the operation will complete asynchronously." + }, + "204": { + "description": "Delete successful." + }, + "200": { + "description": "Delete successful." + }, + "default": { + "description": "Error", + "schema": { + "$ref": "./network.json#/definitions/Error" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-examples": { + "Delete private endpoint": { + "$ref": "./examples/PrivateEndpointDelete.json" + } + } + }, + "get": { + "tags": [ + "PrivateEndpoints" + ], + "operationId": "PrivateEndpoints_Get", + "description": "Gets the specified private endpoint by resource group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "privateEndpointName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the private endpoint." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "$expand", + "in": "query", + "required": false, + "type": "string", + "description": "Expands referenced resources." + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns the resulting private endpoint resource.", + "schema": { + "$ref": "#/definitions/PrivateEndpoint" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "./network.json#/definitions/Error" + } + } + }, + "x-ms-examples": { + "Get private endpoint": { + "$ref": "./examples/PrivateEndpointGet.json" + }, + "Get private endpoint with manual approval connection": { + "$ref": "./examples/PrivateEndpointGetForManualApproval.json" + } + } + }, + "put": { + "tags": [ + "PrivateEndpoints" + ], + "operationId": "PrivateEndpoints_CreateOrUpdate", + "description": "Creates or updates an private endpoint in the specified resource group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "privateEndpointName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the private endpoint." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/PrivateEndpoint" + }, + "description": "Parameters supplied to the create or update private endpoint operation" + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Update successful. The operation returns the resulting private endpoint resource.", + "schema": { + "$ref": "#/definitions/PrivateEndpoint" + } + }, + "201": { + "description": "Create successful. The operation returns the resulting private endpoint resource.", + "schema": { + "$ref": "#/definitions/PrivateEndpoint" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "./network.json#/definitions/Error" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-examples": { + "Create private endpoint": { + "$ref": "./examples/PrivateEndpointCreate.json" + }, + "Create private endpoint with manual approval connection": { + "$ref": "./examples/PrivateEndpointCreateForManualApproval.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateEndpoints": { + "get": { + "tags": [ + "PrivateEndpoints" + ], + "operationId": "PrivateEndpoints_List", + "description": "Gets all private endpoints in a resource group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns a list of private endpoint resources.", + "schema": { + "$ref": "#/definitions/PrivateEndpointListResult" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "./network.json#/definitions/Error" + } + } + }, + "x-ms-examples": { + "List private endpoints in resource group": { + "$ref": "./examples/PrivateEndpointList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/privateEndpoints": { + "get": { + "tags": [ + "PrivateEndpoints" + ], + "operationId": "PrivateEndpoints_ListBySubscription", + "description": "Gets all private endpoints in a subscription.", + "parameters": [ + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns a list of private endpoint resources.", + "schema": { + "$ref": "#/definitions/PrivateEndpointListResult" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "./network.json#/definitions/Error" + } + } + }, + "x-ms-examples": { + "List all private endpoints": { + "$ref": "./examples/PrivateEndpointListAll.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + } + }, + "definitions": { + "PrivateEndpoint": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/PrivateEndpointProperties", + "description": "Properties of the private endpoint." + }, + "etag": { + "type": "string", + "description": "Gets a unique read-only string that changes whenever the resource is updated." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/Resource" + } + ], + "description": "Private endpoint resource." + }, + "PrivateEndpointProperties": { + "properties": { + "subnet": { + "$ref": "./virtualNetwork.json#/definitions/Subnet", + "description": "The ID of the subnet from which the private IP will be allocated." + }, + "networkInterfaces": { + "type": "array", + "readOnly": true, + "items": { + "$ref": "./networkInterface.json#/definitions/NetworkInterface" + }, + "description": "Gets an array of references to the network interfaces created for this private endpoint." + }, + "provisioningState": { + "readOnly": true, + "type": "string", + "description": "The provisioning state of the private endpoint. Possible values are: 'Updating', 'Deleting', and 'Failed'." + }, + "privateLinkServiceConnections": { + "type": "array", + "items": { + "$ref": "#/definitions/PrivateLinkServiceConnection" + }, + "description": "A grouping of information about the connection to the remote resource." + }, + "manualPrivateLinkServiceConnections": { + "type": "array", + "items": { + "$ref": "#/definitions/PrivateLinkServiceConnection" + }, + "description": "A grouping of information about the connection to the remote resource. Used when the network admin does not have access to approve connections to the remote resource." + } + }, + "description": "Properties of the private endpoint." + }, + "PrivateLinkServiceConnection": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/PrivateLinkServiceConnectionProperties", + "description": "Properties of the private link service connection" + }, + "name": { + "type": "string", + "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/SubResource" + } + ], + "description": "PrivateLinkServiceConnection resource." + }, + "PrivateLinkServiceConnectionProperties": { + "properties": { + "privateLinkServiceId": { + "type": "string", + "description": "The resource id of private link service." + }, + "groupIds": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The ID(s) of the group(s) obtained from the remote resource that this private endpoint should connect to." + }, + "requestMessage": { + "type": "string", + "description": "A message passed to the owner of the remote resource with this connection request. Restricted to 140 chars." + }, + "privateLinkServiceConnectionState": { + "$ref": "./privateLinkService.json#/definitions/PrivateLinkServiceConnectionState", + "description": "A collection of read-only information about the state of the connection to the remote resource." + } + }, + "description": "Properties of the PrivateLinkServiceConnection" + }, + "PrivateEndpointListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/PrivateEndpoint" + }, + "description": "Gets a list of private endpoint resources in a resource group." + }, + "nextLink": { + "type": "string", + "description": "The URL to get the next set of results.", + "readOnly": true + } + }, + "description": "Response for the ListPrivateEndpoints API service call." + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/privateLinkService.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/privateLinkService.json index 9d84051d303a..538d40f86573 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/privateLinkService.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/privateLinkService.json @@ -85,7 +85,9 @@ "final-state-via": "location" }, "x-ms-examples": { - "Delete private link service": { "$ref": "./examples/PrivateLinkServiceDelete.json" } + "Delete private link service": { + "$ref": "./examples/PrivateLinkServiceDelete.json" + } } }, "get": { @@ -138,7 +140,9 @@ } }, "x-ms-examples": { - "Get private link service": { "$ref": "./examples/PrivateLinkServiceGet.json" } + "Get private link service": { + "$ref": "./examples/PrivateLinkServiceGet.json" + } } }, "put": { @@ -203,7 +207,9 @@ "final-state-via": "azure-async-operation" }, "x-ms-examples": { - "Create private link service": { "$ref": "./examples/PrivateLinkServiceCreate.json" } + "Create private link service": { + "$ref": "./examples/PrivateLinkServiceCreate.json" + } } } }, @@ -244,7 +250,9 @@ } }, "x-ms-examples": { - "List private link service in resource group": { "$ref": "./examples/PrivateLinkServiceList.json" } + "List private link service in resource group": { + "$ref": "./examples/PrivateLinkServiceList.json" + } }, "x-ms-pageable": { "nextLinkName": "nextLink" @@ -281,7 +289,9 @@ } }, "x-ms-examples": { - "List all private list service": { "$ref": "./examples/PrivateLinkServiceListAll.json" } + "List all private list service": { + "$ref": "./examples/PrivateLinkServiceListAll.json" + } }, "x-ms-pageable": { "nextLinkName": "nextLink" @@ -485,14 +495,14 @@ "fqdns": { "type": "array", "items": { - "type":"string" + "type": "string" }, "description": "The list of Fqdn." }, "alias": { "readOnly": true, "type": "string", - "description":"The alias of the private link service." + "description": "The alias of the private link service." } }, "description": "Properties of the private link service." @@ -502,7 +512,7 @@ "subscriptions": { "type": "array", "items": { - "type":"string" + "type": "string" }, "description": "The list of subscriptions." } @@ -516,9 +526,9 @@ "$ref": "#/definitions/PrivateLinkServiceIpConfigurationProperties", "description": "Properties of the private link service ip configuration" }, - "name" : { - "type":"string", - "description":"The name of private link service ip configuration." + "name": { + "type": "string", + "description": "The name of private link service ip configuration." } }, "description": "The private link service ip configuration." @@ -550,7 +560,7 @@ "description": "Available from Api-Version 2016-03-30 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4." } }, - "description" : "Properties of private link service IP configuration." + "description": "Properties of private link service IP configuration." }, "PrivateEndpointConnection": { "properties": { @@ -578,7 +588,7 @@ "description": "The resource of private end point." }, "privateLinkServiceConnectionState": { - "$ref":"#/definitions/PrivateLinkServiceConnectionState", + "$ref": "#/definitions/PrivateLinkServiceConnectionState", "description": "A collection of information about the state of the connection between service consumer and provider." } }, @@ -587,15 +597,15 @@ "PrivateLinkServiceConnectionState": { "properties": { "status": { - "type":"string", + "type": "string", "description": "Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service." }, "description": { - "type":"string", + "type": "string", "description": "The reason for approval/rejection of the connection." }, "actionRequired": { - "type":"string", + "type": "string", "description": "A message indicating if changes on the service provider require any updates on the consumer." } }, diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/publicIpAddress.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/publicIpAddress.json index 19c997e2efde..41e42c4e5570 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/publicIpAddress.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/publicIpAddress.json @@ -75,7 +75,9 @@ } }, "x-ms-examples": { - "Delete public IP address": { "$ref": "./examples/PublicIpAddressDelete.json" } + "Delete public IP address": { + "$ref": "./examples/PublicIpAddressDelete.json" + } }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { @@ -126,7 +128,9 @@ } }, "x-ms-examples": { - "Get public IP address": { "$ref": "./examples/PublicIpAddressGet.json" } + "Get public IP address": { + "$ref": "./examples/PublicIpAddressGet.json" + } } }, "put": { @@ -181,9 +185,15 @@ } }, "x-ms-examples": { - "Create public IP address defaults": { "$ref": "./examples/PublicIpAddressCreateDefaults.json" }, - "Create public IP address allocation method": { "$ref": "./examples/PublicIpAddressCreateCustomizedValues.json" }, - "Create public IP address DNS": { "$ref": "./examples/PublicIpAddressCreateDns.json" } + "Create public IP address defaults": { + "$ref": "./examples/PublicIpAddressCreateDefaults.json" + }, + "Create public IP address allocation method": { + "$ref": "./examples/PublicIpAddressCreateCustomizedValues.json" + }, + "Create public IP address DNS": { + "$ref": "./examples/PublicIpAddressCreateDns.json" + } }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { @@ -236,7 +246,9 @@ } }, "x-ms-examples": { - "Update public IP address tags": { "$ref": "./examples/PublicIpAddressUpdateTags.json" } + "Update public IP address tags": { + "$ref": "./examples/PublicIpAddressUpdateTags.json" + } }, "x-ms-long-running-operation": true } @@ -265,7 +277,9 @@ } }, "x-ms-examples": { - "List all public IP addresses": { "$ref": "./examples/PublicIpAddressListAll.json" } + "List all public IP addresses": { + "$ref": "./examples/PublicIpAddressListAll.json" + } }, "x-ms-pageable": { "nextLinkName": "nextLink" @@ -303,7 +317,9 @@ } }, "x-ms-examples": { - "List resource group public IP addresses": { "$ref": "./examples/PublicIpAddressList.json" } + "List resource group public IP addresses": { + "$ref": "./examples/PublicIpAddressList.json" + } }, "x-ms-pageable": { "nextLinkName": "nextLink" @@ -364,7 +380,7 @@ "description": "The IP address associated with the public IP address resource." }, "publicIPPrefix": { - "$ref":"./network.json#/definitions/SubResource", + "$ref": "./network.json#/definitions/SubResource", "description": "The Public IP Prefix this Public IP Address should be allocated from." }, "idleTimeoutInMinutes": { @@ -450,7 +466,7 @@ "properties": { "ddosCustomPolicy": { "readOnly": false, - "$ref":"./network.json#/definitions/SubResource", + "$ref": "./network.json#/definitions/SubResource", "description": "The DDoS custom policy associated with the public IP." }, "protectionCoverage": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/publicIpPrefix.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/publicIpPrefix.json index 525ea74ee7f0..0fcabd54e0cd 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/publicIpPrefix.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/publicIpPrefix.json @@ -1,426 +1,440 @@ { - "swagger": "2.0", - "info": { - "title": "NetworkManagementClient", - "description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.", - "version": "2019-04-01" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] - } - ], - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "description": "Azure Active Directory OAuth2 Flow.", - "scopes": { - "user_impersonation": "impersonate your user account" - } + "swagger": "2.0", + "info": { + "title": "NetworkManagementClient", + "description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.", + "version": "2019-04-01" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow.", + "scopes": { + "user_impersonation": "impersonate your user account" } - }, - "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIpPrefixName}": { - "delete": { - "tags": [ - "PublicIPPrefixes" - ], - "operationId": "PublicIPPrefixes_Delete", - "description": "Deletes the specified public IP prefix.", - "parameters": [ - { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group." - }, - { - "name": "publicIpPrefixName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the PublicIpPrefix." - }, - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "204": { - "description": "Request successful. Resource does not exist." - }, - "202": { - "description": "Accepted and the operation will complete asynchronously." - }, - "200": { - "description": "Delete successful." - } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIpPrefixName}": { + "delete": { + "tags": [ + "PublicIPPrefixes" + ], + "operationId": "PublicIPPrefixes_Delete", + "description": "Deletes the specified public IP prefix.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." }, - "x-ms-examples": { - "Delete public IP prefix": { "$ref": "./examples/PublicIpPrefixDelete.json" } + { + "name": "publicIpPrefixName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the PublicIpPrefix." }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - } - }, - "get": { - "tags": [ - "PublicIPPrefixes" - ], - "operationId": "PublicIPPrefixes_Get", - "description": "Gets the specified public IP prefix in a specified resource group.", - "parameters": [ - { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group." - }, - { - "name": "publicIpPrefixName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the public IP prefix." - }, - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - }, - { - "name": "$expand", - "in": "query", - "required": false, - "type": "string", - "description": "Expands referenced resources." - } - ], - "responses": { - "200": { - "description": "Request successful. The operation returns the resulting PublicIPPrefix resource.", - "schema": { - "$ref": "#/definitions/PublicIPPrefix" - } - } + { + "$ref": "./network.json#/parameters/ApiVersionParameter" }, - "x-ms-examples": { - "Get public IP prefix": { "$ref": "./examples/PublicIpPrefixGet.json" } + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" } - }, - "put": { - "tags": [ - "PublicIPPrefixes" - ], - "operationId": "PublicIPPrefixes_CreateOrUpdate", - "description": "Creates or updates a static or dynamic public IP prefix.", - "parameters": [ - { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group." - }, - { - "name": "publicIpPrefixName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the public IP prefix." - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/PublicIPPrefix" - }, - "description": "Parameters supplied to the create or update public IP prefix operation." - }, - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "201": { - "description": "Create successful. The operation returns the resulting PublicIPPrefix resource.", - "schema": { - "$ref": "#/definitions/PublicIPPrefix" - } - }, - "200": { - "description": "Update successful. The operation returns the resulting PublicIPPrefix resource.", - "schema": { - "$ref": "#/definitions/PublicIPPrefix" - } - } + ], + "responses": { + "204": { + "description": "Request successful. Resource does not exist." }, - "x-ms-examples": { - "Create public IP prefix defaults": { "$ref": "./examples/PublicIpPrefixCreateDefaults.json" }, - "Create public IP prefix allocation method": { "$ref": "./examples/PublicIpPrefixCreateCustomizedValues.json" } + "202": { + "description": "Accepted and the operation will complete asynchronously." }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" + "200": { + "description": "Delete successful." } }, - "patch": { - "tags": [ - "PublicIPPrefixes" - ], - "operationId": "PublicIPPrefixes_UpdateTags", - "description": "Updates public IP prefix tags.", - "parameters": [ - { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group." - }, - { - "name": "publicIpPrefixName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the public IP prefix." - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "./network.json#/definitions/TagsObject" - }, - "description": "Parameters supplied to update public IP prefix tags." - }, - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Update successful. The operation returns the resulting PublicIPPrefix resource.", - "schema": { - "$ref": "#/definitions/PublicIPPrefix" - } - } - }, - "x-ms-examples": { - "Update public IP prefix tags": { "$ref": "./examples/PublicIpPrefixUpdateTags.json" } - }, - "x-ms-long-running-operation": true + "x-ms-examples": { + "Delete public IP prefix": { + "$ref": "./examples/PublicIpPrefixDelete.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" } }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Network/publicIPPrefixes": { - "get": { - "tags": [ - "PublicIPPrefixes" - ], - "operationId": "PublicIPPrefixes_ListAll", - "description": "Gets all the public IP prefixes in a subscription.", - "parameters": [ - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Request successful. The operation returns a list of PublicIPPrefix resources.", - "schema": { - "$ref": "#/definitions/PublicIPPrefixListResult" - } - } + "get": { + "tags": [ + "PublicIPPrefixes" + ], + "operationId": "PublicIPPrefixes_Get", + "description": "Gets the specified public IP prefix in a specified resource group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." }, - "x-ms-examples": { - "List all public IP prefixes": { "$ref": "./examples/PublicIpPrefixListAll.json" } + { + "name": "publicIpPrefixName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the public IP prefix." }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes": { - "get": { - "tags": [ - "PublicIPPrefixes" - ], - "operationId": "PublicIPPrefixes_List", - "description": "Gets all public IP prefixes in a resource group.", - "parameters": [ - { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group." - }, - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Request successful. The operation returns a list of PublicIPPrefix resources.", - "schema": { - "$ref": "#/definitions/PublicIPPrefixListResult" - } - } + { + "$ref": "./network.json#/parameters/ApiVersionParameter" }, - "x-ms-examples": { - "List resource group public IP prefixes": { "$ref": "./examples/PublicIpPrefixList.json" } + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - } - }, - "definitions": { - "PublicIPPrefixSku": { - "properties": { - "name": { + { + "name": "$expand", + "in": "query", + "required": false, "type": "string", - "description": "Name of a public IP prefix SKU.", - "enum": [ - "Standard" - ], - "x-ms-enum": { - "name": "PublicIPPrefixSkuName", - "modelAsString": true + "description": "Expands referenced resources." + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns the resulting PublicIPPrefix resource.", + "schema": { + "$ref": "#/definitions/PublicIPPrefix" } } }, - "description": "SKU of a public IP prefix." + "x-ms-examples": { + "Get public IP prefix": { + "$ref": "./examples/PublicIpPrefixGet.json" + } + } }, - "PublicIPPrefixPropertiesFormat": { - "properties": { - "publicIPAddressVersion": { - "$ref": "./network.json#/definitions/IPVersion", - "description": "The public IP address version." + "put": { + "tags": [ + "PublicIPPrefixes" + ], + "operationId": "PublicIPPrefixes_CreateOrUpdate", + "description": "Creates or updates a static or dynamic public IP prefix.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." }, - "ipTags": { - "type": "array", - "items": { - "$ref": "./publicIpAddress.json#/definitions/IpTag" - }, - "description": "The list of tags associated with the public IP prefix." + { + "name": "publicIpPrefixName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the public IP prefix." }, - "prefixLength": { - "type": "integer", - "format":"int32", - "description": "The Length of the Public IP Prefix." + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/PublicIPPrefix" + }, + "description": "Parameters supplied to the create or update public IP prefix operation." }, - "ipPrefix" : { - "type":"string", - "description": "The allocated Prefix." + { + "$ref": "./network.json#/parameters/ApiVersionParameter" }, - "publicIPAddresses": { - "type":"array", - "items":{ - "$ref": "#/definitions/ReferencedPublicIpAddress" - }, - "description":"The list of all referenced PublicIPAddresses." + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "201": { + "description": "Create successful. The operation returns the resulting PublicIPPrefix resource.", + "schema": { + "$ref": "#/definitions/PublicIPPrefix" + } }, - "resourceGuid": { - "type": "string", - "description": "The resource GUID property of the public IP prefix resource." + "200": { + "description": "Update successful. The operation returns the resulting PublicIPPrefix resource.", + "schema": { + "$ref": "#/definitions/PublicIPPrefix" + } + } + }, + "x-ms-examples": { + "Create public IP prefix defaults": { + "$ref": "./examples/PublicIpPrefixCreateDefaults.json" }, - "provisioningState": { - "type": "string", - "description": "The provisioning state of the Public IP prefix resource. Possible values are: 'Updating', 'Deleting', and 'Failed'." + "Create public IP prefix allocation method": { + "$ref": "./examples/PublicIpPrefixCreateCustomizedValues.json" } }, - "description": "Public IP prefix properties." + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } }, - "PublicIPPrefix": { - "properties": { - "sku": { - "$ref": "#/definitions/PublicIPPrefixSku", - "description": "The public IP prefix SKU." - }, - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/PublicIPPrefixPropertiesFormat", - "description": "Public IP prefix properties." + "patch": { + "tags": [ + "PublicIPPrefixes" + ], + "operationId": "PublicIPPrefixes_UpdateTags", + "description": "Updates public IP prefix tags.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." }, - "etag": { + { + "name": "publicIpPrefixName", + "in": "path", + "required": true, "type": "string", - "description": "A unique read-only string that changes whenever the resource is updated." + "description": "The name of the public IP prefix." }, - "zones": { - "type": "array", - "items": { - "type": "string" + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "./network.json#/definitions/TagsObject" }, - "description": "A list of availability zones denoting the IP allocated for the resource needs to come from." - } - }, - "allOf": [ + "description": "Parameters supplied to update public IP prefix tags." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, { - "$ref": "./network.json#/definitions/Resource" + "$ref": "./network.json#/parameters/SubscriptionIdParameter" } ], - "description": "Public IP prefix resource." - }, - "PublicIPPrefixListResult": { - "properties": { - "value": { - "type": "array", - "items": { + "responses": { + "200": { + "description": "Update successful. The operation returns the resulting PublicIPPrefix resource.", + "schema": { "$ref": "#/definitions/PublicIPPrefix" - }, - "description": "A list of public IP prefixes that exists in a resource group." + } + } + }, + "x-ms-examples": { + "Update public IP prefix tags": { + "$ref": "./examples/PublicIpPrefixUpdateTags.json" + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/publicIPPrefixes": { + "get": { + "tags": [ + "PublicIPPrefixes" + ], + "operationId": "PublicIPPrefixes_ListAll", + "description": "Gets all the public IP prefixes in a subscription.", + "parameters": [ + { + "$ref": "./network.json#/parameters/ApiVersionParameter" }, - "nextLink": { + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns a list of PublicIPPrefix resources.", + "schema": { + "$ref": "#/definitions/PublicIPPrefixListResult" + } + } + }, + "x-ms-examples": { + "List all public IP prefixes": { + "$ref": "./examples/PublicIpPrefixListAll.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes": { + "get": { + "tags": [ + "PublicIPPrefixes" + ], + "operationId": "PublicIPPrefixes_List", + "description": "Gets all public IP prefixes in a resource group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, "type": "string", - "description": "The URL to get the next set of results." + "description": "The name of the resource group." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns a list of PublicIPPrefix resources.", + "schema": { + "$ref": "#/definitions/PublicIPPrefixListResult" + } } }, - "description": "Response for ListPublicIpPrefixes API service call." - }, - "ReferencedPublicIpAddress":{ - "properties":{ - "id":{ - "type":"string", - "description":"The PublicIPAddress Reference." + "x-ms-examples": { + "List resource group public IP prefixes": { + "$ref": "./examples/PublicIpPrefixList.json" } }, - "description": "Reference to a public IP address." + "x-ms-pageable": { + "nextLinkName": "nextLink" + } } } + }, + "definitions": { + "PublicIPPrefixSku": { + "properties": { + "name": { + "type": "string", + "description": "Name of a public IP prefix SKU.", + "enum": [ + "Standard" + ], + "x-ms-enum": { + "name": "PublicIPPrefixSkuName", + "modelAsString": true + } + } + }, + "description": "SKU of a public IP prefix." + }, + "PublicIPPrefixPropertiesFormat": { + "properties": { + "publicIPAddressVersion": { + "$ref": "./network.json#/definitions/IPVersion", + "description": "The public IP address version." + }, + "ipTags": { + "type": "array", + "items": { + "$ref": "./publicIpAddress.json#/definitions/IpTag" + }, + "description": "The list of tags associated with the public IP prefix." + }, + "prefixLength": { + "type": "integer", + "format": "int32", + "description": "The Length of the Public IP Prefix." + }, + "ipPrefix": { + "type": "string", + "description": "The allocated Prefix." + }, + "publicIPAddresses": { + "type": "array", + "items": { + "$ref": "#/definitions/ReferencedPublicIpAddress" + }, + "description": "The list of all referenced PublicIPAddresses." + }, + "resourceGuid": { + "type": "string", + "description": "The resource GUID property of the public IP prefix resource." + }, + "provisioningState": { + "type": "string", + "description": "The provisioning state of the Public IP prefix resource. Possible values are: 'Updating', 'Deleting', and 'Failed'." + } + }, + "description": "Public IP prefix properties." + }, + "PublicIPPrefix": { + "properties": { + "sku": { + "$ref": "#/definitions/PublicIPPrefixSku", + "description": "The public IP prefix SKU." + }, + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/PublicIPPrefixPropertiesFormat", + "description": "Public IP prefix properties." + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated." + }, + "zones": { + "type": "array", + "items": { + "type": "string" + }, + "description": "A list of availability zones denoting the IP allocated for the resource needs to come from." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/Resource" + } + ], + "description": "Public IP prefix resource." + }, + "PublicIPPrefixListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/PublicIPPrefix" + }, + "description": "A list of public IP prefixes that exists in a resource group." + }, + "nextLink": { + "type": "string", + "description": "The URL to get the next set of results." + } + }, + "description": "Response for ListPublicIpPrefixes API service call." + }, + "ReferencedPublicIpAddress": { + "properties": { + "id": { + "type": "string", + "description": "The PublicIPAddress Reference." + } + }, + "description": "Reference to a public IP address." + } + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/routeFilter.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/routeFilter.json index e2be550bfa52..033b111ce9c1 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/routeFilter.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/routeFilter.json @@ -1,798 +1,820 @@ { - "swagger": "2.0", - "info": { - "title": "NetworkManagementClient", - "description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.", - "version": "2019-04-01" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] + "swagger": "2.0", + "info": { + "title": "NetworkManagementClient", + "description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.", + "version": "2019-04-01" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow.", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters/{routeFilterName}": { + "delete": { + "tags": [ + "RouteFilters" + ], + "operationId": "RouteFilters_Delete", + "x-ms-examples": { + "RouteFilterDelete": { + "$ref": "./examples/RouteFilterDelete.json" + } + }, + "description": "Deletes the specified route filter.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "routeFilterName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the route filter." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "202": { + "description": "Accepted and the operation will complete asynchronously." + }, + "200": { + "description": "Delete successful." + }, + "204": { + "description": "Delete successful." + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" } - ], - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "description": "Azure Active Directory OAuth2 Flow.", - "scopes": { - "user_impersonation": "impersonate your user account" + }, + "get": { + "tags": [ + "RouteFilters" + ], + "operationId": "RouteFilters_Get", + "x-ms-examples": { + "RouteFilterGet": { + "$ref": "./examples/RouteFilterGet.json" + } + }, + "description": "Gets the specified route filter.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "routeFilterName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the route filter." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "$expand", + "in": "query", + "required": false, + "type": "string", + "description": "Expands referenced express route bgp peering resources." + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns the resulting Route Filter resource.", + "schema": { + "$ref": "#/definitions/RouteFilter" } + } } - }, - "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters/{routeFilterName}": { - "delete": { - "tags": [ - "RouteFilters" - ], - "operationId": "RouteFilters_Delete", - "x-ms-examples": { - "RouteFilterDelete": { "$ref": "./examples/RouteFilterDelete.json" } - }, - "description": "Deletes the specified route filter.", - "parameters": [ - { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group." - }, - { - "name": "routeFilterName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the route filter." - }, - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "202": { - "description": "Accepted and the operation will complete asynchronously." - }, - "200": { - "description": "Delete successful." - }, - "204": { - "description": "Delete successful." - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - } - }, - "get": { - "tags": [ - "RouteFilters" - ], - "operationId": "RouteFilters_Get", - "x-ms-examples": { - "RouteFilterGet": { "$ref": "./examples/RouteFilterGet.json" } - }, - "description": "Gets the specified route filter.", - "parameters": [ - { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group." - }, - { - "name": "routeFilterName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the route filter." - }, - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - }, - { - "name": "$expand", - "in": "query", - "required": false, - "type": "string", - "description": "Expands referenced express route bgp peering resources." - } - ], - "responses": { - "200": { - "description": "Request successful. The operation returns the resulting Route Filter resource.", - "schema": { - "$ref": "#/definitions/RouteFilter" - } - } - } + }, + "put": { + "tags": [ + "RouteFilters" + ], + "operationId": "RouteFilters_CreateOrUpdate", + "x-ms-examples": { + "RouteFilterCreate": { + "$ref": "./examples/RouteFilterCreate.json" + } + }, + "description": "Creates or updates a route filter in a specified resource group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "routeFilterName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the route filter." + }, + { + "name": "routeFilterParameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/RouteFilter" }, - "put": { - "tags": [ - "RouteFilters" - ], - "operationId": "RouteFilters_CreateOrUpdate", - "x-ms-examples": { - "RouteFilterCreate": { "$ref": "./examples/RouteFilterCreate.json" } - }, - "description": "Creates or updates a route filter in a specified resource group.", - "parameters": [ - { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group." - }, - { - "name": "routeFilterName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the route filter." - }, - { - "name": "routeFilterParameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/RouteFilter" - }, - "description": "Parameters supplied to the create or update route filter operation." - }, - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Request successful. The operation returns the resulting Route Filter resource.", - "schema": { - "$ref": "#/definitions/RouteFilter" - } - }, - "201": { - "description": "Create successful. The operation returns the resulting Route Filter resource.", - "schema": { - "$ref": "#/definitions/RouteFilter" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - } + "description": "Parameters supplied to the create or update route filter operation." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns the resulting Route Filter resource.", + "schema": { + "$ref": "#/definitions/RouteFilter" + } + }, + "201": { + "description": "Create successful. The operation returns the resulting Route Filter resource.", + "schema": { + "$ref": "#/definitions/RouteFilter" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } + }, + "patch": { + "tags": [ + "RouteFilters" + ], + "operationId": "RouteFilters_Update", + "x-ms-examples": { + "RouteFilterUpdate": { + "$ref": "./examples/RouteFilterUpdate.json" + } + }, + "description": "Updates a route filter in a specified resource group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "routeFilterName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the route filter." + }, + { + "name": "routeFilterParameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/PatchRouteFilter" }, - "patch": { - "tags": [ - "RouteFilters" - ], - "operationId": "RouteFilters_Update", - "x-ms-examples": { - "RouteFilterUpdate": { "$ref": "./examples/RouteFilterUpdate.json" } - }, - "description": "Updates a route filter in a specified resource group.", - "parameters": [ - { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group." - }, - { - "name": "routeFilterName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the route filter." - }, - { - "name": "routeFilterParameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/PatchRouteFilter" - }, - "description": "Parameters supplied to the update route filter operation." - }, - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Request successful. The operation returns the resulting Route Filter resource.", - "schema": { - "$ref": "#/definitions/RouteFilter" - } - } - }, - "x-ms-long-running-operation": true + "description": "Parameters supplied to the update route filter operation." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns the resulting Route Filter resource.", + "schema": { + "$ref": "#/definitions/RouteFilter" } + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters": { + "get": { + "tags": [ + "RouteFilters" + ], + "operationId": "RouteFilters_ListByResourceGroup", + "x-ms-examples": { + "RouteFilterListByResourceGroup": { + "$ref": "./examples/RouteFilterListByResourceGroup.json" + } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters": { - "get": { - "tags": [ - "RouteFilters" - ], - "operationId": "RouteFilters_ListByResourceGroup", - "x-ms-examples": { - "RouteFilterListByResourceGroup": { "$ref": "./examples/RouteFilterListByResourceGroup.json" } - }, - "description": "Gets all route filters in a resource group.", - "parameters": [ - { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group." - }, - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Request successful. The operation returns a list of Route Filter resources.", - "schema": { - "$ref": "#/definitions/RouteFilterListResult" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } + "description": "Gets all route filters in a resource group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns a list of Route Filter resources.", + "schema": { + "$ref": "#/definitions/RouteFilterListResult" } + } }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Network/routeFilters": { - "get": { - "tags": [ - "RouteFilters" - ], - "operationId": "RouteFilters_List", - "x-ms-examples": { - "RouteFilterList": { "$ref": "./examples/RouteFilterList.json" } - }, - "description": "Gets all route filters in a subscription.", - "parameters": [ - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Request successful. The operation returns a list of Route Filter resources.", - "schema": { - "$ref": "#/definitions/RouteFilterListResult" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/routeFilters": { + "get": { + "tags": [ + "RouteFilters" + ], + "operationId": "RouteFilters_List", + "x-ms-examples": { + "RouteFilterList": { + "$ref": "./examples/RouteFilterList.json" + } + }, + "description": "Gets all route filters in a subscription.", + "parameters": [ + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns a list of Route Filter resources.", + "schema": { + "$ref": "#/definitions/RouteFilterListResult" } + } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters/{routeFilterName}/routeFilterRules/{ruleName}": { - "delete": { - "tags": [ - "RouteFilterRules" - ], - "operationId": "RouteFilterRules_Delete", - "x-ms-examples": { - "RouteFilterRuleDelete": { "$ref": "./examples/RouteFilterRuleDelete.json" } - }, - "description": "Deletes the specified rule from a route filter.", - "parameters": [ - { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group." - }, - { - "name": "routeFilterName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the route filter." - }, - { - "name": "ruleName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the rule." - }, - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "202": { - "description": "Accepted and the operation will complete asynchronously." - }, - "200": { - "description": "Accepted." - }, - "204": { - "description": "Rule was deleted or not found." - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - } - }, - "get": { - "tags": [ - "RouteFilterRules" - ], - "operationId": "RouteFilterRules_Get", - "x-ms-examples": { - "RouteFilterRuleGet": { "$ref": "./examples/RouteFilterRuleGet.json" } - }, - "description": "Gets the specified rule from a route filter.", - "parameters": [ - { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group." - }, - { - "name": "routeFilterName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the route filter." - }, - { - "name": "ruleName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the rule." - }, - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Request successful. The operation returns the resulting Route Filter Rule resource.", - "schema": { - "$ref": "#/definitions/RouteFilterRule" - } - } - } + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters/{routeFilterName}/routeFilterRules/{ruleName}": { + "delete": { + "tags": [ + "RouteFilterRules" + ], + "operationId": "RouteFilterRules_Delete", + "x-ms-examples": { + "RouteFilterRuleDelete": { + "$ref": "./examples/RouteFilterRuleDelete.json" + } + }, + "description": "Deletes the specified rule from a route filter.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "routeFilterName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the route filter." + }, + { + "name": "ruleName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the rule." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "202": { + "description": "Accepted and the operation will complete asynchronously." + }, + "200": { + "description": "Accepted." + }, + "204": { + "description": "Rule was deleted or not found." + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + }, + "get": { + "tags": [ + "RouteFilterRules" + ], + "operationId": "RouteFilterRules_Get", + "x-ms-examples": { + "RouteFilterRuleGet": { + "$ref": "./examples/RouteFilterRuleGet.json" + } + }, + "description": "Gets the specified rule from a route filter.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "routeFilterName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the route filter." + }, + { + "name": "ruleName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the rule." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns the resulting Route Filter Rule resource.", + "schema": { + "$ref": "#/definitions/RouteFilterRule" + } + } + } + }, + "put": { + "tags": [ + "RouteFilterRules" + ], + "operationId": "RouteFilterRules_CreateOrUpdate", + "x-ms-examples": { + "RouteFilterRuleCreate": { + "$ref": "./examples/RouteFilterRuleCreate.json" + } + }, + "description": "Creates or updates a route in the specified route filter.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "routeFilterName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the route filter." + }, + { + "name": "ruleName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the route filter rule." + }, + { + "name": "routeFilterRuleParameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/RouteFilterRule" }, - "put": { - "tags": [ - "RouteFilterRules" - ], - "operationId": "RouteFilterRules_CreateOrUpdate", - "x-ms-examples": { - "RouteFilterRuleCreate": { "$ref": "./examples/RouteFilterRuleCreate.json" } - }, - "description": "Creates or updates a route in the specified route filter.", - "parameters": [ - { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group." - }, - { - "name": "routeFilterName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the route filter." - }, - { - "name": "ruleName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the route filter rule." - }, - { - "name": "routeFilterRuleParameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/RouteFilterRule" - }, - "description": "Parameters supplied to the create or update route filter rule operation." - }, - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Update successful. The operation returns the resulting Route Filter Rule resource.", - "schema": { - "$ref": "#/definitions/RouteFilterRule" - } - }, - "201": { - "description": "Create successful. The operation returns the resulting Route Filter Rule resource.", - "schema": { - "$ref": "#/definitions/RouteFilterRule" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - } + "description": "Parameters supplied to the create or update route filter rule operation." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Update successful. The operation returns the resulting Route Filter Rule resource.", + "schema": { + "$ref": "#/definitions/RouteFilterRule" + } + }, + "201": { + "description": "Create successful. The operation returns the resulting Route Filter Rule resource.", + "schema": { + "$ref": "#/definitions/RouteFilterRule" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } + }, + "patch": { + "tags": [ + "RouteFilterRules" + ], + "operationId": "RouteFilterRules_Update", + "x-ms-examples": { + "RouteFilterRuleUpdate": { + "$ref": "./examples/RouteFilterRuleUpdate.json" + } + }, + "description": "Updates a route in the specified route filter.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "routeFilterName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the route filter." + }, + { + "name": "ruleName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the route filter rule." + }, + { + "name": "routeFilterRuleParameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/PatchRouteFilterRule" }, - "patch": { - "tags": [ - "RouteFilterRules" - ], - "operationId": "RouteFilterRules_Update", - "x-ms-examples": { - "RouteFilterRuleUpdate": { "$ref": "./examples/RouteFilterRuleUpdate.json" } - }, - "description": "Updates a route in the specified route filter.", - "parameters": [ - { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group." - }, - { - "name": "routeFilterName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the route filter." - }, - { - "name": "ruleName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the route filter rule." - }, - { - "name": "routeFilterRuleParameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/PatchRouteFilterRule" - }, - "description": "Parameters supplied to the update route filter rule operation." - }, - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Update successful. The operation returns the resulting Route Filter Rule resource.", - "schema": { - "$ref": "#/definitions/RouteFilterRule" - } - } - }, - "x-ms-long-running-operation": true + "description": "Parameters supplied to the update route filter rule operation." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Update successful. The operation returns the resulting Route Filter Rule resource.", + "schema": { + "$ref": "#/definitions/RouteFilterRule" } + } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters/{routeFilterName}/routeFilterRules": { - "get": { - "tags": [ - "RouteFilterRules" - ], - "operationId": "RouteFilterRules_ListByRouteFilter", - "x-ms-examples": { - "RouteFilterRuleListByRouteFilter": { "$ref": "./examples/RouteFilterRuleListByRouteFilter.json" } - }, - "description": "Gets all RouteFilterRules in a route filter.", - "parameters": [ - { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group." - }, - { - "name": "routeFilterName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the route filter." - }, - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Request successful. The operation returns a list of Route Filter Rule resources.", - "schema": { - "$ref": "#/definitions/RouteFilterRuleListResult" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters/{routeFilterName}/routeFilterRules": { + "get": { + "tags": [ + "RouteFilterRules" + ], + "operationId": "RouteFilterRules_ListByRouteFilter", + "x-ms-examples": { + "RouteFilterRuleListByRouteFilter": { + "$ref": "./examples/RouteFilterRuleListByRouteFilter.json" + } + }, + "description": "Gets all RouteFilterRules in a route filter.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "routeFilterName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the route filter." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns a list of Route Filter Rule resources.", + "schema": { + "$ref": "#/definitions/RouteFilterRuleListResult" } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + } + }, + "definitions": { + "RouteFilterRulePropertiesFormat": { + "required": [ + "access", + "routeFilterRuleType", + "communities" + ], + "properties": { + "access": { + "$ref": "./network.json#/definitions/Access", + "description": "The access type of the rule." + }, + "routeFilterRuleType": { + "type": "string", + "description": "The rule type of the rule.", + "enum": [ + "Community" + ], + "x-ms-enum": { + "name": "RouteFilterRuleType", + "modelAsString": true + } + }, + "communities": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The collection for bgp community values to filter on. e.g. ['12076:5010','12076:5020']." + }, + "provisioningState": { + "type": "string", + "readOnly": true, + "description": "The provisioning state of the resource. Possible values are: 'Updating', 'Deleting', 'Succeeded' and 'Failed'." } + }, + "description": "Route Filter Rule Resource." }, - "definitions": { - "RouteFilterRulePropertiesFormat": { - "required": [ - "access", - "routeFilterRuleType", - "communities" - ], - "properties": { - "access": { - "$ref": "./network.json#/definitions/Access", - "description": "The access type of the rule." - }, - "routeFilterRuleType": { - "type": "string", - "description": "The rule type of the rule.", - "enum": [ - "Community" - ], - "x-ms-enum": { - "name": "RouteFilterRuleType", - "modelAsString": true - } - }, - "communities": { - "type": "array", - "items": { - "type": "string" - }, - "description": "The collection for bgp community values to filter on. e.g. ['12076:5010','12076:5020']." - }, - "provisioningState": { - "type": "string", - "readOnly": true, - "description": "The provisioning state of the resource. Possible values are: 'Updating', 'Deleting', 'Succeeded' and 'Failed'." - } - }, - "description": "Route Filter Rule Resource." - }, - "RouteFilterRule": { - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/RouteFilterRulePropertiesFormat", - "description": "Properties of the route filter rule." - }, - "name": { - "type": "string", - "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource." - }, - "location": { - "type": "string", - "description": "Resource location." - }, - "etag": { - "type": "string", - "readOnly": true, - "description": "A unique read-only string that changes whenever the resource is updated." - } - }, - "allOf": [ - { - "$ref": "./network.json#/definitions/SubResource" - } - ], - "description": "Route Filter Rule Resource." - }, - "PatchRouteFilterRule": { - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/RouteFilterRulePropertiesFormat", - "description": "Properties of the route filter rule." - }, - "name": { - "type": "string", - "readOnly": true, - "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource." - }, - "etag": { - "type": "string", - "readOnly": true, - "description": "A unique read-only string that changes whenever the resource is updated." - } - }, - "allOf": [ - { - "$ref": "./network.json#/definitions/SubResource" - } - ], - "description": "Route Filter Rule Resource." - }, - "RouteFilterPropertiesFormat": { - "properties": { - "rules": { - "type": "array", - "items": { - "$ref": "#/definitions/RouteFilterRule" - }, - "description": "Collection of RouteFilterRules contained within a route filter." - }, - "peerings": { - "type": "array", - "items": { - "$ref": "./expressRouteCircuit.json#/definitions/ExpressRouteCircuitPeering" - }, - "description": "A collection of references to express route circuit peerings." - }, - "ipv6Peerings": { - "type": "array", - "items": { - "$ref": "./expressRouteCircuit.json#/definitions/ExpressRouteCircuitPeering" - }, - "description": "A collection of references to express route circuit ipv6 peerings." - }, - "provisioningState": { - "type": "string", - "readOnly": true, - "description": "The provisioning state of the resource. Possible values are: 'Updating', 'Deleting', 'Succeeded' and 'Failed'." - } - }, - "description": "Route Filter Resource." - }, - "RouteFilter": { - "required": [ - "location" - ], - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/RouteFilterPropertiesFormat", - "description": "Properties of the route filter." - }, - "etag": { - "type": "string", - "readOnly": true, - "description": "Gets a unique read-only string that changes whenever the resource is updated." - } - }, - "allOf": [ - { - "$ref": "./network.json#/definitions/Resource" - } - ], - "description": "Route Filter Resource." - }, - "PatchRouteFilter": { - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/RouteFilterPropertiesFormat", - "description": "Properties of the route filter." - }, - "name": { - "type": "string", - "readOnly": true, - "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource." - }, - "etag": { - "type": "string", - "readOnly": true, - "description": "A unique read-only string that changes whenever the resource is updated." - }, - "type": { - "readOnly": true, - "type": "string", - "description": "Resource type." - }, - "tags": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "Resource tags." - } - }, - "allOf": [ - { - "$ref": "./network.json#/definitions/SubResource" - } - ], - "description": "Route Filter Resource." - }, - "RouteFilterListResult": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/RouteFilter" - }, - "description": "Gets a list of route filters in a resource group." - }, - "nextLink": { - "type": "string", - "description": "The URL to get the next set of results." - } - }, - "description": "Response for the ListRouteFilters API service call." - }, - "RouteFilterRuleListResult": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/RouteFilterRule" - }, - "description": "Gets a list of RouteFilterRules in a resource group." - }, - "nextLink": { - "type": "string", - "description": "The URL to get the next set of results." - } - }, - "description": "Response for the ListRouteFilterRules API service call." + "RouteFilterRule": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/RouteFilterRulePropertiesFormat", + "description": "Properties of the route filter rule." + }, + "name": { + "type": "string", + "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource." + }, + "location": { + "type": "string", + "description": "Resource location." + }, + "etag": { + "type": "string", + "readOnly": true, + "description": "A unique read-only string that changes whenever the resource is updated." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/SubResource" + } + ], + "description": "Route Filter Rule Resource." + }, + "PatchRouteFilterRule": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/RouteFilterRulePropertiesFormat", + "description": "Properties of the route filter rule." + }, + "name": { + "type": "string", + "readOnly": true, + "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource." + }, + "etag": { + "type": "string", + "readOnly": true, + "description": "A unique read-only string that changes whenever the resource is updated." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/SubResource" + } + ], + "description": "Route Filter Rule Resource." + }, + "RouteFilterPropertiesFormat": { + "properties": { + "rules": { + "type": "array", + "items": { + "$ref": "#/definitions/RouteFilterRule" + }, + "description": "Collection of RouteFilterRules contained within a route filter." + }, + "peerings": { + "type": "array", + "items": { + "$ref": "./expressRouteCircuit.json#/definitions/ExpressRouteCircuitPeering" + }, + "description": "A collection of references to express route circuit peerings." + }, + "ipv6Peerings": { + "type": "array", + "items": { + "$ref": "./expressRouteCircuit.json#/definitions/ExpressRouteCircuitPeering" + }, + "description": "A collection of references to express route circuit ipv6 peerings." + }, + "provisioningState": { + "type": "string", + "readOnly": true, + "description": "The provisioning state of the resource. Possible values are: 'Updating', 'Deleting', 'Succeeded' and 'Failed'." + } + }, + "description": "Route Filter Resource." + }, + "RouteFilter": { + "required": [ + "location" + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/RouteFilterPropertiesFormat", + "description": "Properties of the route filter." + }, + "etag": { + "type": "string", + "readOnly": true, + "description": "Gets a unique read-only string that changes whenever the resource is updated." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/Resource" + } + ], + "description": "Route Filter Resource." + }, + "PatchRouteFilter": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/RouteFilterPropertiesFormat", + "description": "Properties of the route filter." + }, + "name": { + "type": "string", + "readOnly": true, + "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource." + }, + "etag": { + "type": "string", + "readOnly": true, + "description": "A unique read-only string that changes whenever the resource is updated." + }, + "type": { + "readOnly": true, + "type": "string", + "description": "Resource type." + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/SubResource" + } + ], + "description": "Route Filter Resource." + }, + "RouteFilterListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/RouteFilter" + }, + "description": "Gets a list of route filters in a resource group." + }, + "nextLink": { + "type": "string", + "description": "The URL to get the next set of results." + } + }, + "description": "Response for the ListRouteFilters API service call." + }, + "RouteFilterRuleListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/RouteFilterRule" + }, + "description": "Gets a list of RouteFilterRules in a resource group." + }, + "nextLink": { + "type": "string", + "description": "The URL to get the next set of results." } + }, + "description": "Response for the ListRouteFilterRules API service call." } + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/routeTable.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/routeTable.json index 5e882dddbafd..e2cf7fdfc805 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/routeTable.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/routeTable.json @@ -79,7 +79,9 @@ "final-state-via": "location" }, "x-ms-examples": { - "Delete route table": { "$ref": "./examples/RouteTableDelete.json" } + "Delete route table": { + "$ref": "./examples/RouteTableDelete.json" + } } }, "get": { @@ -126,7 +128,9 @@ } }, "x-ms-examples": { - "Get route table": { "$ref": "./examples/RouteTableGet.json" } + "Get route table": { + "$ref": "./examples/RouteTableGet.json" + } } }, "put": { @@ -181,8 +185,12 @@ } }, "x-ms-examples": { - "Create route table": { "$ref": "./examples/RouteTableCreate.json" }, - "Create route table with route": { "$ref": "./examples/RouteTableCreateWithRoute.json" } + "Create route table": { + "$ref": "./examples/RouteTableCreate.json" + }, + "Create route table with route": { + "$ref": "./examples/RouteTableCreateWithRoute.json" + } }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { @@ -235,7 +243,9 @@ } }, "x-ms-examples": { - "Update route table tags": { "$ref": "./examples/RouteTableUpdateTags.json" } + "Update route table tags": { + "$ref": "./examples/RouteTableUpdateTags.json" + } }, "x-ms-long-running-operation": true } @@ -271,7 +281,9 @@ } }, "x-ms-examples": { - "List route tables in resource group": { "$ref": "./examples/RouteTableList.json" } + "List route tables in resource group": { + "$ref": "./examples/RouteTableList.json" + } }, "x-ms-pageable": { "nextLinkName": "nextLink" @@ -302,7 +314,9 @@ } }, "x-ms-examples": { - "List all route tables": { "$ref": "./examples/RouteTableListAll.json" } + "List all route tables": { + "$ref": "./examples/RouteTableListAll.json" + } }, "x-ms-pageable": { "nextLinkName": "nextLink" @@ -357,7 +371,9 @@ } }, "x-ms-examples": { - "Delete route": { "$ref": "./examples/RouteTableRouteDelete.json" } + "Delete route": { + "$ref": "./examples/RouteTableRouteDelete.json" + } }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { @@ -408,7 +424,9 @@ } }, "x-ms-examples": { - "Get route": { "$ref": "./examples/RouteTableRouteGet.json" } + "Get route": { + "$ref": "./examples/RouteTableRouteGet.json" + } } }, "put": { @@ -470,7 +488,9 @@ } }, "x-ms-examples": { - "Create route": { "$ref": "./examples/RouteTableRouteCreate.json" } + "Create route": { + "$ref": "./examples/RouteTableRouteCreate.json" + } }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { @@ -519,7 +539,9 @@ "nextLinkName": "nextLink" }, "x-ms-examples": { - "List routes": { "$ref": "./examples/RouteTableRouteList.json" } + "List routes": { + "$ref": "./examples/RouteTableRouteList.json" + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/serviceCommunity.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/serviceCommunity.json index 25c2093817b5..e5b8235ea07a 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/serviceCommunity.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/serviceCommunity.json @@ -41,7 +41,9 @@ ], "operationId": "BgpServiceCommunities_List", "x-ms-examples": { - "ServiceCommunityList": { "$ref": "./examples/ServiceCommunityList.json" } + "ServiceCommunityList": { + "$ref": "./examples/ServiceCommunityList.json" + } }, "description": "Gets all the available bgp service communities.", "parameters": [ @@ -71,7 +73,7 @@ "properties": { "serviceSupportedRegion": { "type": "string", - "description": "The region which the service support. e.g. For O365, region is Global." + "description": "The region which the service support. e.g. For O365, region is Global." }, "communityName": { "type": "string", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/serviceEndpointPolicy.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/serviceEndpointPolicy.json index fe8518bc1cec..eceb2be19046 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/serviceEndpointPolicy.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/serviceEndpointPolicy.json @@ -75,7 +75,9 @@ } }, "x-ms-examples": { - "Delete service endpoint policy": { "$ref": "./examples/ServiceEndpointPolicyDelete.json" } + "Delete service endpoint policy": { + "$ref": "./examples/ServiceEndpointPolicyDelete.json" + } }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { @@ -126,7 +128,9 @@ } }, "x-ms-examples": { - "Get service endPoint Policy": { "$ref": "./examples/ServiceEndpointPolicyGet.json" } + "Get service endPoint Policy": { + "$ref": "./examples/ServiceEndpointPolicyGet.json" + } } }, "put": { @@ -181,8 +185,12 @@ } }, "x-ms-examples": { - "Create service endpoint policy": { "$ref": "./examples/ServiceEndpointPolicyCreate.json" }, - "Create service endpoint policy with definition": { "$ref": "./examples/ServiceEndpointPolicyCreateWithDefinition.json" } + "Create service endpoint policy": { + "$ref": "./examples/ServiceEndpointPolicyCreate.json" + }, + "Create service endpoint policy with definition": { + "$ref": "./examples/ServiceEndpointPolicyCreateWithDefinition.json" + } }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { @@ -235,7 +243,9 @@ } }, "x-ms-examples": { - "Update service endpoint policy tags": { "$ref": "./examples/ServiceEndpointPolicyUpdateTags.json" } + "Update service endpoint policy tags": { + "$ref": "./examples/ServiceEndpointPolicyUpdateTags.json" + } }, "x-ms-long-running-operation": true } @@ -264,7 +274,9 @@ } }, "x-ms-examples": { - "List all service endpoint policy": { "$ref": "./examples/ServiceEndpointPolicyListAll.json" } + "List all service endpoint policy": { + "$ref": "./examples/ServiceEndpointPolicyListAll.json" + } }, "x-ms-pageable": { "nextLinkName": "nextLink" @@ -302,7 +314,9 @@ } }, "x-ms-examples": { - "List resource group service endpoint policies": { "$ref": "./examples/ServiceEndpointPolicyList.json" } + "List resource group service endpoint policies": { + "$ref": "./examples/ServiceEndpointPolicyList.json" + } }, "x-ms-pageable": { "nextLinkName": "nextLink" @@ -357,7 +371,9 @@ } }, "x-ms-examples": { - "Delete service endpoint policy definitions from service endpoint policy": { "$ref": "./examples/ServiceEndpointPolicyDefinitionDelete.json" } + "Delete service endpoint policy definitions from service endpoint policy": { + "$ref": "./examples/ServiceEndpointPolicyDefinitionDelete.json" + } }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { @@ -408,7 +424,9 @@ } }, "x-ms-examples": { - "Get service endpoint definition in service endpoint policy": { "$ref": "./examples/ServiceEndpointPolicyDefinitionGet.json" } + "Get service endpoint definition in service endpoint policy": { + "$ref": "./examples/ServiceEndpointPolicyDefinitionGet.json" + } } }, "put": { @@ -470,7 +488,9 @@ } }, "x-ms-examples": { - "Create service endpoint policy definition": { "$ref": "./examples/ServiceEndpointPolicyDefinitionCreate.json" } + "Create service endpoint policy definition": { + "$ref": "./examples/ServiceEndpointPolicyDefinitionCreate.json" + } }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { @@ -516,14 +536,16 @@ } }, "x-ms-examples": { - "List service endpoint definitions in service end point policy": { "$ref": "./examples/ServiceEndpointPolicyDefinitionList.json" } + "List service endpoint definitions in service end point policy": { + "$ref": "./examples/ServiceEndpointPolicyDefinitionList.json" + } }, "x-ms-pageable": { "nextLinkName": "nextLink" } } } - }, + }, "definitions": { "ServiceEndpointPolicyDefinitionPropertiesFormat": { "properties": { @@ -543,7 +565,7 @@ "description": "A list of service resources." }, "provisioningState": { - "readOnly" : true, + "readOnly": true, "type": "string", "description": "The provisioning state of the service end point policy definition. Possible values are: 'Updating', 'Deleting', and 'Failed'." } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/usage.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/usage.json index 7b3a9bb97c97..1adbebfba5d6 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/usage.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/usage.json @@ -66,8 +66,12 @@ } }, "x-ms-examples": { - "List usages": { "$ref": "./examples/UsageList.json" }, - "List usages spaced location": { "$ref": "./examples/UsageListSpacedLocation.json" } + "List usages": { + "$ref": "./examples/UsageList.json" + }, + "List usages spaced location": { + "$ref": "./examples/UsageListSpacedLocation.json" + } }, "x-ms-pageable": { "nextLinkName": "nextLink" diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/virtualNetwork.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/virtualNetwork.json index 88cdb1a74753..06af35a0542f 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/virtualNetwork.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/virtualNetwork.json @@ -79,7 +79,9 @@ "final-state-via": "location" }, "x-ms-examples": { - "Delete virtual network": { "$ref": "./examples/VirtualNetworkDelete.json" } + "Delete virtual network": { + "$ref": "./examples/VirtualNetworkDelete.json" + } } }, "get": { @@ -126,9 +128,15 @@ } }, "x-ms-examples": { - "Get virtual network": { "$ref": "./examples/VirtualNetworkGet.json" }, - "Get virtual network with a delegated subnet": { "$ref": "./examples/VirtualNetworkGetWithSubnetDelegation.json" }, - "Get virtual network with service association links": { "$ref": "./examples/VirtualNetworkGetWithServiceAssociationLink.json" } + "Get virtual network": { + "$ref": "./examples/VirtualNetworkGet.json" + }, + "Get virtual network with a delegated subnet": { + "$ref": "./examples/VirtualNetworkGetWithSubnetDelegation.json" + }, + "Get virtual network with service association links": { + "$ref": "./examples/VirtualNetworkGetWithServiceAssociationLink.json" + } } }, "put": { @@ -187,12 +195,24 @@ "final-state-via": "azure-async-operation" }, "x-ms-examples": { - "Create virtual network": { "$ref": "./examples/VirtualNetworkCreate.json" }, - "Create virtual network with subnet": { "$ref": "./examples/VirtualNetworkCreateSubnet.json" }, - "Create virtual network with subnet containing address prefixes": { "$ref": "./examples/VirtualNetworkCreateSubnetWithAddressPrefixes.json" }, - "Create virtual network with service endpoints": { "$ref": "./examples/VirtualNetworkCreateServiceEndpoints.json" }, - "Create virtual network with service endpoints and service endpoint policy": { "$ref": "./examples/VirtualNetworkCreateServiceEndpointPolicy.json" }, - "Create virtual network with delegated subnets": { "$ref": "./examples/VirtualNetworkCreateSubnetWithDelegation.json" } + "Create virtual network": { + "$ref": "./examples/VirtualNetworkCreate.json" + }, + "Create virtual network with subnet": { + "$ref": "./examples/VirtualNetworkCreateSubnet.json" + }, + "Create virtual network with subnet containing address prefixes": { + "$ref": "./examples/VirtualNetworkCreateSubnetWithAddressPrefixes.json" + }, + "Create virtual network with service endpoints": { + "$ref": "./examples/VirtualNetworkCreateServiceEndpoints.json" + }, + "Create virtual network with service endpoints and service endpoint policy": { + "$ref": "./examples/VirtualNetworkCreateServiceEndpointPolicy.json" + }, + "Create virtual network with delegated subnets": { + "$ref": "./examples/VirtualNetworkCreateSubnetWithDelegation.json" + } } }, "patch": { @@ -242,7 +262,9 @@ }, "x-ms-long-running-operation": true, "x-ms-examples": { - "Update virtual network tags": { "$ref": "./examples/VirtualNetworkUpdateTags.json" } + "Update virtual network tags": { + "$ref": "./examples/VirtualNetworkUpdateTags.json" + } } } }, @@ -270,7 +292,9 @@ } }, "x-ms-examples": { - "List all virtual networks": { "$ref": "./examples/VirtualNetworkListAll.json" } + "List all virtual networks": { + "$ref": "./examples/VirtualNetworkListAll.json" + } }, "x-ms-pageable": { "nextLinkName": "nextLink" @@ -308,7 +332,9 @@ } }, "x-ms-examples": { - "List virtual networks in resource group": { "$ref": "./examples/VirtualNetworkList.json" } + "List virtual networks in resource group": { + "$ref": "./examples/VirtualNetworkList.json" + } }, "x-ms-pageable": { "nextLinkName": "nextLink" @@ -363,7 +389,9 @@ } }, "x-ms-examples": { - "Delete subnet": { "$ref": "./examples/SubnetDelete.json" } + "Delete subnet": { + "$ref": "./examples/SubnetDelete.json" + } }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { @@ -421,8 +449,12 @@ } }, "x-ms-examples": { - "Get subnet": { "$ref": "./examples/SubnetGet.json" }, - "Get subnet with a delegation": { "$ref": "./examples/SubnetGetWithDelegation.json" } + "Get subnet": { + "$ref": "./examples/SubnetGet.json" + }, + "Get subnet with a delegation": { + "$ref": "./examples/SubnetGetWithDelegation.json" + } } }, "put": { @@ -488,9 +520,15 @@ "final-state-via": "azure-async-operation" }, "x-ms-examples": { - "Create subnet": { "$ref": "./examples/SubnetCreate.json" }, - "Create subnet with service endpoints": { "$ref": "./examples/SubnetCreateServiceEndpoint.json" }, - "Create subnet with a delegation": { "$ref": "./examples/SubnetCreateWithDelegation.json" } + "Create subnet": { + "$ref": "./examples/SubnetCreate.json" + }, + "Create subnet with service endpoints": { + "$ref": "./examples/SubnetCreateServiceEndpoint.json" + }, + "Create subnet with a delegation": { + "$ref": "./examples/SubnetCreateWithDelegation.json" + } } } }, @@ -549,7 +587,9 @@ "final-state-via": "location" }, "x-ms-examples": { - "Prepare Network Policies": { "$ref": "./examples/SubnetPrepareNetworkPolicies.json" } + "Prepare Network Policies": { + "$ref": "./examples/SubnetPrepareNetworkPolicies.json" + } } } }, @@ -686,7 +726,9 @@ "nextLinkName": "nextLink" }, "x-ms-examples": { - "List subnets": { "$ref": "./examples/SubnetList.json" } + "List subnets": { + "$ref": "./examples/SubnetList.json" + } } } }, @@ -738,7 +780,9 @@ } }, "x-ms-examples": { - "Delete peering": { "$ref": "./examples/VirtualNetworkPeeringDelete.json" } + "Delete peering": { + "$ref": "./examples/VirtualNetworkPeeringDelete.json" + } }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { @@ -789,7 +833,9 @@ } }, "x-ms-examples": { - "Get peering": { "$ref": "./examples/VirtualNetworkPeeringGet.json" } + "Get peering": { + "$ref": "./examples/VirtualNetworkPeeringGet.json" + } } }, "put": { @@ -851,7 +897,9 @@ } }, "x-ms-examples": { - "Create peering": { "$ref": "./examples/VirtualNetworkPeeringCreate.json" } + "Create peering": { + "$ref": "./examples/VirtualNetworkPeeringCreate.json" + } }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { @@ -900,7 +948,9 @@ "nextLinkName": "nextLink" }, "x-ms-examples": { - "List peerings": { "$ref": "./examples/VirtualNetworkPeeringList.json" } + "List peerings": { + "$ref": "./examples/VirtualNetworkPeeringList.json" + } } } }, @@ -946,7 +996,9 @@ } }, "x-ms-examples": { - "Check IP address availability": { "$ref": "./examples/VirtualNetworkCheckIPAddressAvailability.json" } + "Check IP address availability": { + "$ref": "./examples/VirtualNetworkCheckIPAddressAvailability.json" + } } } }, @@ -985,7 +1037,9 @@ } }, "x-ms-examples": { - "VnetGetUsage": { "$ref": "./examples/VirtualNetworkListUsage.json" } + "VnetGetUsage": { + "$ref": "./examples/VirtualNetworkListUsage.json" + } }, "x-ms-pageable": { "nextLinkName": "nextLink" @@ -1169,7 +1223,7 @@ "description": "The reference of the RouteTable resource." }, "natGateway": { - "$ref":"./network.json#/definitions/SubResource", + "$ref": "./network.json#/definitions/SubResource", "description": "Nat gateway associated with this subnet." }, "serviceEndpoints": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/virtualNetworkGateway.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/virtualNetworkGateway.json index 71c697f8c0d2..0460cf089063 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/virtualNetworkGateway.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/virtualNetworkGateway.json @@ -87,7 +87,9 @@ } }, "x-ms-examples": { - "UpdateVirtualNetworkGateway": { "$ref": "./examples/VirtualNetworkGatewayUpdate.json" } + "UpdateVirtualNetworkGateway": { + "$ref": "./examples/VirtualNetworkGatewayUpdate.json" + } }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { @@ -131,7 +133,9 @@ } }, "x-ms-examples": { - "GetVirtualNetworkGateway": { "$ref": "./examples/VirtualNetworkGatewayGet.json" } + "GetVirtualNetworkGateway": { + "$ref": "./examples/VirtualNetworkGatewayGet.json" + } } }, "delete": { @@ -174,7 +178,9 @@ } }, "x-ms-examples": { - "DeleteVirtualNetworkGateway": { "$ref": "./examples/VirtualNetworkGatewayDelete.json" } + "DeleteVirtualNetworkGateway": { + "$ref": "./examples/VirtualNetworkGatewayDelete.json" + } }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { @@ -227,7 +233,9 @@ } }, "x-ms-examples": { - "UpdateVirtualNetworkGatewayTags": { "$ref": "./examples/VirtualNetworkGatewayUpdateTags.json" } + "UpdateVirtualNetworkGatewayTags": { + "$ref": "./examples/VirtualNetworkGatewayUpdateTags.json" + } }, "x-ms-long-running-operation": true } @@ -263,7 +271,9 @@ } }, "x-ms-examples": { - "ListVirtualNetworkGatewaysinResourceGroup": { "$ref": "./examples/VirtualNetworkGatewayList.json" } + "ListVirtualNetworkGatewaysinResourceGroup": { + "$ref": "./examples/VirtualNetworkGatewayList.json" + } }, "x-ms-pageable": { "nextLinkName": "nextLink" @@ -311,7 +321,9 @@ "nextLinkName": "nextLink" }, "x-ms-examples": { - "VirtualNetworkGatewaysListConnections": { "$ref": "./examples/VirtualNetworkGatewaysListConnections.json" } + "VirtualNetworkGatewaysListConnections": { + "$ref": "./examples/VirtualNetworkGatewaysListConnections.json" + } } } }, @@ -363,7 +375,9 @@ } }, "x-ms-examples": { - "ResetVirtualNetworkGateway": { "$ref": "./examples/VirtualNetworkGatewayReset.json" } + "ResetVirtualNetworkGateway": { + "$ref": "./examples/VirtualNetworkGatewayReset.json" + } }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { @@ -409,7 +423,9 @@ } }, "x-ms-examples": { - "ResetVpnClientSharedKey": { "$ref": "./examples/VirtualNetworkGatewayResetVpnClientSharedKey.json" } + "ResetVpnClientSharedKey": { + "$ref": "./examples/VirtualNetworkGatewayResetVpnClientSharedKey.json" + } }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { @@ -467,7 +483,9 @@ } }, "x-ms-examples": { - "GenerateVPNClientPackage": { "$ref": "./examples/VirtualNetworkGatewayGenerateVpnClientPackage.json" } + "GenerateVPNClientPackage": { + "$ref": "./examples/VirtualNetworkGatewayGenerateVpnClientPackage.json" + } }, "x-ms-long-running-operation-options": { "final-state-via": "location" @@ -524,7 +542,9 @@ } }, "x-ms-examples": { - "GenerateVirtualNetworkGatewayVPNProfile": { "$ref": "./examples/VirtualNetworkGatewayGenerateVpnProfile.json" } + "GenerateVirtualNetworkGatewayVPNProfile": { + "$ref": "./examples/VirtualNetworkGatewayGenerateVpnProfile.json" + } }, "x-ms-long-running-operation-options": { "final-state-via": "location" @@ -572,7 +592,9 @@ } }, "x-ms-examples": { - "GetVirtualNetworkGatewayVPNProfilePackageURL": { "$ref": "./examples/VirtualNetworkGatewayGetVpnProfilePackageUrl.json" } + "GetVirtualNetworkGatewayVPNProfilePackageURL": { + "$ref": "./examples/VirtualNetworkGatewayGetVpnProfilePackageUrl.json" + } }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { @@ -628,7 +650,9 @@ } }, "x-ms-examples": { - "GetVirtualNetworkGatewayBGPPeerStatus": { "$ref": "./examples/VirtualNetworkGatewayGetBGPPeerStatus.json" } + "GetVirtualNetworkGatewayBGPPeerStatus": { + "$ref": "./examples/VirtualNetworkGatewayGetBGPPeerStatus.json" + } }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { @@ -674,7 +698,9 @@ } }, "x-ms-examples": { - "ListVirtualNetworkGatewaySupportedVPNDevices": { "$ref": "./examples/VirtualNetworkGatewaySupportedVpnDevice.json" } + "ListVirtualNetworkGatewaySupportedVPNDevices": { + "$ref": "./examples/VirtualNetworkGatewaySupportedVpnDevice.json" + } } } }, @@ -719,7 +745,9 @@ } }, "x-ms-examples": { - "GetVirtualNetworkGatewayLearnedRoutes": { "$ref": "./examples/VirtualNetworkGatewayLearnedRoutes.json" } + "GetVirtualNetworkGatewayLearnedRoutes": { + "$ref": "./examples/VirtualNetworkGatewayLearnedRoutes.json" + } }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { @@ -775,7 +803,9 @@ } }, "x-ms-examples": { - "GetVirtualNetworkGatewayAdvertisedRoutes": { "$ref": "./examples/VirtualNetworkGatewayGetAdvertisedRoutes.json" } + "GetVirtualNetworkGatewayAdvertisedRoutes": { + "$ref": "./examples/VirtualNetworkGatewayGetAdvertisedRoutes.json" + } }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { @@ -837,7 +867,9 @@ "final-state-via": "location" }, "x-ms-examples": { - "Set VirtualNetworkGateway VpnClientIpsecParameters": { "$ref": "./examples/VirtualNetworkGatewaySetVpnClientIpsecParameters.json" } + "Set VirtualNetworkGateway VpnClientIpsecParameters": { + "$ref": "./examples/VirtualNetworkGatewaySetVpnClientIpsecParameters.json" + } } } }, @@ -883,7 +915,9 @@ "final-state-via": "location" }, "x-ms-examples": { - "Get VirtualNetworkGateway VpnClientIpsecParameters": { "$ref": "./examples/VirtualNetworkGatewayGetVpnClientIpsecParameters.json" } + "Get VirtualNetworkGateway VpnClientIpsecParameters": { + "$ref": "./examples/VirtualNetworkGatewayGetVpnClientIpsecParameters.json" + } } } }, @@ -934,7 +968,9 @@ } }, "x-ms-examples": { - "GetVPNDeviceConfigurationScript": { "$ref": "./examples/VirtualNetworkGatewayVpnDeviceConfigurationScript.json" } + "GetVPNDeviceConfigurationScript": { + "$ref": "./examples/VirtualNetworkGatewayVpnDeviceConfigurationScript.json" + } } } }, @@ -991,7 +1027,9 @@ } }, "x-ms-examples": { - "CreateVirtualNetworkGatewayConnection_S2S": { "$ref": "./examples/VirtualNetworkGatewayConnectionCreate.json" } + "CreateVirtualNetworkGatewayConnection_S2S": { + "$ref": "./examples/VirtualNetworkGatewayConnectionCreate.json" + } }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { @@ -1035,7 +1073,9 @@ } }, "x-ms-examples": { - "GetVirtualNetworkGatewayConnection": { "$ref": "./examples/VirtualNetworkGatewayConnectionGet.json" } + "GetVirtualNetworkGatewayConnection": { + "$ref": "./examples/VirtualNetworkGatewayConnectionGet.json" + } } }, "delete": { @@ -1078,7 +1118,9 @@ } }, "x-ms-examples": { - "DeleteVirtualNetworkGatewayConnection": { "$ref": "./examples/VirtualNetworkGatewayConnectionDelete.json" } + "DeleteVirtualNetworkGatewayConnection": { + "$ref": "./examples/VirtualNetworkGatewayConnectionDelete.json" + } }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { @@ -1131,7 +1173,9 @@ } }, "x-ms-examples": { - "UpdateVirtualNetworkGatewayConnectionTags": { "$ref": "./examples/VirtualNetworkGatewayConnectionUpdateTags.json" } + "UpdateVirtualNetworkGatewayConnectionTags": { + "$ref": "./examples/VirtualNetworkGatewayConnectionUpdateTags.json" + } }, "x-ms-long-running-operation": true } @@ -1189,7 +1233,9 @@ } }, "x-ms-examples": { - "SetVirtualNetworkGatewayConnectionSharedKey": { "$ref": "./examples/VirtualNetworkGatewayConnectionSetSharedKey.json" } + "SetVirtualNetworkGatewayConnectionSharedKey": { + "$ref": "./examples/VirtualNetworkGatewayConnectionSetSharedKey.json" + } }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { @@ -1233,7 +1279,9 @@ } }, "x-ms-examples": { - "GetVirtualNetworkGatewayConnectionSharedKey": { "$ref": "./examples/VirtualNetworkGatewayConnectionGetSharedKey.json" } + "GetVirtualNetworkGatewayConnectionSharedKey": { + "$ref": "./examples/VirtualNetworkGatewayConnectionGetSharedKey.json" + } } } }, @@ -1268,7 +1316,9 @@ } }, "x-ms-examples": { - "ListVirtualNetworkGatewayConnectionsinResourceGroup": { "$ref": "./examples/VirtualNetworkGatewayConnectionsList.json" } + "ListVirtualNetworkGatewayConnectionsinResourceGroup": { + "$ref": "./examples/VirtualNetworkGatewayConnectionsList.json" + } }, "x-ms-pageable": { "nextLinkName": "nextLink" @@ -1325,7 +1375,9 @@ } }, "x-ms-examples": { - "ResetVirtualNetworkGatewayConnectionSharedKey": { "$ref": "./examples/VirtualNetworkGatewayConnectionResetSharedKey.json" } + "ResetVirtualNetworkGatewayConnectionSharedKey": { + "$ref": "./examples/VirtualNetworkGatewayConnectionResetSharedKey.json" + } }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { @@ -1387,7 +1439,9 @@ } }, "x-ms-examples": { - "CreateLocalNetworkGateway": { "$ref": "./examples/LocalNetworkGatewayCreate.json" } + "CreateLocalNetworkGateway": { + "$ref": "./examples/LocalNetworkGatewayCreate.json" + } }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { @@ -1432,7 +1486,9 @@ } }, "x-ms-examples": { - "GetLocalNetworkGateway": { "$ref": "./examples/LocalNetworkGatewayGet.json" } + "GetLocalNetworkGateway": { + "$ref": "./examples/LocalNetworkGatewayGet.json" + } } }, "delete": { @@ -1476,7 +1532,9 @@ } }, "x-ms-examples": { - "DeleteLocalNetworkGateway": { "$ref": "./examples/LocalNetworkGatewayDelete.json" } + "DeleteLocalNetworkGateway": { + "$ref": "./examples/LocalNetworkGatewayDelete.json" + } }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { @@ -1530,7 +1588,9 @@ } }, "x-ms-examples": { - "UpdateLocalNetworkGatewayTags": { "$ref": "./examples/LocalNetworkGatewayUpdateTags.json" } + "UpdateLocalNetworkGatewayTags": { + "$ref": "./examples/LocalNetworkGatewayUpdateTags.json" + } }, "x-ms-long-running-operation": true } @@ -1566,7 +1626,9 @@ } }, "x-ms-examples": { - "ListLocalNetworkGateways": { "$ref": "./examples/LocalNetworkGatewayList.json" } + "ListLocalNetworkGateways": { + "$ref": "./examples/LocalNetworkGatewayList.json" + } }, "x-ms-pageable": { "nextLinkName": "nextLink" @@ -1594,7 +1656,7 @@ "required": true, "type": "string", "description": "The name of the virtual network gateway." - }, + }, { "$ref": "./network.json#/parameters/ApiVersionParameter" }, @@ -1614,7 +1676,9 @@ } }, "x-ms-examples": { - "GetVirtualNetworkGatewayVpnclientConnectionHealth": { "$ref": "./examples/VirtualNetworkGatewayGetVpnclientConnectionHealth.json" } + "GetVirtualNetworkGatewayVpnclientConnectionHealth": { + "$ref": "./examples/VirtualNetworkGatewayGetVpnclientConnectionHealth.json" + } }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { @@ -1859,7 +1923,7 @@ }, "description": "VpnClientProtocols for Virtual network gateway." }, - "vpnClientIpsecPolicies": { + "vpnClientIpsecPolicies": { "type": "array", "items": { "$ref": "#/definitions/IpsecPolicy" @@ -2215,7 +2279,7 @@ "description": "Gateway connection type." }, "connectionProtocol": { - "$ref": "#/definitions/ConnectionProtocol", + "$ref": "#/definitions/ConnectionProtocol", "description": "Connection protocol used for this connection." }, "routingWeight": { @@ -2412,16 +2476,16 @@ "description": "An IPSec Policy configuration for a virtual network gateway connection." }, "ConnectionProtocol": { - "type": "string", - "description": "Gateway connection protocol.", - "enum": [ - "IKEv2", - "IKEv1" - ], - "x-ms-enum": { - "name": "VirtualNetworkGatewayConnectionProtocol", - "modelAsString": true - } + "type": "string", + "description": "Gateway connection protocol.", + "enum": [ + "IKEv2", + "IKEv1" + ], + "x-ms-enum": { + "name": "VirtualNetworkGatewayConnectionProtocol", + "modelAsString": true + } }, "VpnClientIPsecParameters": { "properties": { @@ -2572,8 +2636,8 @@ "description": "Gateway connection type." }, "connectionProtocol": { - "$ref": "#/definitions/ConnectionProtocol", - "description": "Connection protocol used for this connection." + "$ref": "#/definitions/ConnectionProtocol", + "description": "Connection protocol used for this connection." }, "routingWeight": { "type": "integer", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/virtualNetworkTap.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/virtualNetworkTap.json index 455ddc50623e..058ec7ec4d9f 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/virtualNetworkTap.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/virtualNetworkTap.json @@ -35,292 +35,304 @@ }, "paths": { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkTaps/{tapName}": { - "delete": { - "tags": [ - "VirtualNetworkTap" - ], - "operationId": "VirtualNetworkTaps_Delete", - "description": "Deletes the specified virtual network tap.", - "parameters": [ - { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group." - }, - { - "name": "tapName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the virtual network tap." - }, - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Delete successful." - }, - "202": { - "description": "Accepted. Sets 'Deleting' provisioningState until the operation completes. Returns an operation URI that can be queried to find the current state of the operation." - }, - "204": { - "description": "Request successful. Resource does not exist." - } - }, - "x-ms-examples": { - "Delete Virtual Network Tap resource": { "$ref": "./examples/VirtualNetworkTapDelete.json" } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - } + "delete": { + "tags": [ + "VirtualNetworkTap" + ], + "operationId": "VirtualNetworkTaps_Delete", + "description": "Deletes the specified virtual network tap.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "tapName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the virtual network tap." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Delete successful." + }, + "202": { + "description": "Accepted. Sets 'Deleting' provisioningState until the operation completes. Returns an operation URI that can be queried to find the current state of the operation." + }, + "204": { + "description": "Request successful. Resource does not exist." + } }, - "get": { - "tags": [ - "VirtualNetworkTap" - ], - "operationId": "VirtualNetworkTaps_Get", - "description": "Gets information about the specified virtual network tap.", - "parameters": [ - { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group." - }, - { - "name": "tapName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of virtual network tap." - }, - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Request successful. The operation returns the resulting VirtualNetworkTap resource.", - "schema": { - "$ref": "#/definitions/VirtualNetworkTap" - } - } - }, - "x-ms-examples": { - "Get Virtual Network Tap": { "$ref": "./examples/VirtualNetworkTapGet.json" } + "x-ms-examples": { + "Delete Virtual Network Tap resource": { + "$ref": "./examples/VirtualNetworkTapDelete.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + }, + "get": { + "tags": [ + "VirtualNetworkTap" + ], + "operationId": "VirtualNetworkTaps_Get", + "description": "Gets information about the specified virtual network tap.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "tapName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of virtual network tap." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns the resulting VirtualNetworkTap resource.", + "schema": { + "$ref": "#/definitions/VirtualNetworkTap" } + } }, - "put": { - "tags": [ - "VirtualNetworkTap" - ], - "operationId": "VirtualNetworkTaps_CreateOrUpdate", - "description": "Creates or updates a Virtual Network Tap.", - "parameters": [ - { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group." - }, - { - "name": "tapName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the virtual network tap." - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/VirtualNetworkTap" - }, - "description": "Parameters supplied to the create or update virtual network tap operation." - }, - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Update successful. The operation returns the resulting VirtualNetworkTap resource.", - "schema": { - "$ref": "#/definitions/VirtualNetworkTap" - } - }, - "201": { - "description": "Create successful. The operation returns the resulting VirtualNetworkTap resource.", - "schema": { - "$ref": "#/definitions/VirtualNetworkTap" - } - } - }, - "x-ms-examples": { - "Create Virtual Network Tap": { "$ref": "./examples/VirtualNetworkTapCreate.json" } + "x-ms-examples": { + "Get Virtual Network Tap": { + "$ref": "./examples/VirtualNetworkTapGet.json" + } + } + }, + "put": { + "tags": [ + "VirtualNetworkTap" + ], + "operationId": "VirtualNetworkTaps_CreateOrUpdate", + "description": "Creates or updates a Virtual Network Tap.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "tapName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the virtual network tap." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/VirtualNetworkTap" }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" + "description": "Parameters supplied to the create or update virtual network tap operation." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Update successful. The operation returns the resulting VirtualNetworkTap resource.", + "schema": { + "$ref": "#/definitions/VirtualNetworkTap" } + }, + "201": { + "description": "Create successful. The operation returns the resulting VirtualNetworkTap resource.", + "schema": { + "$ref": "#/definitions/VirtualNetworkTap" + } + } }, - "patch": { - "tags": [ - "VirtualNetworkTap" - ], - "operationId": "VirtualNetworkTaps_UpdateTags", - "description": "Updates an VirtualNetworkTap tags.", - "parameters": [ - { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group." - }, - { - "name": "tapName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the tap." - }, - { - "name": "tapParameters", - "in": "body", - "required": true, - "schema": { + "x-ms-examples": { + "Create Virtual Network Tap": { + "$ref": "./examples/VirtualNetworkTapCreate.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } + }, + "patch": { + "tags": [ + "VirtualNetworkTap" + ], + "operationId": "VirtualNetworkTaps_UpdateTags", + "description": "Updates an VirtualNetworkTap tags.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "tapName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the tap." + }, + { + "name": "tapParameters", + "in": "body", + "required": true, + "schema": { "$ref": "./network.json#/definitions/TagsObject" - }, - "description": "Parameters supplied to update VirtualNetworkTap tags." - }, - { - "$ref": "./network.json#/parameters/ApiVersionParameter" }, - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Update successful. The operation returns the resulting VirtualNetworkTap resource.", - "schema": { + "description": "Parameters supplied to update VirtualNetworkTap tags." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Update successful. The operation returns the resulting VirtualNetworkTap resource.", + "schema": { "$ref": "#/definitions/VirtualNetworkTap" - } - } - }, - "x-ms-examples": { - "Update virtual network tap tags": { "$ref": "./examples/VirtualNetworkTapUpdateTags.json" } - }, - "x-ms-long-running-operation": true - } + } + } + }, + "x-ms-examples": { + "Update virtual network tap tags": { + "$ref": "./examples/VirtualNetworkTapUpdateTags.json" + } + }, + "x-ms-long-running-operation": true + } }, "/subscriptions/{subscriptionId}/providers/Microsoft.Network/virtualNetworkTaps": { - "get": { - "tags": [ - "VirtualNetworkTaps" - ], - "operationId": "VirtualNetworkTaps_ListAll", - "description": "Gets all the VirtualNetworkTaps in a subscription.", - "parameters": [ - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Request successful. The operation returns a list of Virtual Network Tap resources.", - "schema": { - "$ref": "#/definitions/VirtualNetworkTapListResult" - } - } - }, - "x-ms-examples": { - "List all virtual network taps": { "$ref": "./examples/VirtualNetworkTapListAll.json" } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" + "get": { + "tags": [ + "VirtualNetworkTaps" + ], + "operationId": "VirtualNetworkTaps_ListAll", + "description": "Gets all the VirtualNetworkTaps in a subscription.", + "parameters": [ + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns a list of Virtual Network Tap resources.", + "schema": { + "$ref": "#/definitions/VirtualNetworkTapListResult" } + } + }, + "x-ms-examples": { + "List all virtual network taps": { + "$ref": "./examples/VirtualNetworkTapListAll.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } + } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkTaps": { - "get": { - "tags": [ - "VirtualNetworkTaps" - ], - "operationId": "VirtualNetworkTaps_ListByResourceGroup", - "description": "Gets all the VirtualNetworkTaps in a subscription.", - "parameters": [ - { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group." - }, - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Request successful. The operation returns a list of Virtual Network Tap resources.", - "schema": { - "$ref": "#/definitions/VirtualNetworkTapListResult" - } - } - }, - "x-ms-examples": { - "List virtual network taps in resource group": { "$ref": "./examples/VirtualNetworkTapList.json" } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" + "get": { + "tags": [ + "VirtualNetworkTaps" + ], + "operationId": "VirtualNetworkTaps_ListByResourceGroup", + "description": "Gets all the VirtualNetworkTaps in a subscription.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns a list of Virtual Network Tap resources.", + "schema": { + "$ref": "#/definitions/VirtualNetworkTapListResult" } + } + }, + "x-ms-examples": { + "List virtual network taps in resource group": { + "$ref": "./examples/VirtualNetworkTapList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } + } } }, "definitions": { "VirtualNetworkTap": { + "properties": { "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/VirtualNetworkTapPropertiesFormat", - "description": "Virtual Network Tap Properties." - }, - "etag": { - "type": "string", - "description": "Gets a unique read-only string that changes whenever the resource is updated." - } + "x-ms-client-flatten": true, + "$ref": "#/definitions/VirtualNetworkTapPropertiesFormat", + "description": "Virtual Network Tap Properties." }, - "allOf": [ - { - "$ref": "./network.json#/definitions/Resource" - } - ], - "description": "Virtual Network Tap resource." + "etag": { + "type": "string", + "description": "Gets a unique read-only string that changes whenever the resource is updated." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/Resource" + } + ], + "description": "Virtual Network Tap resource." }, "VirtualNetworkTapPropertiesFormat": { "description": "Virtual Network Tap properties.", @@ -359,20 +371,20 @@ } }, "VirtualNetworkTapListResult": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/VirtualNetworkTap" - }, - "description": "A list of VirtualNetworkTaps in a resource group." - }, - "nextLink": { - "type": "string", - "description": "The URL to get the next set of results." - } + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/VirtualNetworkTap" + }, + "description": "A list of VirtualNetworkTaps in a resource group." }, - "description": "Response for ListVirtualNetworkTap API service call." + "nextLink": { + "type": "string", + "description": "The URL to get the next set of results." + } + }, + "description": "Response for ListVirtualNetworkTap API service call." } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/virtualWan.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/virtualWan.json index a462773275f9..18c88a1f05e3 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/virtualWan.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/virtualWan.json @@ -1431,14 +1431,16 @@ } }, "x-ms-examples": { - "ResetVpnGateway": { "$ref": "./examples/VpnGatewayReset.json" } + "ResetVpnGateway": { + "$ref": "./examples/VpnGatewayReset.json" + } }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { "final-state-via": "location" } } - }, + }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways": { "get": { "operationId": "VpnGateways_ListByResourceGroup", @@ -2342,7 +2344,9 @@ } }, "x-ms-examples": { - "GenerateP2SVpnGatewayVPNProfile": { "$ref": "./examples/P2SVpnGatewayGenerateVpnProfile.json" } + "GenerateP2SVpnGatewayVPNProfile": { + "$ref": "./examples/P2SVpnGatewayGenerateVpnProfile.json" + } }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { @@ -2391,14 +2395,16 @@ } }, "x-ms-examples": { - "P2SVpnGatewayGetConnectionHealth": { "$ref": "./examples/P2SVpnGatewayGetConnectionHealth.json" } + "P2SVpnGatewayGetConnectionHealth": { + "$ref": "./examples/P2SVpnGatewayGetConnectionHealth.json" + } }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { "final-state-via": "location" } } - } + } }, "definitions": { "VirtualWanProperties": { @@ -2628,32 +2634,32 @@ "description": "Parameters for VirtualHub." }, "VirtualHubRouteTable": { - "properties" : { + "properties": { "routes": { - "type": "array", - "description": "List of all routes.", - "items": { - "$ref": "#/definitions/VirtualHubRoute" - } + "type": "array", + "description": "List of all routes.", + "items": { + "$ref": "#/definitions/VirtualHubRoute" + } } }, - "description" : "VirtualHub route table." + "description": "VirtualHub route table." }, "VirtualHubRoute": { - "properties" : { + "properties": { "addressPrefixes": { - "type": "array", - "description": "List of all addressPrefixes.", - "items": { - "type": "string" - } + "type": "array", + "description": "List of all addressPrefixes.", + "items": { + "type": "string" + } }, "nextHopIpAddress": { - "type": "string", - "description": "NextHop ip address." + "type": "string", + "description": "NextHop ip address." } }, - "description" : "VirtualHub route." + "description": "VirtualHub route." }, "VirtualHub": { "required": [ @@ -2779,7 +2785,7 @@ }, "vpnConnectionProtocolType": { "description": "Connection protocol used for this connection.", - "$ref": "./virtualNetworkGateway.json#/definitions/ConnectionProtocol" + "$ref": "./virtualNetworkGateway.json#/definitions/ConnectionProtocol" }, "ingressBytesTransferred": { "type": "integer", @@ -2809,7 +2815,7 @@ "usePolicyBasedTrafficSelectors": { "type": "boolean", "description": "Enable policy-based traffic selectors." - }, + }, "ipsecPolicies": { "type": "array", "items": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/vmssNetworkInterface.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/vmssNetworkInterface.json index a149fbbf7810..fe65a63d85a3 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/vmssNetworkInterface.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/vmssNetworkInterface.json @@ -79,7 +79,9 @@ } }, "x-ms-examples": { - "List virtual machine scale set vm network interfaces": { "$ref": "./examples/VmssVmNetworkInterfaceList.json" } + "List virtual machine scale set vm network interfaces": { + "$ref": "./examples/VmssVmNetworkInterfaceList.json" + } }, "x-ms-pageable": { "nextLinkName": "nextLink" @@ -124,7 +126,9 @@ } }, "x-ms-examples": { - "List virtual machine scale set network interfaces": { "$ref": "./examples/VmssNetworkInterfaceList.json" } + "List virtual machine scale set network interfaces": { + "$ref": "./examples/VmssNetworkInterfaceList.json" + } }, "x-ms-pageable": { "nextLinkName": "nextLink" @@ -190,7 +194,9 @@ } }, "x-ms-examples": { - "Get virtual machine scale set network interface": { "$ref": "./examples/VmssNetworkInterfaceGet.json" } + "Get virtual machine scale set network interface": { + "$ref": "./examples/VmssNetworkInterfaceGet.json" + } } } }, @@ -253,7 +259,9 @@ } }, "x-ms-examples": { - "List virtual machine scale set network interface ip configurations": { "$ref": "./examples/VmssNetworkInterfaceIpConfigList.json" } + "List virtual machine scale set network interface ip configurations": { + "$ref": "./examples/VmssNetworkInterfaceIpConfigList.json" + } }, "x-ms-pageable": { "nextLinkName": "nextLink" @@ -326,7 +334,9 @@ } }, "x-ms-examples": { - "Get virtual machine scale set network interface": { "$ref": "./examples/VmssNetworkInterfaceIpConfigGet.json" } + "Get virtual machine scale set network interface": { + "$ref": "./examples/VmssNetworkInterfaceIpConfigGet.json" + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/vmssPublicIpAddress.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/vmssPublicIpAddress.json index 41a4c3561188..d11b961e4f88 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/vmssPublicIpAddress.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/vmssPublicIpAddress.json @@ -69,14 +69,16 @@ } }, "x-ms-examples": { - "ListVMSSPublicIP": { "$ref": "./examples/VmssPublicIpListAll.json" } + "ListVMSSPublicIP": { + "$ref": "./examples/VmssPublicIpListAll.json" + } }, "x-ms-pageable": { "nextLinkName": "nextLink" } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{virtualMachineScaleSetName}/virtualMachines/{virtualmachineIndex}/networkInterfaces/{networkInterfaceName}/ipconfigurations/{ipConfigurationName}/publicipaddresses" : { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{virtualMachineScaleSetName}/virtualMachines/{virtualmachineIndex}/networkInterfaces/{networkInterfaceName}/ipconfigurations/{ipConfigurationName}/publicipaddresses": { "get": { "operationId": "PublicIPAddresses_ListVirtualMachineScaleSetVMPublicIPAddresses", "description": "Gets information about all public IP addresses in a virtual machine IP configuration in a virtual machine scale set.", @@ -132,7 +134,9 @@ } }, "x-ms-examples": { - "ListVMSSVMPublicIP": { "$ref": "./examples/VmssVmPublicIpList.json" } + "ListVMSSVMPublicIP": { + "$ref": "./examples/VmssVmPublicIpList.json" + } }, "x-ms-pageable": { "nextLinkName": "nextLink" @@ -201,7 +205,9 @@ } ], "x-ms-examples": { - "GetVMSSPublicIP": { "$ref": "./examples/VmssPublicIpGet.json" } + "GetVMSSPublicIP": { + "$ref": "./examples/VmssPublicIpGet.json" + } }, "responses": { "200": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/webapplicationfirewall.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/webapplicationfirewall.json index 8e870434bfa4..8128840a603f 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/webapplicationfirewall.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/webapplicationfirewall.json @@ -105,7 +105,7 @@ "x-ms-pageable": { "nextLinkName": "nextLink" } - } + } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ApplicationGatewayWebApplicationFirewallPolicies/{policyName}": { "get": { @@ -277,7 +277,7 @@ }, "allOf": [ { - "$ref": "./network.json#/definitions/Resource" + "$ref": "./network.json#/definitions/Resource" } ] },