问使用MSAL生成可用于访问BlobServiceClient的AccessTokenEN关于这个问题,我建议您使用InteractiveBrowserCredentialcredential。它将启动系统默认浏览器,以交互方式对用户进行身份验证,并获取访问令牌。但是,请注意,用于执行身份验证的用户应该具有Storage Blob Data Contribu
Response<BlobContainerClient>createBlobContainerWithResponse(String containerName, Map<String,String> metadata, PublicAccessType accessType, Context context) Creates a new container within a storage account. voiddeleteBlobContainer(String containerName) ...
A client to interact with the Blob Service at the account level. This client provides operations to retrieve and configure the account properties as well as list, create and delete containers within the account. For operations relating to a specific cont
Specifies the resource types associated with the shared access signature. options ServiceGenerateAccountSasUrlOptions Optional parameters. Returns string An account SAS URI consisting of the URI to the resource represented by this client, followed by the generated SAS token.get...
from_connection_string(conn_str: str, credential: str | Dict[str, str] | AzureNamedKeyCredential | AzureSasCredential | TokenCredential | None = None, **kwargs: Any) -> Self Parámetros conn_str str Requerido Cadena de conexión a una cuenta de Azure Storage. credential valor predetermin...
A client to interact with the Blob Service at the account level. This client provides operations to retrieve and configure the account properties as well as list, create and delete containers within the account. For operations relating to a specific cont
If status code is 409, a container with the same name already existed at this location.createBlobContainerWithResponse public Response createBlobContainerWithResponse(String containerName, Map metadata, PublicAccessType accessType, Context context) Creates a new container within a storage account. If ...
public Mono> createBlobContainerWithResponse(String containerName, Map metadata, PublicAccessType accessType) Creates a new container within a storage account. If a container with the same name already exists, the operation fails. For more information, see the Azure Docs. Code Samples Java ...
public Mono<>> getUserDelegationKeyWithResponse(OffsetDateTime start, OffsetDateTime expiry) Gets a user delegation key for use with this account's blob storage. Note: This method call is only valid when usingTokenCredentialin this object'sHttpPipeline. ...
public Mono> createBlobContainerWithResponse(String containerName, Map metadata, PublicAccessType accessType) Creates a new container within a storage account. If a container with the same name already exists, the operation fails. For more information, see the Azure Docs. Code Samp...