ArmDeviceRegistryModelFactory.ManagementGroup Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Defines the management group properties.
public static Azure.ResourceManager.DeviceRegistry.Models.ManagementGroup ManagementGroup(string name = default, string dataSource = default, string managementGroupConfiguration = default, string typeRef = default, string defaultTopic = default, int? defaultTimeoutInSeconds = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.DeviceRegistry.Models.ManagementAction> actions = default);
static member ManagementGroup : string * string * string * string * string * Nullable<int> * seq<Azure.ResourceManager.DeviceRegistry.Models.ManagementAction> -> Azure.ResourceManager.DeviceRegistry.Models.ManagementGroup
Public Shared Function ManagementGroup (Optional name As String = Nothing, Optional dataSource As String = Nothing, Optional managementGroupConfiguration As String = Nothing, Optional typeRef As String = Nothing, Optional defaultTopic As String = Nothing, Optional defaultTimeoutInSeconds As Nullable(Of Integer) = Nothing, Optional actions As IEnumerable(Of ManagementAction) = Nothing) As ManagementGroup
Parameters
- name
- String
Name of the management group.
- dataSource
- String
Reference to a data source for a given management group.
- managementGroupConfiguration
- String
Stringified JSON that contains connector-specific configuration for the management group.
- typeRef
- String
URI or type definition ID.
- defaultTopic
- String
Default MQTT topic path on which a client will receive the request for all actions that are part of the management group.
Default response timeout for all actions that are part of the management group.
- actions
- IEnumerable<ManagementAction>
Array of actions that are part of the management group. Each action can have an individual configuration.
Returns
A new ManagementGroup instance for mocking.