Partager via


EnvironmentCompleterAttribute Class

Definition

This attribute will allow the user to autocomplete the values for valid Azure Environment names when applied to Environment related cmdlet parameters.

public class EnvironmentCompleterAttribute : System.Management.Automation.ArgumentCompleterAttribute, System.Management.Automation.IArgumentCompleter
type EnvironmentCompleterAttribute = class
    inherit ArgumentCompleterAttribute
    interface IArgumentCompleter
Public Class EnvironmentCompleterAttribute
Inherits ArgumentCompleterAttribute
Implements IArgumentCompleter
Inheritance
EnvironmentCompleterAttribute
Implements

Constructors

EnvironmentCompleterAttribute()

Initializes a new instance of EnvironmentCompleterAttribute .

Methods

CompleteArgument(String, String, String, CommandAst, IDictionary)

Implementations CompleteArgument function of the IArgumentCompleter.

GetEnvironments()

Returns an array of available Azure Environment names.

Applies to