ภาษา

ArmPlatformValidationModelFactory.ValidationTestCategoryProperties Method

Definition

Validation test category properties.

public static Azure.ResourceManager.PlatformValidation.Models.ValidationTestCategoryProperties ValidationTestCategoryProperties(string displayName = default, string description = default, Azure.ResourceManager.PlatformValidation.Models.CatalogAudience? audience = default, Azure.ResourceManager.PlatformValidation.Models.ResourceProvisioningState? provisioningState = default, string parentCategoryId = default, System.Collections.Generic.IEnumerable<string> owners = default);
static member ValidationTestCategoryProperties : string * string * Nullable<Azure.ResourceManager.PlatformValidation.Models.CatalogAudience> * Nullable<Azure.ResourceManager.PlatformValidation.Models.ResourceProvisioningState> * string * seq<string> -> Azure.ResourceManager.PlatformValidation.Models.ValidationTestCategoryProperties
Public Shared Function ValidationTestCategoryProperties (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 parentCategoryId As String = Nothing, Optional owners As IEnumerable(Of String) = Nothing) As ValidationTestCategoryProperties

Parameters

displayName
String

Display name of the validation test category.

description
String

Validation test category description.

audience
Nullable<CatalogAudience>

Audience visibility of this validation test category.

provisioningState
Nullable<ResourceProvisioningState>

Provisioning state of the validation test category catalog resource.

parentCategoryId
String

Parent validation test category id. Categories form a two-level hierarchy only: a top-level category leaves this unset, and a sub-category sets this to its top-level parent's category id. Sub-categories cannot themselves have sub-categories, and a category must not reference itself as its own parent.

owners
IEnumerable<String>

Owners of the validation test category, 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.

Returns

A new ValidationTestCategoryProperties instance for mocking.

Applies to