azure-storage-blob\src\Blob\Models\CreateContainerOptions.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
- 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
- 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

__construct( $options = null) : voidInitialize the properties to default value.
Inherited from:| Name | Type | Description |
|---|---|---|
| $options |

addMetadata(string $key, string $value) : voidAdds new metadata element. This element should be added without the header prefix (x-ms-meta-*).
| Name | Type | Description |
|---|---|---|
| $key | string | metadata key element. |
| $value | string | metadata value element. |

generateRequestOptions(array $options) : arrayGenerate request options using the input options and saved properties.
Inherited from:| Name | Type | Description |
|---|---|---|
| $options | array | The options to be merged for the request options. |
| Type | Description |
|---|---|
| array |

getAccessConditions() : array<mixed,\MicrosoftAzure\Storage\Blob\Models\AccessCondition>Gets access condition
Inherited from:| Type | Description |
|---|---|
| array<mixed,\MicrosoftAzure\Storage\Blob\Models\AccessCondition> |

getDecodeContent() : booleanGets the decodeContent value
Inherited from:| Type | Description |
|---|---|
| boolean |

getIsStreaming() : booleanGets the isStreaming value
Inherited from:| Type | Description |
|---|---|
| boolean |

getLeaseId() : stringGets lease Id for the blob
Inherited from:| Type | Description |
|---|---|
| string |

getLocationMode() : stringGets the locationMode value
Inherited from:| Type | Description |
|---|---|
| string |

getMiddlewareStack() : \MicrosoftAzure\Storage\Common\Middlewares\MiddlewareStackGets the middleware stack
Inherited from:| Type | Description |
|---|---|
| \MicrosoftAzure\Storage\Common\Middlewares\MiddlewareStack |

getNumberOfConcurrency() : integerGets the number of concurrency value
Inherited from:| Type | Description |
|---|---|
| integer |

pushMiddleware(callable | \MicrosoftAzure\Storage\Common\Middlewares\IMiddleware $middleware) : voidPush a middleware into the middlewares.
Inherited from:| Name | Type | Description |
|---|---|---|
| $middleware | callable | \MicrosoftAzure\Storage\Common\Middlewares\IMiddleware | middleware to be pushed. |

setAccessConditions(mixed $accessConditions) : voidSets access condition
Inherited from:| Name | Type | Description |
|---|---|---|
| $accessConditions | mixed | value to use. |

setDecodeContent(boolean $decodeContent) : voidSets decodeContent.
Inherited from:| Name | Type | Description |
|---|---|---|
| $decodeContent | boolean | value. |

setIsStreaming(boolean $isStreaming) : voidSets isStreaming.
Inherited from:| Name | Type | Description |
|---|---|---|
| $isStreaming | boolean | value. |

setLeaseId(string $leaseId) : voidSets lease Id for the blob
Inherited from:| Name | Type | Description |
|---|---|---|
| $leaseId | string | the blob lease id. |

setLocationMode(string $locationMode) : voidSets locationMode.
Inherited from:| Name | Type | Description |
|---|---|---|
| $locationMode | string | value. |

setMetadata(array $metadata) : voidSets user defined metadata. This metadata should be added without the header prefix (x-ms-meta-*).
| Name | Type | Description |
|---|---|---|
| $metadata | array | user defined metadata object in array form. |

setMiddlewareStack(\MicrosoftAzure\Storage\Common\Middlewares\MiddlewareStack $middlewareStack) : voidSets the middleware stack.
Inherited from:| Name | Type | Description |
|---|---|---|
| $middlewareStack | \MicrosoftAzure\Storage\Common\Middlewares\MiddlewareStack | value. |

setMiddlewares(array $middlewares) : voidSets middlewares.
Inherited from:| Name | Type | Description |
|---|---|---|
| $middlewares | array | value. |

setNumberOfConcurrency(integer $numberOfConcurrency) : voidSets number of concurrency.
Inherited from:| Name | Type | Description |
|---|---|---|
| $numberOfConcurrency | integer | value. |

setPublicAccess(string $publicAccess) : voidSpecifies 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.
| Name | Type | Description |
|---|---|---|
| $publicAccess | string | access modifier for the container |