RoutesOperations interface

Interface representing a Routes operations.

Properties

beginCreate
beginCreateAndWait
beginDelete
beginDeleteAndWait
beginUpdate
beginUpdateAndWait
create

Creates a new route with the specified route name under the specified subscription, resource group, profile, and AzureFrontDoor endpoint.

delete

Deletes an existing route with the specified route name under the specified subscription, resource group, profile, and AzureFrontDoor endpoint.

get

Gets an existing route with the specified route name under the specified subscription, resource group, profile, and AzureFrontDoor endpoint.

listByEndpoint

Lists all of the existing origins within a profile.

update

Updates an existing route with the specified route name under the specified subscription, resource group, profile, and AzureFrontDoor endpoint.

Property Details

beginCreate

Warning

This API is now deprecated.

use create instead

beginCreate: (resourceGroupName: string, profileName: string, endpointName: string, routeName: string, route: Route, options?: RoutesCreateOptionalParams) => Promise<SimplePollerLike<OperationState<Route>, Route>>

Property Value

(resourceGroupName: string, profileName: string, endpointName: string, routeName: string, route: Route, options?: RoutesCreateOptionalParams) => Promise<SimplePollerLike<OperationState<Route>, Route>>

beginCreateAndWait

Warning

This API is now deprecated.

use create instead

beginCreateAndWait: (resourceGroupName: string, profileName: string, endpointName: string, routeName: string, route: Route, options?: RoutesCreateOptionalParams) => Promise<Route>

Property Value

(resourceGroupName: string, profileName: string, endpointName: string, routeName: string, route: Route, options?: RoutesCreateOptionalParams) => Promise<Route>

beginDelete

Warning

This API is now deprecated.

use delete instead

beginDelete: (resourceGroupName: string, profileName: string, endpointName: string, routeName: string, options?: RoutesDeleteOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>

Property Value

(resourceGroupName: string, profileName: string, endpointName: string, routeName: string, options?: RoutesDeleteOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>

beginDeleteAndWait

Warning

This API is now deprecated.

use delete instead

beginDeleteAndWait: (resourceGroupName: string, profileName: string, endpointName: string, routeName: string, options?: RoutesDeleteOptionalParams) => Promise<void>

Property Value

(resourceGroupName: string, profileName: string, endpointName: string, routeName: string, options?: RoutesDeleteOptionalParams) => Promise<void>

beginUpdate

Warning

This API is now deprecated.

use update instead

beginUpdate: (resourceGroupName: string, profileName: string, endpointName: string, routeName: string, routeUpdateProperties: RouteUpdateParameters, options?: RoutesUpdateOptionalParams) => Promise<SimplePollerLike<OperationState<Route>, Route>>

Property Value

(resourceGroupName: string, profileName: string, endpointName: string, routeName: string, routeUpdateProperties: RouteUpdateParameters, options?: RoutesUpdateOptionalParams) => Promise<SimplePollerLike<OperationState<Route>, Route>>

beginUpdateAndWait

Warning

This API is now deprecated.

use update instead

beginUpdateAndWait: (resourceGroupName: string, profileName: string, endpointName: string, routeName: string, routeUpdateProperties: RouteUpdateParameters, options?: RoutesUpdateOptionalParams) => Promise<Route>

Property Value

(resourceGroupName: string, profileName: string, endpointName: string, routeName: string, routeUpdateProperties: RouteUpdateParameters, options?: RoutesUpdateOptionalParams) => Promise<Route>

create

Creates a new route with the specified route name under the specified subscription, resource group, profile, and AzureFrontDoor endpoint.

create: (resourceGroupName: string, profileName: string, endpointName: string, routeName: string, route: Route, options?: RoutesCreateOptionalParams) => PollerLike<OperationState<Route>, Route>

Property Value

(resourceGroupName: string, profileName: string, endpointName: string, routeName: string, route: Route, options?: RoutesCreateOptionalParams) => PollerLike<OperationState<Route>, Route>

delete

Deletes an existing route with the specified route name under the specified subscription, resource group, profile, and AzureFrontDoor endpoint.

delete: (resourceGroupName: string, profileName: string, endpointName: string, routeName: string, options?: RoutesDeleteOptionalParams) => PollerLike<OperationState<void>, void>

Property Value

(resourceGroupName: string, profileName: string, endpointName: string, routeName: string, options?: RoutesDeleteOptionalParams) => PollerLike<OperationState<void>, void>

get

Gets an existing route with the specified route name under the specified subscription, resource group, profile, and AzureFrontDoor endpoint.

get: (resourceGroupName: string, profileName: string, endpointName: string, routeName: string, options?: RoutesGetOptionalParams) => Promise<Route>

Property Value

(resourceGroupName: string, profileName: string, endpointName: string, routeName: string, options?: RoutesGetOptionalParams) => Promise<Route>

listByEndpoint

Lists all of the existing origins within a profile.

listByEndpoint: (resourceGroupName: string, profileName: string, endpointName: string, options?: RoutesListByEndpointOptionalParams) => PagedAsyncIterableIterator<Route, Route[], PageSettings>

Property Value

(resourceGroupName: string, profileName: string, endpointName: string, options?: RoutesListByEndpointOptionalParams) => PagedAsyncIterableIterator<Route, Route[], PageSettings>

update

Updates an existing route with the specified route name under the specified subscription, resource group, profile, and AzureFrontDoor endpoint.

update: (resourceGroupName: string, profileName: string, endpointName: string, routeName: string, routeUpdateProperties: RouteUpdateParameters, options?: RoutesUpdateOptionalParams) => PollerLike<OperationState<Route>, Route>

Property Value

(resourceGroupName: string, profileName: string, endpointName: string, routeName: string, routeUpdateProperties: RouteUpdateParameters, options?: RoutesUpdateOptionalParams) => PollerLike<OperationState<Route>, Route>