C# Класс Microsoft.WindowsAzure.Commands.Utilities.CloudService.CloudRuntime

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
ApplyRuntime ( CloudRuntimePackage package, WebRole webRole ) : void
ApplyRuntime ( CloudRuntimePackage package, WorkerRole workerRole ) : void
ClearRuntime ( WebRole role ) : void
ClearRuntime ( WorkerRole role ) : void
CreateCloudRuntime ( string runtimeType, string runtimeVersion, string roleName, string rolePath ) : CloudRuntime
CreateRuntime ( WebRole webRole, string rolePath ) : Collection
CreateRuntime ( WorkerRole workerRole, string rolePath ) : Collection
GetRuntimeByType ( string runtimeType ) : RuntimeType
GetRuntimeStartupTask ( Startup roleStartup ) : Task

Gets the runtime startup task regardless of its order in the startup tasks.

Match ( CloudRuntimePackage runtime ) : bool
ValidateMatch ( CloudRuntimePackage runtime, string &warningText ) : bool

Защищенные методы

Метод Описание
ApplyScaffoldingChanges ( CloudRuntimePackage package ) : void
CloudRuntime ( ) : AzureTools
Configure ( string>.Dictionary environment ) : void
GenerateWarningText ( CloudRuntimePackage package ) : string
GetChanges ( CloudRuntimePackage package, string>.Dictionary &changes ) : bool

Приватные методы

Метод Описание
ApplyRoleXmlChanges ( string>.Dictionary changes, WebRole webRole ) : void
ApplyRoleXmlChanges ( string>.Dictionary changes, WorkerRole workerRole ) : void
ApplySettingChanges ( string>.Dictionary settings, Variable roleVariables ) : Microsoft.WindowsAzure.Commands.Utilities.Common.XmlSchema.ServiceDefinitionSchema.Variable[]
ClearEnvironmentValue ( Variable environment, string key ) : void
CreateRuntimeInternal ( RuntimeType runtimeType, string roleName, string rolePath ) : CloudRuntime
GetRuntimeTypes ( string>.Dictionary environmentSettings ) : Collection
GetRuntimes ( string>.Dictionary settings, string roleName, string rolePath ) : Collection
GetStartupEnvironment ( WebRole webRole ) : string>.Dictionary
GetStartupEnvironment ( WorkerRole workerRole ) : string>.Dictionary
SetVariableValue ( Variable inVariable, string addedValue ) : void

Set the variable value given a new value. Replace or add the value to the variable, as appropriate

ShouldMerge ( Variable variableToCheck ) : bool

Determine if this is a variable that should be set directly or should be merged with the new value

Описание методов

ApplyRuntime() публичный Метод

public ApplyRuntime ( CloudRuntimePackage package, WebRole webRole ) : void
package CloudRuntimePackage
webRole Microsoft.WindowsAzure.Commands.Utilities.Common.XmlSchema.ServiceDefinitionSchema.WebRole
Результат void

ApplyRuntime() публичный Метод

public ApplyRuntime ( CloudRuntimePackage package, WorkerRole workerRole ) : void
package CloudRuntimePackage
workerRole Microsoft.WindowsAzure.Commands.Utilities.Common.XmlSchema.ServiceDefinitionSchema.WorkerRole
Результат void

ApplyScaffoldingChanges() защищенный Метод

protected ApplyScaffoldingChanges ( CloudRuntimePackage package ) : void
package CloudRuntimePackage
Результат void

ClearRuntime() публичный статический Метод

public static ClearRuntime ( WebRole role ) : void
role Microsoft.WindowsAzure.Commands.Utilities.Common.XmlSchema.ServiceDefinitionSchema.WebRole
Результат void

ClearRuntime() публичный статический Метод

public static ClearRuntime ( WorkerRole role ) : void
role Microsoft.WindowsAzure.Commands.Utilities.Common.XmlSchema.ServiceDefinitionSchema.WorkerRole
Результат void

CloudRuntime() защищенный Метод

protected CloudRuntime ( ) : AzureTools
Результат AzureTools

Configure() защищенный абстрактный Метод

protected abstract Configure ( string>.Dictionary environment ) : void
environment string>.Dictionary
Результат void

CreateCloudRuntime() публичный статический Метод

public static CreateCloudRuntime ( string runtimeType, string runtimeVersion, string roleName, string rolePath ) : CloudRuntime
runtimeType string
runtimeVersion string
roleName string
rolePath string
Результат CloudRuntime

CreateRuntime() публичный статический Метод

public static CreateRuntime ( WebRole webRole, string rolePath ) : Collection
webRole Microsoft.WindowsAzure.Commands.Utilities.Common.XmlSchema.ServiceDefinitionSchema.WebRole
rolePath string
Результат Collection

CreateRuntime() публичный статический Метод

public static CreateRuntime ( WorkerRole workerRole, string rolePath ) : Collection
workerRole Microsoft.WindowsAzure.Commands.Utilities.Common.XmlSchema.ServiceDefinitionSchema.WorkerRole
rolePath string
Результат Collection

GenerateWarningText() защищенный абстрактный Метод

protected abstract GenerateWarningText ( CloudRuntimePackage package ) : string
package CloudRuntimePackage
Результат string

GetChanges() защищенный Метод

protected GetChanges ( CloudRuntimePackage package, string>.Dictionary &changes ) : bool
package CloudRuntimePackage
changes string>.Dictionary
Результат bool

GetRuntimeByType() публичный статический Метод

public static GetRuntimeByType ( string runtimeType ) : RuntimeType
runtimeType string
Результат System.RuntimeType

GetRuntimeStartupTask() публичный статический Метод

Gets the runtime startup task regardless of its order in the startup tasks.
public static GetRuntimeStartupTask ( Startup roleStartup ) : Task
roleStartup Microsoft.WindowsAzure.Commands.Utilities.Common.XmlSchema.ServiceDefinitionSchema.Startup The role startup tasks
Результат Microsoft.WindowsAzure.Commands.Utilities.Common.XmlSchema.ServiceDefinitionSchema.Task

Match() публичный абстрактный Метод

public abstract Match ( CloudRuntimePackage runtime ) : bool
runtime CloudRuntimePackage
Результат bool

ValidateMatch() публичный Метод

public ValidateMatch ( CloudRuntimePackage runtime, string &warningText ) : bool
runtime CloudRuntimePackage
warningText string
Результат bool