swagger: '2.0' info: version: 2020-08-01-preview title: Microsoft Azure AccessControlClient AccessConnector VirtualWANs API schemes: - https tags: - name: VirtualWANs paths: ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualWans/{VirtualWANName} : patch: tags: - VirtualWANs operationId: microsoftAzureVirtualwansUpdatetags x-ms-examples: VirtualWANUpdate: $ref: ./examples/VirtualWANUpdateTags.json description: Updates a VirtualWAN tags. parameters: - $ref: ./network.json#/parameters/SubscriptionIdParameter - name: resourceGroupName in: path required: true type: string description: The resource group name of the VirtualWan. - name: VirtualWANName in: path required: true type: string description: The name of the VirtualWAN being updated. - $ref: ./network.json#/parameters/ApiVersionParameter - name: WANParameters in: body required: true schema: $ref: ./network.json#/definitions/TagsObject description: Parameters supplied to Update VirtualWAN tags. responses: '200': description: Request successful. Returns the details of the VirtualWAN updated. schema: $ref: '#/definitions/VirtualWAN' default: description: Error response describing why the operation failed. schema: $ref: ./network.json#/definitions/CloudError summary: Microsoft Azure Patch Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Network Virtualwans Virtualwanname ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName} : patch: tags: - VirtualWANs operationId: microsoftAzureVirtualhubsUpdatetags x-ms-examples: VirtualHubUpdate: $ref: ./examples/VirtualHubUpdateTags.json description: Updates VirtualHub tags. parameters: - $ref: ./network.json#/parameters/SubscriptionIdParameter - name: resourceGroupName in: path required: true type: string description: The resource group name of the VirtualHub. - name: virtualHubName in: path required: true type: string description: The name of the VirtualHub. - $ref: ./network.json#/parameters/ApiVersionParameter - name: virtualHubParameters in: body required: true schema: $ref: ./network.json#/definitions/TagsObject description: Parameters supplied to update VirtualHub tags. responses: '200': description: Request successful. Returns the details of the VirtualHub updated. schema: $ref: '#/definitions/VirtualHub' default: description: Error response describing why the operation failed. schema: $ref: ./network.json#/definitions/CloudError summary: Microsoft Azure Patch Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Network Virtualhubs Virtualhubname definitions: VirtualHubRouteTable: properties: routes: type: array description: List of all routes. items: $ref: '#/definitions/VirtualHubRoute' description: VirtualHub route table. VirtualRouterAutoScaleConfiguration: type: object properties: minCapacity: type: integer format: int32 minimum: 0 description: The minimum number of scale units for VirtualHub Router. description: The VirtualHub Router autoscale configuration. VirtualHubRouteV2: properties: destinationType: type: string description: The type of destinations. destinations: type: array description: List of all destinations. items: type: string nextHopType: type: string description: The type of next hops. nextHops: type: array description: NextHops ip address. items: type: string description: VirtualHubRouteTableV2 route. VirtualHubRoute: properties: addressPrefixes: type: array description: List of all addressPrefixes. items: type: string nextHopIpAddress: type: string description: NextHop ip address. description: VirtualHub route. VirtualWanProperties: properties: disableVpnEncryption: type: boolean description: Vpn encryption to be disabled or not. virtualHubs: type: array readOnly: true items: $ref: ./network.json#/definitions/SubResource description: List of VirtualHubs in the VirtualWAN. vpnSites: type: array readOnly: true items: $ref: ./network.json#/definitions/SubResource description: List of VpnSites in the VirtualWAN. allowBranchToBranchTraffic: type: boolean description: True if branch to branch traffic is allowed. allowVnetToVnetTraffic: type: boolean description: True if Vnet to Vnet traffic is allowed. office365LocalBreakoutCategory: description: The office local breakout category. $ref: '#/definitions/OfficeTrafficCategory' provisioningState: readOnly: true $ref: ./network.json#/definitions/ProvisioningState description: The provisioning state of the virtual WAN resource. type: type: string description: The type of the VirtualWAN. description: Parameters for VirtualWAN. VirtualHubRouteTableV2: properties: properties: x-ms-client-flatten: true $ref: '#/definitions/VirtualHubRouteTableV2Properties' description: Properties of the virtual hub route table v2. 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. 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: VirtualHubRouteTableV2 Resource. HubRoutingPreference: type: string description: The hub routing preference gateway types enum: - ExpressRoute - VpnGateway - ASPath x-ms-enum: name: HubRoutingPreference modelAsString: true VirtualHubRouteTableV2Properties: properties: routes: type: array description: List of all routes. items: $ref: '#/definitions/VirtualHubRouteV2' attachedConnections: type: array description: List of all connections attached to this route table v2. items: type: string provisioningState: $ref: ./network.json#/definitions/ProvisioningState readOnly: true description: The provisioning state of the virtual hub route table v2 resource. description: Parameters for VirtualHubRouteTableV2. PreferredRoutingGateway: type: string description: The preferred routing gateway types enum: - ExpressRoute - VpnGateway - None x-ms-enum: name: PreferredRoutingGateway modelAsString: true VirtualHubProperties: properties: virtualWan: $ref: ./network.json#/definitions/SubResource description: The VirtualWAN to which the VirtualHub belongs. vpnGateway: $ref: ./network.json#/definitions/SubResource description: The VpnGateway associated with this VirtualHub. p2SVpnGateway: $ref: ./network.json#/definitions/SubResource description: The P2SVpnGateway associated with this VirtualHub. expressRouteGateway: $ref: ./network.json#/definitions/SubResource description: The expressRouteGateway associated with this VirtualHub. azureFirewall: $ref: ./network.json#/definitions/SubResource description: The azureFirewall associated with this VirtualHub. securityPartnerProvider: $ref: ./network.json#/definitions/SubResource description: The securityPartnerProvider associated with this VirtualHub. addressPrefix: type: string description: Address-prefix for this VirtualHub. routeTable: $ref: '#/definitions/VirtualHubRouteTable' description: The routeTable associated with this virtual hub. provisioningState: readOnly: true $ref: ./network.json#/definitions/ProvisioningState description: The provisioning state of the virtual hub resource. securityProviderName: type: string description: The Security Provider name. virtualHubRouteTableV2s: type: array description: List of all virtual hub route table v2s associated with this VirtualHub. items: $ref: '#/definitions/VirtualHubRouteTableV2' sku: type: string description: The sku of this VirtualHub. routingState: $ref: '#/definitions/RoutingState' description: The routing state. bgpConnections: type: array readOnly: true description: List of references to Bgp Connections. items: $ref: ./network.json#/definitions/SubResource ipConfigurations: type: array readOnly: true description: List of references to IpConfigurations. items: $ref: ./network.json#/definitions/SubResource routeMaps: type: array readOnly: true description: List of references to RouteMaps. items: $ref: ./network.json#/definitions/SubResource virtualRouterAsn: type: integer readOnly: false format: int64 minimum: 0 maximum: 4294967295 description: VirtualRouter ASN. virtualRouterIps: type: array readOnly: false description: VirtualRouter IPs. items: type: string allowBranchToBranchTraffic: type: boolean readOnly: false description: Flag to control transit for VirtualRouter hub. preferredRoutingGateway: $ref: '#/definitions/PreferredRoutingGateway' description: The preferred gateway to route on-prem traffic hubRoutingPreference: $ref: '#/definitions/HubRoutingPreference' description: The hubRoutingPreference of this VirtualHub. virtualRouterAutoScaleConfiguration: $ref: '#/definitions/VirtualRouterAutoScaleConfiguration' description: The VirtualHub Router autoscale configuration. description: Parameters for VirtualHub. OfficeTrafficCategory: type: string description: The office traffic category. readOnly: true enum: - Optimize - OptimizeAndAllow - All - None x-ms-enum: name: OfficeTrafficCategory modelAsString: true RoutingState: type: string description: The current routing state of the VirtualHub. readOnly: true enum: - None - Provisioned - Provisioning - Failed x-ms-enum: name: RoutingState modelAsString: true VirtualHub: required: - location properties: properties: x-ms-client-flatten: true $ref: '#/definitions/VirtualHubProperties' description: Properties of the virtual hub. etag: type: string readOnly: true description: A unique read-only string that changes whenever the resource is updated. kind: readOnly: true type: string description: Kind of service virtual hub. This is metadata used for the Azure portal experience for Route Server. allOf: - $ref: ./network.json#/definitions/Resource description: VirtualHub Resource. VirtualWAN: required: - location properties: properties: x-ms-client-flatten: true $ref: '#/definitions/VirtualWanProperties' description: Properties of the virtual WAN. 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: VirtualWAN Resource. x-ms-parameterized-host: hostTemplate: '{endpoint}' useSchemePrefix: false parameters: - $ref: '#/parameters/Endpoint'