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

\MicrosoftAzure\Storage\Blob\Models\CreateContainerOptions

Package: MicrosoftAzure\Storage\Blob\Models
Optional parameters for createContainer API
Parent(s)
\MicrosoftAzure\Storage\Blob\Models\BlobServiceOptions < \MicrosoftAzure\Storage\Common\Models\ServiceOptions
Author
Azure Storage PHP SDK  
Category
Microsoft  
Copyright
2016 Microsoft Corporation  
Inherited_from
\MicrosoftAzure\Storage\Blob\Models\BlobServiceOptions  
License
https://github.com/azure/azure-storage-php/LICENSE  
Link
https://github.com/azure/azure-storage-php  

Methods

methodpublic__construct( $options = null) : void
inherited

Initialize the properties to default value.

Inherited from:
Parameters
NameTypeDescription
$options
methodpublicaddMetadata(string $key, string $value) : void

Adds new metadata element. This element should be added without the header prefix (x-ms-meta-*).

Parameters
NameTypeDescription
$keystring

metadata key element.

$valuestring

metadata value element.

methodpublicgenerateRequestOptions(array $options) : array
inherited

Generate request options using the input options and saved properties.

Inherited from:
Parameters
NameTypeDescription
$optionsarray

The options to be merged for the request options.

Returns
TypeDescription
array
methodpublicgetAccessConditions() : array<mixed,\MicrosoftAzure\Storage\Blob\Models\AccessCondition>
inherited

Gets access condition

Inherited from:
Returns
TypeDescription
array<mixed,\MicrosoftAzure\Storage\Blob\Models\AccessCondition>
methodpublicgetDecodeContent() : boolean
inherited

Gets the decodeContent value

Inherited from:
Returns
TypeDescription
boolean
methodpublicgetIsStreaming() : boolean
inherited

Gets the isStreaming value

Inherited from:
Returns
TypeDescription
boolean
methodpublicgetLeaseId() : string
inherited

Gets lease Id for the blob

Inherited from:
Returns
TypeDescription
string
methodpublicgetLocationMode() : string
inherited

Gets the locationMode value

Inherited from:
Returns
TypeDescription
string
methodpublicgetMetadata() : array

Gets user defined metadata.

Returns
TypeDescription
array
methodpublicgetMiddlewareStack() : \MicrosoftAzure\Storage\Common\Middlewares\MiddlewareStack
inherited

Gets the middleware stack

Inherited from:
Returns
TypeDescription
\MicrosoftAzure\Storage\Common\Middlewares\MiddlewareStack
methodpublicgetMiddlewares() : array
inherited

Gets the middlewares.

Inherited from:
Returns
TypeDescription
array
methodpublicgetNumberOfConcurrency() : integer
inherited

Gets the number of concurrency value

Inherited from:
Returns
TypeDescription
integer
methodpublicgetPublicAccess() : string

Gets container public access.

Returns
TypeDescription
string
methodpublicgetTimeout() : string
inherited

Gets the timeout value

Inherited from:
Returns
TypeDescription
string
methodpublicpushMiddleware(callable | \MicrosoftAzure\Storage\Common\Middlewares\IMiddleware $middleware) : void
inherited

Push a middleware into the middlewares.

Inherited from:
Parameters
NameTypeDescription
$middlewarecallable | \MicrosoftAzure\Storage\Common\Middlewares\IMiddleware

middleware to be pushed.

methodpublicsetAccessConditions(mixed $accessConditions) : void
inherited

Sets access condition

Inherited from:
Parameters
NameTypeDescription
$accessConditionsmixed

value to use.

methodpublicsetDecodeContent(boolean $decodeContent) : void
inherited

Sets decodeContent.

Inherited from:
Parameters
NameTypeDescription
$decodeContentboolean

value.

methodpublicsetIsStreaming(boolean $isStreaming) : void
inherited

Sets isStreaming.

Inherited from:
Parameters
NameTypeDescription
$isStreamingboolean

value.

methodpublicsetLeaseId(string $leaseId) : void
inherited

Sets lease Id for the blob

Inherited from:
Parameters
NameTypeDescription
$leaseIdstring

the blob lease id.

methodpublicsetLocationMode(string $locationMode) : void
inherited

Sets locationMode.

Inherited from:
Parameters
NameTypeDescription
$locationModestring

value.

methodpublicsetMetadata(array $metadata) : void

Sets user defined metadata. This metadata should be added without the header prefix (x-ms-meta-*).

Parameters
NameTypeDescription
$metadataarray

user defined metadata object in array form.

methodpublicsetMiddlewareStack(\MicrosoftAzure\Storage\Common\Middlewares\MiddlewareStack $middlewareStack) : void
inherited

Sets the middleware stack.

Inherited from:
Parameters
NameTypeDescription
$middlewareStack\MicrosoftAzure\Storage\Common\Middlewares\MiddlewareStack

value.

methodpublicsetMiddlewares(array $middlewares) : void
inherited

Sets middlewares.

Inherited from:
Parameters
NameTypeDescription
$middlewaresarray

value.

methodpublicsetNumberOfConcurrency(integer $numberOfConcurrency) : void
inherited

Sets number of concurrency.

Inherited from:
Parameters
NameTypeDescription
$numberOfConcurrencyinteger

value.

methodpublicsetPublicAccess(string $publicAccess) : void

Specifies whether data in the container may be accessed publicly and the level of access. Possible values include: 1) container: Specifies full public read access for container and blob data.

Clients can enumerate blobs within the container via anonymous request, but cannot enumerate containers within the storage account. 2) blob: Specifies public read access for blobs. Blob data within this container can be read via anonymous request, but container data is not available. Clients cannot enumerate blobs within the container via anonymous request. If this value is not specified in the request, container data is private to the account owner.

Parameters
NameTypeDescription
$publicAccessstring

access modifier for the container

methodpublicsetTimeout(string $timeout) : void
inherited

Sets timeout.

Inherited from:
Parameters
NameTypeDescription
$timeoutstring

value.

Documentation was generated by phpDocumentor 2.9.1.