1. Packages
  2. Azure Native
  3. API Docs
  4. iotoperationsmq
  5. getDiagnosticService
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.1.0 published on Tuesday, Apr 8, 2025 by Pulumi

azure-native.iotoperationsmq.getDiagnosticService

Explore with Pulumi AI

This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.1.0 published on Tuesday, Apr 8, 2025 by Pulumi

Get a DiagnosticServiceResource

Uses Azure REST API version 2023-10-04-preview.

Using getDiagnosticService

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 getDiagnosticService(args: GetDiagnosticServiceArgs, opts?: InvokeOptions): Promise<GetDiagnosticServiceResult>
function getDiagnosticServiceOutput(args: GetDiagnosticServiceOutputArgs, opts?: InvokeOptions): Output<GetDiagnosticServiceResult>
Copy
def get_diagnostic_service(diagnostic_service_name: Optional[str] = None,
                           mq_name: Optional[str] = None,
                           resource_group_name: Optional[str] = None,
                           opts: Optional[InvokeOptions] = None) -> GetDiagnosticServiceResult
def get_diagnostic_service_output(diagnostic_service_name: Optional[pulumi.Input[str]] = None,
                           mq_name: Optional[pulumi.Input[str]] = None,
                           resource_group_name: Optional[pulumi.Input[str]] = None,
                           opts: Optional[InvokeOptions] = None) -> Output[GetDiagnosticServiceResult]
Copy
func LookupDiagnosticService(ctx *Context, args *LookupDiagnosticServiceArgs, opts ...InvokeOption) (*LookupDiagnosticServiceResult, error)
func LookupDiagnosticServiceOutput(ctx *Context, args *LookupDiagnosticServiceOutputArgs, opts ...InvokeOption) LookupDiagnosticServiceResultOutput
Copy

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

