ArmComputeModelFactory.SharingProfile 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 SharingProfile.
public static Azure.ResourceManager.Compute.Models.SharingProfile SharingProfile (Azure.ResourceManager.Compute.Models.GallerySharingPermissionType? permission = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Compute.Models.SharingProfileGroup> groups = default, Azure.ResourceManager.Compute.Models.CommunityGalleryInfo communityGalleryInfo = default);
static member SharingProfile : Nullable<Azure.ResourceManager.Compute.Models.GallerySharingPermissionType> * seq<Azure.ResourceManager.Compute.Models.SharingProfileGroup> * Azure.ResourceManager.Compute.Models.CommunityGalleryInfo -> Azure.ResourceManager.Compute.Models.SharingProfile
Public Shared Function SharingProfile (Optional permission As Nullable(Of GallerySharingPermissionType) = Nothing, Optional groups As IEnumerable(Of SharingProfileGroup) = Nothing, Optional communityGalleryInfo As CommunityGalleryInfo = Nothing) As SharingProfile
Parameters
- permission
- Nullable<GallerySharingPermissionType>
This property allows you to specify the permission of sharing gallery. Possible values are: Private, Groups, Community..
- groups
- IEnumerable<SharingProfileGroup>
A list of sharing profile groups.
- communityGalleryInfo
- CommunityGalleryInfo
Information of community gallery if current gallery is shared to community.
Returns
A new SharingProfile instance for mocking.
Applies to
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.
Azure SDK for .NET