Show / Hide Table of Contents

Class ArmScVmmModelFactory

Model factory for models.

Inheritance
System.Object
ArmScVmmModelFactory
Namespace: System.Dynamic.ExpandoObject
Assembly: Azure.ResourceManager.ScVmm.dll
Syntax
public static class ArmScVmmModelFactory

Methods

CloudInventoryItem(String, String, String, Nullable<ScVmmProvisioningState>)

Initializes a new instance of CloudInventoryItem.

Declaration
public static Azure.ResourceManager.ScVmm.Models.CloudInventoryItem CloudInventoryItem (string managedResourceId = null, string uuid = null, string inventoryItemName = null, Nullable<Azure.ResourceManager.ScVmm.Models.ScVmmProvisioningState> provisioningState = null);
Parameters
System.String managedResourceId

Gets the tracked resource id corresponding to the inventory resource.

System.String uuid

Gets the UUID (which is assigned by VMM) for the inventory item.

System.String inventoryItemName

Gets the Managed Object name in VMM for the inventory item.

System.Nullable<ScVmmProvisioningState> provisioningState

Provisioning state of the resource.

Returns
CloudInventoryItem

A new CloudInventoryItem instance for mocking.

OSProfileForVmInstance(String, String, Nullable<ScVmmOSType>, String, String)

Initializes a new instance of OSProfileForVmInstance.

Declaration
public static Azure.ResourceManager.ScVmm.Models.OSProfileForVmInstance OSProfileForVmInstance (string adminPassword = null, string computerName = null, Nullable<Azure.ResourceManager.ScVmm.Models.ScVmmOSType> osType = null, string osSku = null, string osVersion = null);
Parameters
System.String adminPassword

Admin password of the virtual machine.

System.String computerName

Gets or sets computer name.

System.Nullable<ScVmmOSType> osType

Gets the type of the os.

System.String osSku

Gets os sku.

System.String osVersion

Gets os version.

Returns
OSProfileForVmInstance

A new OSProfileForVmInstance instance for mocking.

ScVmmAvailabilitySetData(ResourceIdentifier, String, ResourceType, SystemData, IDictionary<String,String>, AzureLocation, ExtendedLocation, String, ResourceIdentifier, Nullable<ScVmmProvisioningState>)

Initializes a new instance of ScVmmAvailabilitySetData.

Declaration
public static Azure.ResourceManager.ScVmm.ScVmmAvailabilitySetData ScVmmAvailabilitySetData (Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = null, Azure.ResourceManager.Models.SystemData systemData = null, System.Collections.Generic.IDictionary<string,string> tags = null, Azure.Core.AzureLocation location = null, Azure.ResourceManager.Resources.Models.ExtendedLocation extendedLocation = null, string availabilitySetName = null, Azure.Core.ResourceIdentifier vmmServerId = null, Nullable<Azure.ResourceManager.ScVmm.Models.ScVmmProvisioningState> provisioningState = null);
Parameters
Azure.Core.ResourceIdentifier id

The id.

System.String name

The name.

Azure.Core.ResourceType resourceType

The resourceType.

Azure.ResourceManager.Models.SystemData systemData

The systemData.

System.Collections.Generic.IDictionary<System.String,System.String> tags

The tags.

Azure.Core.AzureLocation location

The location.

Azure.ResourceManager.Resources.Models.ExtendedLocation extendedLocation

The extended location.

System.String availabilitySetName

Name of the availability set.

Azure.Core.ResourceIdentifier vmmServerId

ARM Id of the vmmServer resource in which this resource resides.

System.Nullable<ScVmmProvisioningState> provisioningState

Provisioning state of the resource.

Returns
ScVmmAvailabilitySetData

A new ScVmmAvailabilitySetData instance for mocking.

ScVmmCloudCapacity(Nullable<Int64>, Nullable<Int64>, Nullable<Int64>)

Initializes a new instance of ScVmmCloudCapacity.

Declaration
public static Azure.ResourceManager.ScVmm.Models.ScVmmCloudCapacity ScVmmCloudCapacity (Nullable<long> cpuCount = null, Nullable<long> memoryMB = null, Nullable<long> vmCount = null);
Parameters
System.Nullable<System.Int64> cpuCount

CPUCount specifies the maximum number of CPUs that can be allocated in the cloud.

System.Nullable<System.Int64> memoryMB

MemoryMB specifies a memory usage limit in megabytes.

System.Nullable<System.Int64> vmCount

VMCount gives the max number of VMs that can be deployed in the cloud.

Returns
ScVmmCloudCapacity

A new ScVmmCloudCapacity instance for mocking.

