azure-storage-table\src\Table\Models\TableAccessPolicy.php
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\Table\Models
\MicrosoftAzure\Storage\Table\Models\TableAccessPolicy
Package: MicrosoftAzure\Storage\Table\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
__construct(string $resourceType) : void
inherited
Constructor
Inherited from:Parameters
Name | Type | Description |
---|---|---|
$resourceType | string | the resource type of this access policy. |
getPermission() : \MicrosoftAzure\Storage\Common\Models\string.
inherited
Gets permission.
Inherited from:Returns
Type | Description |
---|---|
\MicrosoftAzure\Storage\Common\Models\string. |
getResourceType() : \MicrosoftAzure\Storage\Common\Models\string.
inherited
Gets resource type.
Inherited from:Returns
Type | Description |
---|---|
\MicrosoftAzure\Storage\Common\Models\string. |
getResourceValidPermissions() : array
static
Get the valid permissions for the given resource.
Returns
Type | Description |
---|---|
array |
getResourceValidPermissions() : array
staticabstractinherited
Get the valid permissions for the given resource.
Inherited from:Returns
Type | Description |
---|---|
array |
setExpiry(\DateTime $expiry) : void
inherited
Sets expiry.
Inherited from:Parameters
Name | Type | Description |
---|---|---|
$expiry | \DateTime | value. |
setPermission(string $permission) : void
inherited
Sets permission.
Inherited from:Parameters
Throws
Name | Type | Description |
---|---|---|
$permission | string | value. |
Exception | Description |
---|---|
\InvalidArgumentException |