Пример #1
0
 /// <summary>
 /// Initializes a new instance of the IoTRole class.
 /// </summary>
 /// <param name="hostPlatform">Host OS supported by the IoT role.
 /// Possible values include: 'Windows', 'Linux'</param>
 /// <param name="ioTDeviceDetails">IoT device metadata to which data
 /// box edge device needs to be connected.</param>
 /// <param name="ioTEdgeDeviceDetails">IoT edge device to which the IoT
 /// role needs to be configured.</param>
 /// <param name="roleStatus">Role status. Possible values include:
 /// 'Enabled', 'Disabled'</param>
 /// <param name="id">The path ID that uniquely identifies the
 /// object.</param>
 /// <param name="name">The object name.</param>
 /// <param name="type">The hierarchical type of the object.</param>
 /// <param name="shareMappings">Mount points of shares in
 /// role(s).</param>
 public IoTRole(string hostPlatform, IoTDeviceInfo ioTDeviceDetails, IoTDeviceInfo ioTEdgeDeviceDetails, string roleStatus, string id = default(string), string name = default(string), string type = default(string), IList <MountPointMap> shareMappings = default(IList <MountPointMap>))
     : base(id, name, type)
 {
     HostPlatform         = hostPlatform;
     IoTDeviceDetails     = ioTDeviceDetails;
     IoTEdgeDeviceDetails = ioTEdgeDeviceDetails;
     ShareMappings        = shareMappings;
     RoleStatus           = roleStatus;
     CustomInit();
 }
Пример #2
0
 /// <summary>
 /// Initializes a new instance of the IoTAddon class.
 /// </summary>
 /// <param name="ioTDeviceDetails">IoT device metadata to which
 /// appliance needs to be connected.</param>
 /// <param name="ioTEdgeDeviceDetails">IoT edge device to which the IoT
 /// Addon needs to be configured.</param>
 /// <param name="id">The path ID that uniquely identifies the
 /// object.</param>
 /// <param name="name">The object name.</param>
 /// <param name="type">The hierarchical type of the object.</param>
 /// <param name="systemData">Addon type</param>
 /// <param name="version">Version of IoT running on the
 /// appliance.</param>
 /// <param name="hostPlatform">Host OS supported by the IoT addon.
 /// Possible values include: 'Windows', 'Linux'</param>
 /// <param name="hostPlatformType">Platform where the runtime is
 /// hosted. Possible values include: 'KubernetesCluster',
 /// 'LinuxVM'</param>
 /// <param name="provisioningState">Addon Provisioning State. Possible
 /// values include: 'Invalid', 'Creating', 'Created', 'Updating',
 /// 'Reconfiguring', 'Failed', 'Deleting'</param>
 public IoTAddon(IoTDeviceInfo ioTDeviceDetails, IoTDeviceInfo ioTEdgeDeviceDetails, string id = default(string), string name = default(string), string type = default(string), SystemData systemData = default(SystemData), string version = default(string), string hostPlatform = default(string), string hostPlatformType = default(string), string provisioningState = default(string))
     : base(id, name, type, systemData)
 {
     IoTDeviceDetails     = ioTDeviceDetails;
     IoTEdgeDeviceDetails = ioTEdgeDeviceDetails;
     Version           = version;
     HostPlatform      = hostPlatform;
     HostPlatformType  = hostPlatformType;
     ProvisioningState = provisioningState;
     CustomInit();
 }
Пример #3
0
 /// <summary>
 /// Initializes a new instance of the IoTRole class.
 /// </summary>
 /// <param name="hostPlatform">Host OS supported by the IoT role.
 /// Possible values include: 'Windows', 'Linux'</param>
 /// <param name="ioTDeviceDetails">IoT device metadata to which data
 /// box edge device needs to be connected.</param>
 /// <param name="ioTEdgeDeviceDetails">IoT edge device to which the IoT
 /// role needs to be configured.</param>
 /// <param name="roleStatus">Role status. Possible values include:
 /// 'Enabled', 'Disabled'</param>
 /// <param name="id">The path ID that uniquely identifies the
 /// object.</param>
 /// <param name="name">The object name.</param>
 /// <param name="type">The hierarchical type of the object.</param>
 /// <param name="systemData">Role configured on ASE resource</param>
 /// <param name="shareMappings">Mount points of shares in
 /// role(s).</param>
 /// <param name="ioTEdgeAgentInfo">Iot edge agent details to download
 /// the agent and bootstrap iot runtime.</param>
 /// <param name="hostPlatformType">Platform where the Iot runtime is
 /// hosted. Possible values include: 'KubernetesCluster',
 /// 'LinuxVM'</param>
 /// <param name="computeResource">Resource allocation</param>
 public IoTRole(string hostPlatform, IoTDeviceInfo ioTDeviceDetails, IoTDeviceInfo ioTEdgeDeviceDetails, string roleStatus, string id = default(string), string name = default(string), string type = default(string), SystemData systemData = default(SystemData), IList <MountPointMap> shareMappings = default(IList <MountPointMap>), IoTEdgeAgentInfo ioTEdgeAgentInfo = default(IoTEdgeAgentInfo), string hostPlatformType = default(string), ComputeResource computeResource = default(ComputeResource))
     : base(id, name, type, systemData)
 {
     HostPlatform         = hostPlatform;
     IoTDeviceDetails     = ioTDeviceDetails;
     IoTEdgeDeviceDetails = ioTEdgeDeviceDetails;
     ShareMappings        = shareMappings;
     IoTEdgeAgentInfo     = ioTEdgeAgentInfo;
     HostPlatformType     = hostPlatformType;
     ComputeResource      = computeResource;
     RoleStatus           = roleStatus;
     CustomInit();
 }