# InfrastructureSgRule


## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**name** | **str** |  | [optional] 
**src_rule_type** | [**SgRuleType**](SgRuleType.md) |  | [optional] 
**src_address_prefix** | **str** |  | [optional] 
**dst_rule_type** | [**SgRuleType**](SgRuleType.md) |  | [optional] 
**dst_address_prefix** | **str** |  | [optional] 
**source_port_range** | **str** |  | [optional] 
**destination_port_range** | **str** |  | [optional] 
**protocol** | **str** |  | [optional] 
**direction** | **str** |  | [optional] 
**rule_action** | **str** |  | [optional] 
**nsg_name** | **str** |  | [optional] 
**priority** | **int** |  | [optional] 

## Example

```python
from duplocloud_sdk.models.infrastructure_sg_rule import InfrastructureSgRule

# TODO update the JSON string below
json = "{}"
# create an instance of InfrastructureSgRule from a JSON string
infrastructure_sg_rule_instance = InfrastructureSgRule.from_json(json)
# print the JSON string representation of the object
print(InfrastructureSgRule.to_json())

# convert the object into a dict
infrastructure_sg_rule_dict = infrastructure_sg_rule_instance.to_dict()
# create an instance of InfrastructureSgRule from a dict
infrastructure_sg_rule_from_dict = InfrastructureSgRule.from_dict(infrastructure_sg_rule_dict)
```
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


