語言

ArmPlatformValidationModelFactory.ValidationTestVersionProperties Method

Definition

Validation test version catalog properties.

public static Azure.ResourceManager.PlatformValidation.Models.ValidationTestVersionProperties ValidationTestVersionProperties(string displayName = default, string description = default, Azure.ResourceManager.PlatformValidation.Models.CatalogAudience? audience = default, Azure.ResourceManager.PlatformValidation.Models.ResourceProvisioningState? provisioningState = default, System.Collections.Generic.IEnumerable<string> categoryIds = default, System.Collections.Generic.IEnumerable<string> owners = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.PlatformValidation.Models.ValidationTestInput> inputs = default, string contentHash = default, Uri testStoreUri = default);
static member ValidationTestVersionProperties : string * string * Nullable<Azure.ResourceManager.PlatformValidation.Models.CatalogAudience> * Nullable<Azure.ResourceManager.PlatformValidation.Models.ResourceProvisioningState> * seq<string> * seq<string> * seq<Azure.ResourceManager.PlatformValidation.Models.ValidationTestInput> * string * Uri -> Azure.ResourceManager.PlatformValidation.Models.ValidationTestVersionProperties
Public Shared Function ValidationTestVersionProperties (Optional displayName As String = Nothing, Optional description As String = Nothing, Optional audience As Nullable(Of CatalogAudience) = Nothing, Optional provisioningState As Nullable(Of ResourceProvisioningState) = Nothing, Optional categoryIds As IEnumerable(Of String) = Nothing, Optional owners As IEnumerable(Of String) = Nothing, Optional inputs As IEnumerable(Of ValidationTestInput) = Nothing, Optional contentHash As String = Nothing, Optional testStoreUri As Uri = Nothing) As ValidationTestVersionProperties

Parameters

displayName
String

Display name of the validation test version.

description
String

Validation test description.

audience
Nullable<CatalogAudience>

Audience visibility of this validation test version.

provisioningState
Nullable<ResourceProvisioningState>

Provisioning state of the validation test version catalog resource.

categoryIds
IEnumerable<String>

The names of the validation test categories (ValidationTestCategory resource names, not ARM resource IDs) associated with this test version.

owners
IEnumerable<String>

Owners of the validation test version definition, expressed as team or distribution list aliases. Individual user aliases and directory object identifiers are not published in this field. Only catalog publishers set this value through an internal publishing process; end users of the validation service consume catalog entries read-only through Get/List and cannot modify it.

inputs
IEnumerable<ValidationTestInput>

Declared input contract for this validation test version.

contentHash
String

SHA-256 hash of the version content used for integrity and deduplication.

testStoreUri
Uri

URI of the location where the test artifact is stored.

Returns

A new ValidationTestVersionProperties instance for mocking.

Applies to