你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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

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