1. Packages
  2. Azure Native v1
  3. API Docs
  4. appplatform
  5. getMonitoringSetting
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.appplatform.getMonitoringSetting

Explore with Pulumi AI

azure-native-v1 logo
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

    Get the Monitoring Setting and its properties. API Version: 2020-07-01.

    Using getMonitoringSetting

    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 getMonitoringSetting(args: GetMonitoringSettingArgs, opts?: InvokeOptions): Promise<GetMonitoringSettingResult>
    function getMonitoringSettingOutput(args: GetMonitoringSettingOutputArgs, opts?: InvokeOptions): Output<GetMonitoringSettingResult>
    def get_monitoring_setting(resource_group_name: Optional[str] = None,
                               service_name: Optional[str] = None,
                               opts: Optional[InvokeOptions] = None) -> GetMonitoringSettingResult
    def get_monitoring_setting_output(resource_group_name: Optional[pulumi.Input[str]] = None,
                               service_name: Optional[pulumi.Input[str]] = None,
                               opts: Optional[InvokeOptions] = None) -> Output[GetMonitoringSettingResult]
    func LookupMonitoringSetting(ctx *Context, args *LookupMonitoringSettingArgs, opts ...InvokeOption) (*LookupMonitoringSettingResult, error)
    func LookupMonitoringSettingOutput(ctx *Context, args *LookupMonitoringSettingOutputArgs, opts ...InvokeOption) LookupMonitoringSettingResultOutput

    > Note: This function is named LookupMonitoringSetting in the Go SDK.

    public static class GetMonitoringSetting 
    {
        public static Task<GetMonitoringSettingResult> InvokeAsync(GetMonitoringSettingArgs args, InvokeOptions? opts = null)
        public static Output<GetMonitoringSettingResult> Invoke(GetMonitoringSettingInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetMonitoringSettingResult> getMonitoringSetting(GetMonitoringSettingArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: azure-native:appplatform:getMonitoringSetting
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ResourceGroupName string
    The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
    ServiceName string
    The name of the Service resource.
    ResourceGroupName string
    The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
    ServiceName string
    The name of the Service resource.
    resourceGroupName String
    The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
    serviceName String
    The name of the Service resource.
    resourceGroupName string
    The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
    serviceName string
    The name of the Service resource.
    resource_group_name str
    The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
    service_name str
    The name of the Service resource.
    resourceGroupName String
    The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
    serviceName String
    The name of the Service resource.

    getMonitoringSetting Result

    The following output properties are available:

    Id string
    Fully qualified resource Id for the resource.
    Name string
    The name of the resource.
    Properties Pulumi.AzureNative.AppPlatform.Outputs.MonitoringSettingPropertiesResponse
    Properties of the Monitoring Setting resource
    Type string
    The type of the resource.
    Id string
    Fully qualified resource Id for the resource.
    Name string
    The name of the resource.
    Properties MonitoringSettingPropertiesResponse
    Properties of the Monitoring Setting resource
    Type string
    The type of the resource.
    id String
    Fully qualified resource Id for the resource.
    name String
    The name of the resource.
    properties MonitoringSettingPropertiesResponse
    Properties of the Monitoring Setting resource
    type String
    The type of the resource.
    id string
    Fully qualified resource Id for the resource.
    name string
    The name of the resource.
    properties MonitoringSettingPropertiesResponse
    Properties of the Monitoring Setting resource
    type string
    The type of the resource.
    id str
    Fully qualified resource Id for the resource.
    name str
    The name of the resource.
    properties MonitoringSettingPropertiesResponse
    Properties of the Monitoring Setting resource
    type str
    The type of the resource.
    id String
    Fully qualified resource Id for the resource.
    name String
    The name of the resource.
    properties Property Map
    Properties of the Monitoring Setting resource
    type String
    The type of the resource.

    Supporting Types

    ErrorResponse

    Code string
    The code of error.
    Message string
    The message of error.
    Code string
    The code of error.
    Message string
    The message of error.
    code String
    The code of error.
    message String
    The message of error.
    code string
    The code of error.
    message string
    The message of error.
    code str
    The code of error.
    message str
    The message of error.
    code String
    The code of error.
    message String
    The message of error.

    MonitoringSettingPropertiesResponse

    ProvisioningState string
    State of the Monitoring Setting.
    AppInsightsInstrumentationKey string
    Target application insight instrumentation key
    Error Pulumi.AzureNative.AppPlatform.Inputs.ErrorResponse
    Error when apply Monitoring Setting changes.
    TraceEnabled bool
    Indicates whether enable the trace functionality
    ProvisioningState string
    State of the Monitoring Setting.
    AppInsightsInstrumentationKey string
    Target application insight instrumentation key
    Error ErrorResponse
    Error when apply Monitoring Setting changes.
    TraceEnabled bool
    Indicates whether enable the trace functionality
    provisioningState String
    State of the Monitoring Setting.
    appInsightsInstrumentationKey String
    Target application insight instrumentation key
    error ErrorResponse
    Error when apply Monitoring Setting changes.
    traceEnabled Boolean
    Indicates whether enable the trace functionality
    provisioningState string
    State of the Monitoring Setting.
    appInsightsInstrumentationKey string
    Target application insight instrumentation key
    error ErrorResponse
    Error when apply Monitoring Setting changes.
    traceEnabled boolean
    Indicates whether enable the trace functionality
    provisioning_state str
    State of the Monitoring Setting.
    app_insights_instrumentation_key str
    Target application insight instrumentation key
    error ErrorResponse
    Error when apply Monitoring Setting changes.
    trace_enabled bool
    Indicates whether enable the trace functionality
    provisioningState String
    State of the Monitoring Setting.
    appInsightsInstrumentationKey String
    Target application insight instrumentation key
    error Property Map
    Error when apply Monitoring Setting changes.
    traceEnabled Boolean
    Indicates whether enable the trace functionality

    Package Details

    Repository
    azure-native-v1 pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native-v1 logo
    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