StringParameter Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
String Type Parameter model.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ChangeSafety.Models.StringParameterTypeConverter))]
public class StringParameter : Microsoft.Azure.PowerShell.Cmdlets.ChangeSafety.Models.IStringParameter, Microsoft.Azure.PowerShell.Cmdlets.ChangeSafety.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ChangeSafety.Models.StringParameterTypeConverter))>]
type StringParameter = class
interface IStringParameter
interface IJsonSerializable
interface IParameter
interface IValidates
Public Class StringParameter
Implements IStringParameter, IValidates
- Inheritance
-
StringParameter
- Attributes
- Implements
Constructors
| Name | Description |
|---|---|
| StringParameter() |
Creates an new StringParameter instance. |
Properties
| Name | Description |
|---|---|
| AllowedValue |
Allowed list of the values for the parameter. |
| DefaultValue |
Default value for the parameter. |
| Metadata |
user-specified parameter metadata |
| Type |
Data type of the parameter. |
Methods
| Name | Description |
|---|---|
| DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of StringParameter. |
| DeserializeFromPSObject(PSObject) |
Deserializes a PSObject into an instance of StringParameter. |
| FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.ChangeSafety.Models.IStringParameter. |
| FromJsonString(String) |
Creates a new instance of StringParameter, deserializing the content from a json string. |
| ToJson(JsonObject, SerializationMode) |
Serializes this instance of StringParameter into a JsonNode. |
| ToJsonString() |
Serializes this instance to a json string. |
| ToString() | |
| Validate(IEventListener) |
Validates that this object meets the validation criteria. |