ScVmmCloudData(ResourceIdentifier, String, ResourceType, SystemData, IDictionary<String,String>, AzureLocation, ExtendedLocation, String, String, ResourceIdentifier, String, ScVmmCloudCapacity, IEnumerable<ScVmmStorageQosPolicy>, Nullable<ScVmmProvisioningState>)

Initializes a new instance of ScVmmCloudData.

Declaration
public static Azure.ResourceManager.ScVmm.ScVmmCloudData ScVmmCloudData (Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = null, Azure.ResourceManager.Models.SystemData systemData = null, System.Collections.Generic.IDictionary<string,string> tags = null, Azure.Core.AzureLocation location = null, Azure.ResourceManager.Resources.Models.ExtendedLocation extendedLocation = null, string inventoryItemId = null, string uuid = null, Azure.Core.ResourceIdentifier vmmServerId = null, string cloudName = null, Azure.ResourceManager.ScVmm.Models.ScVmmCloudCapacity cloudCapacity = null, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ScVmm.Models.ScVmmStorageQosPolicy> storageQosPolicies = null, Nullable<Azure.ResourceManager.ScVmm.Models.ScVmmProvisioningState> provisioningState = null);
Parameters
Azure.Core.ResourceIdentifier id

The id.

System.String name

The name.

Azure.Core.ResourceType resourceType

The resourceType.

Azure.ResourceManager.Models.SystemData systemData

The systemData.

System.Collections.Generic.IDictionary<System.String,System.String> tags

The tags.

Azure.Core.AzureLocation location

The location.

Azure.ResourceManager.Resources.Models.ExtendedLocation extendedLocation

The extended location.

System.String inventoryItemId

Gets or sets the inventory Item ID for the resource.

System.String uuid

Unique ID of the cloud.

Azure.Core.ResourceIdentifier vmmServerId

ARM Id of the vmmServer resource in which this resource resides.

System.String cloudName

Name of the cloud in VMMServer.

ScVmmCloudCapacity cloudCapacity

Capacity of the cloud.

System.Collections.Generic.IEnumerable<ScVmmStorageQosPolicy> storageQosPolicies

List of QoS policies available for the cloud.

System.Nullable<ScVmmProvisioningState> provisioningState

Provisioning state of the resource.

Returns
ScVmmCloudData

A new ScVmmCloudData instance for mocking.

ScVmmGuestAgentData(ResourceIdentifier, String, ResourceType, SystemData, String, ScVmmGuestCredential, String, Nullable<ScVmmProvisioningAction>, String, String, Nullable<ScVmmProvisioningState>)

Initializes a new instance of ScVmmGuestAgentData.

Declaration
public static Azure.ResourceManager.ScVmm.ScVmmGuestAgentData ScVmmGuestAgentData (Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = null, Azure.ResourceManager.Models.SystemData systemData = null, string uuid = null, Azure.ResourceManager.ScVmm.Models.ScVmmGuestCredential credentials = null, string httpsProxy = null, Nullable<Azure.ResourceManager.ScVmm.Models.ScVmmProvisioningAction> provisioningAction = null, string status = null, string customResourceName = null, Nullable<Azure.ResourceManager.ScVmm.Models.ScVmmProvisioningState> provisioningState = null);
Parameters
Azure.Core.ResourceIdentifier id

The id.

System.String name

The name.

Azure.Core.ResourceType resourceType

The resourceType.

Azure.ResourceManager.Models.SystemData systemData

The systemData.

System.String uuid

Gets a unique identifier for this resource.

ScVmmGuestCredential credentials

Username / Password Credentials to provision guest agent.

System.String httpsProxy

HTTP Proxy configuration for the VM.

System.Nullable<ScVmmProvisioningAction> provisioningAction

Gets or sets the guest agent provisioning action.

System.String status

Gets the guest agent status.

System.String customResourceName

Gets the name of the corresponding resource in Kubernetes.

System.Nullable<ScVmmProvisioningState> provisioningState

Provisioning state of the resource.

Returns
ScVmmGuestAgentData

A new ScVmmGuestAgentData instance for mocking.

ScVmmHardwareProfile(Nullable<Int32>, Nullable<Int32>, Nullable<LimitCpuForMigration>, Nullable<DynamicMemoryEnabled>, Nullable<Int32>, Nullable<Int32>, Nullable<IsHighlyAvailable>)

Initializes a new instance of ScVmmHardwareProfile.

