azure-storage-file\src\File\Models\ShareACL.php
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\ShareACL
- Parent(s)
- \MicrosoftAzure\Storage\Common\Internal\ACLBase
- Author
- Azure Storage PHP SDK
- Category
- Microsoft
- Copyright
- 2017 Microsoft Corporation
- Inherited_from
- \MicrosoftAzure\Storage\Common\Internal\ACLBase
- License
- https://github.com/azure/azure-storage-php/LICENSE
- Link
- https://github.com/azure/azure-storage-php
Methods
addSignedIdentifier(string $id, \DateTime $start, \DateTime $expiry, string $permissions) : void
Add a signed identifier to the ACL.
Inherited from:Name | Type | Description |
---|---|---|
$id | string | A unique id for this signed identifier. |
$start | \DateTime | The time at which the Shared Access Signature becomes valid. If omitted, start time for this call is assumed to be the time when the service receives the request. |
$expiry | \DateTime | The time at which the Shared Access Signature becomes invalid. |
$permissions | string | The permissions associated with the Shared Access Signature. The user is restricted to operations allowed by the permissions. |
createAccessPolicy() : \MicrosoftAzure\Storage\File\Models\ShareAccessPolicy
Create a ShareAccessPolicy object.
Type | Description |
---|---|
\MicrosoftAzure\Storage\File\Models\ShareAccessPolicy |
createAccessPolicy() : \MicrosoftAzure\Storage\Common\Models\AccessPolicy
Create an AccessPolicy object by resource type.
Inherited from:Type | Description |
---|---|
\MicrosoftAzure\Storage\Common\Models\AccessPolicy |
getSignedIdentifiers() : array
Gets signed identifiers.
Inherited from:Type | Description |
---|---|
array |
removeSignedIdentifier(string $id) : boolean
Remove the signed identifier with given ID.
Inherited from:Name | Type | Description |
---|---|---|
$id | string | The ID of the signed identifier to be removed. |
Type | Description |
---|---|
boolean |