C# Class Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands.AzureApiManagementCmdletBase

Inheritance: AzureRMCmdlet
Show file Open project: Azure/azure-powershell

Protected Properties

Property Type Description
LongRunningOperationDefaultTimeout System.TimeSpan

Public Methods

Method Description
ExecuteApiManagementCmdlet ( ) : void
ExecuteCmdlet ( ) : void

Protected Methods

Method Description
ExecuteTenantConfigurationLongRunningCmdletWrap ( Func func, bool passThru = false ) : void
HandleException ( Exception ex ) : void
WaitForOperationToComplete ( TenantConfigurationLongRunningOperation longRunningOperation ) : TenantConfigurationLongRunningOperation

TODO: Revert to standard long running operation once /operationResults endpoint start returning 202 Code for not Completed Operation.

WriteProgress ( TenantConfigurationLongRunningOperation operation ) : void

Method Details

ExecuteApiManagementCmdlet() public abstract method

public abstract ExecuteApiManagementCmdlet ( ) : void
return void

ExecuteCmdlet() public method

public ExecuteCmdlet ( ) : void
return void

ExecuteTenantConfigurationLongRunningCmdletWrap() protected method

protected ExecuteTenantConfigurationLongRunningCmdletWrap ( Func func, bool passThru = false ) : void
func Func
passThru bool
return void

HandleException() protected method

protected HandleException ( Exception ex ) : void
ex System.Exception
return void

WaitForOperationToComplete() protected method

TODO: Revert to standard long running operation once /operationResults endpoint start returning 202 Code for not Completed Operation.
protected WaitForOperationToComplete ( TenantConfigurationLongRunningOperation longRunningOperation ) : TenantConfigurationLongRunningOperation
longRunningOperation TenantConfigurationLongRunningOperation
return TenantConfigurationLongRunningOperation

WriteProgress() protected method

protected WriteProgress ( TenantConfigurationLongRunningOperation operation ) : void
operation TenantConfigurationLongRunningOperation
return void

Property Details

LongRunningOperationDefaultTimeout protected static property

protected static TimeSpan,System LongRunningOperationDefaultTimeout
return System.TimeSpan