Disable-AzOperationalInsightsLinuxCustomLogCollection
停止從Linux電腦收集自訂記錄。
語法
Disable-AzOperationalInsightsLinuxCustomLogCollection
[-ResourceGroupName] <String>
[-WorkspaceName] <String>
[-DefaultProfile <IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Disable-AzOperationalInsightsLinuxCustomLogCollection
[-Workspace] <PSWorkspace>
[-DefaultProfile <IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Description
Disable-AzOperationalInsightsLinuxCustomLogCollection Cmdlet 會停止從工作區中連線的 Linux 計算機收集自定義記錄。
範例
範例 1
Disable-AzOperationalInsightsLinuxCustomLogCollection -ResourceGroupName test-rg -WorkspaceName OperationalInsight
Name : DataSource_CustomLogCollection
ResourceGroupName : test-rg
WorkspaceName : OperationalInsight
ResourceId : /subscriptions/xxxx-xxxx-xxxx-xxxx-xxxx/resourceGroups/test-rg/providers/Microsoft.OperationalInsights/wo
rkspaces/OperationalInsight/datasources/DataSource_CustomLogCollection
Kind : CustomLogCollection
Properties : {"state":"LinuxLogsDisabled"}
停止從工作區中連線的Linux計算機收集自定義記錄。
參數
-Confirm
在執行 Cmdlet 之前,提示您進行確認。
類型: | SwitchParameter |
別名: | cf |
Position: | Named |
預設值: | False |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
-DefaultProfile
用於與 azure 通訊的認證、帳戶、租用戶和訂用帳戶
類型: | IAzureContextContainer |
別名: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
-ResourceGroupName
指定包含Linux電腦的資源群組名稱。
類型: | String |
Position: | 1 |
預設值: | None |
必要: | True |
接受管線輸入: | True |
接受萬用字元: | False |
-WhatIf
顯示 Cmdlet 執行時會發生什麼事。 Cmdlet 未執行。
類型: | SwitchParameter |
別名: | wi |
Position: | Named |
預設值: | False |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
-Workspace
指定此 Cmdlet 運作所在的工作區。
類型: | PSWorkspace |
Position: | 0 |
預設值: | None |
必要: | True |
接受管線輸入: | True |
接受萬用字元: | False |
-WorkspaceName
指定此 Cmdlet 運作所在的工作區名稱。
類型: | String |
Position: | 2 |
預設值: | None |
必要: | True |
接受管線輸入: | True |
接受萬用字元: | False |
輸入
輸出
備註
- 關鍵詞:azure、azurerm、arm、resource、management、manager、operational、insights