Declaration
public static Azure.ResourceManager.ScVmm.Models.ScVmmHardwareProfile ScVmmHardwareProfile (Nullable<int> memoryMB = null, Nullable<int> cpuCount = null, Nullable<Azure.ResourceManager.ScVmm.Models.LimitCpuForMigration> limitCpuForMigration = null, Nullable<Azure.ResourceManager.ScVmm.Models.DynamicMemoryEnabled> dynamicMemoryEnabled = null, Nullable<int> dynamicMemoryMaxMB = null, Nullable<int> dynamicMemoryMinMB = null, Nullable<Azure.ResourceManager.ScVmm.Models.IsHighlyAvailable> isHighlyAvailable = null);
Parameters
System.Nullable<System.Int32> memoryMB

MemoryMB is the size of a virtual machine's memory, in MB.

System.Nullable<System.Int32> cpuCount

Gets or sets the number of vCPUs for the vm.

System.Nullable<LimitCpuForMigration> limitCpuForMigration

Gets or sets a value indicating whether to enable processor compatibility mode for live migration of VMs.

System.Nullable<DynamicMemoryEnabled> dynamicMemoryEnabled

Gets or sets a value indicating whether to enable dynamic memory or not.

System.Nullable<System.Int32> dynamicMemoryMaxMB

Gets or sets the max dynamic memory for the vm.

System.Nullable<System.Int32> dynamicMemoryMinMB

Gets or sets the min dynamic memory for the vm.

System.Nullable<IsHighlyAvailable> isHighlyAvailable

Gets highly available property.

Returns
ScVmmHardwareProfile

A new ScVmmHardwareProfile instance for mocking.

ScVmmHybridIdentityMetadataData(ResourceIdentifier, String, ResourceType, SystemData, String, String, Nullable<ScVmmProvisioningState>)

Initializes a new instance of ScVmmHybridIdentityMetadataData.

Declaration
public static Azure.ResourceManager.ScVmm.ScVmmHybridIdentityMetadataData ScVmmHybridIdentityMetadataData (Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = null, Azure.ResourceManager.Models.SystemData systemData = null, string resourceUid = null, string publicKey = null, Nullable<Azure.ResourceManager.ScVmm.Models.ScVmmProvisioningState> provisioningState = null);
Parameters
Azure.Core.ResourceIdentifier id

The id.

System.String name

The name.

Azure.Core.ResourceType resourceType

The resourceType.

Azure.ResourceManager.Models.SystemData systemData

The systemData.

System.String resourceUid

The unique identifier for the resource.

System.String publicKey

Gets or sets the Public Key.

System.Nullable<ScVmmProvisioningState> provisioningState

Provisioning state of the resource.

Returns
ScVmmHybridIdentityMetadataData

A new ScVmmHybridIdentityMetadataData instance for mocking.

ScVmmInfrastructureProfile(String, ResourceIdentifier, ResourceIdentifier, ResourceIdentifier, String, String, ScVmmCheckpoint, IEnumerable<ScVmmCheckpoint>, String, Nullable<Int32>, String)

Initializes a new instance of ScVmmInfrastructureProfile.

Declaration
public static Azure.ResourceManager.ScVmm.Models.ScVmmInfrastructureProfile ScVmmInfrastructureProfile (string inventoryItemId = null, Azure.Core.ResourceIdentifier vmmServerId = null, Azure.Core.ResourceIdentifier cloudId = null, Azure.Core.ResourceIdentifier templateId = null, string vmName = null, string uuid = null, Azure.ResourceManager.ScVmm.Models.ScVmmCheckpoint lastRestoredVmCheckpoint = null, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ScVmm.Models.ScVmmCheckpoint> checkpoints = null, string checkpointType = null, Nullable<int> generation = null, string biosGuid = null);
Parameters
System.String inventoryItemId

Gets or sets the inventory Item ID for the resource.

Azure.Core.ResourceIdentifier vmmServerId

ARM Id of the vmmServer resource in which this resource resides.

Azure.Core.ResourceIdentifier cloudId

ARM Id of the cloud resource to use for deploying the vm.

Azure.Core.ResourceIdentifier templateId

ARM Id of the template resource to use for deploying the vm.

System.String vmName

VMName is the name of VM on the SCVMM server.

System.String uuid

Unique ID of the virtual machine.

ScVmmCheckpoint lastRestoredVmCheckpoint

Last restored checkpoint in the vm.

System.Collections.Generic.IEnumerable<ScVmmCheckpoint> checkpoints

Checkpoints in the vm.

System.String checkpointType

Type of checkpoint supported for the vm.

System.Nullable<System.Int32> generation

Gets or sets the generation for the vm.

System.String biosGuid

Gets or sets the bios guid for the vm.

Returns
ScVmmInfrastructureProfile

A new ScVmmInfrastructureProfile instance for mocking.

ScVmmInventoryItemData(ResourceIdentifier, String, ResourceType, SystemData, ScVmmInventoryItemProperties, String)

