Share via


SharingProfile Class

Definition

Profile for gallery sharing to subscription or tenant

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20220103.SharingProfileTypeConverter))]
public class SharingProfile : Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20220103.ISharingProfile
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20220103.SharingProfileTypeConverter))>]
type SharingProfile = class
    interface ISharingProfile
    interface IJsonSerializable
Public Class SharingProfile
Implements ISharingProfile
Inheritance
SharingProfile
Attributes
Implements

Constructors

SharingProfile()

Creates an new SharingProfile instance.

Properties

CommunityGalleryInfo

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

CommunityGalleryInfoCommunityGalleryEnabled

Contains info about whether community gallery sharing is enabled.

CommunityGalleryInfoEula

End-user license agreement for community gallery image.

CommunityGalleryInfoPublicName

Community gallery public name list.

CommunityGalleryInfoPublicNamePrefix

The prefix of the gallery name that will be displayed publicly. Visible to all users.

CommunityGalleryInfoPublisherContact

Community gallery publisher support email. The email address of the publisher. Visible to all users.

CommunityGalleryInfoPublisherUri

The link to the publisher website. Visible to all users.

Group

A list of sharing profile groups.

Permission

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of SharingProfile.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of SharingProfile.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20220103.ISharingProfile.

FromJsonString(String)

Creates a new instance of SharingProfile, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of SharingProfile into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to