SMS_AzureServicesTask Server WMI Class

 

Updated: November 1, 2013

Applies To: System Center 2012 Configuration Manager, System Center 2012 Configuration Manager SP1, System Center 2012 R2 Configuration Manager

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;
};

The SMS_AzureServicesTask class does not define any methods.

AzureServiceId

Data type: UInt32

Access type: Read/Write

Qualifiers: none

The service identifier key for the SMS_AzureService instance on which the current task will be performed.

SiteCode

Data type: String

Access type: Read/Write

Qualifiers: none

Site code of the site that owns the task.

TaskCreationTime

Data type: DateTime

Access type: Read/Write

Qualifiers: none

Time the task was created.

TaskEndTime

Data type: DateTime

Access type: Read/Write

Qualifiers: none

Time the task ended.

TaskID

Data type: UInt32

Access type: Read/Write

Qualifiers: [key, not_null]

Identifier of the Windows Azure Service task.

TaskKeyValue

Data type: String

Access type: Read/Write

Qualifiers: none

Input 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: UInt32

Access 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: UInt32

Access 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: UInt32

Access type: Read/Write

Qualifiers: none

Type of task. Possible values are:

0

RunOnce

Show: