메소드 | 설명 | |
---|---|---|
AddRoleRuntime ( |
Add the specified runtime to a role, checking that the runtime and version are currently available int he cloud
|
|
AddWebRole ( string scaffolding, string name = null, int instanceCount = 1 ) : |
||
AddWorkerRole ( string scaffolding, string name = null, int instanceCount = 1 ) : |
||
ChangeRolePermissions ( |
||
ChangeServiceName ( string newName, |
||
CloudServiceProject ( ) : Common.System | ||
CloudServiceProject ( string cloudConfigurationFullPath ) : Common.System | ||
CloudServiceProject ( string rootPath, string scaffoldingPath ) : Common.System | ||
CloudServiceProject ( string rootPath, string name, string scaffoldingPath ) : Common.System | ||
GenerateScaffolding ( string scaffolding, string roleName, object>.Dictionary |
Generates scaffolding for role.
|
|
GetCloudRuntimes ( |
Retrieve currently available cloud runtimes
|
|
Reload ( ) : void |
Reloads the cloud service project configuration from the disk.
|
|
ResolveRuntimePackageUrls ( string manifest = null ) : string |
Resolves the service runtimes into downloadable URLs.
|
|
SetRoleInstances ( |
Sets the role instance count
|
|
SetRoleVMSize ( |
Sets the role VMSize
|
|
StartEmulators ( bool launchBrowser, ComputeEmulatorMode mode, string &roleInformation, string &warning ) : void |
Starts azure emulator for this service. This methods removes all deployments already in the emulator. |
|
StopEmulators ( string &warning ) : void |
메소드 | 설명 | |
---|---|---|
AddRoleCore ( string scaffolding, |
Adds the given role to both config files and the service def.
|
|
ConfigureNewService ( |
||
CreateDefaultParameters ( |
||
CreateNewService ( string serviceRootPath, string serviceName ) : void | ||
CreatePackage ( DevEnv type ) : void | ||
GetRoleName ( string name, string defaultName, IEnumerable |
Creates a role name, ensuring it doesn't already exist. If null is passed in, a number will be appended to the defaultRoleName.
|
|
SetScaffolding ( string scaffoldingFolderDirectory ) : void | ||
VerifyCloudServiceProjectComponents ( ) : void |
public AddRoleRuntime ( |
||
paths | service path info | |
roleName | string | Name of the role to change |
runtimeType | string | The runtime identifier |
runtimeVersion | string | The runtime version |
manifest | string | Location fo the manifest file, default is the cloud manifest |
리턴 | void |
public AddWebRole ( string scaffolding, string name = null, int instanceCount = 1 ) : |
||
scaffolding | string | |
name | string | |
instanceCount | int | |
리턴 |
public AddWorkerRole ( string scaffolding, string name = null, int instanceCount = 1 ) : |
||
scaffolding | string | |
name | string | |
instanceCount | int | |
리턴 |
public ChangeRolePermissions ( |
||
role | ||
리턴 | void |
public ChangeServiceName ( string newName, |
||
newName | string | |
paths | ||
리턴 | void |
public CloudServiceProject ( string cloudConfigurationFullPath ) : Common.System | ||
cloudConfigurationFullPath | string | |
리턴 | Common.System |
public CloudServiceProject ( string rootPath, string scaffoldingPath ) : Common.System | ||
rootPath | string | |
scaffoldingPath | string | |
리턴 | Common.System |
public CloudServiceProject ( string rootPath, string name, string scaffoldingPath ) : Common.System | ||
rootPath | string | |
name | string | |
scaffoldingPath | string | |
리턴 | Common.System |
public GenerateScaffolding ( string scaffolding, string roleName, object>.Dictionary |
||
scaffolding | string | The relative scaffolding source path |
roleName | string | The role name |
parameters | object>.Dictionary | The rule parameters |
리턴 | void |
public GetCloudRuntimes ( |
||
paths | service path info | |
manifest | string | The manifest to use to get current runtime info - default is the cloud manifest |
리턴 | CloudRuntimeCollection |
public ResolveRuntimePackageUrls ( string manifest = null ) : string | ||
manifest | string | The custom manifest file |
리턴 | string |
public SetRoleInstances ( |
||
paths | The service paths | |
roleName | string | The name of the role to change its instance count |
instances | int | |
리턴 | void |
public SetRoleVMSize ( |
||
paths | The service paths | |
roleName | string | The name of the role to change its vm size |
VMSize | string | The new role vm size |
리턴 | void |
public StartEmulators ( bool launchBrowser, ComputeEmulatorMode mode, string &roleInformation, string &warning ) : void | ||
launchBrowser | bool | Switch to control opening a browser for web roles. |
mode | ComputeEmulatorMode | |
roleInformation | string | |
warning | string | |
리턴 | void |