Initializes a new instance of ScVmmInventoryItemData.

Declaration
public static Azure.ResourceManager.ScVmm.ScVmmInventoryItemData ScVmmInventoryItemData (Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = null, Azure.ResourceManager.Models.SystemData systemData = null, Azure.ResourceManager.ScVmm.Models.ScVmmInventoryItemProperties properties = null, string kind = null);
Parameters
Azure.Core.ResourceIdentifier id

The id.

System.String name

The name.

Azure.Core.ResourceType resourceType

The resourceType.

Azure.ResourceManager.Models.SystemData systemData

The systemData.

ScVmmInventoryItemProperties properties

Resource properties. Please note ScVmmInventoryItemProperties is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include CloudInventoryItem, VirtualMachineInventoryItem, VirtualMachineTemplateInventoryItem and VirtualNetworkInventoryItem.

System.String kind

Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.

Returns
ScVmmInventoryItemData

A new ScVmmInventoryItemData instance for mocking.

ScVmmInventoryItemProperties(String, String, String, String, Nullable<ScVmmProvisioningState>)

Initializes a new instance of ScVmmInventoryItemProperties.

Declaration
public static Azure.ResourceManager.ScVmm.Models.ScVmmInventoryItemProperties ScVmmInventoryItemProperties (string inventoryType = null, string managedResourceId = null, string uuid = null, string inventoryItemName = null, Nullable<Azure.ResourceManager.ScVmm.Models.ScVmmProvisioningState> provisioningState = null);
Parameters
System.String inventoryType

They inventory type.

System.String managedResourceId

Gets the tracked resource id corresponding to the inventory resource.

System.String uuid

Gets the UUID (which is assigned by VMM) for the inventory item.

System.String inventoryItemName

Gets the Managed Object name in VMM for the inventory item.

System.Nullable<ScVmmProvisioningState> provisioningState

Provisioning state of the resource.

Returns
ScVmmInventoryItemProperties

A new ScVmmInventoryItemProperties instance for mocking.

ScVmmNetworkInterface(String, String, IEnumerable<String>, IEnumerable<String>, String, ResourceIdentifier, String, Nullable<AllocationMethod>, Nullable<AllocationMethod>, Nullable<AllocationMethod>, String)

Initializes a new instance of ScVmmNetworkInterface.

Declaration
public static Azure.ResourceManager.ScVmm.Models.ScVmmNetworkInterface ScVmmNetworkInterface (string name = null, string displayName = null, System.Collections.Generic.IEnumerable<string> ipv4Addresses = null, System.Collections.Generic.IEnumerable<string> ipv6Addresses = null, string macAddress = null, Azure.Core.ResourceIdentifier virtualNetworkId = null, string networkName = null, Nullable<Azure.ResourceManager.ScVmm.Models.AllocationMethod> ipv4AddressType = null, Nullable<Azure.ResourceManager.ScVmm.Models.AllocationMethod> ipv6AddressType = null, Nullable<Azure.ResourceManager.ScVmm.Models.AllocationMethod> macAddressType = null, string nicId = null);
Parameters
System.String name

Gets or sets the name of the network interface.

System.String displayName

Gets the display name of the network interface as shown in the vmmServer. This is the fallback label for a NIC when the name is not set.

System.Collections.Generic.IEnumerable<System.String> ipv4Addresses

Gets the nic ipv4 addresses.

System.Collections.Generic.IEnumerable<System.String> ipv6Addresses

Gets the nic ipv6 addresses.

System.String macAddress

Gets or sets the nic MAC address.

Azure.Core.ResourceIdentifier virtualNetworkId

Gets or sets the ARM Id of the Microsoft.ScVmm/virtualNetwork resource to connect the nic.

System.String networkName

Gets the name of the virtual network in vmmServer that the nic is connected to.

System.Nullable<AllocationMethod> ipv4AddressType

Gets or sets the ipv4 address type.

System.Nullable<AllocationMethod> ipv6AddressType

Gets or sets the ipv6 address type.

System.Nullable<AllocationMethod> macAddressType

Gets or sets the mac address type.

System.String nicId

Gets or sets the nic id.

Returns
ScVmmNetworkInterface

A new ScVmmNetworkInterface instance for mocking.

ScVmmServerData(ResourceIdentifier, String, ResourceType, SystemData, IDictionary<String,String>, AzureLocation, ExtendedLocation, VmmCredential, String, Nullable<Int32>, String, String, String, String, Nullable<ScVmmProvisioningState>)

Initializes a new instance of ScVmmServerData.

