Class CommunityGalleryInfo
java.lang.Object
com.azure.resourcemanager.compute.models.CommunityGalleryInfo
Information of community gallery if current gallery is shared to community.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the communityGalleryEnabled property: Contains info about whether community gallery sharing is enabled.eula()Get the eula property: End-user license agreement for community gallery image.Get the publicNamePrefix property: The prefix of the gallery name that will be displayed publicly.Get the publicNames property: Community gallery public name list.Get the publisherContact property: Community gallery publisher support email.Get the publisherUri property: The link to the publisher website.voidvalidate()Validates the instance.Set the eula property: End-user license agreement for community gallery image.withPublicNamePrefix(String publicNamePrefix) Set the publicNamePrefix property: The prefix of the gallery name that will be displayed publicly.withPublisherContact(String publisherContact) Set the publisherContact property: Community gallery publisher support email.withPublisherUri(String publisherUri) Set the publisherUri property: The link to the publisher website.
-
Constructor Details
-
CommunityGalleryInfo
public CommunityGalleryInfo()Creates an instance of CommunityGalleryInfo class.
-
-
Method Details
-
publisherUri
Get the publisherUri property: The link to the publisher website. Visible to all users.- Returns:
- the publisherUri value.
-
withPublisherUri
Set the publisherUri property: The link to the publisher website. Visible to all users.- Parameters:
publisherUri- the publisherUri value to set.- Returns:
- the CommunityGalleryInfo object itself.
-
publisherContact
Get the publisherContact property: Community gallery publisher support email. The email address of the publisher. Visible to all users.- Returns:
- the publisherContact value.
-
withPublisherContact
Set the publisherContact property: Community gallery publisher support email. The email address of the publisher. Visible to all users.- Parameters:
publisherContact- the publisherContact value to set.- Returns:
- the CommunityGalleryInfo object itself.
-
eula
Get the eula property: End-user license agreement for community gallery image.- Returns:
- the eula value.
-
withEula
Set the eula property: End-user license agreement for community gallery image.- Parameters:
eula- the eula value to set.- Returns:
- the CommunityGalleryInfo object itself.
-
publicNamePrefix
Get the publicNamePrefix property: The prefix of the gallery name that will be displayed publicly. Visible to all users.- Returns:
- the publicNamePrefix value.
-
withPublicNamePrefix
Set the publicNamePrefix property: The prefix of the gallery name that will be displayed publicly. Visible to all users.- Parameters:
publicNamePrefix- the publicNamePrefix value to set.- Returns:
- the CommunityGalleryInfo object itself.
-
communityGalleryEnabled
Get the communityGalleryEnabled property: Contains info about whether community gallery sharing is enabled.- Returns:
- the communityGalleryEnabled value.
-
publicNames
Get the publicNames property: Community gallery public name list.- Returns:
- the publicNames value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-