FileServiceProperties Class
The properties of File services in storage account.
Variables are only populated by the server, and will be ignored when sending a request.
- Inheritance
-
azure.mgmt.storage.v2021_01_01.models._models_py3.ResourceFileServiceProperties
Constructor
FileServiceProperties(*, cors: _models.CorsRules | None = None, share_delete_retention_policy: _models.DeleteRetentionPolicy | None = None, protocol_settings: _models.ProtocolSettings | None = None, **kwargs: Any)
Keyword-Only Parameters
Name | Description |
---|---|
cors
|
Specifies CORS rules for the File service. You can include up to five CorsRule elements in the request. If no CorsRule elements are included in the request body, all CORS rules will be deleted, and CORS will be disabled for the File service. |
share_delete_retention_policy
|
The file service properties for share soft delete. |
protocol_settings
|
Protocol settings for file service. |
Variables
Name | Description |
---|---|
id
|
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. # pylint: disable=line-too-long |
name
|
The name of the resource. |
type
|
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". |
sku
|
Sku name and tier. |
cors
|
Specifies CORS rules for the File service. You can include up to five CorsRule elements in the request. If no CorsRule elements are included in the request body, all CORS rules will be deleted, and CORS will be disabled for the File service. |
share_delete_retention_policy
|
The file service properties for share soft delete. |
protocol_settings
|
Protocol settings for file service. |
Azure SDK for Python