CreateIfNotExists(PublicAccessType, IDictionary<String,String>, BlobContainerEncryptionScopeOptions, CancellationToken)操作在指定帐户下创建一个新容器。 如果同名的容器已存在,则不会更改该容器。 有关详细信息,请参阅创建容器。 C# publicvirtualAzure
("Key", "Value"); BlobContainerCreateOptions options = new BlobContainerCreateOptions().setMetadata(metadata) .setPublicAccessType(PublicAccessType.CONTAINER); Response<Boolean> response = client.createIfNotExistsWithResponse(options, timeout, context); if (response.getStatusCode(...
It need not be used when using with a context manager. create_container Creates a new container under the specified account. If the container with the same name already exists, the operation fails. delete_blob Marks the specified blob or snapshot for deletion. The blob is later...
It need not be used when using with a context manager. create_container Creates a new container under the specified account. If the container with the same name already exists, the operation fails. delete_blob Marks the specified blob or snapshot for deletion. The blob is later deleted ...
是将APM配置为忽略来自类中特定方法的409,并将创建BlobContainerClient和CreateIfNotExistAsync的调用移动...
client.createIfNotExists().subscribe(created -> { if (created) { System.out.println("successfully created."); } else { System.out.println("Already exists."); } }); Returns: A reactive response signaling completion. true indicates a new container was created, true indicates ...
CreateIfNotExists(PublicAccessType, IDictionary<String,String>, BlobContainerEncryptionScopeOptions, CancellationToken)操作在指定帐户下创建一个新容器。 如果同名的容器已存在,则不会更改该容器。 有关详细信息,请参阅 创建容器。 C# 复制 public virtual Azure.Response<Azure.Storage.Blobs.Models.BlobC...
RequestFailedException如果发生故障,将引发 。 如果要创建容器(如果不存在),请改用CreateIfNotExists(PublicAccessType, IDictionary<String,String>, BlobContainerEncryptionScopeOptions, CancellationToken)。 适用于 产品版本 Azure SDK for .NETLatest, Preview ...
Returns true if the container exists. Remarks A RequestFailedException will be thrown if a failure occurs. If you want to create the container if it doesn't exist, use CreateIfNotExists(PublicAccessType, IDictionary<String,String>, BlobContainerEncryptionScopeOptions, CancellationToken) instead. Appl...
如果容器存在,则返回 true。 注解 RequestFailedException如果发生故障,将引发 。 如果要创建容器(如果不存在),请改用 CreateIfNotExists(PublicAccessType, IDictionary<String,String>, BlobContainerEncryptionScopeOptions, CancellationToken)。 适用于 产品版本 Azure SDK for .NET Latest, Preview 在...