Package version:

Interface FileServiceProperties

The properties of File services in storage account.

interface FileServiceProperties {
    cors?: CorsRules;
    id?: string;
    name?: string;
    protocolSettings?: ProtocolSettings;
    shareDeleteRetentionPolicy?: DeleteRetentionPolicy;
    sku?: Sku;
    type?: string;
}

Hierarchy (view full)

Properties

cors?: CorsRules

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.

id?: string

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} NOTE: This property will not be serialized. It can only be populated by the server.

name?: string

The name of the resource NOTE: This property will not be serialized. It can only be populated by the server.

protocolSettings?: ProtocolSettings

Protocol settings for file service

shareDeleteRetentionPolicy?: DeleteRetentionPolicy

The file service properties for share soft delete.

sku?: Sku

Sku name and tier. NOTE: This property will not be serialized. It can only be populated by the server.

type?: string

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" NOTE: This property will not be serialized. It can only be populated by the server.