HttpRouteConfigOperations interface
Interface representing a HttpRouteConfigOperations.
Methods
| create |
Create or Update a Http Route Config. |
| delete(string, string, string, Http |
Deletes the specified Managed Http Route. |
| get(string, string, string, Http |
Get the specified Managed Http Route Config. |
| list(string, string, Http |
Get the Managed Http Routes in a given managed environment. |
| update(string, string, string, Http |
Patches an http route config resource. Only patching of tags is supported |
Method Details
createOrUpdate(string, string, string, HttpRouteConfigCreateOrUpdateOptionalParams)
Create or Update a Http Route Config.
function createOrUpdate(resourceGroupName: string, environmentName: string, httpRouteName: string, options?: HttpRouteConfigCreateOrUpdateOptionalParams): Promise<HttpRouteConfig>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- environmentName
-
string
Name of the Managed Environment.
- httpRouteName
-
string
Name of the Http Route Config Resource.
The options parameters.
Returns
Promise<HttpRouteConfig>
delete(string, string, string, HttpRouteConfigDeleteOptionalParams)
Deletes the specified Managed Http Route.
function delete(resourceGroupName: string, environmentName: string, httpRouteName: string, options?: HttpRouteConfigDeleteOptionalParams): Promise<void>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- environmentName
-
string
Name of the Managed Environment.
- httpRouteName
-
string
Name of the Http Route Config Resource.
The options parameters.
Returns
Promise<void>
get(string, string, string, HttpRouteConfigGetOptionalParams)
Get the specified Managed Http Route Config.
function get(resourceGroupName: string, environmentName: string, httpRouteName: string, options?: HttpRouteConfigGetOptionalParams): Promise<HttpRouteConfig>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- environmentName
-
string
Name of the Managed Environment.
- httpRouteName
-
string
Name of the Http Route Config Resource.
- options
- HttpRouteConfigGetOptionalParams
The options parameters.
Returns
Promise<HttpRouteConfig>
list(string, string, HttpRouteConfigListOptionalParams)
Get the Managed Http Routes in a given managed environment.
function list(resourceGroupName: string, environmentName: string, options?: HttpRouteConfigListOptionalParams): PagedAsyncIterableIterator<HttpRouteConfig, HttpRouteConfig[], PageSettings>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- environmentName
-
string
Name of the Managed Environment.
The options parameters.
Returns
update(string, string, string, HttpRouteConfig, HttpRouteConfigUpdateOptionalParams)
Patches an http route config resource. Only patching of tags is supported
function update(resourceGroupName: string, environmentName: string, httpRouteName: string, httpRouteConfigEnvelope: HttpRouteConfig, options?: HttpRouteConfigUpdateOptionalParams): Promise<HttpRouteConfig>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- environmentName
-
string
Name of the Managed Environment.
- httpRouteName
-
string
Name of the Http Route Config Resource.
- httpRouteConfigEnvelope
- HttpRouteConfig
Properties of http route config that need to be updated
The options parameters.
Returns
Promise<HttpRouteConfig>