C# Class Microsoft.WindowsAzure.Commands.ServiceManagement.Extensions.BaseAzureServiceExtensionCmdlet

Inheritance: ServiceManagementBaseCmdlet
Datei anzeigen Open project: Azure/azure-powershell

Public Methods

Method Description
BaseAzureServiceExtensionCmdlet ( ) : Microsoft.Azure

Protected Methods

Method Description
ChangeDeployment ( ExtensionConfiguration extConfig ) : void
Deserialize ( string config, Type type ) : object
GetContext ( OperationStatusResponse op, ExtensionRole role, HostedServiceListExtensionsResponse ext ) : Microsoft.WindowsAzure.Commands.ServiceManagement.Extensions.ExtensionContext
GetDeployment ( string slot ) : DeploymentGetResponse
GetPeerDeployment ( string currentSlot ) : DeploymentGetResponse
GetPublicConfigValue ( HostedServiceListExtensionsResponse extension, string element ) : string
GetSecurePassword ( string password ) : SecureString
RemoveExtension ( ) : void
Serialize ( object config ) : string
SetPrivateConfigAttribute ( string element, string attribute, Object value ) : void
SetPrivateConfigValue ( string element, Object value ) : void
SetPublicConfigAttribute ( string element, string attribute, Object value ) : void
SetPublicConfigValue ( string element, Object value ) : void
ValidateConfiguration ( ) : void
ValidateDeployment ( ) : void
ValidateParameters ( ) : void
ValidateRoles ( ) : void
ValidateRoles ( string roles ) : void
ValidateService ( ) : void
ValidateThumbprint ( bool uploadCert ) : void

Private Methods

Method Description
GetConfigValue ( string xmlText, string element ) : string
SetConfigAttribute ( System.Xml.Linq.XDocument config, string element, string attribute, Object value ) : void
SetConfigValue ( System.Xml.Linq.XDocument config, string element, Object value ) : void

Method Details

BaseAzureServiceExtensionCmdlet() public method

public BaseAzureServiceExtensionCmdlet ( ) : Microsoft.Azure
return Microsoft.Azure

ChangeDeployment() protected method

protected ChangeDeployment ( ExtensionConfiguration extConfig ) : void
extConfig ExtensionConfiguration
return void

Deserialize() protected method

protected Deserialize ( string config, Type type ) : object
config string
type System.Type
return object

GetContext() protected method

protected GetContext ( OperationStatusResponse op, ExtensionRole role, HostedServiceListExtensionsResponse ext ) : Microsoft.WindowsAzure.Commands.ServiceManagement.Extensions.ExtensionContext
op OperationStatusResponse
role ExtensionRole
ext HostedServiceListExtensionsResponse
return Microsoft.WindowsAzure.Commands.ServiceManagement.Extensions.ExtensionContext

GetDeployment() protected method

protected GetDeployment ( string slot ) : DeploymentGetResponse
slot string
return DeploymentGetResponse

GetPeerDeployment() protected method

protected GetPeerDeployment ( string currentSlot ) : DeploymentGetResponse
currentSlot string
return DeploymentGetResponse

GetPublicConfigValue() protected method

protected GetPublicConfigValue ( HostedServiceListExtensionsResponse extension, string element ) : string
extension HostedServiceListExtensionsResponse
element string
return string

GetSecurePassword() protected method

protected GetSecurePassword ( string password ) : SecureString
password string
return SecureString

RemoveExtension() protected method

protected RemoveExtension ( ) : void
return void

Serialize() protected method

protected Serialize ( object config ) : string
config object
return string

SetPrivateConfigAttribute() protected method

protected SetPrivateConfigAttribute ( string element, string attribute, Object value ) : void
element string
attribute string
value Object
return void

SetPrivateConfigValue() protected method

protected SetPrivateConfigValue ( string element, Object value ) : void
element string
value Object
return void

SetPublicConfigAttribute() protected method

protected SetPublicConfigAttribute ( string element, string attribute, Object value ) : void
element string
attribute string
value Object
return void

SetPublicConfigValue() protected method

protected SetPublicConfigValue ( string element, Object value ) : void
element string
value Object
return void

ValidateConfiguration() protected method

protected ValidateConfiguration ( ) : void
return void

ValidateDeployment() protected method

protected ValidateDeployment ( ) : void
return void

ValidateParameters() protected method

protected ValidateParameters ( ) : void
return void

ValidateRoles() protected method

protected ValidateRoles ( ) : void
return void

ValidateRoles() protected method

protected ValidateRoles ( string roles ) : void
roles string
return void

ValidateService() protected method

protected ValidateService ( ) : void
return void

ValidateThumbprint() protected method

protected ValidateThumbprint ( bool uploadCert ) : void
uploadCert bool
return void