Skip to content

Commit

Permalink
updated property
Browse files Browse the repository at this point in the history
  • Loading branch information
1101-1 committed Nov 13, 2024
1 parent 6f2f707 commit a447043
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion fixlib/fixlib/baseresources.py
Original file line number Diff line number Diff line change
Expand Up @@ -1472,7 +1472,7 @@ class BaseDNSZone(BaseResource):
_metadata: ClassVar[Dict[str, Any]] = {"icon": "dns", "group": "networking"}
_categories: ClassVar[List[Category]] = [Category.dns, Category.networking]
private_zone: Optional[bool] = None
zone_resource_record_set_count: Optional[int] = field(default=None, metadata=dict(ignore_history=True))
record_count: Optional[int] = field(default=None, metadata=dict(ignore_history=True))


@define(eq=False, slots=False)
Expand Down
2 changes: 1 addition & 1 deletion plugins/aws/fix_plugin_aws/resource/route53.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ class AwsRoute53Zone(AwsResource, BaseDNSZone):
"zone_config": S("Config") >> Bend(AwsRoute53ZoneConfig.mapping),
"zone_linked_service": S("LinkedService") >> Bend(AwsRoute53LinkedService.mapping),
"private_zone": S("Config", "PrivateZone"),
"zone_resource_record_set_count": S("ResourceRecordSetCount"),
"record_count": S("ResourceRecordSetCount"),
}
zone_caller_reference: Optional[str] = field(default=None)
zone_config: Optional[AwsRoute53ZoneConfig] = field(default=None)
Expand Down
2 changes: 1 addition & 1 deletion plugins/azure/fix_plugin_azure/resource/network.py
Original file line number Diff line number Diff line change
Expand Up @@ -6800,7 +6800,7 @@ class AzureNetworkDNSZone(MicrosoftResource, BaseDNSZone):
},
default=False,
),
"zone_resource_record_set_count": S("properties", "maxNumberOfRecordSets"),
"record_count": S("properties", "maxNumberOfRecordSets"),
}
max_number_of_record_sets: Optional[int] = field(default=None, metadata={'description': 'The maximum number of record sets that can be created in this DNS zone. This is a read-only property and any attempt to set this value will be ignored.'}) # fmt: skip
max_number_of_records_per_record_set: Optional[int] = field(default=None, metadata={'description': 'The maximum number of records per record set that can be created in this DNS zone. This is a read-only property and any attempt to set this value will be ignored.'}) # fmt: skip
Expand Down

0 comments on commit a447043

Please sign in to comment.