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
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
Azure SDK for .NET