ExpressRoutePortAuthorizationsOperations Class
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
<xref:express_route_port_authorizations> attribute.
- Inheritance
-
builtins.objectExpressRoutePortAuthorizationsOperations
Constructor
ExpressRoutePortAuthorizationsOperations(*args, **kwargs)
Methods
begin_create_or_update |
Creates or updates an authorization in the specified express route port. |
begin_delete |
Deletes the specified authorization from the specified express route port. |
get |
Gets the specified authorization from the specified express route port. |
list |
Gets all authorizations in an express route port. |
begin_create_or_update
Creates or updates an authorization in the specified express route port.
begin_create_or_update(resource_group_name: str, express_route_port_name: str, authorization_name: str, authorization_parameters: _models.ExpressRoutePortAuthorization, *, content_type: str = 'application/json', **kwargs: Any) -> LROPoller[_models.ExpressRoutePortAuthorization]
Parameters
Name | Description |
---|---|
resource_group_name
Required
|
The name of the resource group. Required. |
express_route_port_name
Required
|
The name of the express route port. Required. |
authorization_name
Required
|
The name of the authorization. Required. |
authorization_parameters
Required
|
Parameters supplied to the create or update express route port authorization operation. Is either a ExpressRoutePortAuthorization type or a IO[bytes] type. Required. |
Returns
Type | Description |
---|---|
An instance of LROPoller that returns either ExpressRoutePortAuthorization or the result of cls(response) |
Exceptions
Type | Description |
---|---|
begin_delete
Deletes the specified authorization from the specified express route port.
begin_delete(resource_group_name: str, express_route_port_name: str, authorization_name: str, **kwargs: Any) -> LROPoller[None]
Parameters
Name | Description |
---|---|
resource_group_name
Required
|
The name of the resource group. Required. |
express_route_port_name
Required
|
The name of the express route port. Required. |
authorization_name
Required
|
The name of the authorization. Required. |
Returns
Type | Description |
---|---|
An instance of LROPoller that returns either None or the result of cls(response) |
Exceptions
Type | Description |
---|---|
get
Gets the specified authorization from the specified express route port.
get(resource_group_name: str, express_route_port_name: str, authorization_name: str, **kwargs: Any) -> ExpressRoutePortAuthorization
Parameters
Name | Description |
---|---|
resource_group_name
Required
|
The name of the resource group. Required. |
express_route_port_name
Required
|
The name of the express route port. Required. |
authorization_name
Required
|
The name of the authorization. Required. |
Returns
Type | Description |
---|---|
ExpressRoutePortAuthorization or the result of cls(response) |
Exceptions
Type | Description |
---|---|
list
Gets all authorizations in an express route port.
list(resource_group_name: str, express_route_port_name: str, **kwargs: Any) -> Iterable[ExpressRoutePortAuthorization]
Parameters
Name | Description |
---|---|
resource_group_name
Required
|
The name of the resource group. Required. |
express_route_port_name
Required
|
The name of the express route port. Required. |
Returns
Type | Description |
---|---|
An iterator like instance of either ExpressRoutePortAuthorization 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