C# Class Microsoft.Azure.Commands.Resources.GetAzureProviderOperationCommand

Inheritance: ResourcesBaseCmdlet
Show file Open project: Azure/azure-powershell Class Usage Examples

Private Properties

Property Type Description
GetNonWildcardPrefix string
GetPSOperationsFromProviderOperationsMetadata IEnumerable
GetResourceProviderFullName string
IsUserOperation bool
ProcessProviderOperationsWithWildCard List
ProcessProviderOperationsWithoutWildCard List
ToPSResourceProviderOperation Microsoft.Azure.Commands.Resources.Models.PSResourceProviderOperation
ValidateActionSearchString void

Public Methods

Method Description
ExecuteCmdlet ( ) : void

Executes the cmdlet

Private Methods

Method Description
GetNonWildcardPrefix ( string actionString ) : string

Extracts the portion of the actionstring before the first wildcard character (*)

GetPSOperationsFromProviderOperationsMetadata ( Microsoft.Azure.Management.Resources.Models.ProviderOperationsMetadata providerOperationsMetadata ) : IEnumerable
GetResourceProviderFullName ( string nonWildCardPrefix ) : string

Extracts the resource provider's full name - i.e portion of the non-wildcard prefix before the '/' Returns null if the nonWildCardPrefix does not contain a '/'

IsUserOperation ( Operation operation ) : bool
ProcessProviderOperationsWithWildCard ( string actionSearchString ) : List

Get a list of Provider operations in the case that the Actionstring input contains a wildcard

ProcessProviderOperationsWithoutWildCard ( string operationString ) : List

Gets a list of Provider operations in the case that the Actionstring input does not contain a wildcard

ToPSResourceProviderOperation ( Operation operation, string provider, string resource = null ) : Microsoft.Azure.Commands.Resources.Models.PSResourceProviderOperation
ValidateActionSearchString ( string actionSearchString ) : void

Method Details

ExecuteCmdlet() public method

Executes the cmdlet
public ExecuteCmdlet ( ) : void
return void