This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.1 published on Sunday, Mar 2, 2025 by Pulumi
azure-native.apimanagement.getWorkspaceDiagnostic
Explore with Pulumi AI
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.1 published on Sunday, Mar 2, 2025 by Pulumi
Gets the details of the Diagnostic specified by its identifier. Azure REST API version: 2023-09-01-preview.
Other available API versions: 2024-05-01, 2024-06-01-preview.
Using getWorkspaceDiagnostic
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 getWorkspaceDiagnostic(args: GetWorkspaceDiagnosticArgs, opts?: InvokeOptions): Promise<GetWorkspaceDiagnosticResult>
function getWorkspaceDiagnosticOutput(args: GetWorkspaceDiagnosticOutputArgs, opts?: InvokeOptions): Output<GetWorkspaceDiagnosticResult>def get_workspace_diagnostic(diagnostic_id: Optional[str] = None,
                             resource_group_name: Optional[str] = None,
                             service_name: Optional[str] = None,
                             workspace_id: Optional[str] = None,
                             opts: Optional[InvokeOptions] = None) -> GetWorkspaceDiagnosticResult
def get_workspace_diagnostic_output(diagnostic_id: Optional[pulumi.Input[str]] = None,
                             resource_group_name: Optional[pulumi.Input[str]] = None,
                             service_name: Optional[pulumi.Input[str]] = None,
                             workspace_id: Optional[pulumi.Input[str]] = None,
                             opts: Optional[InvokeOptions] = None) -> Output[GetWorkspaceDiagnosticResult]func LookupWorkspaceDiagnostic(ctx *Context, args *LookupWorkspaceDiagnosticArgs, opts ...InvokeOption) (*LookupWorkspaceDiagnosticResult, error)
