ArmAutomationModelFactory.DscNodeData Method

Definition

Initializes a new instance of DscNodeData.

public static Azure.ResourceManager.Automation.DscNodeData DscNodeData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, DateTimeOffset? lastSeenOn = default, DateTimeOffset? registrationOn = default, string ip = default, string accountId = default, string status = default, string nodeId = default, Azure.ETag? etag = default, int? totalCount = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Automation.Models.DscNodeExtensionHandlerAssociationProperty> extensionHandler = default, string namePropertiesNodeConfigurationName = default);
static member DscNodeData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * string * string * string * string * Nullable<Azure.ETag> * Nullable<int> * seq<Azure.ResourceManager.Automation.Models.DscNodeExtensionHandlerAssociationProperty> * string -> Azure.ResourceManager.Automation.DscNodeData
Public Shared Function DscNodeData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional lastSeenOn As Nullable(Of DateTimeOffset) = Nothing, Optional registrationOn As Nullable(Of DateTimeOffset) = Nothing, Optional ip As String = Nothing, Optional accountId As String = Nothing, Optional status As String = Nothing, Optional nodeId As String = Nothing, Optional etag As Nullable(Of ETag) = Nothing, Optional totalCount As Nullable(Of Integer) = Nothing, Optional extensionHandler As IEnumerable(Of DscNodeExtensionHandlerAssociationProperty) = Nothing, Optional namePropertiesNodeConfigurationName As String = Nothing) As DscNodeData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

lastSeenOn
Nullable<DateTimeOffset>

Gets or sets the last seen time of the node.

registrationOn
Nullable<DateTimeOffset>

Gets or sets the registration time of the node.

ip
String

Gets or sets the ip of the node.

accountId
String

Gets or sets the account id of the node.

status
String

Gets or sets the status of the node.

nodeId
String

Gets or sets the node id.

etag
Nullable<ETag>

Gets or sets the etag of the resource.

totalCount
Nullable<Int32>

Gets the total number of records matching filter criteria.

extensionHandler
IEnumerable<DscNodeExtensionHandlerAssociationProperty>

Gets or sets the list of extensionHandler properties for a Node.

namePropertiesNodeConfigurationName
String

Gets or sets the name of the dsc node configuration.

Returns

A new DscNodeData instance for mocking.

Applies to