共用方式為


ArmOperationalInsightsModelFactory.LogAnalyticsQueryPackData Method

Definition

Initializes a new instance of LogAnalyticsQueryPackData.

public static Azure.ResourceManager.OperationalInsights.LogAnalyticsQueryPackData LogAnalyticsQueryPackData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.Core.AzureLocation location = default, Guid? queryPackId = default, DateTimeOffset? createdOn = default, DateTimeOffset? modifiedOn = default, string provisioningState = default);
static member LogAnalyticsQueryPackData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Nullable<Guid> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * string -> Azure.ResourceManager.OperationalInsights.LogAnalyticsQueryPackData
Public Shared Function LogAnalyticsQueryPackData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional location As AzureLocation = Nothing, Optional queryPackId As Nullable(Of Guid) = Nothing, Optional createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional modifiedOn As Nullable(Of DateTimeOffset) = Nothing, Optional provisioningState As String = Nothing) As LogAnalyticsQueryPackData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

tags
IDictionary<String,String>

The tags.

location
AzureLocation

The location.

queryPackId
Nullable<Guid>

The unique ID of your application. This field cannot be changed.

createdOn
Nullable<DateTimeOffset>

Creation Date for the Log Analytics QueryPack, in ISO 8601 format.

modifiedOn
Nullable<DateTimeOffset>

Last modified date of the Log Analytics QueryPack, in ISO 8601 format.

provisioningState
String

Current state of this QueryPack: whether or not is has been provisioned within the resource group it is defined. Users cannot change this value but are able to read from it. Values will include Succeeded, Deploying, Canceled, and Failed.

Returns

A new LogAnalyticsQueryPackData instance for mocking.

Applies to