Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

Large diffs are not rendered by default.

324 changes: 162 additions & 162 deletions ...05-15-preview/examples/softwareUpdateConfiguration/createSoftwareUpdateConfiguration.json
100644 → 100755

Large diffs are not rendered by default.

134 changes: 67 additions & 67 deletions ...15-preview/examples/softwareUpdateConfiguration/getSoftwareUpdateConfigurationByName.json
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,68 +1,68 @@
{
"parameters": {
"subscriptionId": "51766542-3ed7-4a72-a187-0c8ab644ddab",
"resourceGroupName": "mygroup",
"automationAccountName": "myaccount",
"softwareUpdateConfigurationName": "mypatch",
"api-version": "2017-05-15-preview",
"body": {}
},
"responses": {
"200": {
"headers": {},
"body": {
"name": "testpatch",
"id": "/subscriptions/51766542-3ed7-4a72-a187-0c8ab644ddab/resourceGroups/mygroup/providers/Microsoft.Automation/automationAccounts/myaccount/softwareUpdateConfigurations/testpatch",
"properties": {
"updateConfiguration": {
"operatingSystem": "Windows",
"windows": {
"includedUpdateClassifications": "Critical, Security, UpdateRollup, FeaturePack, ServicePack, Definition, Tools, Updates",
"excludedKbNumbers": [
"168934",
"168973"
]
},
"linux": {},
"duration": "PT2H",
"azureVirtualMachines": [
"/subscriptions/5ae68d89-69a4-454f-b5ce-e443cc4e0067/resourceGroups/myresources/providers/Microsoft.Compute/virtualMachines/vm-01",
"/subscriptions/5ae68d89-69a4-454f-b5ce-e443cc4e0067/resourceGroups/myresources/providers/Microsoft.Compute/virtualMachines/vm-02",
"/subscriptions/5ae68d89-69a4-454f-b5ce-e443cc4e0067/resourceGroups/myresources/providers/Microsoft.Compute/virtualMachines/vm-03"
],
"nonAzureComputerNames": [
"box1.contoso.com",
"box2.contoso.com"
]
},
"scheduleInfo": {
"description": "",
"startTime": "2017-10-19T12:22:00-07:00",
"startTimeOffsetMinutes": -420.0,
"expiryTime": "2018-11-09T11:22:00-08:00",
"expiryTimeOffsetMinutes": -480.0,
"isEnabled": true,
"nextRun": "2017-10-19T12:22:00-07:00",
"nextRunOffsetMinutes": -420.0,
"interval": 1,
"frequency": "Week",
"creationTime": "2017-10-19T18:54:50.5233333+00:00",
"lastModifiedTime": "2017-10-19T18:54:50.5233333+00:00",
"timeZone": "America/Los_Angeles",
"advancedSchedule": null
},
"provisioningState": "Provisioning",
"createdBy": "[email protected]",
"error": {},
"creationTime": "2017-10-19T18:54:50.5233333+00:00",
"lastModifiedBy": "",
"lastModifiedTime": "2017-10-19T18:54:50.68+00:00"
}
}
},
"404": {
"code": "NotFound",
"message": "Software update configuration not found"
}
}
{
"parameters": {
"subscriptionId": "51766542-3ed7-4a72-a187-0c8ab644ddab",
"resourceGroupName": "mygroup",
"automationAccountName": "myaccount",
"softwareUpdateConfigurationName": "mypatch",
"api-version": "2017-05-15-preview",
"body": {}
},
"responses": {
"200": {
"headers": {},
"body": {
"name": "testpatch",
"id": "/subscriptions/51766542-3ed7-4a72-a187-0c8ab644ddab/resourceGroups/mygroup/providers/Microsoft.Automation/automationAccounts/myaccount/softwareUpdateConfigurations/testpatch",
"properties": {
"updateConfiguration": {
"operatingSystem": "Windows",
"windows": {
"includedUpdateClassifications": "Critical",
"excludedKbNumbers": [
"168934",
"168973"
]
},
"linux": {},
"duration": "PT2H",
"azureVirtualMachines": [
"/subscriptions/5ae68d89-69a4-454f-b5ce-e443cc4e0067/resourceGroups/myresources/providers/Microsoft.Compute/virtualMachines/vm-01",
"/subscriptions/5ae68d89-69a4-454f-b5ce-e443cc4e0067/resourceGroups/myresources/providers/Microsoft.Compute/virtualMachines/vm-02",
"/subscriptions/5ae68d89-69a4-454f-b5ce-e443cc4e0067/resourceGroups/myresources/providers/Microsoft.Compute/virtualMachines/vm-03"
],
"nonAzureComputerNames": [
"box1.contoso.com",
"box2.contoso.com"
]
},
"scheduleInfo": {
"description": "",
"startTime": "2017-10-19T12:22:00-07:00",
"startTimeOffsetMinutes": -420.0,
"expiryTime": "2018-11-09T11:22:00-08:00",
"expiryTimeOffsetMinutes": -480.0,
"isEnabled": true,
"nextRun": "2017-10-19T12:22:00-07:00",
"nextRunOffsetMinutes": -420.0,
"interval": 1,
"frequency": "Week",
"creationTime": "2017-10-19T18:54:50.5233333+00:00",
"lastModifiedTime": "2017-10-19T18:54:50.5233333+00:00",
"timeZone": "America/Los_Angeles",
"advancedSchedule": null
},
"provisioningState": "Provisioning",
"createdBy": "[email protected]",
"error": {},
"creationTime": "2017-10-19T18:54:50.5233333+00:00",
"lastModifiedBy": "",
"lastModifiedTime": "2017-10-19T18:54:50.68+00:00"
}
}
},
"404": {
"code": "NotFound",
"message": "Software update configuration not found"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
"sourceControlSyncJobId": "ce6fe3e3-9db3-4096-a6b4-82bfb4c10a9a",
"creationTime": "2017-03-28T23:14:26.903+00:00",
"provisioningState": "Running",
"startTime": null,
"endTime": null,
"startTime": "2017-03-28T23:14:27.903+00:00",
"endTime": "2017-03-28T23:14:28.903+00:00",
"startedBy": "User1"
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
"sourceControlSyncJobId": "ce6fe3e3-9db3-4096-a6b4-82bfb4c10a1a",
"creationTime": "2017-03-28T23:14:26.903+00:00",
"provisioningState": "Running",
"startTime": null,
"endTime": null,
"startTime": "2017-03-28T23:14:27.903+00:00",
"endTime": "2017-03-28T23:14:28.903+00:00",
"startedBy": "User1"
}
},
Expand All @@ -28,8 +28,8 @@
"sourceControlSyncJobId": "ce6fe3e3-9db3-4096-a6b4-82bfb4c10a2a",
"creationTime": "2017-03-28T23:14:26.903+00:00",
"provisioningState": "Running",
"startTime": null,
"endTime": null,
"startTime": "2017-03-28T23:14:27.903+00:00",
"endTime": "2017-03-28T23:14:28.903+00:00",
"startedBy": "User1"
}
},
Expand All @@ -39,8 +39,8 @@
"sourceControlSyncJobId": "ce6fe3e3-9db3-4096-a6b4-82bfb4c10a3a",
"creationTime": "2017-03-28T23:14:26.903+00:00",
"provisioningState": "Running",
"startTime": null,
"endTime": null,
"startTime": "2017-03-28T23:14:27.903+00:00",
"endTime": "2017-03-28T23:14:28.903+00:00",
"startedBy": "User1"
}
},
Expand All @@ -50,8 +50,8 @@
"sourceControlSyncJobId": "ce6fe3e3-9db3-4096-a6b4-82bfb4c10a4a",
"creationTime": "2017-03-28T23:14:26.903+00:00",
"provisioningState": "Running",
"startTime": null,
"endTime": null,
"startTime": "2017-03-28T23:14:27.903+00:00",
"endTime": "2017-03-28T23:14:28.903+00:00",
"startedBy": "User1"
}
},
Expand All @@ -61,8 +61,8 @@
"sourceControlSyncJobId": "ce6fe3e3-9db3-4096-a6b4-82bfb4c10a5a",
"creationTime": "2017-03-28T23:14:26.903+00:00",
"provisioningState": "Running",
"startTime": null,
"endTime": null,
"startTime": "2017-03-28T23:14:27.903+00:00",
"endTime": "2017-03-28T23:14:28.903+00:00",
"startedBy": "User1"
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@
"properties": {
"sourceControlSyncJobId": "ce6fe3e3-9db3-4096-a6b4-82bfb4c10a9a",
"creationTime": "2017-03-28T23:14:26.903+00:00",
"provisioningState": "Running",
"startTime": null,
"endTime": null,
"provisioningState": "Completed",
"startTime": "2017-03-28T23:14:27.903+00:00",
"endTime": "2017-03-28T23:14:28.903+00:00",
"startedBy": "User1",
"errors": {
"code": null,
"message": null
"code": "0",
"message": ""
}
}
}
Expand Down
Loading