Declaration
public static Azure.ResourceManager.ScVmm.ScVmmServerData ScVmmServerData (Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = null, Azure.ResourceManager.Models.SystemData systemData = null, System.Collections.Generic.IDictionary<string,string> tags = null, Azure.Core.AzureLocation location = null, Azure.ResourceManager.Resources.Models.ExtendedLocation extendedLocation = null, Azure.ResourceManager.ScVmm.Models.VmmCredential credentials = null, string fqdn = null, Nullable<int> port = null, string connectionStatus = null, string errorMessage = null, string uuid = null, string version = null, Nullable<Azure.ResourceManager.ScVmm.Models.ScVmmProvisioningState> provisioningState = null);
Parameters
Azure.Core.ResourceIdentifier id

The id.

System.String name

The name.

Azure.Core.ResourceType resourceType

The resourceType.

Azure.ResourceManager.Models.SystemData systemData

The systemData.

System.Collections.Generic.IDictionary<System.String,System.String> tags

The tags.

Azure.Core.AzureLocation location

The location.

Azure.ResourceManager.Resources.Models.ExtendedLocation extendedLocation

The extended location.

VmmCredential credentials

Credentials to connect to VMMServer.

System.String fqdn

Fqdn is the hostname/ip of the vmmServer.

System.Nullable<System.Int32> port

Port is the port on which the vmmServer is listening.

System.String connectionStatus

Gets the connection status to the vmmServer.

System.String errorMessage

Gets any error message if connection to vmmServer is having any issue.

System.String uuid

Unique ID of vmmServer.

System.String version

Version is the version of the vmmSever.

System.Nullable<ScVmmProvisioningState> provisioningState

Provisioning state of the resource.

Returns
ScVmmServerData

A new ScVmmServerData instance for mocking.

ScVmmStorageQosPolicy(String, String, Nullable<Int64>, Nullable<Int64>, Nullable<Int64>, String)

Initializes a new instance of ScVmmStorageQosPolicy.

Declaration
public static Azure.ResourceManager.ScVmm.Models.ScVmmStorageQosPolicy ScVmmStorageQosPolicy (string name = null, string id = null, Nullable<long> iopsMaximum = null, Nullable<long> iopsMinimum = null, Nullable<long> bandwidthLimit = null, string policyId = null);
Parameters
System.String name

The name of the policy.

System.String id

The ID of the QoS policy.

System.Nullable<System.Int64> iopsMaximum

The maximum IO operations per second.

System.Nullable<System.Int64> iopsMinimum

The minimum IO operations per second.

System.Nullable<System.Int64> bandwidthLimit

The Bandwidth Limit for internet traffic.

System.String policyId

The underlying policy.

Returns
ScVmmStorageQosPolicy

A new ScVmmStorageQosPolicy instance for mocking.

ScVmmVirtualDisk(String, String, String, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, String, String, String, String, String, ScVmmStorageQosPolicyDetails, Nullable<CreateDiffDisk>)

Initializes a new instance of ScVmmVirtualDisk.

Declaration
public static Azure.ResourceManager.ScVmm.Models.ScVmmVirtualDisk ScVmmVirtualDisk (string name = null, string displayName = null, string diskId = null, Nullable<int> diskSizeGB = null, Nullable<int> maxDiskSizeGB = null, Nullable<int> bus = null, Nullable<int> lun = null, string busType = null, string vhdType = null, string volumeType = null, string vhdFormatType = null, string templateDiskId = null, Azure.ResourceManager.ScVmm.Models.ScVmmStorageQosPolicyDetails storageQosPolicy = null, Nullable<Azure.ResourceManager.ScVmm.Models.CreateDiffDisk> createDiffDisk = null);
Parameters
System.String name

Gets or sets the name of the disk.

System.String displayName

Gets the display name of the virtual disk as shown in the vmmServer. This is the fallback label for a disk when the name is not set.

System.String diskId

Gets or sets the disk id.

System.Nullable<System.Int32> diskSizeGB

Gets or sets the disk total size.

System.Nullable<System.Int32> maxDiskSizeGB

Gets the max disk size.

System.Nullable<System.Int32> bus

Gets or sets the disk bus.

System.Nullable<System.Int32> lun

Gets or sets the disk lun.

System.String busType

Gets or sets the disk bus type.

System.String vhdType

Gets or sets the disk vhd type.

System.String volumeType

Gets the disk volume type.

System.String vhdFormatType

Gets the disk vhd format type.

System.String templateDiskId

Gets or sets the disk id in the template.

ScVmmStorageQosPolicyDetails storageQosPolicy

The QoS policy for the disk.

System.Nullable<CreateDiffDisk> createDiffDisk

Gets or sets a value indicating diff disk.

Returns
ScVmmVirtualDisk

