BlobServices interface
表示 BlobServices 的介面。
方法
get |
取得記憶體帳戶 Blob 服務的屬性,包括記憶體分析和 CORS(跨原始來源資源分享)規則的屬性。 |
list(string, string, Blob |
列出記憶體帳戶的 Blob 服務。 它會傳回一個名為 default 的物件集合。 |
set |
設定記憶體帳戶 Blob 服務的屬性,包括記憶體分析和 CORS 的屬性(跨原始來源資源分享)規則。 |
方法詳細資料
getServiceProperties(string, string, BlobServicesGetServicePropertiesOptionalParams)
取得記憶體帳戶 Blob 服務的屬性,包括記憶體分析和 CORS(跨原始來源資源分享)規則的屬性。
function getServiceProperties(resourceGroupName: string, accountName: string, options?: BlobServicesGetServicePropertiesOptionalParams): Promise<BlobServiceProperties>
參數
- resourceGroupName
-
string
用戶訂用帳戶內的資源組名。 名稱不區分大小寫。
- accountName
-
string
指定資源群組內的記憶體帳戶名稱。 儲存體帳戶名稱長度必須介於 3 到 24 個字元之間,且只能使用數位和小寫字母。
選項參數。
傳回
Promise<BlobServiceProperties>
list(string, string, BlobServicesListOptionalParams)
列出記憶體帳戶的 Blob 服務。 它會傳回一個名為 default 的物件集合。
function list(resourceGroupName: string, accountName: string, options?: BlobServicesListOptionalParams): PagedAsyncIterableIterator<BlobServiceProperties, BlobServiceProperties[], PageSettings>
參數
- resourceGroupName
-
string
用戶訂用帳戶內的資源組名。 名稱不區分大小寫。
- accountName
-
string
指定資源群組內的記憶體帳戶名稱。 儲存體帳戶名稱長度必須介於 3 到 24 個字元之間,且只能使用數位和小寫字母。
- options
- BlobServicesListOptionalParams
選項參數。
傳回
setServiceProperties(string, string, BlobServiceProperties, BlobServicesSetServicePropertiesOptionalParams)
設定記憶體帳戶 Blob 服務的屬性,包括記憶體分析和 CORS 的屬性(跨原始來源資源分享)規則。
function setServiceProperties(resourceGroupName: string, accountName: string, parameters: BlobServiceProperties, options?: BlobServicesSetServicePropertiesOptionalParams): Promise<BlobServiceProperties>
參數
- resourceGroupName
-
string
用戶訂用帳戶內的資源組名。 名稱不區分大小寫。
- accountName
-
string
指定資源群組內的記憶體帳戶名稱。 儲存體帳戶名稱長度必須介於 3 到 24 個字元之間,且只能使用數位和小寫字母。
- parameters
- BlobServiceProperties
記憶體帳戶 Blob 服務的屬性,包括記憶體分析和 CORS(跨原始來源資源分享)規則的屬性。
選項參數。
傳回
Promise<BlobServiceProperties>