The SMS_AzureServicesTask Windows Management Instrumentation (WMI) class is an SMS Provider server class, in Configuration Manager, that represents an Windows Azure specific operation which can be performed on the specified Windows Azure Service. This can be used to initiate an operation as well as monitor the results of the operation.

The following syntax is simplified from Managed Object Format (MOF) code and includes all inherited properties.

Class SMS_AzureServicesTask : SMS_BaseClass
{
	UInt32 AzureServiceId;
	String SiteCode;
	DateTime TaskCreationTime;
	DateTime TaskEndTime;
	UInt32 TaskID;
	String TaskKeyValue;
	UInt32 TaskStateId;
	UInt32 TaskTypeId;
	UInt32 Type;
};

Methods

The SMS_AzureServicesTask class does not define any methods.

Properties

AzureServiceId

Data type: UInt32Access type: Read/Write Qualifiers: noneThe service identifier key for the SMS_AzureService instance on which the current task will be performed.
SiteCode

Data type: StringAccess type: Read/Write Qualifiers: noneSite code of the site that owns the task.
TaskCreationTime

Data type: DateTimeAccess type: Read/Write Qualifiers: noneTime the task was created.
TaskEndTime

Data type: DateTimeAccess type: Read/Write Qualifiers: noneTime the task ended.
TaskID

Data type: UInt32Access type: Read/Write Qualifiers: [key, not_null]Identifier of the Windows Azure Service task.
TaskKeyValue

Data type: StringAccess type: Read/Write Qualifiers: noneInput for the task - if required. This value is not needed for CreateDeployment, UpgradeDeployment, DeleteDeployment, StopDeployment or StartDeployment and any value will be ignored.
TaskStateId

Data type: UInt32Access type: Read/Write Qualifiers: [values]Identifier of the current task state. Possible values are:

1

Created

2

In Progress

3

Completed

4

Failed

TaskTypeId

Data type: UInt32Access type: Read/Write Qualifiers: [not_null, values]Identifier for type of task. Possible values are:

1

CreateDeployment

2

UpgradeDeployment

3

DeleteDeployment

4

StopDeployment

5

StartDeployment

Type

Data type: UInt32Access type: Read/Write Qualifiers: noneType of task. Possible values are:

0

RunOnce

Remarks

Requirements

Runtime Requirements

Development Requirements