InboundSecurityRuleOperations Class
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
<xref:inbound_security_rule> attribute.
- Inheritance
-
builtins.objectInboundSecurityRuleOperations
Constructor
InboundSecurityRuleOperations(*args, **kwargs)
Methods
begin_create_or_update |
Creates or updates the specified Network Virtual Appliance Inbound Security Rules. |
get |
Retrieves the available specified Network Virtual Appliance Inbound Security Rules Collection. |
begin_create_or_update
Creates or updates the specified Network Virtual Appliance Inbound Security Rules.
begin_create_or_update(resource_group_name: str, network_virtual_appliance_name: str, rule_collection_name: str, parameters: _models.InboundSecurityRule, *, content_type: str = 'application/json', **kwargs: Any) -> LROPoller[_models.InboundSecurityRule]
Parameters
Name | Description |
---|---|
resource_group_name
Required
|
The name of the resource group. Required. |
network_virtual_appliance_name
Required
|
The name of the Network Virtual Appliance. Required. |
rule_collection_name
Required
|
The name of security rule collection. Required. |
parameters
Required
|
Parameters supplied to the create or update Network Virtual Appliance Inbound Security Rules operation. Is either a InboundSecurityRule type or a IO[bytes] type. Required. |
Returns
Type | Description |
---|---|
An instance of LROPoller that returns either InboundSecurityRule or the result of cls(response) |
Exceptions
Type | Description |
---|---|
get
Retrieves the available specified Network Virtual Appliance Inbound Security Rules Collection.
get(resource_group_name: str, network_virtual_appliance_name: str, rule_collection_name: str, **kwargs: Any) -> InboundSecurityRule
Parameters
Name | Description |
---|---|
resource_group_name
Required
|
The name of the resource group. Required. |
network_virtual_appliance_name
Required
|
The name of the Network Virtual Appliance. Required. |
rule_collection_name
Required
|
The name of security rule collection. Required. |
Returns
Type | Description |
---|---|
InboundSecurityRule 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