你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

TableServiceProperties 构造函数

定义

重载

TableServiceProperties()

初始化 TableServiceProperties 类的新实例。

TableServiceProperties(String, String, String, CorsRules)

初始化 TableServiceProperties 类的新实例。

TableServiceProperties()

初始化 TableServiceProperties 类的新实例。

public TableServiceProperties ();
Public Sub New ()

适用于

TableServiceProperties(String, String, String, CorsRules)

初始化 TableServiceProperties 类的新实例。

public TableServiceProperties (string id = default, string name = default, string type = default, Microsoft.Azure.Management.Storage.Models.CorsRules cors = default);
new Microsoft.Azure.Management.Storage.Models.TableServiceProperties : string * string * string * Microsoft.Azure.Management.Storage.Models.CorsRules -> Microsoft.Azure.Management.Storage.Models.TableServiceProperties
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional cors As CorsRules = Nothing)

参数

id
String

资源的完全限定的资源 ID。 例如 - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

name
String

资源的名称

type
String

资源类型。 例如“Microsoft.Compute/virtualMachines”或“Microsoft.Storage/storageAccounts”

cors
CorsRules

指定表服务的 CORS 规则。 最多可以在请求中包含五个 CorsRule 元素。 如果请求正文中不包含 CorsRule 元素,则将删除所有 CORS 规则,并且将禁用表服务的 CORS。

适用于