Sdílet prostřednictvím


ArmComputeModelFactory.CommunityGalleryData Method

Definition

Initializes a new instance of CommunityGalleryData.

public static Azure.ResourceManager.Compute.CommunityGalleryData CommunityGalleryData (string name = default, Azure.Core.AzureLocation? location = default, Azure.Core.ResourceType? resourceType = default, string uniqueId = default, string disclaimer = default, System.Collections.Generic.IReadOnlyDictionary<string,string> artifactTags = default, Azure.ResourceManager.Compute.Models.CommunityGalleryMetadata communityMetadata = default);
static member CommunityGalleryData : string * Nullable<Azure.Core.AzureLocation> * Nullable<Azure.Core.ResourceType> * string * string * System.Collections.Generic.IReadOnlyDictionary<string, string> * Azure.ResourceManager.Compute.Models.CommunityGalleryMetadata -> Azure.ResourceManager.Compute.CommunityGalleryData
Public Shared Function CommunityGalleryData (Optional name As String = Nothing, Optional location As Nullable(Of AzureLocation) = Nothing, Optional resourceType As Nullable(Of ResourceType) = Nothing, Optional uniqueId As String = Nothing, Optional disclaimer As String = Nothing, Optional artifactTags As IReadOnlyDictionary(Of String, String) = Nothing, Optional communityMetadata As CommunityGalleryMetadata = Nothing) As CommunityGalleryData

Parameters

name
String

Resource name.

location
Nullable<AzureLocation>

Resource location.

resourceType
Nullable<ResourceType>

Resource type.

uniqueId
String

The unique id of this community gallery.

disclaimer
String

The disclaimer for a community gallery resource.

artifactTags
IReadOnlyDictionary<String,String>

The artifact tags of a community gallery resource.

communityMetadata
CommunityGalleryMetadata

The metadata of community gallery.

Returns

A new CommunityGalleryData instance for mocking.

Applies to