A new ScVmmVirtualDisk instance for mocking.

ScVmmVirtualMachineInstanceData(ResourceIdentifier, String, ResourceType, SystemData, ExtendedLocation, IEnumerable<ScVmmAvailabilitySetItem>, OSProfileForVmInstance, ScVmmHardwareProfile, IEnumerable<ScVmmNetworkInterface>, IEnumerable<ScVmmVirtualDisk>, ScVmmInfrastructureProfile, String, Nullable<ScVmmProvisioningState>)

Initializes a new instance of ScVmmVirtualMachineInstanceData.

Declaration
public static Azure.ResourceManager.ScVmm.ScVmmVirtualMachineInstanceData ScVmmVirtualMachineInstanceData (Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = null, Azure.ResourceManager.Models.SystemData systemData = null, Azure.ResourceManager.Resources.Models.ExtendedLocation extendedLocation = null, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ScVmm.Models.ScVmmAvailabilitySetItem> availabilitySets = null, Azure.ResourceManager.ScVmm.Models.OSProfileForVmInstance osProfile = null, Azure.ResourceManager.ScVmm.Models.ScVmmHardwareProfile hardwareProfile = null, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ScVmm.Models.ScVmmNetworkInterface> networkInterfaces = null, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ScVmm.Models.ScVmmVirtualDisk> storageDisks = null, Azure.ResourceManager.ScVmm.Models.ScVmmInfrastructureProfile infrastructureProfile = null, string powerState = null, Nullable<Azure.ResourceManager.ScVmm.Models.ScVmmProvisioningState> provisioningState = null);
Parameters
Azure.Core.ResourceIdentifier id

The id.

System.String name

The name.

Azure.Core.ResourceType resourceType

The resourceType.

Azure.ResourceManager.Models.SystemData systemData

The systemData.

Azure.ResourceManager.Resources.Models.ExtendedLocation extendedLocation

Gets or sets the extended location.

System.Collections.Generic.IEnumerable<ScVmmAvailabilitySetItem> availabilitySets

Availability Sets in vm.

OSProfileForVmInstance osProfile

OS properties.

ScVmmHardwareProfile hardwareProfile

Hardware properties.

System.Collections.Generic.IEnumerable<ScVmmNetworkInterface> networkInterfaces

Network properties.

System.Collections.Generic.IEnumerable<ScVmmVirtualDisk> storageDisks

Storage properties.

ScVmmInfrastructureProfile infrastructureProfile

Gets the infrastructure profile.

System.String powerState

Gets the power state of the virtual machine.

System.Nullable<ScVmmProvisioningState> provisioningState

Provisioning state of the resource.

Returns
ScVmmVirtualMachineInstanceData

A new ScVmmVirtualMachineInstanceData instance for mocking.

ScVmmVirtualMachineTemplateData(ResourceIdentifier, String, ResourceType, SystemData, IDictionary<String,String>, AzureLocation, ExtendedLocation, String, String, ResourceIdentifier, Nullable<ScVmmOSType>, String, String, Nullable<Int32>, Nullable<Int32>, Nullable<LimitCpuForMigration>, Nullable<DynamicMemoryEnabled>, Nullable<IsCustomizable>, Nullable<Int32>, Nullable<Int32>, Nullable<IsHighlyAvailable>, Nullable<Int32>, IEnumerable<ScVmmNetworkInterface>, IEnumerable<ScVmmVirtualDisk>, Nullable<ScVmmProvisioningState>)

Initializes a new instance of ScVmmVirtualMachineTemplateData.

Declaration
public static Azure.ResourceManager.ScVmm.ScVmmVirtualMachineTemplateData ScVmmVirtualMachineTemplateData (Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = null, Azure.ResourceManager.Models.SystemData systemData = null, System.Collections.Generic.IDictionary<string,string> tags = null, Azure.Core.AzureLocation location = null, Azure.ResourceManager.Resources.Models.ExtendedLocation extendedLocation = null, string inventoryItemId = null, string uuid = null, Azure.Core.ResourceIdentifier vmmServerId = null, Nullable<Azure.ResourceManager.ScVmm.Models.ScVmmOSType> osType = null, string osName = null, string computerName = null, Nullable<int> memoryMB = null, Nullable<int> cpuCount = null, Nullable<Azure.ResourceManager.ScVmm.Models.LimitCpuForMigration> limitCpuForMigration = null, Nullable<Azure.ResourceManager.ScVmm.Models.DynamicMemoryEnabled> dynamicMemoryEnabled = null, Nullable<Azure.ResourceManager.ScVmm.Models.IsCustomizable> isCustomizable = null, Nullable<int> dynamicMemoryMaxMB = null, Nullable<int> dynamicMemoryMinMB = null, Nullable<Azure.ResourceManager.ScVmm.Models.IsHighlyAvailable> isHighlyAvailable = null, Nullable<int> generation = null, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ScVmm.Models.ScVmmNetworkInterface> networkInterfaces = null, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ScVmm.Models.ScVmmVirtualDisk> disks = null, Nullable<Azure.ResourceManager.ScVmm.Models.ScVmmProvisioningState> provisioningState = null);
Parameters
Azure.Core.ResourceIdentifier id

