Partilhar via


IWithLogAnalyticsBeta.WithLogAnalytics Método

Definição

Sobrecargas

WithLogAnalytics(String, String)

Especifica o workspace do Log Analytics a ser usado para o grupo de contêineres.

WithLogAnalytics(String, String, LogAnalyticsLogType, IDictionary<String,String>)

Especifica o workspace do Log Analytics com complementos opcionais para o grupo de contêineres.

WithLogAnalytics(String, String)

Especifica o workspace do Log Analytics a ser usado para o grupo de contêineres.

public Microsoft.Azure.Management.ContainerInstance.Fluent.ContainerGroup.Definition.IWithCreate WithLogAnalytics (string workspaceId, string workspaceKey);
abstract member WithLogAnalytics : string * string -> Microsoft.Azure.Management.ContainerInstance.Fluent.ContainerGroup.Definition.IWithCreate
Public Function WithLogAnalytics (workspaceId As String, workspaceKey As String) As IWithCreate

Parâmetros

workspaceId
String

A ID do workspace do Log Analytics criado anteriormente.

workspaceKey
String

A chave do workspace do Log Analytics criado anteriormente.

Retornos

Aplica-se a

WithLogAnalytics(String, String, LogAnalyticsLogType, IDictionary<String,String>)

Especifica o workspace do Log Analytics com complementos opcionais para o grupo de contêineres.

public Microsoft.Azure.Management.ContainerInstance.Fluent.ContainerGroup.Definition.IWithCreate WithLogAnalytics (string workspaceId, string workspaceKey, Microsoft.Azure.Management.ContainerInstance.Fluent.Models.LogAnalyticsLogType logType, System.Collections.Generic.IDictionary<string,string> metadata);
abstract member WithLogAnalytics : string * string * Microsoft.Azure.Management.ContainerInstance.Fluent.Models.LogAnalyticsLogType * System.Collections.Generic.IDictionary<string, string> -> Microsoft.Azure.Management.ContainerInstance.Fluent.ContainerGroup.Definition.IWithCreate
Public Function WithLogAnalytics (workspaceId As String, workspaceKey As String, logType As LogAnalyticsLogType, metadata As IDictionary(Of String, String)) As IWithCreate

Parâmetros

workspaceId
String

A ID do workspace do Log Analytics criado anteriormente.

workspaceKey
String

A chave do workspace do Log Analytics criado anteriormente.

logType
LogAnalyticsLogType

O tipo de log a ser usado. Os valores possíveis incluem: 'ContainerInsights', 'ContainerInstanceLogs'.

metadata
IDictionary<String,String>

Os metadados do Log Analytics.

Retornos

Aplica-se a