RouteMapsOperations Class
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
<xref:route_maps> attribute.
- Inheritance
-
builtins.objectRouteMapsOperations
Constructor
RouteMapsOperations(*args, **kwargs)
Methods
begin_create_or_update |
Creates a RouteMap if it doesn't exist else updates the existing one. |
begin_delete |
Deletes a RouteMap. |
get |
Retrieves the details of a RouteMap. |
list |
Retrieves the details of all RouteMaps. |
begin_create_or_update
Creates a RouteMap if it doesn't exist else updates the existing one.
begin_create_or_update(resource_group_name: str, virtual_hub_name: str, route_map_name: str, route_map_parameters: _models.RouteMap, *, content_type: str = 'application/json', **kwargs: Any) -> LROPoller[_models.RouteMap]
Parameters
Name | Description |
---|---|
resource_group_name
Required
|
The resource group name of the RouteMap's resource group. Required. |
virtual_hub_name
Required
|
The name of the VirtualHub containing the RouteMap. Required. |
route_map_name
Required
|
The name of the RouteMap. Required. |
route_map_parameters
Required
|
Parameters supplied to create or update a RouteMap. Is either a RouteMap type or a IO[bytes] type. Required. |
Returns
Type | Description |
---|---|
An instance of LROPoller that returns either RouteMap or the result of cls(response) |
Exceptions
Type | Description |
---|---|
begin_delete
Deletes a RouteMap.
begin_delete(resource_group_name: str, virtual_hub_name: str, route_map_name: str, **kwargs: Any) -> LROPoller[None]
Parameters
Name | Description |
---|---|
resource_group_name
Required
|
The resource group name of the RouteMap's resource group. Required. |
virtual_hub_name
Required
|
The name of the VirtualHub containing the RouteMap. Required. |
route_map_name
Required
|
The name of the RouteMap. Required. |
Returns
Type | Description |
---|---|
An instance of LROPoller that returns either None or the result of cls(response) |
Exceptions
Type | Description |
---|---|
get
Retrieves the details of a RouteMap.
get(resource_group_name: str, virtual_hub_name: str, route_map_name: str, **kwargs: Any) -> RouteMap
Parameters
Name | Description |
---|---|
resource_group_name
Required
|
The resource group name of the RouteMap's resource group. Required. |
virtual_hub_name
Required
|
The name of the VirtualHub containing the RouteMap. Required. |
route_map_name
Required
|
The name of the RouteMap. Required. |
Returns
Type | Description |
---|---|
RouteMap or the result of cls(response) |
Exceptions
Type | Description |
---|---|
list
Retrieves the details of all RouteMaps.
list(resource_group_name: str, virtual_hub_name: str, **kwargs: Any) -> Iterable[RouteMap]
Parameters
Name | Description |
---|---|
resource_group_name
Required
|
The resource group name of the RouteMap's resource group'. Required. |
virtual_hub_name
Required
|
The name of the VirtualHub containing the RouteMap. Required. |
Returns
Type | Description |
---|---|
An iterator like instance of either RouteMap or the result of cls(response) |
Exceptions
Type | Description |
---|---|
Attributes
models
models = <module 'azure.mgmt.network.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.11.9\\x64\\Lib\\site-packages\\azure\\mgmt\\network\\models\\__init__.py'>
Azure SDK for Python