The id.

System.String name

The name.

Azure.Core.ResourceType resourceType

The resourceType.

Azure.ResourceManager.Models.SystemData systemData

The systemData.

System.Collections.Generic.IDictionary<System.String,System.String> tags

The tags.

Azure.Core.AzureLocation location

The location.

Azure.ResourceManager.Resources.Models.ExtendedLocation extendedLocation

The extended location.

System.String inventoryItemId

Gets or sets the inventory Item ID for the resource.

System.String uuid

Unique ID of the virtual machine template.

Azure.Core.ResourceIdentifier vmmServerId

ARM Id of the vmmServer resource in which this resource resides.

System.Nullable<ScVmmOSType> osType

Gets the type of the os.

System.String osName

Gets os name.

System.String computerName

Gets computer name.

System.Nullable<System.Int32> memoryMB

MemoryMB is the desired size of a virtual machine's memory, in MB.

System.Nullable<System.Int32> cpuCount

Gets the desired number of vCPUs for the vm.

System.Nullable<LimitCpuForMigration> limitCpuForMigration

Gets a value indicating whether to enable processor compatibility mode for live migration of VMs.

System.Nullable<DynamicMemoryEnabled> dynamicMemoryEnabled

Gets a value indicating whether to enable dynamic memory or not.

System.Nullable<IsCustomizable> isCustomizable

Gets a value indicating whether the vm template is customizable or not.

System.Nullable<System.Int32> dynamicMemoryMaxMB

Gets the max dynamic memory for the vm.

System.Nullable<System.Int32> dynamicMemoryMinMB

Gets the min dynamic memory for the vm.

System.Nullable<IsHighlyAvailable> isHighlyAvailable

Gets highly available property.

System.Nullable<System.Int32> generation

Gets the generation for the vm.

System.Collections.Generic.IEnumerable<ScVmmNetworkInterface> networkInterfaces

Gets the network interfaces of the template.

System.Collections.Generic.IEnumerable<ScVmmVirtualDisk> disks

Gets the disks of the template.

System.Nullable<ScVmmProvisioningState> provisioningState

Provisioning state of the resource.

Returns
ScVmmVirtualMachineTemplateData

A new ScVmmVirtualMachineTemplateData instance for mocking.

ScVmmVirtualNetworkData(ResourceIdentifier, String, ResourceType, SystemData, IDictionary<String,String>, AzureLocation, ExtendedLocation, String, String, ResourceIdentifier, String, Nullable<ScVmmProvisioningState>)

Initializes a new instance of ScVmmVirtualNetworkData.

Declaration
public static Azure.ResourceManager.ScVmm.ScVmmVirtualNetworkData ScVmmVirtualNetworkData (Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = null, Azure.ResourceManager.Models.SystemData systemData = null, System.Collections.Generic.IDictionary<string,string> tags = null, Azure.Core.AzureLocation location = null, Azure.ResourceManager.Resources.Models.ExtendedLocation extendedLocation = null, string inventoryItemId = null, string uuid = null, Azure.Core.ResourceIdentifier vmmServerId = null, string networkName = null, Nullable<Azure.ResourceManager.ScVmm.Models.ScVmmProvisioningState> provisioningState = null);
Parameters
Azure.Core.ResourceIdentifier id

The id.

System.String name

The name.

Azure.Core.ResourceType resourceType

The resourceType.

Azure.ResourceManager.Models.SystemData systemData

The systemData.

System.Collections.Generic.IDictionary<System.String,System.String> tags

The tags.

Azure.Core.AzureLocation location

The location.

Azure.ResourceManager.Resources.Models.ExtendedLocation extendedLocation

The extended location.

System.String inventoryItemId

Gets or sets the inventory Item ID for the resource.

System.String uuid

Unique ID of the virtual network.

Azure.Core.ResourceIdentifier vmmServerId

ARM Id of the vmmServer resource in which this resource resides.

System.String networkName

Name of the virtual network in vmmServer.

System.Nullable<ScVmmProvisioningState> provisioningState

Provisioning state of the resource.

Returns
ScVmmVirtualNetworkData

A new ScVmmVirtualNetworkData instance for mocking.

