你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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_06_01.models._models_py3.Resource
FileServiceProperties

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
str

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. # pylint: disable=line-too-long

name
str

The name of the resource.

type
str

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

sku
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.