SharedAccessAccountPolicy SharedAccessAccountPolicy 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
SharedAccessAccountPolicySharedAccessAccountPolicySharedAccessAccountPolicy

Constructors

SharedAccessAccountPolicy() SharedAccessAccountPolicy() SharedAccessAccountPolicy()

Initializes a new instance of the SharedAccessAccountPolicy class.

Properties

IPAddressOrRange IPAddressOrRange IPAddressOrRange

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

Permissions Permissions Permissions

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

Protocols Protocols Protocols

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

ResourceTypes ResourceTypes ResourceTypes

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

Services Services Services

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

SharedAccessExpiryTime SharedAccessExpiryTime SharedAccessExpiryTime

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

SharedAccessStartTime SharedAccessStartTime SharedAccessStartTime

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

Methods

PermissionsToString(SharedAccessAccountPermissions) PermissionsToString(SharedAccessAccountPermissions) PermissionsToString(SharedAccessAccountPermissions)

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

ResourceTypesToString(SharedAccessAccountResourceTypes) ResourceTypesToString(SharedAccessAccountResourceTypes) ResourceTypesToString(SharedAccessAccountResourceTypes)

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

ServicesToString(SharedAccessAccountServices) ServicesToString(SharedAccessAccountServices) ServicesToString(SharedAccessAccountServices)

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

Extension Methods

IsDefined(Object) IsDefined(Object) IsDefined(Object)

Determines if a certain property is defined or not.

IsNull(Object) IsNull(Object) IsNull(Object)

Determines if a certain property is null or not.

IsPrimitive(Object) IsPrimitive(Object) IsPrimitive(Object)

Determines if a certain property is of premitive JSON type.

Applies to