Language

ArmPlatformValidationModelFactory.ValidationTestProperties Method

Definition

Validation test catalog properties.

public static Azure.ResourceManager.PlatformValidation.Models.ValidationTestProperties ValidationTestProperties(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, Uri testStoreUri = default, Azure.Core.ResourceIdentifier currentVersion = default, Azure.Core.ResourceIdentifier latestPublishedVersion = default, DateTimeOffset? lastPublishedOn = default);
static member ValidationTestProperties : string * string * Nullable<Azure.ResourceManager.PlatformValidation.Models.CatalogAudience> * Nullable<Azure.ResourceManager.PlatformValidation.Models.ResourceProvisioningState> * seq<string> * seq<string> * seq<Azure.ResourceManager.PlatformValidation.Models.ValidationTestInput> * Uri * Azure.Core.ResourceIdentifier * Azure.Core.ResourceIdentifier * Nullable<DateTimeOffset> -> Azure.ResourceManager.PlatformValidation.Models.ValidationTestProperties
Public Shared Function ValidationTestProperties (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 testStoreUri As Uri = Nothing, Optional currentVersion As ResourceIdentifier = Nothing, Optional latestPublishedVersion As ResourceIdentifier = Nothing, Optional lastPublishedOn As Nullable(Of DateTimeOffset) = Nothing) As ValidationTestProperties

Parameters

displayName
String

Display name of the validation test.

description
String

Validation test description.

audience
Nullable<CatalogAudience>

Audience visibility of this validation test.

provisioningState
Nullable<ResourceProvisioningState>

Provisioning state of the validation test catalog resource.

categoryIds
IEnumerable<String>

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

owners
IEnumerable<String>

Owners of the validation test definition, expressed as team or distribution list aliases. Individual user aliases and directory object identifiers are not published in this field. Only catalog publishers(limited to microsoft internal only) 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.

testStoreUri
Uri

URI of the location where the test artifact is stored.

currentVersion
ResourceIdentifier

The resource ID of the current immutable version snapshot.

latestPublishedVersion
ResourceIdentifier

The resource ID of the latest published version snapshot.

lastPublishedOn
Nullable<DateTimeOffset>

Timestamp of the last version publication.

Returns

A new ValidationTestProperties instance for mocking.

Applies to