共用方式為


EnvironmentDefinitionParameter Class

Definition

Properties of an Environment Definition parameter.

public class EnvironmentDefinitionParameter : System.ClientModel.Primitives.IJsonModel<Azure.Developer.DevCenter.Models.EnvironmentDefinitionParameter>, System.ClientModel.Primitives.IPersistableModel<Azure.Developer.DevCenter.Models.EnvironmentDefinitionParameter>
type EnvironmentDefinitionParameter = class
    interface IJsonModel<EnvironmentDefinitionParameter>
    interface IPersistableModel<EnvironmentDefinitionParameter>
Public Class EnvironmentDefinitionParameter
Implements IJsonModel(Of EnvironmentDefinitionParameter), IPersistableModel(Of EnvironmentDefinitionParameter)
Inheritance
EnvironmentDefinitionParameter
Implements

Properties

Allowed

An array of allowed values.

DefaultValue

Default value of the parameter.

Description

Description of the parameter.

Id

Unique ID of the parameter.

Name

Display name of the parameter.

ParameterType

A string of one of the basic JSON types (number, integer, array, object, boolean, string)

ReadOnly

Whether or not this parameter is read-only. If true, default should have a value.

Required

Whether or not this parameter is required.

Explicit Interface Implementations

IJsonModel<EnvironmentDefinitionParameter>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<EnvironmentDefinitionParameter>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<EnvironmentDefinitionParameter>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<EnvironmentDefinitionParameter>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<EnvironmentDefinitionParameter>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to