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

LinkedStorageAccountsResource 构造函数

定义

重载

LinkedStorageAccountsResource()

初始化 LinkedStorageAccountsResource 类的新实例。

LinkedStorageAccountsResource(String, String, String, Nullable<DataSourceType>, IList<String>)

初始化 LinkedStorageAccountsResource 类的新实例。

LinkedStorageAccountsResource()

初始化 LinkedStorageAccountsResource 类的新实例。

public LinkedStorageAccountsResource ();
Public Sub New ()

适用于

LinkedStorageAccountsResource(String, String, String, Nullable<DataSourceType>, IList<String>)

初始化 LinkedStorageAccountsResource 类的新实例。

public LinkedStorageAccountsResource (string id = default, string name = default, string type = default, Microsoft.Azure.Management.OperationalInsights.Models.DataSourceType? dataSourceType = default, System.Collections.Generic.IList<string> storageAccountIds = default);
new Microsoft.Azure.Management.OperationalInsights.Models.LinkedStorageAccountsResource : string * string * string * Nullable<Microsoft.Azure.Management.OperationalInsights.Models.DataSourceType> * System.Collections.Generic.IList<string> -> Microsoft.Azure.Management.OperationalInsights.Models.LinkedStorageAccountsResource
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional dataSourceType As Nullable(Of DataSourceType) = Nothing, Optional storageAccountIds As IList(Of String) = Nothing)

参数

id
String

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

name
String

资源的名称

type
String

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

dataSourceType
Nullable<DataSourceType>

链接存储帐户类型。 可能的值包括:“CustomLogs”、“AzureWatson”、“Query”、“Alerts”

storageAccountIds
IList<String>

链接的存储帐户资源 ID。

适用于