共用方式為


ArmOperationalInsightsModelFactory.OperationalInsightsManagementGroup Method

Definition

Initializes a new instance of OperationalInsightsManagementGroup.

public static Azure.ResourceManager.OperationalInsights.Models.OperationalInsightsManagementGroup OperationalInsightsManagementGroup (int? serverCount = default, bool? isGateway = default, string name = default, string id = default, DateTimeOffset? createdOn = default, DateTimeOffset? dataReceivedOn = default, string version = default, string sku = default);
static member OperationalInsightsManagementGroup : Nullable<int> * Nullable<bool> * string * string * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * string * string -> Azure.ResourceManager.OperationalInsights.Models.OperationalInsightsManagementGroup
Public Shared Function OperationalInsightsManagementGroup (Optional serverCount As Nullable(Of Integer) = Nothing, Optional isGateway As Nullable(Of Boolean) = Nothing, Optional name As String = Nothing, Optional id As String = Nothing, Optional createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional dataReceivedOn As Nullable(Of DateTimeOffset) = Nothing, Optional version As String = Nothing, Optional sku As String = Nothing) As OperationalInsightsManagementGroup

Parameters

serverCount
Nullable<Int32>

The number of servers connected to the management group.

isGateway
Nullable<Boolean>

Gets or sets a value indicating whether the management group is a gateway.

name
String

The name of the management group.

id
String

The unique ID of the management group.

createdOn
Nullable<DateTimeOffset>

The datetime that the management group was created.

dataReceivedOn
Nullable<DateTimeOffset>

The last datetime that the management group received data.

version
String

The version of System Center that is managing the management group.

sku
String

The SKU of System Center that is managing the management group.

Returns

A new OperationalInsightsManagementGroup instance for mocking.

Applies to