Dela via


FileServiceProperties Class

Definition

The properties of File services in storage account.

[Microsoft.Rest.Serialization.JsonTransformation]
public class FileServiceProperties : Microsoft.Azure.Management.Storage.Models.Resource
[<Microsoft.Rest.Serialization.JsonTransformation>]
type FileServiceProperties = class
    inherit Resource
Public Class FileServiceProperties
Inherits Resource
Inheritance
FileServiceProperties
Attributes

Constructors

FileServiceProperties()

Initializes a new instance of the FileServiceProperties class.

FileServiceProperties(String, String, String, CorsRules, DeleteRetentionPolicy, ProtocolSettings, Sku)

Initializes a new instance of the FileServiceProperties class.

Properties

Cors

Gets or sets 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

Gets fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

(Inherited from Resource)
Name

Gets the name of the resource

(Inherited from Resource)
ProtocolSettings

Gets or sets protocol settings for file service

ShareDeleteRetentionPolicy

Gets or sets the file service properties for share soft delete.

Sku

Gets sku name and tier.

Type

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

(Inherited from Resource)

Methods

Validate()

Validate the object.

Applies to