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
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
Azure SDK for .NET