Aracılığıyla paylaş


IDiagnosticSettingsResource Interface

Definition

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Monitor.DiagnosticSetting.Models.Api20210501Preview.DiagnosticSettingsResourceTypeConverter))]
public interface IDiagnosticSettingsResource : Microsoft.Azure.PowerShell.Cmdlets.Monitor.DiagnosticSetting.Models.Api20.IResource
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Monitor.DiagnosticSetting.Models.Api20210501Preview.DiagnosticSettingsResourceTypeConverter))>]
type IDiagnosticSettingsResource = interface
    interface IJsonSerializable
    interface IResource
Public Interface IDiagnosticSettingsResource
Implements IResource
Derived
Attributes
Implements

Properties

EventHubAuthorizationRuleId

The resource Id for the event hub authorization rule.

EventHubName

The name of the event hub. If none is specified, the default event hub will be selected.

Id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

(Inherited from IResource)
Log

The list of logs settings.

LogAnalyticsDestinationType
MarketplacePartnerId

The full ARM resource ID of the Marketplace resource to which you would like to send Diagnostic Logs.

Metric

The list of metric settings.

Name

The name of the resource

(Inherited from IResource)
ServiceBusRuleId

The service bus rule Id of the diagnostic setting. This is here to maintain backwards compatibility.

StorageAccountId

The resource ID of the storage account to which you would like to send Diagnostic Logs.

SystemDataCreatedAt

The timestamp of resource creation (UTC).

SystemDataCreatedBy

The identity that created the resource.

SystemDataCreatedByType

The type of identity that created the resource.

SystemDataLastModifiedAt

The timestamp of resource last modification (UTC)

SystemDataLastModifiedBy

The identity that last modified the resource.

SystemDataLastModifiedByType

The type of identity that last modified the resource.

Type

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

(Inherited from IResource)
WorkspaceId

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

Methods

ToJson(JsonObject, SerializationMode) (Inherited from IJsonSerializable)

Applies to