func LookupWorkspaceDiagnosticOutput(ctx *Context, args *LookupWorkspaceDiagnosticOutputArgs, opts ...InvokeOption) LookupWorkspaceDiagnosticResultOutput> Note: This function is named LookupWorkspaceDiagnostic in the Go SDK.
public static class GetWorkspaceDiagnostic 
{
    public static Task<GetWorkspaceDiagnosticResult> InvokeAsync(GetWorkspaceDiagnosticArgs args, InvokeOptions? opts = null)
    public static Output<GetWorkspaceDiagnosticResult> Invoke(GetWorkspaceDiagnosticInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetWorkspaceDiagnosticResult> getWorkspaceDiagnostic(GetWorkspaceDiagnosticArgs args, InvokeOptions options)
public static Output<GetWorkspaceDiagnosticResult> getWorkspaceDiagnostic(GetWorkspaceDiagnosticArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:apimanagement:getWorkspaceDiagnostic
  arguments:
    # arguments dictionaryThe following arguments are supported:
- DiagnosticId string
- Diagnostic identifier. Must be unique in the current API Management service instance.
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- ServiceName string
- The name of the API Management service.
- WorkspaceId string
- Workspace identifier. Must be unique in the current API Management service instance.
- DiagnosticId string
- Diagnostic identifier. Must be unique in the current API Management service instance.
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- ServiceName string
- The name of the API Management service.
- WorkspaceId string
- Workspace identifier. Must be unique in the current API Management service instance.
- diagnosticId String
- Diagnostic identifier. Must be unique in the current API Management service instance.
- resourceGroup StringName 
- The name of the resource group. The name is case insensitive.
- serviceName String
- The name of the API Management service.
- workspaceId String
- Workspace identifier. Must be unique in the current API Management service instance.
- diagnosticId string
- Diagnostic identifier. Must be unique in the current API Management service instance.
- resourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- serviceName string
- The name of the API Management service.
- workspaceId string
- Workspace identifier. Must be unique in the current API Management service instance.
- diagnostic_id str
- Diagnostic identifier. Must be unique in the current API Management service instance.
- resource_group_ strname 
- The name of the resource group. The name is case insensitive.
- service_name str
- The name of the API Management service.
- workspace_id str
- Workspace identifier. Must be unique in the current API Management service instance.
- diagnosticId String
- Diagnostic identifier. Must be unique in the current API Management service instance.
- resourceGroup StringName 
- The name of the resource group. The name is case insensitive.
- serviceName String
- The name of the API Management service.
- workspaceId String
- Workspace identifier. Must be unique in the current API Management service instance.
getWorkspaceDiagnostic Result
The following output properties are available:
- Id string
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- LoggerId string
- Resource Id of a target logger.
- Name string
- The name of the resource
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- AlwaysLog string
- Specifies for what type of messages sampling settings should not apply.
- Backend
Pulumi.Azure Native. Api Management. Outputs. Pipeline Diagnostic Settings Response 
- Diagnostic settings for incoming/outgoing HTTP messages to the Backend
- Frontend
Pulumi.Azure Native. Api Management. Outputs. Pipeline Diagnostic Settings Response 
- Diagnostic settings for incoming/outgoing HTTP messages to the Gateway.
- HttpCorrelation stringProtocol 
- Sets correlation protocol to use for Application Insights diagnostics.
- LogClient boolIp 
- Log the ClientIP. Default is false.
- Metrics bool
- Emit custom metrics via emit-metric policy. Applicable only to Application Insights diagnostic settings.
- OperationName stringFormat 
- The format of the Operation Name for Application Insights telemetries. Default is Name.
- Sampling
Pulumi.Azure Native. Api Management. Outputs. Sampling Settings Response 
- Sampling settings for Diagnostic.
- Verbosity string
- The verbosity level applied to traces emitted by trace policies.
- Id string
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- LoggerId string
- Resource Id of a target logger.
- Name string
- The name of the resource
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- AlwaysLog string
- Specifies for what type of messages sampling settings should not apply.
- Backend
PipelineDiagnostic Settings Response 
- Diagnostic settings for incoming/outgoing HTTP messages to the Backend
- Frontend
PipelineDiagnostic Settings Response 
- Diagnostic settings for incoming/outgoing HTTP messages to the Gateway.
- HttpCorrelation stringProtocol 
- Sets correlation protocol to use for Application Insights diagnostics.
- LogClient boolIp 
- Log the ClientIP. Default is false.
- Metrics bool
- Emit custom metrics via emit-metric policy. Applicable only to Application Insights diagnostic settings.
- OperationName stringFormat 
- The format of the Operation Name for Application Insights telemetries. Default is Name.
- Sampling
SamplingSettings Response 
- Sampling settings for Diagnostic.
- Verbosity string
- The verbosity level applied to traces emitted by trace policies.
- id String
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- loggerId String
- Resource Id of a target logger.
- name String
- The name of the resource
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- alwaysLog String
- Specifies for what type of messages sampling settings should not apply.
- backend
PipelineDiagnostic Settings Response 
- Diagnostic settings for incoming/outgoing HTTP messages to the Backend
- frontend
PipelineDiagnostic Settings Response 
- Diagnostic settings for incoming/outgoing HTTP messages to the Gateway.
- httpCorrelation StringProtocol 
- Sets correlation protocol to use for Application Insights diagnostics.
- logClient BooleanIp 
- Log the ClientIP. Default is false.
- metrics Boolean
- Emit custom metrics via emit-metric policy. Applicable only to Application Insights diagnostic settings.
- operationName StringFormat 
- The format of the Operation Name for Application Insights telemetries. Default is Name.
- sampling
SamplingSettings Response 
- Sampling settings for Diagnostic.
- verbosity String
- The verbosity level applied to traces emitted by trace policies.
- id string
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- loggerId string
- Resource Id of a target logger.
- name string
- The name of the resource
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- alwaysLog string
- Specifies for what type of messages sampling settings should not apply.
- backend
PipelineDiagnostic Settings Response 
- Diagnostic settings for incoming/outgoing HTTP messages to the Backend
- frontend
PipelineDiagnostic Settings Response 
- Diagnostic settings for incoming/outgoing HTTP messages to the Gateway.
- httpCorrelation stringProtocol 
- Sets correlation protocol to use for Application Insights diagnostics.
- logClient booleanIp 
- Log the ClientIP. Default is false.
- metrics boolean
- Emit custom metrics via emit-metric policy. Applicable only to Application Insights diagnostic settings.
- operationName stringFormat 
- The format of the Operation Name for Application Insights telemetries. Default is Name.
- sampling
SamplingSettings Response 
- Sampling settings for Diagnostic.
- verbosity string
- The verbosity level applied to traces emitted by trace policies.
- id str
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- logger_id str
- Resource Id of a target logger.
- name str
- The name of the resource
- type str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- always_log str
- Specifies for what type of messages sampling settings should not apply.
- backend
PipelineDiagnostic Settings Response 
- Diagnostic settings for incoming/outgoing HTTP messages to the Backend
- frontend
PipelineDiagnostic Settings Response 
- Diagnostic settings for incoming/outgoing HTTP messages to the Gateway.
- http_correlation_ strprotocol 
- Sets correlation protocol to use for Application Insights diagnostics.
- log_client_ boolip 
- Log the ClientIP. Default is false.
- metrics bool
- Emit custom metrics via emit-metric policy. Applicable only to Application Insights diagnostic settings.
- operation_name_ strformat 
- The format of the Operation Name for Application Insights telemetries. Default is Name.
- sampling
SamplingSettings Response 
- Sampling settings for Diagnostic.
- verbosity str
- The verbosity level applied to traces emitted by trace policies.
- id String
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- loggerId String
- Resource Id of a target logger.
- name String
- The name of the resource
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- alwaysLog String
- Specifies for what type of messages sampling settings should not apply.
- backend Property Map
- Diagnostic settings for incoming/outgoing HTTP messages to the Backend
- frontend Property Map
- Diagnostic settings for incoming/outgoing HTTP messages to the Gateway.
- httpCorrelation StringProtocol 
- Sets correlation protocol to use for Application Insights diagnostics.
- logClient BooleanIp 
- Log the ClientIP. Default is false.
- metrics Boolean
- Emit custom metrics via emit-metric policy. Applicable only to Application Insights diagnostic settings.
- operationName StringFormat 
- The format of the Operation Name for Application Insights telemetries. Default is Name.
- sampling Property Map
- Sampling settings for Diagnostic.
- verbosity String
- The verbosity level applied to traces emitted by trace policies.
Supporting Types
BodyDiagnosticSettingsResponse   
- Bytes int
- Number of request body bytes to log.
- Bytes int
- Number of request body bytes to log.
- bytes Integer
- Number of request body bytes to log.
- bytes number
- Number of request body bytes to log.
- bytes int
- Number of request body bytes to log.
- bytes Number
- Number of request body bytes to log.
DataMaskingEntityResponse   
DataMaskingResponse  
- Headers
List<Pulumi.Azure Native. Api Management. Inputs. Data Masking Entity Response> 
- Masking settings for headers
- QueryParams List<Pulumi.Azure Native. Api Management. Inputs. Data Masking Entity Response> 
- Masking settings for Url query parameters
- Headers
[]DataMasking Entity Response 
- Masking settings for headers
- QueryParams []DataMasking Entity Response 
- Masking settings for Url query parameters
- headers
List<DataMasking Entity Response> 
- Masking settings for headers
- queryParams List<DataMasking Entity Response> 
- Masking settings for Url query parameters
- headers
DataMasking Entity Response[] 
- Masking settings for headers
- queryParams DataMasking Entity Response[] 
- Masking settings for Url query parameters
- headers
Sequence[DataMasking Entity Response] 
- Masking settings for headers
- query_params Sequence[DataMasking Entity Response] 
- Masking settings for Url query parameters
- headers List<Property Map>
- Masking settings for headers
- queryParams List<Property Map>
- Masking settings for Url query parameters
HttpMessageDiagnosticResponse   
- Body
Pulumi.Azure Native. Api Management. Inputs. Body Diagnostic Settings Response 
- Body logging settings.
- DataMasking Pulumi.Azure Native. Api Management. Inputs. Data Masking Response 
- Data masking settings.
- Headers List<string>
- Array of HTTP Headers to log.
- Body
BodyDiagnostic Settings Response 
- Body logging settings.
- DataMasking DataMasking Response 
- Data masking settings.
- Headers []string
- Array of HTTP Headers to log.
- body
BodyDiagnostic Settings Response 
- Body logging settings.
- dataMasking DataMasking Response 
- Data masking settings.
- headers List<String>
- Array of HTTP Headers to log.
- body
BodyDiagnostic Settings Response 
- Body logging settings.
- dataMasking DataMasking Response 
- Data masking settings.
- headers string[]
- Array of HTTP Headers to log.
- body
BodyDiagnostic Settings Response 
- Body logging settings.
- data_masking DataMasking Response 
- Data masking settings.
- headers Sequence[str]
- Array of HTTP Headers to log.
- body Property Map
- Body logging settings.
- dataMasking Property Map
- Data masking settings.
- headers List<String>
- Array of HTTP Headers to log.
PipelineDiagnosticSettingsResponse   
- Request
Pulumi.Azure Native. Api Management. Inputs. Http Message Diagnostic Response 
- Diagnostic settings for request.
- Response
Pulumi.Azure Native. Api Management. Inputs. Http Message Diagnostic Response 
- Diagnostic settings for response.
- Request
HttpMessage Diagnostic Response 
- Diagnostic settings for request.
- Response
HttpMessage Diagnostic Response 
- Diagnostic settings for response.
- request
HttpMessage Diagnostic Response 
- Diagnostic settings for request.
- response
HttpMessage Diagnostic Response 
- Diagnostic settings for response.
- request
HttpMessage Diagnostic Response 
- Diagnostic settings for request.
- response
HttpMessage Diagnostic Response 
- Diagnostic settings for response.
- request
HttpMessage Diagnostic Response 
- Diagnostic settings for request.
- response
HttpMessage Diagnostic Response 
- Diagnostic settings for response.
- request Property Map
- Diagnostic settings for request.
- response Property Map
- Diagnostic settings for response.
SamplingSettingsResponse  
- Percentage double
- Rate of sampling for fixed-rate sampling.
- SamplingType string
- Sampling type.
- Percentage float64
- Rate of sampling for fixed-rate sampling.
- SamplingType string
- Sampling type.
- percentage Double
- Rate of sampling for fixed-rate sampling.
- samplingType String
- Sampling type.
- percentage number
- Rate of sampling for fixed-rate sampling.
- samplingType string
- Sampling type.
- percentage float
- Rate of sampling for fixed-rate sampling.
- sampling_type str
- Sampling type.
- percentage Number
- Rate of sampling for fixed-rate sampling.
- samplingType String
- Sampling type.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.1 published on Sunday, Mar 2, 2025 by Pulumi