azure-storage-file\src\File\Models\FileAccessPolicy.php

Show: PublicProtectedPrivateinherited
Table of Contents
LICENSE: The MIT License (the "License") you may not use this file except in compliance with the License.

You may obtain a copy of the License at https://github.com/azure/azure-storage-php/LICENSE

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

PHP version 5

Author
Azure Storage PHP SDK  
Category
Microsoft  
Copyright
2017 Microsoft Corporation  
License
https://github.com/azure/azure-storage-php/LICENSE  
Link
https://github.com/azure/azure-storage-php  
Package
MicrosoftAzure\Storage\File\Models  

\MicrosoftAzure\Storage\File\Models\FileAccessPolicy

Package: MicrosoftAzure\Storage\File\Models
Holds access policy elements
Parent(s)
\MicrosoftAzure\Storage\Common\Models\AccessPolicy
Author
Azure Storage PHP SDK  
Category
Microsoft  
Copyright
2017 Microsoft Corporation  
Inherited_from
\MicrosoftAzure\Storage\Common\Models\AccessPolicy  
License
https://github.com/azure/azure-storage-php/LICENSE  
Link
https://github.com/azure/azure-storage-php  

Methods

methodpublic__construct() : void

Constructor

methodpublic__construct(string $resourceType) : void
inherited

Constructor

Inherited from:
Parameters
NameTypeDescription
$resourceTypestring

the resource type of this access policy.

methodpublicgetExpiry() : \DateTime.
inherited

Gets expiry.

Inherited from:
Returns
TypeDescription
\DateTime.
methodpublicgetPermission() : \MicrosoftAzure\Storage\Common\Models\string.
inherited

Gets permission.

Inherited from:
Returns
TypeDescription
\MicrosoftAzure\Storage\Common\Models\string.
methodpublicgetResourceType() : \MicrosoftAzure\Storage\Common\Models\string.
inherited

Gets resource type.

Inherited from:
Returns
TypeDescription
\MicrosoftAzure\Storage\Common\Models\string.
methodpublicgetResourceValidPermissions() : array
static

Get the valid permissions for the given resource.

Returns
TypeDescription
array
methodprotectedgetResourceValidPermissions() : array
staticabstractinherited

Get the valid permissions for the given resource.

Inherited from:
Returns
TypeDescription
array
methodpublicgetStart() : \DateTime.
inherited

Gets start.

Inherited from:
Returns
TypeDescription
\DateTime.
methodpublicsetExpiry(\DateTime $expiry) : void
inherited

Sets expiry.

Inherited from:
Parameters
NameTypeDescription
$expiry\DateTime

value.

methodpublicsetPermission(string $permission) : void
inherited

Sets permission.

Inherited from:
Parameters
NameTypeDescription
$permissionstring

value.

Throws
ExceptionDescription
\InvalidArgumentException
methodpublicsetStart(\DateTime $start = null) : void
inherited

Sets start.

Inherited from:
Parameters
NameTypeDescription
$start\DateTime

value.

Documentation was generated by phpDocumentor 2.9.1.