AzureDataProtectionBuilderExtensions.PersistKeysToAzureBlobStorage 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
PersistKeysToAzureBlobStorage(IDataProtectionBuilder, CloudBlockBlob) |
設定資料保護系統,將金鑰保存在Azure Blob 儲存體中指定的路徑。 |
PersistKeysToAzureBlobStorage(IDataProtectionBuilder, CloudBlockBlob) |
設定資料保護系統,將金鑰保存在Azure Blob 儲存體中指定的路徑。 |
PersistKeysToAzureBlobStorage(IDataProtectionBuilder, Uri) |
設定資料保護系統,將金鑰保存在Azure Blob 儲存體中指定的路徑。 |
PersistKeysToAzureBlobStorage(IDataProtectionBuilder, CloudBlobContainer, String) |
設定資料保護系統,將金鑰保存在Azure Blob 儲存體中指定的路徑。 |
PersistKeysToAzureBlobStorage(IDataProtectionBuilder, CloudStorageAccount, String) |
設定資料保護系統,將金鑰保存在Azure Blob 儲存體中指定的路徑。 |
PersistKeysToAzureBlobStorage(IDataProtectionBuilder, CloudBlobContainer, String) |
設定資料保護系統,將金鑰保存在Azure Blob 儲存體中指定的路徑。 |
PersistKeysToAzureBlobStorage(IDataProtectionBuilder, CloudStorageAccount, String) |
設定資料保護系統,將金鑰保存在Azure Blob 儲存體中指定的路徑。 |
PersistKeysToAzureBlobStorage(IDataProtectionBuilder, CloudBlockBlob)
設定資料保護系統,將金鑰保存在Azure Blob 儲存體中指定的路徑。
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::AspNetCore::DataProtection::IDataProtectionBuilder ^ PersistKeysToAzureBlobStorage(Microsoft::AspNetCore::DataProtection::IDataProtectionBuilder ^ builder, Microsoft::Azure::Storage::Blob::CloudBlockBlob ^ blobReference);
public static Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder PersistKeysToAzureBlobStorage (this Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder builder, Microsoft.Azure.Storage.Blob.CloudBlockBlob blobReference);
static member PersistKeysToAzureBlobStorage : Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder * Microsoft.Azure.Storage.Blob.CloudBlockBlob -> Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder
<Extension()>
Public Function PersistKeysToAzureBlobStorage (builder As IDataProtectionBuilder, blobReference As CloudBlockBlob) As IDataProtectionBuilder
參數
- builder
- IDataProtectionBuilder
要修改的產生器實例。
- blobReference
- CloudBlockBlob
應 CloudBlockBlob 儲存金鑰檔案的 。
傳回
值 builder
。
備註
所參考的 blobReference
容器必須已經存在。
適用於
PersistKeysToAzureBlobStorage(IDataProtectionBuilder, CloudBlockBlob)
設定資料保護系統,將金鑰保存在Azure Blob 儲存體中指定的路徑。
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::AspNetCore::DataProtection::IDataProtectionBuilder ^ PersistKeysToAzureBlobStorage(Microsoft::AspNetCore::DataProtection::IDataProtectionBuilder ^ builder, Microsoft::WindowsAzure::Storage::Blob::CloudBlockBlob ^ blobReference);
public static Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder PersistKeysToAzureBlobStorage (this Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder builder, Microsoft.WindowsAzure.Storage.Blob.CloudBlockBlob blobReference);
static member PersistKeysToAzureBlobStorage : Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder * Microsoft.WindowsAzure.Storage.Blob.CloudBlockBlob -> Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder
<Extension()>
Public Function PersistKeysToAzureBlobStorage (builder As IDataProtectionBuilder, blobReference As CloudBlockBlob) As IDataProtectionBuilder
參數
- builder
- IDataProtectionBuilder
要修改的產生器實例。
- blobReference
- CloudBlockBlob
應 CloudBlockBlob 儲存金鑰檔案的 。
傳回
值 builder
。
備註
所參考的 blobReference
容器必須已經存在。
適用於
PersistKeysToAzureBlobStorage(IDataProtectionBuilder, Uri)
設定資料保護系統,將金鑰保存在Azure Blob 儲存體中指定的路徑。
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::AspNetCore::DataProtection::IDataProtectionBuilder ^ PersistKeysToAzureBlobStorage(Microsoft::AspNetCore::DataProtection::IDataProtectionBuilder ^ builder, Uri ^ blobUri);
public static Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder PersistKeysToAzureBlobStorage (this Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder builder, Uri blobUri);
static member PersistKeysToAzureBlobStorage : Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder * Uri -> Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder
<Extension()>
Public Function PersistKeysToAzureBlobStorage (builder As IDataProtectionBuilder, blobUri As Uri) As IDataProtectionBuilder
參數
- builder
- IDataProtectionBuilder
要修改的產生器實例。
- blobUri
- Uri
應該儲存金鑰檔案的完整 URI。 URI 必須包含 SAS 權杖作為查詢字串參數。
傳回
值 builder
。
備註
所參考的 blobUri
容器必須已經存在。
適用於
PersistKeysToAzureBlobStorage(IDataProtectionBuilder, CloudBlobContainer, String)
設定資料保護系統,將金鑰保存在Azure Blob 儲存體中指定的路徑。
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::AspNetCore::DataProtection::IDataProtectionBuilder ^ PersistKeysToAzureBlobStorage(Microsoft::AspNetCore::DataProtection::IDataProtectionBuilder ^ builder, Microsoft::Azure::Storage::Blob::CloudBlobContainer ^ container, System::String ^ blobName);
public static Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder PersistKeysToAzureBlobStorage (this Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder builder, Microsoft.Azure.Storage.Blob.CloudBlobContainer container, string blobName);
static member PersistKeysToAzureBlobStorage : Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder * Microsoft.Azure.Storage.Blob.CloudBlobContainer * string -> Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder
<Extension()>
Public Function PersistKeysToAzureBlobStorage (builder As IDataProtectionBuilder, container As CloudBlobContainer, blobName As String) As IDataProtectionBuilder
參數
- builder
- IDataProtectionBuilder
要修改的產生器實例。
- container
- CloudBlobContainer
要 CloudBlobContainer 在其中儲存金鑰檔案的 。
- blobName
- String
金鑰檔的名稱,通常指定為 「[subdir/]keys.xml」
傳回
值 builder
。
備註
所參考的 container
容器必須已經存在。
適用於
PersistKeysToAzureBlobStorage(IDataProtectionBuilder, CloudStorageAccount, String)
設定資料保護系統,將金鑰保存在Azure Blob 儲存體中指定的路徑。
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::AspNetCore::DataProtection::IDataProtectionBuilder ^ PersistKeysToAzureBlobStorage(Microsoft::AspNetCore::DataProtection::IDataProtectionBuilder ^ builder, Microsoft::Azure::Storage::CloudStorageAccount ^ storageAccount, System::String ^ relativePath);
public static Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder PersistKeysToAzureBlobStorage (this Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder builder, Microsoft.Azure.Storage.CloudStorageAccount storageAccount, string relativePath);
static member PersistKeysToAzureBlobStorage : Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder * Microsoft.Azure.Storage.CloudStorageAccount * string -> Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder
<Extension()>
Public Function PersistKeysToAzureBlobStorage (builder As IDataProtectionBuilder, storageAccount As CloudStorageAccount, relativePath As String) As IDataProtectionBuilder
參數
- builder
- IDataProtectionBuilder
要修改的產生器實例。
- storageAccount
- CloudStorageAccount
CloudStorageAccount應該使用的 。
- relativePath
- String
應該儲存金鑰檔案的相對路徑,通常指定為 「/containerName/[subDir/]keys.xml」。
傳回
值 builder
。
備註
所參考的 relativePath
容器必須已經存在。
適用於
PersistKeysToAzureBlobStorage(IDataProtectionBuilder, CloudBlobContainer, String)
設定資料保護系統,將金鑰保存在Azure Blob 儲存體中指定的路徑。
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::AspNetCore::DataProtection::IDataProtectionBuilder ^ PersistKeysToAzureBlobStorage(Microsoft::AspNetCore::DataProtection::IDataProtectionBuilder ^ builder, Microsoft::WindowsAzure::Storage::Blob::CloudBlobContainer ^ container, System::String ^ blobName);
public static Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder PersistKeysToAzureBlobStorage (this Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder builder, Microsoft.WindowsAzure.Storage.Blob.CloudBlobContainer container, string blobName);
static member PersistKeysToAzureBlobStorage : Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder * Microsoft.WindowsAzure.Storage.Blob.CloudBlobContainer * string -> Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder
<Extension()>
Public Function PersistKeysToAzureBlobStorage (builder As IDataProtectionBuilder, container As CloudBlobContainer, blobName As String) As IDataProtectionBuilder
參數
- builder
- IDataProtectionBuilder
要修改的產生器實例。
- container
- CloudBlobContainer
要 CloudBlobContainer 在其中儲存金鑰檔案的 。
- blobName
- String
金鑰檔的名稱,通常指定為 「[subdir/]keys.xml」
傳回
值 builder
。
備註
所參考的 container
容器必須已經存在。
適用於
PersistKeysToAzureBlobStorage(IDataProtectionBuilder, CloudStorageAccount, String)
設定資料保護系統,將金鑰保存在Azure Blob 儲存體中指定的路徑。
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::AspNetCore::DataProtection::IDataProtectionBuilder ^ PersistKeysToAzureBlobStorage(Microsoft::AspNetCore::DataProtection::IDataProtectionBuilder ^ builder, Microsoft::WindowsAzure::Storage::CloudStorageAccount ^ storageAccount, System::String ^ relativePath);
public static Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder PersistKeysToAzureBlobStorage (this Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder builder, Microsoft.WindowsAzure.Storage.CloudStorageAccount storageAccount, string relativePath);
static member PersistKeysToAzureBlobStorage : Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder * Microsoft.WindowsAzure.Storage.CloudStorageAccount * string -> Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder
<Extension()>
Public Function PersistKeysToAzureBlobStorage (builder As IDataProtectionBuilder, storageAccount As CloudStorageAccount, relativePath As String) As IDataProtectionBuilder
參數
- builder
- IDataProtectionBuilder
要修改的產生器實例。
- storageAccount
- CloudStorageAccount
CloudStorageAccount應該使用的 。
- relativePath
- String
應該儲存金鑰檔案的相對路徑,通常指定為 「/containerName/[subDir/]keys.xml」。
傳回
值 builder
。
備註
所參考的 relativePath
容器必須已經存在。