Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation fixes for a preview API #27350

Merged
merged 16 commits into from
Jan 17, 2024
Merged
Show file tree
Hide file tree
Changes from 8 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
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@
"contentHash": {
"algorithm": "sha265",
"value": "07E108A962B81DD9C9BAA89BB47C0F6EE52B29E83758B07795E408D258B2B87A"
},
"version": "1.0.0.0"
}
}
}
}
Expand All @@ -23,9 +22,9 @@
"201": {
"headers": {},
"body": {
"id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/modules/OmsCompositeResources",
"id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/runtimeEnvironments/runtimeEnvironmentName/packages/OmsCompositeResources",
"name": "OmsCompositeResources",
"type": "Microsoft.Automation/AutomationAccounts/Modules",
"type": "Microsoft.Automation/AutomationAccounts/RuntimeEnvironments/Packages",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

RuntimeEnvironments

Your service should not be uppercasing the resource type. Resource type names use camelCasing.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have updated the casing for resource type names to camelcasing.

"location": "East US 2",
"tags": {},
"properties": {
Expand All @@ -47,9 +46,9 @@
"200": {
"headers": {},
"body": {
"id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/modules/OmsCompositeResources",
"id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/runtimeEnvironments/runtimeEnvironmentName/packages/OmsCompositeResources",
"name": "OmsCompositeResources",
"type": "Microsoft.Automation/AutomationAccounts/runtimeEnvironmentss/Package",
"type": "Microsoft.Automation/AutomationAccounts/RuntimeEnvironments/Packages",
"location": "East US 2",
"tags": {},
"properties": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,16 @@
"200": {
"headers": {},
"body": {
"id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/runtimeEnvironments/myEnv/packages/OmsCompositeResources",
"id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/runtimeEnvironments/runtimeEnvironmentName/packages/OmsCompositeResources",
"name": "OmsCompositeResources",
"type": "Microsoft.Automation/AutomationAccounts/runtimeEnvironmentss/Package",
"type": "Microsoft.Automation/AutomationAccounts/RuntimeEnvironments/Packages",
"location": "East US 2",
"tags": {},
"properties": {
"default": false,
"version": null,
"sizeInBytes": 0,
"provisioningState": "Creating"
"version": "1.0.0",
"sizeInBytes": 1560,
"provisioningState": "Succeeded"
},
"systemData": {
"createdAt": "2023-07-05T07:32:41.4389914+00:00",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
"body": {
"value": [
{
"id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/runtimeEnvironments/myEnv/packages/OmsCompositeResources",
"id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/runtimeEnvironments/runtimeEnvironmentName/packages/OmsCompositeResources",
"name": "OmsCompositeResources",
"type": "Microsoft.Automation/AutomationAccounts/runtimeEnvironmentss/Package",
"type": "Microsoft.Automation/AutomationAccounts/RuntimeEnvironments/Packages",
"location": "East US 2",
"tags": {},
"properties": {
Expand All @@ -33,9 +33,9 @@
}
},
{
"id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/runtimeEnvironments/myEnv/packages/OmsCompositeResources2",
"name": "OmsCompositeResources",
"type": "Microsoft.Automation/AutomationAccounts/runtimeEnvironmentss/Package",
"id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/runtimeEnvironments/runtimeEnvironmentName/packages/OmsCompositeResources2",
"name": "OmsCompositeResources2",
"type": "Microsoft.Automation/AutomationAccounts/RuntimeEnvironments/Packages",
"location": "East US 2",
"tags": {},
"properties": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@
"contentHash": {
"algorithm": "sha265",
"value": "07E108A962B81DD9C9BAA89BB47C0F6EE52B29E83758B07795E408D258B2B87A"
},
"version": "1.0.0.0"
}
}
}
}
Expand All @@ -23,9 +22,9 @@
"200": {
"headers": {},
"body": {
"id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/modules/OmsCompositeResources",
"id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/MyAutomationAccount/runtimeEnvironments/runtimeEnvironmentName/packages/OmsCompositeResources",
"name": "OmsCompositeResources",
"type": "Microsoft.Automation/AutomationAccounts/Modules",
"type": "Microsoft.Automation/AutomationAccounts/RuntimeEnvironments/Packages",
"location": "East US 2",
"tags": {},
"properties": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"body": {
"name": "myRuntimeEnvironmentName",
"id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount9/runtimeEnvironments/myRuntimeEnvironmentName",
"type": "Microsoft.Automation/AutomationAccounts/runtimeEnvironments",
"type": "Microsoft.Automation/AutomationAccounts/RuntimeEnvironments",
"location": "East US 2",
"tags": {},
"systemData": {
Expand All @@ -47,7 +47,7 @@
"body": {
"name": "myRuntimeEnvironmentName",
"id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount9/runtimeEnvironments/myRuntimeEnvironmentName",
"type": "Microsoft.Automation/AutomationAccounts/runtimeEnvironments",
"type": "Microsoft.Automation/AutomationAccounts/RuntimeEnvironments",
"location": "East US 2",
"tags": {},
"systemData": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"body": {
"name": "myRuntimeEnvironmentName",
"id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount9/runtimeEnvironments/myRuntimeEnvironmentName",
"type": "Microsoft.Automation/AutomationAccounts/runtimeEnvironments",
"type": "Microsoft.Automation/AutomationAccounts/RuntimeEnvironments",
"location": "East US 2",
"tags": {},
"systemData": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
{
"name": "myRuntimeEnvironmentName",
"id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount9/runtimeEnvironments/myRuntimeEnvironmentName",
"type": "Microsoft.Automation/AutomationAccounts/runtimeEnvironments",
"type": "Microsoft.Automation/AutomationAccounts/RuntimeEnvironments",
"location": "East US 2",
"tags": {},
"systemData": {
Expand All @@ -23,7 +23,7 @@
"properties": {
"runtime": {
"language": "PowerShell",
"version": "7.1"
"version": "5.1"
},
"defaultPackages": {
"Az": "6.*"
Expand All @@ -34,7 +34,7 @@
{
"name": "myRuntimeEnvironmentName2",
"id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount9/runtimeEnvironments/myRuntimeEnvironmentName2",
"type": "Microsoft.Automation/AutomationAccounts/runtimeEnvironments",
"type": "Microsoft.Automation/AutomationAccounts/RuntimeEnvironments",
"location": "East US 2",
"tags": {},
"systemData": {
Expand All @@ -55,7 +55,7 @@
{
"name": "myRuntimeEnvironmentName3",
"id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount9/runtimeEnvironments/myRuntimeEnvironmentName3",
"type": "Microsoft.Automation/AutomationAccounts/runtimeEnvironments",
"type": "Microsoft.Automation/AutomationAccounts/RuntimeEnvironments",
"location": "East US 2",
"tags": {},
"systemData": {
Expand All @@ -65,7 +65,7 @@
"properties": {
"runtime": {
"language": "PowerShell",
"version": "7.1"
"version": "7.2"
},
"defaultPackages": {
"Az": "6.*"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"body": {
"name": "myRuntimeEnvironmentName",
"id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount9/runtimeEnvironments/myRuntimeEnvironmentName",
"type": "Microsoft.Automation/AutomationAccounts/runtimeEnvironments",
"type": "Microsoft.Automation/AutomationAccounts/RuntimeEnvironments",
"location": "East US 2",
"tags": {},
"properties": {
Expand Down