次の方法で共有


TableServicesOperationsExtensions.SetServiceProperties メソッド

定義

Storage Analyticsおよび CORS (クロスオリジン リソース共有) ルールのプロパティを含む、ストレージ アカウントの Table サービスのプロパティを設定します。

public static Microsoft.Azure.Management.Storage.Models.TableServiceProperties SetServiceProperties (this Microsoft.Azure.Management.Storage.ITableServicesOperations operations, string resourceGroupName, string accountName, Microsoft.Azure.Management.Storage.Models.CorsRules cors = default);
static member SetServiceProperties : Microsoft.Azure.Management.Storage.ITableServicesOperations * string * string * Microsoft.Azure.Management.Storage.Models.CorsRules -> Microsoft.Azure.Management.Storage.Models.TableServiceProperties
<Extension()>
Public Function SetServiceProperties (operations As ITableServicesOperations, resourceGroupName As String, accountName As String, Optional cors As CorsRules = Nothing) As TableServiceProperties

パラメーター

operations
ITableServicesOperations

この拡張メソッドの操作グループ。

resourceGroupName
String

ユーザーのサブスクリプション内のリソース グループの名前。 名前の大文字と小文字は区別されます。

accountName
String

指定したリソース グループ内のストレージ アカウントの名前。 ストレージ アカウント名の長さは 3 ~ 24 文字で、数字と小文字のみを使用する必要があります。

cors
CorsRules

Table サービスの CORS 規則を指定します。 要求には、最大 5 つの CorsRule 要素を含めることができます。 要求本文に CorsRule 要素が含まれていない場合、すべての CORS ルールが削除され、Table サービスに対して CORS が無効になります。

戻り値

適用対象