Delen via


SharingProfile Constructors

Definition

Overloads

SharingProfile()

Initializes a new instance of the SharingProfile class.

SharingProfile(String, IList<SharingProfileGroup>, CommunityGalleryInfo)

Initializes a new instance of the SharingProfile class.

SharingProfile()

Initializes a new instance of the SharingProfile class.

public SharingProfile ();
Public Sub New ()

Applies to

SharingProfile(String, IList<SharingProfileGroup>, CommunityGalleryInfo)

Initializes a new instance of the SharingProfile class.

public SharingProfile (string permissions = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.SharingProfileGroup> groups = default, Microsoft.Azure.Management.Compute.Models.CommunityGalleryInfo communityGalleryInfo = default);
new Microsoft.Azure.Management.Compute.Models.SharingProfile : string * System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.SharingProfileGroup> * Microsoft.Azure.Management.Compute.Models.CommunityGalleryInfo -> Microsoft.Azure.Management.Compute.Models.SharingProfile
Public Sub New (Optional permissions As String = Nothing, Optional groups As IList(Of SharingProfileGroup) = Nothing, Optional communityGalleryInfo As CommunityGalleryInfo = Nothing)

Parameters

permissions
String

This property allows you to specify the permission of sharing gallery. <br><br> Possible values are: <br><br> Private <br><br> Groups <br><br> Community. Possible values include: 'Private', 'Groups', 'Community'

groups
IList<SharingProfileGroup>

A list of sharing profile groups.

communityGalleryInfo
CommunityGalleryInfo

Information of community gallery if current gallery is shared to community.

Applies to