你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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