azure-storage-common\src\Common\Models\Logging.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
- 2016 Microsoft Corporation
- License
- https://github.com/azure/azure-storage-php/LICENSE
- Link
- https://github.com/azure/azure-storage-php
- Package
- MicrosoftAzure\Storage\Common\Models
\MicrosoftAzure\Storage\Common\Models\Logging
Package: MicrosoftAzure\Storage\Common\Models





Holds elements of queue properties logging field.
- Author
- Azure Storage PHP SDK
- Category
- Microsoft
- Copyright
- 2016 Microsoft Corporation
- License
- https://github.com/azure/azure-storage-php/LICENSE
- Link
- https://github.com/azure/azure-storage-php
Methods

getRetentionPolicy() : \MicrosoftAzure\Storage\Common\Models\MicrosoftAzure\Storage\Common\Models\RetentionPolicyGets the retention policy
Returns
| Type | Description |
|---|---|
| \MicrosoftAzure\Storage\Common\Models\MicrosoftAzure\Storage\Common\Models\RetentionPolicy |

getWrite() : \MicrosoftAzure\Storage\Common\Models\bool.Gets whether all write requests should be logged.
Returns
| Type | Description |
|---|---|
| \MicrosoftAzure\Storage\Common\Models\bool. |

setDelete(boolean $delete) : voidSets whether all delete requests should be logged.
Parameters
| Name | Type | Description |
|---|---|---|
| $delete | boolean | new value. |

setRead(boolean $read) : voidSets whether all read requests should be logged.
Parameters
| Name | Type | Description |
|---|---|---|
| $read | boolean | new value. |

setRetentionPolicy(\MicrosoftAzure\Storage\Common\Models\RetentionPolicy $policy) : voidSets retention policy
Parameters
| Name | Type | Description |
|---|---|---|
| $policy | \MicrosoftAzure\Storage\Common\Models\RetentionPolicy | object to use |

setVersion(string $version) : voidSets the version of Storage Analytics to configure
Parameters
| Name | Type | Description |
|---|---|---|
| $version | string | new value. |