| Requires the role: | TenantReader |
| DELETE | /api/patching/windows/{Id}/unassign | Unassign ComputeNodes from a PatchingWindow | |
|---|---|---|---|
| DELETE | /patching/windows/{Id}/unassign | Unassign ComputeNodes from a PatchingWindow |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | path | string | Yes | The id of the pachting window |
| ComputeNodeIds | body | list | Yes | List of one or more ComputeNodes |
| TenantName | header | string | Yes |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | form | Guid | No | The id of the job |
| TenantId | form | Guid | No | The id of the tenant |
| Name | form | string | Yes | The name of the job |
| ObjectType | form | ObjectTypes | No | |
| Message | form | string | No | An additional message |
| SelfLink | form | string | Yes | Api link pointing to this object |
| ConfigItemId | form | Guid? | No | The id of the configitem the job belongs to |
| ConfigItemType | form | ObjectTypes? | No | The type of the configitem the job belongs to |
| JobType | form | JobTypes | No | The job type |
| State | form | JobStates | No | The current state of the job |
| StartTime | form | DateTime | No | The timestamp, when the job got started |
| EndTime | form | DateTime? | No | The timestamp, when the job has finished |
| Duration | form | int | No | The duration (in seconds) of the job |
| WorkflowId | form | string | No | The id of the related workflow |
| SchedulerId | form | string | No | The id of the related scheduled task |
| Progress | form | double | No | The jobs progress in percent (0...100) |
| Config | form | Dictionary<string, Object> | Yes | Contains various infos about the job |
| Created | form | DateTime | No | The time the job was created |
| CreateUser | form | string | Yes | The user the job was created with |
| CreateUserId | form | string | Yes | The user id the job was created with |
| CreateUserEmail | form | string | Yes | The user email the job was created with |
| Modified | form | DateTime | No | The time the job was last modified |
| ModifyUser | form | string | Yes | The user the job was modified with |
| ModifyUserId | form | string | Yes | The user id the job was modified with |
| IsDeleted | form | bool | No | True if the job is deleted |
| Deleted | form | DateTime? | No | The time the job was deleted |
| DeleteUser | form | string | No | The user the job was deleted with |
| DeleteUserId | form | string | No | The user id the job was deleted with |
| SendNotifications | form | bool | No | Will be evaluated by event endpoints |
| IsRunning | form | bool | No | True if it is in any of the 'running' states |
| NeedsAttention | form | bool | No | Jobs with failed JobEvents are marked with NeedsAttention |
| None | |
| ConfigItem | |
| Tenant | |
| Collection | |
| Resource | |
| ComputeNode | |
| VirtualMachine | |
| PhysicalMachine | |
| Disk | |
| Subnet | |
| IPAddress | |
| Job | |
| JobEvent | |
| FreezePeriod | |
| ResourceGroup | |
| Deployment | |
| ResourceGroupTemplate | |
| DeploymentTemplate | |
| ResourceProvider | |
| GenericResource | |
| Role | |
| Permission | |
| User | |
| PatchingWindow | |
| Update | |
| ReportDefinition | |
| TimeSeries | |
| DataPoint | |
| Action | |
| ActionAssignment | |
| UserNote |
| Create | |
| Update | |
| Delete | |
| Start | |
| Stop | |
| Restart | |
| Backup | |
| Restore | |
| Patch | |
| Action |
| Pending | |
| Starting | |
| Running | |
| Suspended | |
| Stopping | |
| Completed | |
| Failed |
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
DELETE /api/patching/windows/{Id}/unassign HTTP/1.1
Host: core.starburst.svc
Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"id":"00000000-0000-0000-0000-000000000000","tenantId":"00000000-0000-0000-0000-000000000000","name":"String","objectType":"Job","message":"String","selfLink":"String","configItemId":"00000000-0000-0000-0000-000000000000","configItemType":"None","jobType":"Create","state":"Pending","startTime":"0001-01-01T00:00:00.0000000Z","endTime":"0001-01-01T00:00:00.0000000Z","duration":0,"workflowId":"String","schedulerId":"String","progress":0,"config":{"String":{}},"created":"0001-01-01T00:00:00.0000000Z","createUser":"String","createUserId":"String","createUserEmail":"String","modified":"0001-01-01T00:00:00.0000000Z","modifyUser":"String","modifyUserId":"String","isDeleted":false,"deleted":"0001-01-01T00:00:00.0000000Z","deleteUser":"String","deleteUserId":"String","sendNotifications":false,"isRunning":false,"needsAttention":false}