Skip to content

Commit

Permalink
[Hub Generated] Publish private branch 'GokulPrasad-Work-monitor-Micr…
Browse files Browse the repository at this point in the history
…osoft.Monitor-2023-04-03' (#25300)

* Update description for Microsoft.Monitor APIs

* Updating to 'Azure Monitor Workspace'

* Typo fix

* Fixing the names

* Updating delete operation description

* Addressing minor comments

* Changing the description for the metrics container

---------

Co-authored-by: GokulPrasad KrishnaSwamy (from Dev Box) <[email protected]>
  • Loading branch information
GokulPrasad-Work and GokulPrasad KrishnaSwamy (from Dev Box) authored Aug 23, 2023
1 parent aa33d41 commit 36cf4f3
Show file tree
Hide file tree
Showing 2 changed files with 57 additions and 57 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"tags": [
"AzureMonitorWorkspaces"
],
"description": "Lists all workspaces in the specified resource group",
"description": "Lists all Azure Monitor Workspaces in the specified resource group",
"operationId": "AzureMonitorWorkspaces_ListByResourceGroup",
"produces": [
"application/json"
Expand Down Expand Up @@ -85,7 +85,7 @@
"nextLinkName": "nextLink"
},
"x-ms-examples": {
"List monitor workspaces by resource group": {
"List Azure Monitor Workspaces by resource group": {
"$ref": "./examples/AzureMonitorWorkspacesListByResourceGroup.json"
}
}
Expand All @@ -96,7 +96,7 @@
"tags": [
"AzureMonitorWorkspaces"
],
"description": "Lists all workspaces in the specified subscription",
"description": "Lists all Azure Monitor Workspaces in the specified subscription",
"operationId": "AzureMonitorWorkspaces_ListBySubscription",
"produces": [
"application/json"
Expand Down Expand Up @@ -127,7 +127,7 @@
"nextLinkName": "nextLink"
},
"x-ms-examples": {
"List workspaces by subscription": {
"List Azure Monitor Workspaces by subscription": {
"$ref": "./examples/AzureMonitorWorkspacesListBySubscription.json"
}
}
Expand All @@ -138,7 +138,7 @@
"tags": [
"AzureMonitorWorkspaces"
],
"description": "Returns the specific Azure Monitor workspace",
"description": "Returns the specified Azure Monitor Workspace",
"operationId": "AzureMonitorWorkspaces_Get",
"produces": [
"application/json"
Expand Down Expand Up @@ -172,7 +172,7 @@
}
},
"x-ms-examples": {
"Get workspace": {
"Get Azure Monitor Workspace": {
"$ref": "./examples/AzureMonitorWorkspacesGet.json"
}
}
Expand All @@ -181,7 +181,7 @@
"tags": [
"AzureMonitorWorkspaces"
],
"description": "Create or update a workspace",
"description": "Creates or updates an Azure Monitor Workspace",
"operationId": "AzureMonitorWorkspaces_Create",
"consumes": [
"application/json"
Expand All @@ -205,7 +205,7 @@
{
"in": "body",
"name": "azureMonitorWorkspaceProperties",
"description": "Properties that need to be specified to create a new workspace",
"description": "Properties that need to be specified to create a new Azure Monitor Workspace",
"required": true,
"schema": {
"$ref": "#/definitions/AzureMonitorWorkspaceResource"
Expand All @@ -214,13 +214,13 @@
],
"responses": {
"200": {
"description": "Azure Monitor workspace was successfully updated",
"description": "Azure Monitor Workspace was successfully updated",
"schema": {
"$ref": "#/definitions/AzureMonitorWorkspaceResource"
}
},
"201": {
"description": "Azure Monitor workspace was successfully created",
"description": "Azure Monitor Workspace was successfully created",
"schema": {
"$ref": "#/definitions/AzureMonitorWorkspaceResource"
}
Expand All @@ -233,7 +233,7 @@
}
},
"x-ms-examples": {
"Create or update workspace": {
"Create or update an Azure Monitor Workspace": {
"$ref": "./examples/AzureMonitorWorkspacesCreate.json"
}
}
Expand All @@ -242,7 +242,7 @@
"tags": [
"AzureMonitorWorkspaces"
],
"description": "Updates part of a workspace",
"description": "Updates part of an Azure Monitor Workspace",
"operationId": "AzureMonitorWorkspaces_Update",
"consumes": [
"application/json"
Expand Down Expand Up @@ -274,7 +274,7 @@
],
"responses": {
"200": {
"description": "Monitor workspace was successfully updated",
"description": "Azure Monitor Workspace was successfully updated",
"schema": {
"$ref": "#/definitions/AzureMonitorWorkspaceResource"
}
Expand All @@ -287,7 +287,7 @@
}
},
"x-ms-examples": {
"Update workspace": {
"Update an Azure Monitor Workspace": {
"$ref": "./examples/AzureMonitorWorkspacesUpdate.json"
}
}
Expand All @@ -296,7 +296,7 @@
"tags": [
"AzureMonitorWorkspaces"
],
"description": "Delete a workspace",
"description": "Deletes an Azure Monitor Workspace",
"operationId": "AzureMonitorWorkspaces_Delete",
"produces": [
"application/json"
Expand All @@ -317,10 +317,10 @@
],
"responses": {
"200": {
"description": "Workspace was successfully deleted"
"description": "Azure Monitor Workspace was successfully deleted"
},
"204": {
"description": "Workspace did not exist"
"description": "Azure Monitor Workspace does not exist"
},
"default": {
"description": "Error",
Expand All @@ -330,7 +330,7 @@
}
},
"x-ms-examples": {
"Delete workspace": {
"Delete an Azure Monitor Workspace": {
"$ref": "./examples/AzureMonitorWorkspacesDelete.json"
}
}
Expand All @@ -339,11 +339,11 @@
},
"definitions": {
"Metrics": {
"description": "Information about metrics for the workspace",
"description": "Properties related to the metrics container in the Azure Monitor Workspace",
"type": "object",
"properties": {
"prometheusQueryEndpoint": {
"description": "The Prometheus query endpoint for the workspace",
"description": "The Prometheus query endpoint for the Azure Monitor Workspace",
"type": "string",
"readOnly": true,
"x-ms-mutability": [
Expand All @@ -365,15 +365,15 @@
"type": "object",
"properties": {
"dataCollectionRuleResourceId": {
"description": "The Azure resource Id of the default data collection rule for this workspace.",
"description": "The Azure resource Id of the default data collection rule for this Azure Monitor Workspace.",
"type": "string",
"readOnly": true,
"x-ms-mutability": [
"read"
]
},
"dataCollectionEndpointResourceId": {
"description": "The Azure resource Id of the default data collection endpoint for this workspace.",
"description": "The Azure resource Id of the default data collection endpoint for this Azure Monitor Workspace.",
"type": "string",
"readOnly": true,
"x-ms-mutability": [
Expand All @@ -383,19 +383,19 @@
}
},
"AzureMonitorWorkspace": {
"description": "Properties of an Azure Monitor workspace",
"description": "Properties of an Azure Monitor Workspace",
"type": "object",
"properties": {
"accountId": {
"description": "The immutable ID of the Azure Monitor workspace. This property is read-only.",
"description": "The immutable Id of the Azure Monitor Workspace. This property is read-only.",
"type": "string",
"readOnly": true,
"x-ms-mutability": [
"read"
]
},
"metrics": {
"description": "Information about metrics for the Azure Monitor workspace",
"description": "Properties related to the metrics container in the Azure Monitor Workspace",
"allOf": [
{
"$ref": "#/definitions/Metrics"
Expand All @@ -407,7 +407,7 @@
]
},
"provisioningState": {
"description": "The provisioning state of the Azure Monitor workspace. Set to Succeeded if everything is healthy.",
"description": "The provisioning state of the Azure Monitor Workspace. Set to Succeeded if everything is healthy.",
"enum": [
"Creating",
"Succeeded",
Expand Down Expand Up @@ -492,7 +492,7 @@
}
},
"AzureMonitorWorkspaceResourceForUpdate": {
"description": "Definition of ARM tracked top level resource properties for update operation",
"description": "Definition of ARM tracked top level resource properties for the Update operation",
"type": "object",
"properties": {
"tags": {
Expand All @@ -509,7 +509,7 @@
"AzureMonitorWorkspaceNameParameter": {
"in": "path",
"name": "azureMonitorWorkspaceName",
"description": "The name of the Azure Monitor workspace. The name is case insensitive",
"description": "The name of the Azure Monitor Workspace. The name is case insensitive",
"required": true,
"type": "string",
"pattern": "^(?!-)[a-zA-Z0-9-]+[^-]$",
Expand Down
Loading

0 comments on commit 36cf4f3

Please sign in to comment.