Partager via


ResourceSharingProfile Constructors

Definition

Overloads

ResourceSharingProfile()

Initializes a new instance of the ResourceSharingProfile class.

ResourceSharingProfile(IList<SubResource>)

Initializes a new instance of the ResourceSharingProfile class.

ResourceSharingProfile()

Initializes a new instance of the ResourceSharingProfile class.

public ResourceSharingProfile ();
Public Sub New ()

Applies to

ResourceSharingProfile(IList<SubResource>)

Initializes a new instance of the ResourceSharingProfile class.

public ResourceSharingProfile (System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.SubResource> subscriptionIds = default);
new Microsoft.Azure.Management.Compute.Models.ResourceSharingProfile : System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.SubResource> -> Microsoft.Azure.Management.Compute.Models.ResourceSharingProfile
Public Sub New (Optional subscriptionIds As IList(Of SubResource) = Nothing)

Parameters

subscriptionIds
IList<SubResource>

Specifies an array of subscription resource IDs that capacity reservation group is shared with. Note: Minimum api-version: 2023-09-01. Please refer to https://aka.ms/computereservationsharing for more details.

Applies to