Condividi tramite


SharedAccessAccountPolicy Class

Definition

Represents a shared access policy for a account, which specifies the start time, expiry time, permissions, signed service, signed resource type, signed protocol, and signed IP addresses for a shared access signature.

public sealed class SharedAccessAccountPolicy
type SharedAccessAccountPolicy = class
Public NotInheritable Class SharedAccessAccountPolicy
Inheritance
SharedAccessAccountPolicy

Constructors

SharedAccessAccountPolicy()

Initializes a new instance of the SharedAccessAccountPolicy class.

Properties

IPAddressOrRange

Gets or sets the allowed IP address or IP address range for a shared access signature associated with this shared access policy.

Permissions

Gets or sets the permissions for a shared access signature associated with this shared access policy.

Protocols

Gets or sets the allowed protocols for a shared access signature associated with this shared access policy.

ResourceTypes

Gets or sets the resource type for a shared access signature associated with this shared access policy.

Services

Gets or sets the services (blob, file, queue, table) for a shared access signature associated with this shared access policy.

SharedAccessExpiryTime

Gets or sets the expiry time for a shared access signature associated with this shared access policy.

SharedAccessStartTime

Gets or sets the start time for a shared access signature associated with this shared access policy.

Methods

PermissionsToString(SharedAccessAccountPermissions)

Converts the permissions specified for the shared access policy to a string.

ResourceTypesToString(SharedAccessAccountResourceTypes)

Converts the ResourceTypes specified for the shared access policy to a string.

ServicesToString(SharedAccessAccountServices)

Converts the services specified for the shared access policy to a string.

Applies to