ArmComputeModelFactory.CapacityReservationGroupInstanceView 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 CapacityReservationGroupInstanceView.
public static Azure.ResourceManager.Compute.Models.CapacityReservationGroupInstanceView CapacityReservationGroupInstanceView (System.Collections.Generic.IEnumerable<Azure.ResourceManager.Compute.Models.CapacityReservationInstanceViewWithName> capacityReservations = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Resources.Models.SubResource> sharedSubscriptionIds = default);
static member CapacityReservationGroupInstanceView : seq<Azure.ResourceManager.Compute.Models.CapacityReservationInstanceViewWithName> * seq<Azure.ResourceManager.Resources.Models.SubResource> -> Azure.ResourceManager.Compute.Models.CapacityReservationGroupInstanceView
Public Shared Function CapacityReservationGroupInstanceView (Optional capacityReservations As IEnumerable(Of CapacityReservationInstanceViewWithName) = Nothing, Optional sharedSubscriptionIds As IEnumerable(Of SubResource) = Nothing) As CapacityReservationGroupInstanceView
Parameters
- capacityReservations
- IEnumerable<CapacityReservationInstanceViewWithName>
List of instance view of the capacity reservations under the capacity reservation group.
- sharedSubscriptionIds
- IEnumerable<SubResource>
List of the subscriptions that the capacity reservation group is shared with. Note: Minimum api-version: 2023-09-01. Please refer to https://aka.ms/computereservationsharing for more details.
Returns
A new CapacityReservationGroupInstanceView instance for mocking.
Applies to
Azure SDK for .NET