SharedAccessAccountPolicy Class (Microsoft.WindowsAzure.Storage)
From Microsoft Windows Azure Storage Blob
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.
Namespace:
Microsoft.WindowsAzure.Storage
Assembly:
Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)
Syntax
Constructors
Name Description 
SharedAccessAccountPolicy()()()()
Initializes a new instance of the SharedAccessAccountPolicy class.
Properties
Name Description 
IPAddressOrRangeIPAddressOrRangeIPAddressOrRangeIPAddressOrRange
Gets or sets the allowed IP address or IP address range for a shared access signature associated with this shared access policy.

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

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

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

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

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

SharedAccessStartTimeSharedAccessStartTimeSharedAccessStartTimeSharedAccessStartTime
Gets or sets the start time for a shared access signature associated with this shared access policy.
Methods
Name Description 
Equals(Object)(Object^)(Object)(Object) (Inherited from Object.)

GetHashCode()()()() (Inherited from Object.)

GetType()()()() (Inherited from Object.)


PermissionsToString(SharedAccessAccountPermissions)(SharedAccessAccountPermissions)(SharedAccessAccountPermissions)(SharedAccessAccountPermissions)
Converts the permissions specified for the shared access policy to a string.


ResourceTypesToString(SharedAccessAccountResourceTypes)(SharedAccessAccountResourceTypes)(SharedAccessAccountResourceTypes)(SharedAccessAccountResourceTypes)
Converts the ResourceTypes specified for the shared access policy to a string.


ServicesToString(SharedAccessAccountServices)(SharedAccessAccountServices)(SharedAccessAccountServices)(SharedAccessAccountServices)
Converts the services specified for the shared access policy to a string.

ToString()()()() (Inherited from Object.)
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Return to top
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.
Syntax
Constructors
| Name | Description | |
|---|---|---|
| SharedAccessAccountPolicy()()()() | Initializes a new instance of the SharedAccessAccountPolicy class. |
Properties
| Name | Description | |
|---|---|---|
| IPAddressOrRangeIPAddressOrRangeIPAddressOrRangeIPAddressOrRange | Gets or sets the allowed IP address or IP address range for a shared access signature associated with this shared access policy. | |
| PermissionsPermissionsPermissionsPermissions | Gets or sets the permissions for a shared access signature associated with this shared access policy. | |
| ProtocolsProtocolsProtocolsProtocols | Gets or sets the allowed protocols for a shared access signature associated with this shared access policy. | |
| ResourceTypesResourceTypesResourceTypesResourceTypes | Gets or sets the resource type for a shared access signature associated with this shared access policy. | |
| ServicesServicesServicesServices | Gets or sets the services (blob, file, queue, table) for a shared access signature associated with this shared access policy. | |
| SharedAccessExpiryTimeSharedAccessExpiryTimeSharedAccessExpiryTimeSharedAccessExpiryTime | Gets or sets the expiry time for a shared access signature associated with this shared access policy. | |
| SharedAccessStartTimeSharedAccessStartTimeSharedAccessStartTimeSharedAccessStartTime | Gets or sets the start time for a shared access signature associated with this shared access policy. |
Methods
| Name | Description | |
|---|---|---|
| Equals(Object)(Object^)(Object)(Object) | (Inherited from Object.) | |
| GetHashCode()()()() | (Inherited from Object.) | |
| GetType()()()() | (Inherited from Object.) | |
| PermissionsToString(SharedAccessAccountPermissions)(SharedAccessAccountPermissions)(SharedAccessAccountPermissions)(SharedAccessAccountPermissions) | Converts the permissions specified for the shared access policy to a string. | |
| ResourceTypesToString(SharedAccessAccountResourceTypes)(SharedAccessAccountResourceTypes)(SharedAccessAccountResourceTypes)(SharedAccessAccountResourceTypes) | Converts the ResourceTypes specified for the shared access policy to a string. | |
| ServicesToString(SharedAccessAccountServices)(SharedAccessAccountServices)(SharedAccessAccountServices)(SharedAccessAccountServices) | Converts the services specified for the shared access policy to a string. | |
| ToString()()()() | (Inherited from Object.) |
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.