azure-docs-sdk-java/docs-ref-autogen/com.microsoft.azure.storage...

91 строка
4.6 KiB
YAML

### YamlMime:ManagedReference
items:
- uid: com.microsoft.azure.storage.file._file_share_permissions
id: _file_share_permissions
parent: com.microsoft.azure.storage.file
href: com.microsoft.azure.storage.file._file_share_permissions.yml
langs:
- java
name: FileSharePermissions
nameWithType: FileSharePermissions
fullName: com.microsoft.azure.storage.file.FileSharePermissions
type: Class
source:
remote:
path: microsoft-azure-storage/src/com/microsoft/azure/storage/file/FileSharePermissions.java
branch: master
repo: https://github.com/Azure/azure-storage-java
path: microsoft-azure-storage/src/com/microsoft/azure/storage/file/FileSharePermissions.java
startLine: 28
package: com.microsoft.azure.storage.file
summary: >-
<p>Represents the permissions for a share. </p>
<p>The share's permissions encompass its access policies, represented by the <xref uid="com.microsoft.azure.storage._permissions.getSharedAccessPolicies()" data-throw-if-not-resolved="false">getSharedAccessPolicies</xref> method. This setting references a collection of shared access policies for the share. A shared access policy may be used to control the start time, expiry time, and permissions for one or more shared access signatures. A shared access signature provides delegated access to the share's resources. For more information on managing share permissions, see <a href="http://go.microsoft.com/fwlink/?LinkID=224643">Managing Access to Shares and Files</a>. </p>
syntax:
content: public class FileSharePermissions extends Permissions<SharedAccessFilePolicy>
inheritance:
- java.lang.Object
- com.microsoft.azure.storage._permissions
inheritedMembers:
- com.microsoft.azure.storage._permissions.getSharedAccessPolicies()
- com.microsoft.azure.storage._permissions.Permissions()
- com.microsoft.azure.storage._permissions.setSharedAccessPolicies(final HashMap<String, T>)
references:
- uid: com.microsoft.azure.storage._permissions.getSharedAccessPolicies()
parent: com.microsoft.azure.storage._permissions
href: com.microsoft.azure.storage._permissions.yml
name: getSharedAccessPolicies()
nameWithType: Permissions<T>.getSharedAccessPolicies()
fullName: com.microsoft.azure.storage.Permissions<T extends SharedAccessPolicy>.getSharedAccessPolicies()
type: Method
summary: >-
<p>Returns the set of shared access policies.</p>
<p></p>
syntax:
content: public HashMap<String, T> getSharedAccessPolicies()
return:
type: ef7908e7
description: <p>A <code>java.util.HashMap</code> object of <xref uid="com.microsoft.azure.storage._shared_access_policy" data-throw-if-not-resolved="false">SharedAccessPolicy</xref> objects which represent the set of shared access policies. </p>
- uid: com.microsoft.azure.storage._permissions.Permissions()
parent: com.microsoft.azure.storage._permissions
href: com.microsoft.azure.storage._permissions.yml
name: Permissions()
nameWithType: Permissions<T>.Permissions()
fullName: com.microsoft.azure.storage.Permissions<T extends SharedAccessPolicy>.Permissions()
type: Constructor
summary: <p>Creates an instance of the class. </p>
syntax:
content: public Permissions()
- uid: com.microsoft.azure.storage._permissions.setSharedAccessPolicies(final HashMap<String, T>)
parent: com.microsoft.azure.storage._permissions
href: com.microsoft.azure.storage._permissions.yml
name: setSharedAccessPolicies(final HashMap<String, T> sharedAccessPolicies)
nameWithType: Permissions<T>.setSharedAccessPolicies(final HashMap<String, T> sharedAccessPolicies)
fullName: com.microsoft.azure.storage.Permissions<T extends SharedAccessPolicy>.setSharedAccessPolicies(final HashMap<String, T> sharedAccessPolicies)
type: Method
summary: >-
<p>Sets the shared access policies.</p>
<p></p>
syntax:
content: public void setSharedAccessPolicies(final HashMap<String, T> sharedAccessPolicies)
parameters:
- id: sharedAccessPolicies
type: cb709ca7
description: <p>A <code>java.util.HashMap</code> object of <xref uid="com.microsoft.azure.storage._shared_access_policy" data-throw-if-not-resolved="false">SharedAccessPolicy</xref> objects which contain the shared access policies to set. </p>
- uid: com.microsoft.azure.storage._permissions
parent: com.microsoft.azure.storage
href: com.microsoft.azure.storage._permissions.yml
name: Permissions<T>
nameWithType: Permissions<T>
fullName: com.microsoft.azure.storage.Permissions<T>
type: Class
summary: <p>Represents the permissions for a shared access policy. </p>
syntax:
content: public class Permissions<T extends SharedAccessPolicy>
typeParameters:
- id: T
type: 8ce1ecb9