azure-storage-common\src\Common\Models\Metrics.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\Metrics
Package: MicrosoftAzure\Storage\Common\Models
Holds elements of queue properties metrics 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\RetentionPolicy
Gets retention policy
Returns
Type | Description |
---|---|
\MicrosoftAzure\Storage\Common\Models\RetentionPolicy |
setEnabled(boolean $enabled) : void
Sets enabled.
Parameters
Name | Type | Description |
---|---|---|
$enabled | boolean | value to use. |
setIncludeAPIs(boolean $includeAPIs) : void
Sets include APIs.
Parameters
Name | Type | Description |
---|---|---|
$includeAPIs | boolean | value to use. |
setRetentionPolicy(\MicrosoftAzure\Storage\Common\Models\RetentionPolicy $policy) : void
Sets retention policy
Parameters
Name | Type | Description |
---|---|---|
$policy | \MicrosoftAzure\Storage\Common\Models\RetentionPolicy | object to use |