C# Класс Microsoft.WindowsAzure.Commands.Utilities.Scheduler.SchedulerMgmntClient

Показать файл Открыть проект

Private Properties

Свойство Тип Описание
GetEndTime string
GetHistoryDetails Microsoft.WindowsAzure.Commands.Utilities.Scheduler.Model.PSJobHistoryDetail
GetSchedulerJobCollection List
GetSchedulerJobs List
PopulateErrorAction Microsoft.WindowsAzure.Scheduler.Models.JobErrorAction
PopulateExistingJobParams Microsoft.WindowsAzure.Scheduler.Models.JobCreateOrUpdateParameters
SetHttpAuthentication Microsoft.WindowsAzure.Scheduler.Models.HttpAuthentication
SetRecurrenceSchedule Microsoft.WindowsAzure.Scheduler.Models.JobRecurrenceSchedule

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

Метод Описание
CreateHttpJob ( Microsoft.WindowsAzure.Commands.Utilities.Scheduler.Model.PSCreateJobParams jobRequest, string &status ) : Microsoft.WindowsAzure.Commands.Utilities.Scheduler.Model.PSJobDetail

Creates a new Http Scheduler job

CreateStorageJob ( Microsoft.WindowsAzure.Commands.Utilities.Scheduler.Model.PSCreateJobParams jobRequest, string &status ) : Microsoft.WindowsAzure.Commands.Utilities.Scheduler.Model.PSJobDetail

Creates a Storage Queue Scheduler job

DeleteJob ( string jobCollection, string jobName, string region = "" ) : bool
DeleteJobCollection ( string jobCollection, string region = "" ) : bool
GetAvailableRegions ( ) : List
GetJob ( string region, string jobCollection, string job = "", string state = "" ) : List
GetJobCollection ( string region = "", string jobCollection = "" ) : List
GetJobDetail ( string jobCollection, string job, string cloudService ) : Microsoft.WindowsAzure.Commands.Utilities.Scheduler.Model.PSJobDetail
GetJobHistory ( string jobCollection, string job, string region, string jobStatus = "" ) : List
PatchHttpJob ( Microsoft.WindowsAzure.Commands.Utilities.Scheduler.Model.PSCreateJobParams jobRequest, string &status ) : Microsoft.WindowsAzure.Commands.Utilities.Scheduler.Model.PSJobDetail

Updates given Http Scheduler job

PatchStorageJob ( Microsoft.WindowsAzure.Commands.Utilities.Scheduler.Model.PSCreateJobParams jobRequest, string &status ) : Microsoft.WindowsAzure.Commands.Utilities.Scheduler.Model.PSJobDetail

Updates given Storage Queue Scheduler job

SchedulerMgmntClient ( AzureSMProfile profile, AzureSubscription subscription ) : System

Creates new Scheduler Management Convenience Client

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

Метод Описание
GetEndTime ( Microsoft.WindowsAzure.Scheduler.Models.Job job ) : string
GetHistoryDetails ( string message ) : Microsoft.WindowsAzure.Commands.Utilities.Scheduler.Model.PSJobHistoryDetail
GetSchedulerJobCollection ( CloudServiceListResponse cloudService, string jobCollection ) : List
GetSchedulerJobs ( string cloudService, string jobCollection ) : List
PopulateErrorAction ( Microsoft.WindowsAzure.Commands.Utilities.Scheduler.Model.PSCreateJobParams jobRequest ) : Microsoft.WindowsAzure.Scheduler.Models.JobErrorAction

Populates ErrorAction values from the request

PopulateExistingJobParams ( Microsoft.WindowsAzure.Scheduler.Models.Job job, Microsoft.WindowsAzure.Commands.Utilities.Scheduler.Model.PSCreateJobParams jobRequest, JobActionType type ) : Microsoft.WindowsAzure.Scheduler.Models.JobCreateOrUpdateParameters

If a scheduler job already exists, this will merge the existing job config values with the request

SetHttpAuthentication ( Microsoft.WindowsAzure.Commands.Utilities.Scheduler.Model.PSCreateJobParams jobRequest, Microsoft.WindowsAzure.Scheduler.Models.JobCreateOrUpdateParameters jobUpdateParams ) : Microsoft.WindowsAzure.Scheduler.Models.HttpAuthentication
SetRecurrenceSchedule ( Microsoft.WindowsAzure.Scheduler.Models.JobRecurrenceSchedule jobRecurrenceSchedule ) : Microsoft.WindowsAzure.Scheduler.Models.JobRecurrenceSchedule

Existing bug in SDK where recurrence counts are set to 0 instead of null

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

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

Creates a new Http Scheduler job
public CreateHttpJob ( Microsoft.WindowsAzure.Commands.Utilities.Scheduler.Model.PSCreateJobParams jobRequest, string &status ) : Microsoft.WindowsAzure.Commands.Utilities.Scheduler.Model.PSJobDetail
jobRequest Microsoft.WindowsAzure.Commands.Utilities.Scheduler.Model.PSCreateJobParams Request values
status string Status of create action
Результат Microsoft.WindowsAzure.Commands.Utilities.Scheduler.Model.PSJobDetail

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

Creates a Storage Queue Scheduler job
public CreateStorageJob ( Microsoft.WindowsAzure.Commands.Utilities.Scheduler.Model.PSCreateJobParams jobRequest, string &status ) : Microsoft.WindowsAzure.Commands.Utilities.Scheduler.Model.PSJobDetail
jobRequest Microsoft.WindowsAzure.Commands.Utilities.Scheduler.Model.PSCreateJobParams Request values
status string Status of create action
Результат Microsoft.WindowsAzure.Commands.Utilities.Scheduler.Model.PSJobDetail

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

public DeleteJob ( string jobCollection, string jobName, string region = "" ) : bool
jobCollection string
jobName string
region string
Результат bool

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

public DeleteJobCollection ( string jobCollection, string region = "" ) : bool
jobCollection string
region string
Результат bool

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

public GetAvailableRegions ( ) : List
Результат List

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

public GetJob ( string region, string jobCollection, string job = "", string state = "" ) : List
region string
jobCollection string
job string
state string
Результат List

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

public GetJobCollection ( string region = "", string jobCollection = "" ) : List
region string
jobCollection string
Результат List

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

public GetJobDetail ( string jobCollection, string job, string cloudService ) : Microsoft.WindowsAzure.Commands.Utilities.Scheduler.Model.PSJobDetail
jobCollection string
job string
cloudService string
Результат Microsoft.WindowsAzure.Commands.Utilities.Scheduler.Model.PSJobDetail

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

public GetJobHistory ( string jobCollection, string job, string region, string jobStatus = "" ) : List
jobCollection string
job string
region string
jobStatus string
Результат List

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

Updates given Http Scheduler job
public PatchHttpJob ( Microsoft.WindowsAzure.Commands.Utilities.Scheduler.Model.PSCreateJobParams jobRequest, string &status ) : Microsoft.WindowsAzure.Commands.Utilities.Scheduler.Model.PSJobDetail
jobRequest Microsoft.WindowsAzure.Commands.Utilities.Scheduler.Model.PSCreateJobParams Request values
status string Status of uodate operation
Результат Microsoft.WindowsAzure.Commands.Utilities.Scheduler.Model.PSJobDetail

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

Updates given Storage Queue Scheduler job
public PatchStorageJob ( Microsoft.WindowsAzure.Commands.Utilities.Scheduler.Model.PSCreateJobParams jobRequest, string &status ) : Microsoft.WindowsAzure.Commands.Utilities.Scheduler.Model.PSJobDetail
jobRequest Microsoft.WindowsAzure.Commands.Utilities.Scheduler.Model.PSCreateJobParams Request values
status string Status of uodate operation
Результат Microsoft.WindowsAzure.Commands.Utilities.Scheduler.Model.PSJobDetail

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

Creates new Scheduler Management Convenience Client
public SchedulerMgmntClient ( AzureSMProfile profile, AzureSubscription subscription ) : System
profile AzureSMProfile
subscription AzureSubscription Subscription containing websites to manipulate
Результат System