public static class GetDiagnosticService 
{
    public static Task<GetDiagnosticServiceResult> InvokeAsync(GetDiagnosticServiceArgs args, InvokeOptions? opts = null)
    public static Output<GetDiagnosticServiceResult> Invoke(GetDiagnosticServiceInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetDiagnosticServiceResult> getDiagnosticService(GetDiagnosticServiceArgs args, InvokeOptions options)
public static Output<GetDiagnosticServiceResult> getDiagnosticService(GetDiagnosticServiceArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure-native:iotoperationsmq:getDiagnosticService
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

DiagnosticServiceName
This property is required.
Changes to this property will trigger replacement.
string
Name of MQ diagnostic resource
MqName
This property is required.
Changes to this property will trigger replacement.
string
Name of MQ resource
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
DiagnosticServiceName
This property is required.
Changes to this property will trigger replacement.
string
Name of MQ diagnostic resource
MqName
This property is required.
Changes to this property will trigger replacement.
string
Name of MQ resource
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
diagnosticServiceName
This property is required.
Changes to this property will trigger replacement.
String
Name of MQ diagnostic resource
mqName
This property is required.
Changes to this property will trigger replacement.
String
Name of MQ resource
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
diagnosticServiceName
This property is required.
Changes to this property will trigger replacement.
string
Name of MQ diagnostic resource
mqName
This property is required.
Changes to this property will trigger replacement.
string
Name of MQ resource
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
diagnostic_service_name
This property is required.
Changes to this property will trigger replacement.
str
Name of MQ diagnostic resource
mq_name
This property is required.
Changes to this property will trigger replacement.
str
Name of MQ resource
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the resource group. The name is case insensitive.
diagnosticServiceName
This property is required.
Changes to this property will trigger replacement.
String
Name of MQ diagnostic resource
mqName
This property is required.
Changes to this property will trigger replacement.
String
Name of MQ resource
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.

getDiagnosticService Result

The following output properties are available:

AzureApiVersion string
The Azure API version of the resource.
ExtendedLocation Pulumi.AzureNative.IoTOperationsMQ.Outputs.ExtendedLocationPropertyResponse
Extended Location
Id string
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
Image Pulumi.AzureNative.IoTOperationsMQ.Outputs.ContainerImageResponse
The details of Diagnostic Service Docker Image.
Location string
The geo-location where the resource lives
Name string
The name of the resource
ProvisioningState string
The status of the last operation.
SystemData Pulumi.AzureNative.IoTOperationsMQ.Outputs.SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
Type string
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
DataExportFrequencySeconds int
The frequency at which the data will be exported.
LogFormat string
The format for the logs generated.
LogLevel string
The format for the logs generated.
MaxDataStorageSize double
The maximum data stored in MiB.
MetricsPort int
The port at which metrics is exposed.
OpenTelemetryTracesCollectorAddr string
The destination to collect traces. Diagnostic service will push traces to this endpoint
StaleDataTimeoutSeconds int
Metric inactivity timeout.
Tags Dictionary<string, string>
Resource tags.
AzureApiVersion string
The Azure API version of the resource.
ExtendedLocation ExtendedLocationPropertyResponse
Extended Location
Id string
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
Image ContainerImageResponse
The details of Diagnostic Service Docker Image.
Location string
The geo-location where the resource lives
Name string
The name of the resource
ProvisioningState string
The status of the last operation.
SystemData SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
Type string
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
DataExportFrequencySeconds int
The frequency at which the data will be exported.
LogFormat string
The format for the logs generated.
LogLevel string
The format for the logs generated.
MaxDataStorageSize float64
The maximum data stored in MiB.
MetricsPort int
The port at which metrics is exposed.
OpenTelemetryTracesCollectorAddr string
The destination to collect traces. Diagnostic service will push traces to this endpoint
StaleDataTimeoutSeconds int
Metric inactivity timeout.
Tags map[string]string
Resource tags.
azureApiVersion String
The Azure API version of the resource.
extendedLocation ExtendedLocationPropertyResponse
Extended Location
id String
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
image ContainerImageResponse
The details of Diagnostic Service Docker Image.
location String
The geo-location where the resource lives
name String
The name of the resource
provisioningState String
The status of the last operation.
systemData SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
type String
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
dataExportFrequencySeconds Integer
The frequency at which the data will be exported.
logFormat String
The format for the logs generated.
logLevel String
The format for the logs generated.
maxDataStorageSize Double
The maximum data stored in MiB.
metricsPort Integer
The port at which metrics is exposed.
openTelemetryTracesCollectorAddr String
The destination to collect traces. Diagnostic service will push traces to this endpoint
staleDataTimeoutSeconds Integer
Metric inactivity timeout.
tags Map<String,String>
Resource tags.
azureApiVersion string
The Azure API version of the resource.
extendedLocation ExtendedLocationPropertyResponse
Extended Location
id string
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
image ContainerImageResponse
The details of Diagnostic Service Docker Image.
location string
The geo-location where the resource lives
name string
The name of the resource
provisioningState string
The status of the last operation.
systemData SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
type string
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
dataExportFrequencySeconds number
The frequency at which the data will be exported.
logFormat string
The format for the logs generated.
logLevel string
The format for the logs generated.
maxDataStorageSize number
The maximum data stored in MiB.
metricsPort number
The port at which metrics is exposed.
openTelemetryTracesCollectorAddr string
The destination to collect traces. Diagnostic service will push traces to this endpoint
staleDataTimeoutSeconds number
Metric inactivity timeout.
tags {[key: string]: string}
Resource tags.
azure_api_version str
The Azure API version of the resource.
extended_location ExtendedLocationPropertyResponse
Extended Location
id str
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
image ContainerImageResponse
The details of Diagnostic Service Docker Image.
location str
The geo-location where the resource lives
name str
The name of the resource
provisioning_state str
The status of the last operation.
system_data SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
type str
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
data_export_frequency_seconds int
The frequency at which the data will be exported.
log_format str
The format for the logs generated.
log_level str
The format for the logs generated.
max_data_storage_size float
The maximum data stored in MiB.
metrics_port int
The port at which metrics is exposed.
open_telemetry_traces_collector_addr str
The destination to collect traces. Diagnostic service will push traces to this endpoint
stale_data_timeout_seconds int
Metric inactivity timeout.
tags Mapping[str, str]
Resource tags.
azureApiVersion String
The Azure API version of the resource.
extendedLocation Property Map
Extended Location
id String
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
image Property Map
The details of Diagnostic Service Docker Image.
location String
The geo-location where the resource lives
name String
The name of the resource
provisioningState String
The status of the last operation.
systemData Property Map
Azure Resource Manager metadata containing createdBy and modifiedBy information.
type String
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
dataExportFrequencySeconds Number
The frequency at which the data will be exported.
logFormat String
The format for the logs generated.
logLevel String
The format for the logs generated.
maxDataStorageSize Number
The maximum data stored in MiB.
metricsPort Number
The port at which metrics is exposed.
openTelemetryTracesCollectorAddr String
The destination to collect traces. Diagnostic service will push traces to this endpoint
staleDataTimeoutSeconds Number
Metric inactivity timeout.
tags Map<String>
Resource tags.

Supporting Types

ContainerImageResponse

Repository This property is required. string
The Docker image name.
Tag This property is required. string
The Docker image tag.
PullPolicy string
Image pull policy.
PullSecrets string
Image pull secrets.
Repository This property is required. string
The Docker image name.
Tag This property is required. string
The Docker image tag.
PullPolicy string
Image pull policy.
PullSecrets string
Image pull secrets.
repository This property is required. String
The Docker image name.
tag This property is required. String
The Docker image tag.
pullPolicy String
Image pull policy.
pullSecrets String
Image pull secrets.
repository This property is required. string
The Docker image name.
tag This property is required. string
The Docker image tag.
pullPolicy string
Image pull policy.
pullSecrets string
Image pull secrets.
repository This property is required. str
The Docker image name.
tag This property is required. str
The Docker image tag.
pull_policy str
Image pull policy.
pull_secrets str
Image pull secrets.
repository This property is required. String
The Docker image name.
tag This property is required. String
The Docker image tag.
pullPolicy String
Image pull policy.
pullSecrets String
Image pull secrets.

ExtendedLocationPropertyResponse

Name This property is required. string
The name of the extended location.
Type This property is required. string
Type of ExtendedLocation.
Name This property is required. string
The name of the extended location.
Type This property is required. string
Type of ExtendedLocation.
name This property is required. String
The name of the extended location.
type This property is required. String
Type of ExtendedLocation.
name This property is required. string
The name of the extended location.
type This property is required. string
Type of ExtendedLocation.
name This property is required. str
The name of the extended location.
type This property is required. str
Type of ExtendedLocation.
name This property is required. String
The name of the extended location.
type This property is required. String
Type of ExtendedLocation.

SystemDataResponse

CreatedAt string
The timestamp of resource creation (UTC).
CreatedBy string
The identity that created the resource.
CreatedByType string
The type of identity that created the resource.
LastModifiedAt string
The timestamp of resource last modification (UTC)
LastModifiedBy string
The identity that last modified the resource.
LastModifiedByType string
The type of identity that last modified the resource.
CreatedAt string
The timestamp of resource creation (UTC).
CreatedBy string
The identity that created the resource.
CreatedByType string
The type of identity that created the resource.
LastModifiedAt string
The timestamp of resource last modification (UTC)
LastModifiedBy string
The identity that last modified the resource.
LastModifiedByType string
The type of identity that last modified the resource.
createdAt String
The timestamp of resource creation (UTC).
createdBy String
The identity that created the resource.
createdByType String
The type of identity that created the resource.
lastModifiedAt String
The timestamp of resource last modification (UTC)
lastModifiedBy String
The identity that last modified the resource.
lastModifiedByType String
The type of identity that last modified the resource.
createdAt string
The timestamp of resource creation (UTC).
createdBy string
The identity that created the resource.
createdByType string
The type of identity that created the resource.
lastModifiedAt string
The timestamp of resource last modification (UTC)
lastModifiedBy string
The identity that last modified the resource.
lastModifiedByType string
The type of identity that last modified the resource.
created_at str
The timestamp of resource creation (UTC).
created_by str
The identity that created the resource.
created_by_type str
The type of identity that created the resource.
last_modified_at str
The timestamp of resource last modification (UTC)
last_modified_by str
The identity that last modified the resource.
last_modified_by_type str
The type of identity that last modified the resource.
createdAt String
The timestamp of resource creation (UTC).
createdBy String
The identity that created the resource.
createdByType String
The type of identity that created the resource.
lastModifiedAt String
The timestamp of resource last modification (UTC)
lastModifiedBy String
The identity that last modified the resource.
lastModifiedByType String
The type of identity that last modified the resource.

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 v2 docs if using the v2 version of this package.
Azure Native v3.1.0 published on Tuesday, Apr 8, 2025 by Pulumi