Skip to content

Commit 390ef67

Browse files
author
Sushil Upadhyay
committed
Fix errors
1 parent 3e259d8 commit 390ef67

File tree

13 files changed

+26
-153
lines changed

13 files changed

+26
-153
lines changed

specification/automation/resource-manager/Microsoft.Automation/common/v5/definitions.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,15 @@
104104
"in": "path",
105105
"x-ms-parameter-location": "method",
106106
"pattern": "^[a-zA-Z][a-zA-Z-_0-9]*$"
107+
},
108+
"AutomationAccountNameParameter": {
109+
"name": "automationAccountName",
110+
"description": "The name of the automation account.",
111+
"type": "string",
112+
"required": true,
113+
"in": "path",
114+
"x-ms-parameter-location": "method",
115+
"pattern": "^[a-zA-Z][a-zA-Z-_0-9]*$"
107116
}
108117
}
109118
}

specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/dscCompilationJob.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -544,7 +544,6 @@
544544
"description": "The response model for the list job stream operation."
545545
},
546546
"JobStreamProperties": {
547-
"type": "object",
548547
"properties": {
549548
"jobStreamId": {
550549
"type": "string",

specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/PrivateEndpointConnectionDelete.json

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,12 @@
22
"parameters": {
33
"subscriptionId": "00000000-1111-2222-3333-444444444444",
44
"resourceGroupName": "rg1",
5-
"automationAccountName": "automationAccountName",
5+
"automationAccountName": "ddb1",
66
"api-version": "2020-01-13-preview",
77
"privateEndpointConnectionName": "privateEndpointConnectionName"
88
},
99
"responses": {
10-
"202": {
11-
"headers": {
12-
"Location": "https://management.azure.com/subscriptions/00000000-1111-2222-3333-444444444444/resourcegroups/rg1/providers/Microsoft.Automation/automationAccounts/automationAccountName/privateEndpointConnections/privateEndpointConnectionName/operationResults/9bd70be2-cf73-49b4-9467-5261d48c2b3d?api-version=2020-01-13-preview"
13-
}
14-
},
10+
"202": {},
1511
"204": {}
1612
}
1713
}

specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/PrivateEndpointConnectionGet.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22
"parameters": {
33
"subscriptionId": "00000000-1111-2222-3333-444444444444",
44
"resourceGroupName": "rg1",
5-
"automationAccountName": "automationAccountName",
5+
"automationAccountName": "ddb1",
66
"api-version": "2020-01-13-preview",
77
"privateEndpointConnectionName": "privateEndpointConnectionName"
88
},
99
"responses": {
1010
"200": {
1111
"body": {
12-
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/rg1/providers/Microsoft.Automation/automationAccounts/automationAccountName/privateEndpointConnections/privateEndpointConnectionName",
12+
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/rg1/providers/Microsoft.Automation/automationAccounts/ddb1/privateEndpointConnections/privateEndpointConnectionName",
1313
"name": "privateEndpointConnectionName",
1414
"type": "Microsoft.Automation/automationAccounts/privateEndpointConnections",
1515
"properties": {

specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/PrivateEndpointConnectionListGet.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22
"parameters": {
33
"subscriptionId": "00000000-1111-2222-3333-444444444444",
44
"resourceGroupName": "rg1",
5-
"automationAccountName": "automationAccountName",
5+
"automationAccountName": "ddb1",
66
"api-version": "2020-01-13-preview"
77
},
88
"responses": {
99
"200": {
1010
"body": {
1111
"value": [
1212
{
13-
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Automation/automationAccounts/automationAccountName/privateEndpointConnections/privateEndpointConnectionName",
13+
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Automation/automationAccounts/ddb1/privateEndpointConnections/privateEndpointConnectionName",
1414
"name": "privateEndpointConnectionName",
1515
"type": "Microsoft.Automation/automationAccounts/privateEndpointConnections",
1616
"properties": {
@@ -28,7 +28,7 @@
2828
}
2929
},
3030
{
31-
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Automation/automationAccounts/automationAccountName/privateEndpointConnections/privateEndpointConnectionName2",
31+
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Automation/automationAccounts/ddb1/privateEndpointConnections/privateEndpointConnectionName2",
3232
"name": "privateEndpointConnectionName",
3333
"type": "Microsoft.Automation/automationAccounts/privateEndpointConnections",
3434
"properties": {

specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/PrivateEndpointConnectionUpdate.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"parameters": {
33
"subscriptionId": "00000000-1111-2222-3333-444444444444",
44
"resourceGroupName": "rg1",
5-
"automationAccountName": "automationAccountName",
5+
"automationAccountName": "ddb1",
66
"api-version": "2020-01-13-preview",
77
"privateEndpointConnectionName": "privateEndpointConnectionName",
88
"parameters": {
@@ -17,7 +17,7 @@
1717
"responses": {
1818
"200": {
1919
"body": {
20-
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/rg1/providers/Microsoft.Automation/automationAccounts/automationAccountName/privateEndpointConnections/privateEndpointConnectionName",
20+
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/rg1/providers/Microsoft.Automation/automationAccounts/ddb1/privateEndpointConnections/privateEndpointConnectionName",
2121
"name": "privateEndpointConnectionName",
2222
"type": "Microsoft.Automation/automationAccounts/privateEndpointConnections",
2323
"properties": {

specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/account.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -481,7 +481,7 @@
481481
"$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter"
482482
},
483483
{
484-
"$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter"
484+
"$ref": "../../common/v5/definitions.json#/parameters/AutomationAccountNameParameter"
485485
},
486486
{
487487
"$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter"

specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/dscCompilationJob.json

Lines changed: 5 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -584,33 +584,12 @@
584584
"x-nullable": true,
585585
"description": "Gets or sets the summary."
586586
},
587-
"value": {
588-
"$ref": "#/definitions/JobStreamValue",
589-
"x-ms-client-flatten": true,
590-
"description": "Job Stream Value"
591-
}
592-
},
593-
"x-ms-client-flatten": true,
594-
"description": "Definition of the job stream."
595-
},
596-
"JobStreamValue":{
597-
"type": "object",
598-
"properties": {
599587
"value": {
600-
"type": "string",
601-
"description": "Gets or sets the id of the job stream."
602-
},
603-
"PSComputerName": {
604-
"type": "string",
605-
"description": "Gets or sets the stream text."
606-
},
607-
"PSShowComputerName": {
608-
"type": "boolean",
609-
"description": "If a new build version of NodeConfiguration is required."
610-
},
611-
"PSSourceJobInstanceId": {
612-
"type": "string",
613-
"description": "Gets or sets the stream text."
588+
"additionalProperties": {
589+
"type": "object"
590+
},
591+
"description": "Gets or sets the values of the job stream.",
592+
"type": "object"
614593
}
615594
},
616595
"x-ms-client-flatten": true,

specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/dscNode.json

Lines changed: 1 addition & 73 deletions
Original file line numberDiff line numberDiff line change
@@ -564,7 +564,7 @@
564564
"200": {
565565
"description": "OK",
566566
"schema": {
567-
"$ref": "#/definitions/DscNodeReportContent"
567+
"type": "object"
568568
}
569569
},
570570
"default": {
@@ -1013,78 +1013,6 @@
10131013
}
10141014
},
10151015
"description": "The response model for the list dsc nodes operation."
1016-
},
1017-
"DscNodeReportContent": {
1018-
"properties": {
1019-
"JobId": {
1020-
"type": "string",
1021-
"description": "Gets or sets the end time of the node report."
1022-
},
1023-
"OperationType": {
1024-
"type": "string",
1025-
"description": "Gets or sets the lastModifiedTime of the node report."
1026-
},
1027-
"NodeName": {
1028-
"type": "string",
1029-
"description": "Gets or sets the start time of the node report."
1030-
},
1031-
"IpAddress": {
1032-
"type": "string",
1033-
"description": "Gets or sets the type of the node report."
1034-
},
1035-
"LCMVersion": {
1036-
"type": "string",
1037-
"description": "Gets or sets the id of the node report."
1038-
},
1039-
"ReportFormatVersion": {
1040-
"type": "string",
1041-
"description": "Gets or sets the status of the node report."
1042-
},
1043-
"StartTime": {
1044-
"type": "string",
1045-
"format": "date-time",
1046-
"description": "Gets or sets the start time of the node report."
1047-
},
1048-
"Errors": {
1049-
"type": "array",
1050-
"items": {
1051-
"$ref": "#/definitions/DscReportError"
1052-
},
1053-
"x-ms-identifiers": [
1054-
"errorMessage",
1055-
"resourceId"
1056-
],
1057-
"description": "Gets or sets the errors for the node report."
1058-
},
1059-
"StatusData": {
1060-
"type": "array",
1061-
"items": {
1062-
"type": "string"
1063-
},
1064-
"description": "Gets or sets the resource for the node report."
1065-
},
1066-
"AdditionalData": {
1067-
"type": "array",
1068-
"items": {
1069-
"$ref": "#/definitions/AddtionalReport"
1070-
},
1071-
"description": "Gets or sets the resource for the node report."
1072-
}
1073-
},
1074-
"description": "Definition of the dsc node report type."
1075-
},
1076-
"AddtionalReport": {
1077-
"properties": {
1078-
"Key": {
1079-
"type": "string",
1080-
"description": "Gets or sets the end time of the node report."
1081-
},
1082-
"value": {
1083-
"type": "string",
1084-
"description": "Gets or sets the lastModifiedTime of the node report."
1085-
}
1086-
},
1087-
"description": "Definition of the dsc node report type."
10881016
}
10891017
},
10901018
"parameters": {}

specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/patchHybridRunbookWorker.json

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -37,31 +37,6 @@
3737
"lastModifiedAt": "2018-04-24T16:30:55+00:00"
3838
}
3939
}
40-
},
41-
"201": {
42-
"headers": {},
43-
"body": {
44-
"id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/testaccount/hybridRunbookWorkerGroups/TestHybridGroup/hybridRunbookWorkers/c010ad12-ef14-4a2a-aa9e-ef22c4745ddd",
45-
"location": "East US 2",
46-
"name": "c010ad12-ef14-4a2a-aa9e-ef22c4745ddd",
47-
"type": "Microsoft.Automation/AutomationAccounts/HybridRunbookWorkerGroups/HybridRunbookWorkers",
48-
"properties": {
49-
"ip": "10.0.0.0",
50-
"registeredDateTime": "2018-04-24T16:30:55+00:00",
51-
"lastSeenDateTime": "2018-04-24T16:30:55+00:00",
52-
"vmResourceId": "/subscriptions/vmsubid/resourceGroups/vmrg/providers/Microsoft.Compute/virtualMachines/vmname",
53-
"workerName": "vmname",
54-
"workerType": "HybridV2"
55-
},
56-
"systemData": {
57-
"createdBy": "[email protected]",
58-
"createdByType": "User",
59-
"createdAt": "2018-04-24T16:30:55+00:00",
60-
"lastModifiedBy": "[email protected]",
61-
"lastModifiedByType": "User",
62-
"lastModifiedAt": "2018-04-24T16:30:55+00:00"
63-
}
64-
}
6540
}
6641
}
6742
}

0 commit comments

Comments
 (0)