These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi
azure-native.insights.getManagementGroupDiagnosticSetting
Explore with Pulumi AI
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi
Gets the active management group diagnostic settings for the specified resource. API Version: 2020-01-01-preview.
Using getManagementGroupDiagnosticSetting
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getManagementGroupDiagnosticSetting(args: GetManagementGroupDiagnosticSettingArgs, opts?: InvokeOptions): Promise<GetManagementGroupDiagnosticSettingResult>
function getManagementGroupDiagnosticSettingOutput(args: GetManagementGroupDiagnosticSettingOutputArgs, opts?: InvokeOptions): Output<GetManagementGroupDiagnosticSettingResult>
def get_management_group_diagnostic_setting(management_group_id: Optional[str] = None,
name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetManagementGroupDiagnosticSettingResult
def get_management_group_diagnostic_setting_output(management_group_id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetManagementGroupDiagnosticSettingResult]
func LookupManagementGroupDiagnosticSetting(ctx *Context, args *LookupManagementGroupDiagnosticSettingArgs, opts ...InvokeOption) (*LookupManagementGroupDiagnosticSettingResult, error)
func LookupManagementGroupDiagnosticSettingOutput(ctx *Context, args *LookupManagementGroupDiagnosticSettingOutputArgs, opts ...InvokeOption) LookupManagementGroupDiagnosticSettingResultOutput
> Note: This function is named LookupManagementGroupDiagnosticSetting
in the Go SDK.
public static class GetManagementGroupDiagnosticSetting
{
public static Task<GetManagementGroupDiagnosticSettingResult> InvokeAsync(GetManagementGroupDiagnosticSettingArgs args, InvokeOptions? opts = null)
public static Output<GetManagementGroupDiagnosticSettingResult> Invoke(GetManagementGroupDiagnosticSettingInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetManagementGroupDiagnosticSettingResult> getManagementGroupDiagnosticSetting(GetManagementGroupDiagnosticSettingArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:insights:getManagementGroupDiagnosticSetting
arguments:
# arguments dictionary
The following arguments are supported:
- Management
Group stringId - The management group id.
- Name string
- The name of the diagnostic setting.
- Management
Group stringId - The management group id.
- Name string
- The name of the diagnostic setting.
- management
Group StringId - The management group id.
- name String
- The name of the diagnostic setting.
- management
Group stringId - The management group id.
- name string
- The name of the diagnostic setting.
- management_
group_ strid - The management group id.
- name str
- The name of the diagnostic setting.
- management
Group StringId - The management group id.
- name String
- The name of the diagnostic setting.
getManagementGroupDiagnosticSetting Result
The following output properties are available:
- Id string
- Azure resource Id
- Name string
- Azure resource name
- Type string
- Azure resource type
- string
- The resource Id for the event hub authorization rule.
- Event
Hub stringName - The name of the event hub. If none is specified, the default event hub will be selected.
- Location string
- Location of the resource
- Logs
List<Pulumi.
Azure Native. Insights. Outputs. Management Group Log Settings Response> - The list of logs settings.
- Service
Bus stringRule Id - The service bus rule Id of the diagnostic setting. This is here to maintain backwards compatibility.
- Storage
Account stringId - The resource ID of the storage account to which you would like to send Diagnostic Logs.
- Workspace
Id string - The full ARM resource ID of the Log Analytics workspace to which you would like to send Diagnostic Logs. Example: /subscriptions/4b9e8510-67ab-4e9a-95a9-e2f1e570ea9c/resourceGroups/insights-integration/providers/Microsoft.OperationalInsights/workspaces/viruela2
- Id string
- Azure resource Id
- Name string
- Azure resource name
- Type string
- Azure resource type
- string
- The resource Id for the event hub authorization rule.
- Event
Hub stringName - The name of the event hub. If none is specified, the default event hub will be selected.
- Location string
- Location of the resource
- Logs
[]Management
Group Log Settings Response - The list of logs settings.
- Service
Bus stringRule Id - The service bus rule Id of the diagnostic setting. This is here to maintain backwards compatibility.
- Storage
Account stringId - The resource ID of the storage account to which you would like to send Diagnostic Logs.
- Workspace
Id string - The full ARM resource ID of the Log Analytics workspace to which you would like to send Diagnostic Logs. Example: /subscriptions/4b9e8510-67ab-4e9a-95a9-e2f1e570ea9c/resourceGroups/insights-integration/providers/Microsoft.OperationalInsights/workspaces/viruela2
- id String
- Azure resource Id
- name String
- Azure resource name
- type String
- Azure resource type
- String
- The resource Id for the event hub authorization rule.
- event
Hub StringName - The name of the event hub. If none is specified, the default event hub will be selected.
- location String
- Location of the resource
- logs
List<Management
Group Log Settings Response> - The list of logs settings.
- service
Bus StringRule Id - The service bus rule Id of the diagnostic setting. This is here to maintain backwards compatibility.
- storage
Account StringId - The resource ID of the storage account to which you would like to send Diagnostic Logs.
- workspace
Id String - The full ARM resource ID of the Log Analytics workspace to which you would like to send Diagnostic Logs. Example: /subscriptions/4b9e8510-67ab-4e9a-95a9-e2f1e570ea9c/resourceGroups/insights-integration/providers/Microsoft.OperationalInsights/workspaces/viruela2
- id string
- Azure resource Id
- name string
- Azure resource name
- type string
- Azure resource type
- string
- The resource Id for the event hub authorization rule.
- event
Hub stringName - The name of the event hub. If none is specified, the default event hub will be selected.
- location string
- Location of the resource
- logs
Management
Group Log Settings Response[] - The list of logs settings.
- service
Bus stringRule Id - The service bus rule Id of the diagnostic setting. This is here to maintain backwards compatibility.
- storage
Account stringId - The resource ID of the storage account to which you would like to send Diagnostic Logs.
- workspace
Id string - The full ARM resource ID of the Log Analytics workspace to which you would like to send Diagnostic Logs. Example: /subscriptions/4b9e8510-67ab-4e9a-95a9-e2f1e570ea9c/resourceGroups/insights-integration/providers/Microsoft.OperationalInsights/workspaces/viruela2
- id str
- Azure resource Id
- name str
- Azure resource name
- type str
- Azure resource type
- str
- The resource Id for the event hub authorization rule.
- event_
hub_ strname - The name of the event hub. If none is specified, the default event hub will be selected.
- location str
- Location of the resource
- logs
Sequence[Management
Group Log Settings Response] - The list of logs settings.
- service_
bus_ strrule_ id - The service bus rule Id of the diagnostic setting. This is here to maintain backwards compatibility.
- storage_
account_ strid - The resource ID of the storage account to which you would like to send Diagnostic Logs.
- workspace_
id str - The full ARM resource ID of the Log Analytics workspace to which you would like to send Diagnostic Logs. Example: /subscriptions/4b9e8510-67ab-4e9a-95a9-e2f1e570ea9c/resourceGroups/insights-integration/providers/Microsoft.OperationalInsights/workspaces/viruela2
- id String
- Azure resource Id
- name String
- Azure resource name
- type String
- Azure resource type
- String
- The resource Id for the event hub authorization rule.
- event
Hub StringName - The name of the event hub. If none is specified, the default event hub will be selected.
- location String
- Location of the resource
- logs List<Property Map>
- The list of logs settings.
- service
Bus StringRule Id - The service bus rule Id of the diagnostic setting. This is here to maintain backwards compatibility.
- storage
Account StringId - The resource ID of the storage account to which you would like to send Diagnostic Logs.
- workspace
Id String - The full ARM resource ID of the Log Analytics workspace to which you would like to send Diagnostic Logs. Example: /subscriptions/4b9e8510-67ab-4e9a-95a9-e2f1e570ea9c/resourceGroups/insights-integration/providers/Microsoft.OperationalInsights/workspaces/viruela2
Supporting Types
ManagementGroupLogSettingsResponse
Package Details
- Repository
- azure-native-v1 pulumi/pulumi-azure-native
- License
- Apache-2.0
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi