VirtualMachineAssignRelayParameters Class
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.
VirtualMachineAssignRelayParameters represents the body of the request to update the relay used for a Microsoft.HybridCompute machine associated with the virtual machine.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.NetworkCloud.Models.VirtualMachineAssignRelayParametersTypeConverter))]
public class VirtualMachineAssignRelayParameters : Microsoft.Azure.PowerShell.Cmdlets.NetworkCloud.Models.IVirtualMachineAssignRelayParameters
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.NetworkCloud.Models.VirtualMachineAssignRelayParametersTypeConverter))>]
type VirtualMachineAssignRelayParameters = class
interface IVirtualMachineAssignRelayParameters
interface IJsonSerializable
Public Class VirtualMachineAssignRelayParameters
Implements IVirtualMachineAssignRelayParameters
- Inheritance
-
VirtualMachineAssignRelayParameters
- Attributes
- Implements
Constructors
| Name | Description |
|---|---|
| VirtualMachineAssignRelayParameters() |
Creates an new VirtualMachineAssignRelayParameters instance. |
Properties
| Name | Description |
|---|---|
| MachineId |
The resourceId of the Microsoft.HybridCompute machine resource to assign relay usage. |
| RelayType |
The indicator of which relay type the machine should be assigned to use. Platform indicates the use of a platform-dedicated relay. Public indicates the use of the standard public relay for Arc services. |
Methods
| Name | Description |
|---|---|
| DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of VirtualMachineAssignRelayParameters. |
| DeserializeFromPSObject(PSObject) |
Deserializes a PSObject into an instance of VirtualMachineAssignRelayParameters. |
| FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.NetworkCloud.Models.IVirtualMachineAssignRelayParameters. |
| FromJsonString(String) |
Creates a new instance of VirtualMachineAssignRelayParameters, deserializing the content from a json string. |
| ToJson(JsonObject, SerializationMode) |
Serializes this instance of VirtualMachineAssignRelayParameters into a JsonNode. |
| ToJsonString() |
Serializes this instance to a json string. |
| ToString() | |