By the definition of Azure python SDK for SecurityRule class:
SecurityRule(protocol, source_address_prefix, destination_address_prefix, access, direction, id=None, description=None, source_port_range=None, destination_port_range=None, source_address_prefixes=None, destination_address_prefixes=None, source_port_ranges=None, destination_port_ranges=None, priority=None, provisioning_state=None, name=None, etag=None)
With source_address_prefixes
and destination_port_ranges
, we should be able to configure a list of CIDRS or port_ranges, but I can not find a way to check if the configuration is in.
Both portal and "get" do not show the prefixes or ranges.