GetBlobBaseClientCore(String) の末尾UriにをblobName追加して、新しいBlobBaseClientオブジェクトを作成します。 新しい BlobBaseClient では、 と同じ要求ポリシー パイプラインが使用されます BlobContainerClient。 GetBlobClient(String) の末尾UriにをblobName追加して、新しい BlobClient オブジェク...
AzureBlobClientLiveTest.testGetSetACL() @TestpublicvoidtestGetSetACL()throwsException{AzureBlobClientclient=getApi();StringblockContainer=CONTAINER_PREFIX+containerIndex.incrementAndGet();client.createContainer(blockContainer);try{assertThat(client.getPublicAccessForContainer(blockContainer)).isEqualTo(PublicAcces...
<QueryParameterName>where</QueryParameterName> <QueryParameterValue>"sha256hash"='hash'+AND+"deploymentID"='id'</QueryParameterValue> <Reason>This query parameter value is invalid.</Reason> </Error> What did you expect or want to happen? To get back a list of blobs ...
getAccountName() Get associated account name. String getAccountUrl() Get the url of the storage account. BlobAsyncClient getBlobAsyncClient(String blobName) Creates a new BlobAsyncClient object by concatenating blobName to the end of ContainerAsyncClient's URL. BlobAsyncClient ...
public final class BlobContainerClientClient to a container. It may only be instantiated through a BlobContainerClientBuilder or via the method getBlobContainerClient(String containerName). This class does not hold any state about a particular container but is instead a convenient way of sending ...
try { client.create(); System.out.printf("Create completed%n"); } catch (BlobStorageException error) { if (error.getErrorCode().equals(BlobErrorCode.CONTAINER_ALREADY_EXISTS)) { System.out.printf("Can't create container. It already exists %n"); } } create...
public final class BlobContainerClientClient to a container. It may only be instantiated through a BlobContainerClientBuilder or via the method getBlobContainerClient(String containerName). This class does not hold any state about a particular container but is instead a convenient way of sending ...
try { client.create(); System.out.printf("Create completed%n"); } catch (BlobStorageException error) { if (error.getErrorCode().equals(BlobErrorCode.CONTAINER_ALREADY_EXISTS)) { System.out.printf("Can't create container. It already exists %n"); } } create...
LogsBlobContainerName 用于标识存储帐户日志容器的 Azure 存储名称。 RootBlobContainerName 用于标识存储帐户根容器的 Azure 存储名称。 WebBlobContainerName 用于标识存储帐户的 Web 内容容器的 Azure 存储名称。 属性 展开表 AccountName 获取与容器客户端对应的存储帐户名称。
Map<String, String> metadata = Collections.singletonMap("metadata", "value"); client.createWithResponse(metadata, PublicAccessType.CONTAINER).subscribe(response -> System.out.printf("Create completed with status %d%n", response.getStatusCode())); Parameters: metadata - 要与容器关联的...