VirtualMachineInventoryItem(String, String, String, Nullable<ScVmmProvisioningState>, Nullable<ScVmmOSType>, String, String, String, IEnumerable<String>, ScVmmInventoryItemDetails, String, ResourceIdentifier)

Initializes a new instance of VirtualMachineInventoryItem.

Declaration
public static Azure.ResourceManager.ScVmm.Models.VirtualMachineInventoryItem VirtualMachineInventoryItem (string managedResourceId = null, string uuid = null, string inventoryItemName = null, Nullable<Azure.ResourceManager.ScVmm.Models.ScVmmProvisioningState> provisioningState = null, Nullable<Azure.ResourceManager.ScVmm.Models.ScVmmOSType> osType = null, string osName = null, string osVersion = null, string powerState = null, System.Collections.Generic.IEnumerable<string> ipAddresses = null, Azure.ResourceManager.ScVmm.Models.ScVmmInventoryItemDetails cloud = null, string biosGuid = null, Azure.Core.ResourceIdentifier managedMachineResourceId = null);
Parameters
System.String managedResourceId

Gets the tracked resource id corresponding to the inventory resource.

System.String uuid

Gets the UUID (which is assigned by VMM) for the inventory item.

System.String inventoryItemName

Gets the Managed Object name in VMM for the inventory item.

System.Nullable<ScVmmProvisioningState> provisioningState

Provisioning state of the resource.

System.Nullable<ScVmmOSType> osType

Gets the type of the os.

System.String osName

Gets os name.

System.String osVersion

Gets os version.

System.String powerState

Gets the power state of the virtual machine.

System.Collections.Generic.IEnumerable<System.String> ipAddresses

Gets or sets the nic ip addresses.

ScVmmInventoryItemDetails cloud

Cloud inventory resource details where the VM is present.

System.String biosGuid

Gets the bios guid.

Azure.Core.ResourceIdentifier managedMachineResourceId

Gets the tracked resource id corresponding to the inventory resource.

Returns
VirtualMachineInventoryItem

A new VirtualMachineInventoryItem instance for mocking.

VirtualMachineTemplateInventoryItem(String, String, String, Nullable<ScVmmProvisioningState>, Nullable<Int32>, Nullable<Int32>, Nullable<ScVmmOSType>, String)

Initializes a new instance of VirtualMachineTemplateInventoryItem.

Declaration
public static Azure.ResourceManager.ScVmm.Models.VirtualMachineTemplateInventoryItem VirtualMachineTemplateInventoryItem (string managedResourceId = null, string uuid = null, string inventoryItemName = null, Nullable<Azure.ResourceManager.ScVmm.Models.ScVmmProvisioningState> provisioningState = null, Nullable<int> cpuCount = null, Nullable<int> memoryMB = null, Nullable<Azure.ResourceManager.ScVmm.Models.ScVmmOSType> osType = null, string osName = null);
Parameters
System.String managedResourceId

Gets the tracked resource id corresponding to the inventory resource.

System.String uuid

Gets the UUID (which is assigned by VMM) for the inventory item.

System.String inventoryItemName

Gets the Managed Object name in VMM for the inventory item.

System.Nullable<ScVmmProvisioningState> provisioningState

Provisioning state of the resource.

System.Nullable<System.Int32> cpuCount

Gets the desired number of vCPUs for the vm.

System.Nullable<System.Int32> memoryMB

MemoryMB is the desired size of a virtual machine's memory, in MB.

System.Nullable<ScVmmOSType> osType

Gets the type of the os.

System.String osName

Gets os name.

Returns
VirtualMachineTemplateInventoryItem

A new VirtualMachineTemplateInventoryItem instance for mocking.

VirtualNetworkInventoryItem(String, String, String, Nullable<ScVmmProvisioningState>)

Initializes a new instance of VirtualNetworkInventoryItem.

Declaration
public static Azure.ResourceManager.ScVmm.Models.VirtualNetworkInventoryItem VirtualNetworkInventoryItem (string managedResourceId = null, string uuid = null, string inventoryItemName = null, Nullable<Azure.ResourceManager.ScVmm.Models.ScVmmProvisioningState> provisioningState = null);
Parameters
System.String managedResourceId

Gets the tracked resource id corresponding to the inventory resource.

System.String uuid

Gets the UUID (which is assigned by VMM) for the inventory item.

System.String inventoryItemName

Gets the Managed Object name in VMM for the inventory item.

System.Nullable<ScVmmProvisioningState> provisioningState

Provisioning state of the resource.

Returns
VirtualNetworkInventoryItem

A new VirtualNetworkInventoryItem instance for mocking.

Back to top Azure SDK for .NET