swagger: '2.0' info: version: 2020-08-01-preview title: Microsoft Azure AccessControlClient AccessConnector RouteTables API schemes: - https tags: - name: RouteTables paths: ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeTables/{routeTableName} : delete: tags: - RouteTables operationId: microsoftAzureRoutetablesDelete description: The Delete RouteTable operation deletes the specified Route Table parameters: - name: resourceGroupName in: path required: true type: string description: The name of the resource group. - name: routeTableName in: path required: true type: string description: The name of the route table. - $ref: '#/parameters/ApiVersionParameter' - $ref: '#/parameters/SubscriptionIdParameter' responses: '200': description: '' '202': description: '' '204': description: '' x-ms-long-running-operation: true summary: Microsoft Azure Delete Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Network Routetables Routetablename get: tags: - RouteTables operationId: microsoftAzureRoutetablesGet description: The Get RouteTables operation retrieves information about the specified route table. parameters: - name: resourceGroupName in: path required: true type: string description: The name of the resource group. - name: routeTableName in: path required: true type: string description: The name of the route table. - $ref: '#/parameters/ApiVersionParameter' - $ref: '#/parameters/SubscriptionIdParameter' responses: '200': description: '' schema: $ref: '#/definitions/RouteTable' summary: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Network Routetables Routetablename put: tags: - RouteTables operationId: microsoftAzureRoutetablesCreateorupdate description: The Put RouteTable operation creates/updates a route table in the specified resource group. parameters: - name: resourceGroupName in: path required: true type: string description: The name of the resource group. - name: routeTableName in: path required: true type: string description: The name of the route table. - name: parameters in: body required: true schema: $ref: '#/definitions/RouteTable' description: Parameters supplied to the create/update Route Table operation - $ref: '#/parameters/ApiVersionParameter' - $ref: '#/parameters/SubscriptionIdParameter' responses: '200': description: '' schema: $ref: '#/definitions/RouteTable' '201': description: '' schema: $ref: '#/definitions/RouteTable' x-ms-long-running-operation: true summary: Microsoft Azure Put Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Network Routetables Routetablename /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeTables: get: tags: - RouteTables operationId: microsoftAzureRoutetablesList description: The list RouteTables returns all route tables in a resource group parameters: - name: resourceGroupName in: path required: true type: string description: The name of the resource group. - $ref: '#/parameters/ApiVersionParameter' - $ref: '#/parameters/SubscriptionIdParameter' responses: '200': description: '' schema: $ref: '#/definitions/RouteTableListResult' x-ms-pageable: nextLinkName: nextLink summary: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Network Routetables /subscriptions/{subscriptionId}/providers/Microsoft.Network/routeTables: get: tags: - RouteTables operationId: microsoftAzureRoutetablesListall description: The list RouteTables returns all route tables in a subscription parameters: - $ref: '#/parameters/ApiVersionParameter' - $ref: '#/parameters/SubscriptionIdParameter' responses: '200': description: '' schema: $ref: '#/definitions/RouteTableListResult' x-ms-pageable: nextLinkName: nextLink summary: Microsoft Azure Get Subscriptions Subscriptionid Providers Microsoft Network Routetables definitions: RouteTablePropertiesFormat: properties: routes: type: array items: $ref: '#/definitions/Route' description: Gets or sets Routes in a Route Table subnets: type: array items: $ref: '#/definitions/SubResource' description: Gets collection of references to subnets provisioningState: type: string description: Gets or sets Provisioning state of the resource Updating/Deleting/Failed description: Route Table resource Resource: properties: id: readOnly: true type: string description: Resource Id name: readOnly: true type: string description: Resource name type: readOnly: true type: string description: Resource type location: type: string description: Resource location tags: type: object additionalProperties: type: string description: Resource tags required: - location x-ms-azure-resource: true RouteTableListResult: properties: value: type: array items: $ref: '#/definitions/RouteTable' description: Gets List of RouteTables in a resource group nextLink: type: string description: Gets the URL to get the next set of results. description: Response for ListRouteTable Api service call SubResource: properties: id: type: string description: Resource Id x-ms-azure-resource: true Route: properties: properties: x-ms-client-flatten: true $ref: '#/definitions/RoutePropertiesFormat' 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 description: A unique read-only string that changes whenever the resource is updated allOf: - $ref: '#/definitions/SubResource' description: Route resource RouteTable: properties: properties: x-ms-client-flatten: true $ref: '#/definitions/RouteTablePropertiesFormat' etag: type: string description: Gets a unique read-only string that changes whenever the resource is updated allOf: - $ref: '#/definitions/Resource' description: RouteTable resource RoutePropertiesFormat: properties: addressPrefix: type: string description: Gets or sets the destination CIDR to which the route applies. nextHopType: type: string description: Gets or sets the type of Azure hop the packet should be sent to. enum: - VirtualNetworkGateway - VnetLocal - Internet - VirtualAppliance - None x-ms-enum: name: RouteNextHopType modelAsString: true nextHopIpAddress: type: string description: Gets or sets the IP address packets should be forwarded to. Next hop values are only allowed in routes where the next hop type is VirtualAppliance. provisioningState: type: string description: Gets or sets Provisioning state of the resource Updating/Deleting/Failed required: - nextHopType description: Route resource parameters: ApiVersionParameter: name: api-version in: query required: true type: string description: Client Api Version. SubscriptionIdParameter: name: subscriptionId in: path required: true type: string description: Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. x-ms-parameterized-host: hostTemplate: '{endpoint}' useSchemePrefix: false parameters: - $ref: '#/parameters/Endpoint'