You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
level: Optional[str] =field(default=None, metadata={'description': 'The level of the lock. Possible values are: NotSpecified, CanNotDelete, ReadOnly. CanNotDelete means authorized users are able to read and modify the resources, but not delete. ReadOnly means authorized users can only read from a resource, but they can t modify or delete it.'}) # fmt: skip
268
+
notes: Optional[str] =field(default=None, metadata={'description': 'Notes about the lock. Maximum of 512 characters.'}) # fmt: skip
269
+
owners: Optional[List[str]] =field(default=None, metadata={"description": "The owners of the lock."})
270
+
system_data: Optional[AzureSystemData] =field(default=None, metadata={'description': 'Metadata pertaining to creation and last modification of the resource.'}) # fmt: skip
Copy file name to clipboardExpand all lines: plugins/azure/fix_plugin_azure/resource/base.py
+53-1Lines changed: 53 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -629,7 +629,7 @@ class AzureProxyResource:
629
629
630
630
631
631
@define(eq=False, slots=False)
632
-
classAzureIdentity:
632
+
classAzureManagedServiceIdentity:
633
633
kind: ClassVar[str] ="azure_identity"
634
634
mapping: ClassVar[Dict[str, Bender]] = {
635
635
"client_id": S("clientId"),
@@ -645,15 +645,44 @@ class AzureIdentity:
645
645
user_assigned_identities: Optional[Dict[str, AzureUserAssignedIdentity]] =field(default=None, metadata={'description': 'The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName} .'}) # fmt: skip
646
646
647
647
648
+
@define(eq=False, slots=False)
649
+
classAzureSkuCapacity:
650
+
kind: ClassVar[str] ="azure_sku_capacity"
651
+
mapping: ClassVar[Dict[str, Bender]] = {
652
+
"default": S("default"),
653
+
"elastic_maximum": S("elasticMaximum"),
654
+
"maximum": S("maximum"),
655
+
"minimum": S("minimum"),
656
+
"scale_type": S("scaleType"),
657
+
}
658
+
default: Optional[int] =field(default=None, metadata={'description': 'Default number of workers for this App Service plan SKU.'}) # fmt: skip
659
+
elastic_maximum: Optional[int] =field(default=None, metadata={'description': 'Maximum number of Elastic workers for this App Service plan SKU.'}) # fmt: skip
660
+
maximum: Optional[int] =field(default=None, metadata={'description': 'Maximum number of workers for this App Service plan SKU.'}) # fmt: skip
661
+
minimum: Optional[int] =field(default=None, metadata={'description': 'Minimum number of workers for this App Service plan SKU.'}) # fmt: skip
662
+
scale_type: Optional[str] =field(default=None, metadata={'description': 'Available scale configurations for an App Service plan.'}) # fmt: skip
group_ids: Optional[List[str]] =field(default=None, metadata={'description': 'The group ids for the private endpoint resource.'}) # fmt: skip
709
+
id: Optional[str] =field(default=None, metadata={'description': 'Fully qualified resource ID for the resource. E.g. /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} '}) # fmt: skip
710
+
name: Optional[str] =field(default=None, metadata={"description": "The name of the resource"})
711
+
private_endpoint: Optional[str] =field(default=None, metadata={"description": "The private endpoint resource."})
712
+
private_link_service_connection_state: Optional[AzurePrivateLinkServiceConnectionState] =field(default=None, metadata={'description': 'A collection of information about the state of the connection between service consumer and provider.'}) # fmt: skip
713
+
system_data: Optional[AzureSystemData] =field(default=None, metadata={'description': 'Metadata pertaining to creation and last modification of the resource.'}) # fmt: skip
714
+
type: Optional[str] =field(default=None, metadata={'description': 'The type of the resource. E.g. Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts '}) # fmt: skip
private_endpoint: Optional[str] =field(default=None, metadata={"description": "The private endpoint resource."})
1229
-
private_link_service_connection_state: Optional[AzurePrivateLinkServiceConnectionState] =field(default=None, metadata={'description': 'A collection of information about the state of the connection between service consumer and provider.'}) # fmt: skip
1230
-
provisioning_state: Optional[str] =field(default=None, metadata={'description': 'The current provisioning state.'}) # fmt: skip
extended_location: Optional[AzureExtendedLocation] =field(default=None, metadata={'description': 'The complex type of the extended location.'}) # fmt: skip
1258
-
private_endpoint_connections: Optional[List[AzureDiskAccessPrivateEndpointConnection]] =field(default=None, metadata={'description': 'A readonly collection of private endpoint connections created on the disk. Currently only one endpoint connection is supported.'}) # fmt: skip
1238
+
private_endpoint_connections: Optional[List[AzurePrivateEndpointConnection]] =field(default=None, metadata={'description': 'A readonly collection of private endpoint connections created on the disk. Currently only one endpoint connection is supported.'}) # fmt: skip
1259
1239
time_created: Optional[datetime] =field(default=None, metadata={'description': 'The time when the disk access was created.'}) # fmt: skip
e_tag: Optional[str] =field(default=None, metadata={'description': 'If eTag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.'}) # fmt: skip
93
93
hub_profile: Optional[AzureFleetHubProfile] =field(default=None, metadata={'description': 'The FleetHubProfile configures the fleet hub.'}) # fmt: skip
94
-
azure_fleet_identity: Optional[AzureIdentity] =field(default=None, metadata={'description': 'Managed service identity (system assigned and/or user assigned identities)'}) # fmt: skip
94
+
azure_fleet_identity: Optional[AzureManagedServiceIdentity] =field(default=None, metadata={'description': 'Managed service identity (system assigned and/or user assigned identities)'}) # fmt: skip
95
95
resource_group: Optional[str] =field(default=None, metadata={"description": "Resource group name"})
0 commit comments