<PackageReference Include="Microsoft.Azure.Storage.Common" Version="11.1.4" />

Microsoft.Azure.Storage.SharedAccessAccountPolicy

public sealed class SharedAccessAccountPolicy
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 IPAddressOrRange IPAddressOrRange { get; set; }

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

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

public SharedAccessProtocol? Protocols { get; set; }

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

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

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

public DateTimeOffset? SharedAccessExpiryTime { get; set; }

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

public DateTimeOffset? SharedAccessStartTime { get; set; }

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

Initializes a new instance of the SharedAccessAccountPolicy class.

public static string PermissionsToString(SharedAccessAccountPermissions permissions)

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

public static string ResourceTypesToString(SharedAccessAccountResourceTypes resourceTypes)

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

public static string ServicesToString(SharedAccessAccountServices services)

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