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) : void
Initialize the properties to default value.
Inherited from:Name | Type | Description |
---|---|---|
$options |
addMetadata(string $key, string $value) : void
Adds 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) : array
Generate 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() : boolean
Gets the decodeContent value
Inherited from:Type | Description |
---|---|
boolean |
getIsStreaming() : boolean
Gets the isStreaming value
Inherited from:Type | Description |
---|---|
boolean |
getLeaseId() : string
Gets lease Id for the blob
Inherited from:Type | Description |
---|---|
string |
getLocationMode() : string
Gets the locationMode value
Inherited from:Type | Description |
---|---|
string |
getMiddlewareStack() : \MicrosoftAzure\Storage\Common\Middlewares\MiddlewareStack
Gets the middleware stack
Inherited from:Type | Description |
---|---|
\MicrosoftAzure\Storage\Common\Middlewares\MiddlewareStack |
getNumberOfConcurrency() : integer
Gets the number of concurrency value
Inherited from:Type | Description |
---|---|
integer |
pushMiddleware(callable | \MicrosoftAzure\Storage\Common\Middlewares\IMiddleware $middleware) : void
Push a middleware into the middlewares.
Inherited from:Name | Type | Description |
---|---|---|
$middleware | callable | \MicrosoftAzure\Storage\Common\Middlewares\IMiddleware | middleware to be pushed. |
setAccessConditions(mixed $accessConditions) : void
Sets access condition
Inherited from:Name | Type | Description |
---|---|---|
$accessConditions | mixed | value to use. |
setDecodeContent(boolean $decodeContent) : void
Sets decodeContent.
Inherited from:Name | Type | Description |
---|---|---|
$decodeContent | boolean | value. |
setIsStreaming(boolean $isStreaming) : void
Sets isStreaming.
Inherited from:Name | Type | Description |
---|---|---|
$isStreaming | boolean | value. |
setLeaseId(string $leaseId) : void
Sets lease Id for the blob
Inherited from:Name | Type | Description |
---|---|---|
$leaseId | string | the blob lease id. |
setLocationMode(string $locationMode) : void
Sets locationMode.
Inherited from:Name | Type | Description |
---|---|---|
$locationMode | string | value. |
setMetadata(array $metadata) : void
Sets 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) : void
Sets the middleware stack.
Inherited from:Name | Type | Description |
---|---|---|
$middlewareStack | \MicrosoftAzure\Storage\Common\Middlewares\MiddlewareStack | value. |
setMiddlewares(array $middlewares) : void
Sets middlewares.
Inherited from:Name | Type | Description |
---|---|---|
$middlewares | array | value. |
setNumberOfConcurrency(integer $numberOfConcurrency) : void
Sets number of concurrency.
Inherited from:Name | Type | Description |
---|---|---|
$numberOfConcurrency | integer | value. |
setPublicAccess(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.
Name | Type | Description |
---|---|---|
$publicAccess | string | access modifier for the container |