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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET