Azure Integrator V2 - Online Help
Azure Integrator V2
Questions / Feedback?

CreateContainer Method

Creates a new container within a storage account.

Syntax

[VB.NET]
Public Sub CreateContainer()
[C#]
public void CreateContainer();

Remarks

This method will create a new container with a name specified by ContainerName and located within the specified storage Account.

Any metadata specified in Metadata will be set for the created container.

A container level access policy can be assigned to the container by setting AccessPolicy prior to calling CreateContainer.

Optionally you can create a default or root container for a storage account, by setting "$root" for the ContainerName. The root container makes it possible to reference a blob from the top level of the storage account hierarchy, without referencing the container name.

Note all containers are created directly beneath the storage account. Thus it is not possible to nest one container beneath another.

A container name must be a valid DNS name and conform to the following naming rules:

  • Container names must start with a letter or number, and can contain only letters, numbers, and the dash (-) character.
  • Every dash (-) character must be immediately preceded and followed by a letter or number; consecutive dashes are not permitted in container names.
  • All letters in a container name must be lowercase.
  • Container names must be from 3 through 63 characters long.

 
 
Copyright (c) 2017 /n software inc. - All rights reserved.
Build 2.0.6240.0