ArmComputeModelFactory.CapacityReservationInstanceViewWithName 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 CapacityReservationInstanceViewWithName.
public static Azure.ResourceManager.Compute.Models.CapacityReservationInstanceViewWithName CapacityReservationInstanceViewWithName (Azure.ResourceManager.Compute.Models.CapacityReservationUtilization utilizationInfo = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Compute.Models.InstanceViewStatus> statuses = default, string name = default);
static member CapacityReservationInstanceViewWithName : Azure.ResourceManager.Compute.Models.CapacityReservationUtilization * seq<Azure.ResourceManager.Compute.Models.InstanceViewStatus> * string -> Azure.ResourceManager.Compute.Models.CapacityReservationInstanceViewWithName
Public Shared Function CapacityReservationInstanceViewWithName (Optional utilizationInfo As CapacityReservationUtilization = Nothing, Optional statuses As IEnumerable(Of InstanceViewStatus) = Nothing, Optional name As String = Nothing) As CapacityReservationInstanceViewWithName
Parameters
- utilizationInfo
- CapacityReservationUtilization
Unutilized capacity of the capacity reservation.
- statuses
- IEnumerable<InstanceViewStatus>
The resource status information.
- name
- String
The name of the capacity reservation.
Returns
A new CapacityReservationInstanceViewWithName instance for mocking.
Applies to
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.
Azure SDK for .NET