메소드 | 설명 | |
---|---|---|
AddTestCertificate ( |
Adds a test certificate for use in Scenario tests. Returns the thumbprint of the cert.
|
|
CleanupTestAccount ( |
Cleans up an account and resource group used in a Scenario test.
|
|
CreateApplicationPackage ( |
Uploads an application package to Storage
|
|
CreateComputeNodeUser ( |
Creates a compute node user for use in Scenario tests.
|
|
CreateMpiPoolIfNotExists ( |
Creates an MPI pool.
|
|
CreateTestAccountAndResourceGroup ( |
Creates an account and resource group for use with the Scenario tests
|
|
CreateTestJob ( |
Creates a test job for use in Scenario tests.
|
|
CreateTestJobSchedule ( |
Creates a test job schedule for use in Scenario tests.
|
|
CreateTestPool ( |
Creates a test pool for use in Scenario tests.
|
|
CreateTestTask ( |
Creates a test task for use in Scenario tests.
|
|
DeleteApplication ( BatchController controller, BatchAccountContext context, string applicationId ) : void |
Deletes an application used in a Scenario test.
|
|
DeleteApplicationPackage ( BatchController controller, BatchAccountContext context, string applicationId, string version ) : void |
Deletes an application package used in a Scenario test.
|
|
DeleteComputeNodeUser ( BatchController controller, BatchAccountContext context, string poolId, string computeNodeId, string computeNodeUserName ) : void |
Deletes a compute node user for use in Scenario tests.
|
|
DeleteJob ( BatchController controller, BatchAccountContext context, string jobId ) : void |
Deletes a job used in a Scenario test.
|
|
DeleteJobSchedule ( BatchController controller, BatchAccountContext context, string jobScheduleId ) : void |
Deletes a job schedule used in a Scenario test.
|
|
DeletePool ( BatchController controller, BatchAccountContext context, string poolId ) : void |
Deletes a pool used in a Scenario test.
|
|
DeleteTestCertificate ( BatchController controller, BatchAccountContext context, string thumbprintAlgorithm, string thumbprint ) : void |
Deletes a certificate.
|
|
DisableAutoScale ( BatchController controller, BatchAccountContext context, string poolId ) : void | ||
EnableAutoScale ( BatchController controller, BatchAccountContext context, string poolId ) : void | ||
GetComputeNodeId ( BatchController controller, BatchAccountContext context, string poolId, int index ) : string |
Gets the id of a compute node in the specified pool
|
|
GetPoolCount ( BatchController controller, BatchAccountContext context ) : int |
Gets the number of pools under the specified account
|
|
GetPoolCurrentDedicated ( BatchController controller, BatchAccountContext context, string poolId ) : int |
Gets the CurrentDedicated count from a pool
|
|
GetTaskComputeNodeId ( BatchController controller, BatchAccountContext context, string jobId, string taskId ) : string |
Gets the id of the compute node that the specified task completed on. Returns null if the task isn't complete.
|
|
ResizePool ( BatchController controller, BatchAccountContext context, string poolId, int targetDedicated ) : void | ||
TerminateJob ( BatchController controller, BatchAccountContext context, string jobId ) : void |
Terminates a job
|
|
WaitForCertificateToFailDeletion ( BatchController controller, BatchAccountContext context, string thumbprintAlgorithm, string thumbprint ) : void |
Deletes a certificate.
|
|
WaitForIdleComputeNode ( BatchController controller, BatchAccountContext context, string poolId, string computeNodeId ) : void |
Waits for a compute node to get to the idle state
|
|
WaitForJobCompletion ( BatchController controller, BatchAccountContext context, string jobId, string taskId ) : PSCloudJob |
Waits for the job to complete
|
|
WaitForOSVersionChange ( BatchController controller, BatchAccountContext context, string poolId ) : string | ||
WaitForRecentJob ( BatchController controller, BatchAccountContext context, string jobScheduleId, string previousJob = null ) : string |
Waits for a recent job on a job schedule and returns its id. If a previous job is specified, this method waits until a new job is created.
|
|
WaitForSteadyPoolAllocation ( BatchController controller, BatchAccountContext context, string poolId ) : void | ||
WaitForTaskCompletion ( BatchController controller, BatchAccountContext context, string jobId, string taskId ) : void |
Waits for the specified task to complete
|
메소드 | 설명 | |
---|---|---|
Sleep ( int milliseconds ) : void |
Sleep method used for Scenario Tests. Only sleep when recording.
|
public static AddTestCertificate ( |
||
controller | ||
context | BatchAccountContext | |
filePath | string | |
리턴 | string |
public static CleanupTestAccount ( |
||
controller | ||
resourceGroupName | string | |
accountName | string | |
리턴 | void |
public static CreateApplicationPackage ( |
||
controller | ||
context | BatchAccountContext | |
applicationId | string | |
version | string | |
filePath | string | |
리턴 | Microsoft.Azure.Management.Batch.Models.ApplicationPackage |
public static CreateComputeNodeUser ( |
||
controller | ||
context | BatchAccountContext | |
poolId | string | |
computeNodeId | string | |
computeNodeUserName | string | |
리턴 | void |
public static CreateMpiPoolIfNotExists ( |
||
controller | ||
context | BatchAccountContext | |
targetDedicated | int | |
리턴 | void |
public static CreateTestAccountAndResourceGroup ( |
||
controller | ||
resourceGroupName | string | |
accountName | string | |
location | string | |
리턴 | BatchAccountContext |
public static CreateTestJob ( |
||
controller | ||
context | BatchAccountContext | |
jobId | string | |
poolId | string | |
리턴 | void |
public static CreateTestJobSchedule ( |
||
controller | ||
context | BatchAccountContext | |
jobScheduleId | string | |
recurrenceInterval | System.TimeSpan | |
리턴 | void |
public static CreateTestPool ( |
||
controller | ||
context | BatchAccountContext | |
poolId | string | |
targetDedicated | int | |
certReference | CertificateReference | |
startTask | StartTask | |
리턴 | void |
public static CreateTestTask ( |
||
controller | ||
context | BatchAccountContext | |
jobId | string | |
taskId | string | |
cmdLine | string | |
numInstances | int | |
리턴 | void |
public static DeleteApplication ( BatchController controller, BatchAccountContext context, string applicationId ) : void | ||
controller | BatchController | |
context | BatchAccountContext | |
applicationId | string | |
리턴 | void |
public static DeleteApplicationPackage ( BatchController controller, BatchAccountContext context, string applicationId, string version ) : void | ||
controller | BatchController | |
context | BatchAccountContext | |
applicationId | string | |
version | string | |
리턴 | void |
public static DeleteComputeNodeUser ( BatchController controller, BatchAccountContext context, string poolId, string computeNodeId, string computeNodeUserName ) : void | ||
controller | BatchController | |
context | BatchAccountContext | |
poolId | string | |
computeNodeId | string | |
computeNodeUserName | string | |
리턴 | void |
public static DeleteJob ( BatchController controller, BatchAccountContext context, string jobId ) : void | ||
controller | BatchController | |
context | BatchAccountContext | |
jobId | string | |
리턴 | void |
public static DeleteJobSchedule ( BatchController controller, BatchAccountContext context, string jobScheduleId ) : void | ||
controller | BatchController | |
context | BatchAccountContext | |
jobScheduleId | string | |
리턴 | void |
public static DeletePool ( BatchController controller, BatchAccountContext context, string poolId ) : void | ||
controller | BatchController | |
context | BatchAccountContext | |
poolId | string | |
리턴 | void |
public static DeleteTestCertificate ( BatchController controller, BatchAccountContext context, string thumbprintAlgorithm, string thumbprint ) : void | ||
controller | BatchController | |
context | BatchAccountContext | |
thumbprintAlgorithm | string | |
thumbprint | string | |
리턴 | void |
public static DisableAutoScale ( BatchController controller, BatchAccountContext context, string poolId ) : void | ||
controller | BatchController | |
context | BatchAccountContext | |
poolId | string | |
리턴 | void |
public static EnableAutoScale ( BatchController controller, BatchAccountContext context, string poolId ) : void | ||
controller | BatchController | |
context | BatchAccountContext | |
poolId | string | |
리턴 | void |
public static GetComputeNodeId ( BatchController controller, BatchAccountContext context, string poolId, int index ) : string | ||
controller | BatchController | |
context | BatchAccountContext | |
poolId | string | |
index | int | |
리턴 | string |
public static GetPoolCount ( BatchController controller, BatchAccountContext context ) : int | ||
controller | BatchController | |
context | BatchAccountContext | |
리턴 | int |
public static GetPoolCurrentDedicated ( BatchController controller, BatchAccountContext context, string poolId ) : int | ||
controller | BatchController | |
context | BatchAccountContext | |
poolId | string | |
리턴 | int |
public static GetTaskComputeNodeId ( BatchController controller, BatchAccountContext context, string jobId, string taskId ) : string | ||
controller | BatchController | |
context | BatchAccountContext | |
jobId | string | |
taskId | string | |
리턴 | string |
public static ResizePool ( BatchController controller, BatchAccountContext context, string poolId, int targetDedicated ) : void | ||
controller | BatchController | |
context | BatchAccountContext | |
poolId | string | |
targetDedicated | int | |
리턴 | void |
public static TerminateJob ( BatchController controller, BatchAccountContext context, string jobId ) : void | ||
controller | BatchController | |
context | BatchAccountContext | |
jobId | string | |
리턴 | void |
public static WaitForCertificateToFailDeletion ( BatchController controller, BatchAccountContext context, string thumbprintAlgorithm, string thumbprint ) : void | ||
controller | BatchController | |
context | BatchAccountContext | |
thumbprintAlgorithm | string | |
thumbprint | string | |
리턴 | void |
public static WaitForIdleComputeNode ( BatchController controller, BatchAccountContext context, string poolId, string computeNodeId ) : void | ||
controller | BatchController | |
context | BatchAccountContext | |
poolId | string | |
computeNodeId | string | |
리턴 | void |
public static WaitForJobCompletion ( BatchController controller, BatchAccountContext context, string jobId, string taskId ) : PSCloudJob | ||
controller | BatchController | |
context | BatchAccountContext | |
jobId | string | |
taskId | string | |
리턴 | PSCloudJob |
public static WaitForOSVersionChange ( BatchController controller, BatchAccountContext context, string poolId ) : string | ||
controller | BatchController | |
context | BatchAccountContext | |
poolId | string | |
리턴 | string |
public static WaitForRecentJob ( BatchController controller, BatchAccountContext context, string jobScheduleId, string previousJob = null ) : string | ||
controller | BatchController | |
context | BatchAccountContext | |
jobScheduleId | string | |
previousJob | string | |
리턴 | string |
public static WaitForSteadyPoolAllocation ( BatchController controller, BatchAccountContext context, string poolId ) : void | ||
controller | BatchController | |
context | BatchAccountContext | |
poolId | string | |
리턴 | void |
public static WaitForTaskCompletion ( BatchController controller, BatchAccountContext context, string jobId, string taskId ) : void | ||
controller | BatchController | |
context | BatchAccountContext | |
jobId | string | |
taskId | string | |
리턴 | void |