C# Class Microsoft.WindowsAzure.Commands.Utilities.CloudService.CloudRuntime

Afficher le fichier Open project: AzureRT/azure-sdk-tools Class Usage Examples

Méthodes publiques

Méthode Description
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

Méthodes protégées

Méthode Description
ApplyScaffoldingChanges ( CloudRuntimePackage package ) : void
CloudRuntime ( ) : AzureTools
Configure ( string>.Dictionary environment ) : void
GenerateWarningText ( CloudRuntimePackage package ) : string
GetChanges ( CloudRuntimePackage package, string>.Dictionary &changes ) : bool

Private Methods

Méthode Description
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

Method Details

ApplyRuntime() public méthode

public ApplyRuntime ( CloudRuntimePackage package, WebRole webRole ) : void
package CloudRuntimePackage
webRole Microsoft.WindowsAzure.Commands.Utilities.Common.XmlSchema.ServiceDefinitionSchema.WebRole
Résultat void

ApplyRuntime() public méthode

public ApplyRuntime ( CloudRuntimePackage package, WorkerRole workerRole ) : void
package CloudRuntimePackage
workerRole Microsoft.WindowsAzure.Commands.Utilities.Common.XmlSchema.ServiceDefinitionSchema.WorkerRole
Résultat void

ApplyScaffoldingChanges() protected méthode

protected ApplyScaffoldingChanges ( CloudRuntimePackage package ) : void
package CloudRuntimePackage
Résultat void

ClearRuntime() public static méthode

public static ClearRuntime ( WebRole role ) : void
role Microsoft.WindowsAzure.Commands.Utilities.Common.XmlSchema.ServiceDefinitionSchema.WebRole
Résultat void

ClearRuntime() public static méthode

public static ClearRuntime ( WorkerRole role ) : void
role Microsoft.WindowsAzure.Commands.Utilities.Common.XmlSchema.ServiceDefinitionSchema.WorkerRole
Résultat void

CloudRuntime() protected méthode

protected CloudRuntime ( ) : AzureTools
Résultat AzureTools

Configure() protected abstract méthode

protected abstract Configure ( string>.Dictionary environment ) : void
environment string>.Dictionary
Résultat void

CreateCloudRuntime() public static méthode

public static CreateCloudRuntime ( string runtimeType, string runtimeVersion, string roleName, string rolePath ) : CloudRuntime
runtimeType string
runtimeVersion string
roleName string
rolePath string
Résultat CloudRuntime

CreateRuntime() public static méthode

public static CreateRuntime ( WebRole webRole, string rolePath ) : Collection
webRole Microsoft.WindowsAzure.Commands.Utilities.Common.XmlSchema.ServiceDefinitionSchema.WebRole
rolePath string
Résultat Collection

CreateRuntime() public static méthode

public static CreateRuntime ( WorkerRole workerRole, string rolePath ) : Collection
workerRole Microsoft.WindowsAzure.Commands.Utilities.Common.XmlSchema.ServiceDefinitionSchema.WorkerRole
rolePath string
Résultat Collection

GenerateWarningText() protected abstract méthode

protected abstract GenerateWarningText ( CloudRuntimePackage package ) : string
package CloudRuntimePackage
Résultat string

GetChanges() protected méthode

protected GetChanges ( CloudRuntimePackage package, string>.Dictionary &changes ) : bool
package CloudRuntimePackage
changes string>.Dictionary
Résultat bool

GetRuntimeByType() public static méthode

public static GetRuntimeByType ( string runtimeType ) : RuntimeType
runtimeType string
Résultat System.RuntimeType

GetRuntimeStartupTask() public static méthode

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
Résultat Microsoft.WindowsAzure.Commands.Utilities.Common.XmlSchema.ServiceDefinitionSchema.Task

Match() public abstract méthode

public abstract Match ( CloudRuntimePackage runtime ) : bool
runtime CloudRuntimePackage
Résultat bool

ValidateMatch() public méthode

public ValidateMatch ( CloudRuntimePackage runtime, string &warningText ) : bool
runtime CloudRuntimePackage
warningText string
Résultat bool