ArmComputeModelFactory.DedicatedHostInstanceViewWithName 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.
Initializes a new instance of DedicatedHostInstanceViewWithName.
public static Azure.ResourceManager.Compute.Models.DedicatedHostInstanceViewWithName DedicatedHostInstanceViewWithName (string assetId = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Compute.Models.DedicatedHostAllocatableVm> availableCapacityAllocatableVms = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Compute.Models.InstanceViewStatus> statuses = default, string name = default);
static member DedicatedHostInstanceViewWithName : string * seq<Azure.ResourceManager.Compute.Models.DedicatedHostAllocatableVm> * seq<Azure.ResourceManager.Compute.Models.InstanceViewStatus> * string -> Azure.ResourceManager.Compute.Models.DedicatedHostInstanceViewWithName
Public Shared Function DedicatedHostInstanceViewWithName (Optional assetId As String = Nothing, Optional availableCapacityAllocatableVms As IEnumerable(Of DedicatedHostAllocatableVm) = Nothing, Optional statuses As IEnumerable(Of InstanceViewStatus) = Nothing, Optional name As String = Nothing) As DedicatedHostInstanceViewWithName
Parameters
- assetId
- String
Specifies the unique id of the dedicated physical machine on which the dedicated host resides.
- availableCapacityAllocatableVms
- IEnumerable<DedicatedHostAllocatableVm>
Unutilized capacity of the dedicated host.
- statuses
- IEnumerable<InstanceViewStatus>
The resource status information.
- name
- String
The name of the dedicated host.
Returns
A new DedicatedHostInstanceViewWithName instance for mocking.
Applies to
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.
Azure SDK for .NET