Skip to content
Closed
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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
41 changes: 12 additions & 29 deletions common/config/rush/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

155 changes: 148 additions & 7 deletions sdk/monitor/arm-monitor/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,156 @@
# Release History

## 8.0.0-beta.6 (Unreleased)


## 8.0.0-beta.6 (2025-03-04)
Compared with version 7.0.0

### Features Added

### Breaking Changes

### Bugs Fixed
- Added operation ActionGroups.beginCreateNotificationsAtActionGroupResourceLevel
- Added operation ActionGroups.beginCreateNotificationsAtActionGroupResourceLevelAndWait
- Added operation ActionGroups.getTestNotificationsAtActionGroupResourceLevel
- Added Interface ActionGroupResource
- Added Interface ActionGroupsCreateNotificationsAtActionGroupResourceLevelHeaders
- Added Interface ActionGroupsCreateNotificationsAtActionGroupResourceLevelOptionalParams
- Added Interface ActionGroupsGetTestNotificationsAtActionGroupResourceLevelOptionalParams
- Added Interface Actions
- Added Interface Condition
- Added Interface ConditionFailingPeriods
- Added Interface ErrorResponseAutoGenerated
- Added Interface Identity
- Added Interface IncidentReceiver
- Added Interface IncidentServiceConnection
- Added Interface ManagedServiceIdentity
- Added Interface RuleResolveConfiguration
- Added Interface ScheduledQueryRuleCriteria
- Added Interface ScheduledQueryRuleResource
- Added Interface ScheduledQueryRuleResourceCollection
- Added Interface ScheduledQueryRuleResourcePatch
- Added Interface ScheduledQueryRulesListByResourceGroupNextOptionalParams
- Added Interface ScheduledQueryRulesListBySubscriptionNextOptionalParams
- Added Interface UserAssignedIdentity
- Added Interface UserIdentityProperties
- Added Type Alias ActionGroupsCreateNotificationsAtActionGroupResourceLevelResponse
- Added Type Alias ActionGroupsGetTestNotificationsAtActionGroupResourceLevelResponse
- Added Type Alias DimensionOperator
- Added Type Alias IdentityType
- Added Type Alias IncidentManagementService
- Added Type Alias Kind
- Added Type Alias ManagedServiceIdentityType
- Added Type Alias ScheduledQueryRulesListByResourceGroupNextResponse
- Added Type Alias ScheduledQueryRulesListBySubscriptionNextResponse
- Added Type Alias TimeAggregation
- Interface ActionGroupPatchBody has a new optional parameter identity
- Interface AutomationRunbookReceiver has a new optional parameter managedIdentity
- Interface AzureFunctionReceiver has a new optional parameter managedIdentity
- Interface EventHubReceiver has a new optional parameter managedIdentity
- Interface LogicAppReceiver has a new optional parameter managedIdentity
- Interface NotificationRequestBody has a new optional parameter incidentReceivers
- Interface WebhookReceiver has a new optional parameter managedIdentity
- Added Enum KnownConditionOperator
- Added Enum KnownDimensionOperator
- Added Enum KnownIncidentManagementService
- Added Enum KnownKind
- Added Enum KnownManagedServiceIdentityType
- Added Enum KnownTimeAggregation
- Added function getContinuationToken

### Other Changes
### Breaking Changes

- Removed operation group ActivityLogAlerts
- Removed operation group ActivityLogs
- Removed operation group AlertRuleIncidents
- Removed operation group AlertRules
- Removed operation group AutoscaleSettings
- Removed operation group Baselines
- Removed operation group DataCollectionEndpoints
- Removed operation group DataCollectionRuleAssociations
- Removed operation group DataCollectionRules
- Removed operation group DiagnosticSettings
- Removed operation group DiagnosticSettingsCategory
- Removed operation group EventCategories
- Removed operation group LogProfiles
- Removed operation group MetricAlerts
- Removed operation group MetricAlertsStatus
- Removed operation group MetricDefinitions
- Removed operation group MetricNamespaces
- Removed operation group Metrics
- Removed operation group Operations
- Removed operation group PrivateEndpointConnections
- Removed operation group PrivateLinkResources
- Removed operation group PrivateLinkScopedResources
- Removed operation group PrivateLinkScopeOperationStatus
- Removed operation group PrivateLinkScopes
- Removed operation group TenantActivityLogs
- Removed operation group VMInsights
- Removed operation ActionGroups.beginPostTestNotifications
- Removed operation ActionGroups.beginPostTestNotificationsAndWait
- Removed operation ActionGroups.getTestNotifications
- Operation ScheduledQueryRules.createOrUpdate has a new signature
- Operation ScheduledQueryRules.update has a new signature
- Interface AzureResource no longer has parameter kind
- Interface ScheduledQueryRulesListByResourceGroupOptionalParams no longer has parameter filter
- Interface ScheduledQueryRulesListBySubscriptionOptionalParams no longer has parameter filter
- Type of parameter identity of interface AzureResource is changed from string to ManagedServiceIdentity
- Type of parameter operator of interface Dimension is changed from Operator to DimensionOperator
- Type of parameter error of interface ErrorContract is changed from ErrorResponse to ErrorResponseAutoGenerated
- Class MonitorClient no longer has parameter activityLogAlerts
- Class MonitorClient no longer has parameter activityLogs
- Class MonitorClient no longer has parameter alertRuleIncidents
- Class MonitorClient no longer has parameter alertRules
- Class MonitorClient no longer has parameter autoscaleSettings
- Class MonitorClient no longer has parameter baselines
- Class MonitorClient no longer has parameter dataCollectionEndpoints
- Class MonitorClient no longer has parameter dataCollectionRuleAssociations
- Class MonitorClient no longer has parameter dataCollectionRules
- Class MonitorClient no longer has parameter diagnosticSettings
- Class MonitorClient no longer has parameter diagnosticSettingsCategory
- Class MonitorClient no longer has parameter eventCategories
- Class MonitorClient no longer has parameter logProfiles
- Class MonitorClient no longer has parameter metricAlerts
- Class MonitorClient no longer has parameter metricAlertsStatus
- Class MonitorClient no longer has parameter metricDefinitions
- Class MonitorClient no longer has parameter metricNamespaces
- Class MonitorClient no longer has parameter metrics
- Class MonitorClient no longer has parameter operations
- Class MonitorClient no longer has parameter privateEndpointConnections
- Class MonitorClient no longer has parameter privateLinkResources
- Class MonitorClient no longer has parameter privateLinkScopedResources
- Class MonitorClient no longer has parameter privateLinkScopeOperationStatus
- Class MonitorClient no longer has parameter privateLinkScopes
- Class MonitorClient no longer has parameter tenantActivityLogs
- Class MonitorClient no longer has parameter vMInsights
- Removed Enum KnownAggregationTypeEnum
- Removed Enum KnownBaselineSensitivity
- Removed Enum KnownConditionalOperator
- Removed Enum KnownDataStatus
- Removed Enum KnownDynamicThresholdOperator
- Removed Enum KnownDynamicThresholdSensitivity
- Removed Enum KnownEnabled
- Removed Enum KnownKnownDataCollectionEndpointProvisioningState
- Removed Enum KnownKnownDataCollectionEndpointResourceKind
- Removed Enum KnownKnownDataCollectionRuleAssociationProvisioningState
- Removed Enum KnownKnownDataCollectionRuleProvisioningState
- Removed Enum KnownKnownDataCollectionRuleResourceKind
- Removed Enum KnownKnownDataFlowStreams
- Removed Enum KnownKnownExtensionDataSourceStreams
- Removed Enum KnownKnownPerfCounterDataSourceStreams
- Removed Enum KnownKnownPublicNetworkAccessOptions
- Removed Enum KnownKnownSyslogDataSourceFacilityNames
- Removed Enum KnownKnownSyslogDataSourceLogLevels
- Removed Enum KnownKnownSyslogDataSourceStreams
- Removed Enum KnownKnownWindowsEventLogDataSourceStreams
- Removed Enum KnownMetricClass
- Removed Enum KnownMetricTriggerType
- Removed Enum KnownMetricUnit
- Removed Enum KnownNamespaceClassification
- Removed Enum KnownOdatatype
- Removed Enum KnownOnboardingStatus
- Removed Enum KnownOperator
- Removed Enum KnownProvisioningState
- Removed Enum KnownQueryType
- Removed Enum KnownScaleRuleMetricDimensionOperationType


## 8.0.0-beta.5 (2024-03-28)

### Features Added
Expand Down
2 changes: 1 addition & 1 deletion sdk/monitor/arm-monitor/LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
SOFTWARE.
9 changes: 4 additions & 5 deletions sdk/monitor/arm-monitor/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ npm install @azure/identity
```

You will also need to **register a new AAD application and grant access to Azure Monitor** by assigning the suitable role to your service principal (note: roles such as `"Owner"` will not grant the necessary permissions).
Set the values of the client ID, tenant ID, and client secret of the AAD application as environment variables: `AZURE_CLIENT_ID`, `AZURE_TENANT_ID`, `AZURE_CLIENT_SECRET`.

For more information about how to create an Azure AD Application check out [this guide](https://learn.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal).

Expand All @@ -64,16 +63,14 @@ For browser environments, use the `InteractiveBrowserCredential` from the `@azur
import { InteractiveBrowserCredential } from "@azure/identity";
import { MonitorClient } from "@azure/arm-monitor";

const subscriptionId = "00000000-0000-0000-0000-000000000000";
const credential = new InteractiveBrowserCredential({
tenantId: "<YOUR_TENANT_ID>",
clientId: "<YOUR_CLIENT_ID>",
});
clientId: "<YOUR_CLIENT_ID>"
});
const client = new MonitorClient(credential, subscriptionId);
```

### JavaScript Bundle

To use this client library in the browser, first you need to use a bundler. For details on how to do this, please refer to our [bundling documentation](https://aka.ms/AzureSDKBundling).

## Key concepts
Expand Down Expand Up @@ -108,6 +105,8 @@ If you'd like to contribute to this library, please read the [contributing guide

- [Microsoft Azure SDK for JavaScript](https://github.com/Azure/azure-sdk-for-js)

![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fmonitor%2Farm-monitor%2FREADME.png)

[azure_cli]: https://learn.microsoft.com/cli/azure
[azure_sub]: https://azure.microsoft.com/free/
[azure_sub]: https://azure.microsoft.com/free/
Expand Down
10 changes: 5 additions & 5 deletions sdk/monitor/arm-monitor/_meta.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"commit": "6fc313ed7a6e926d4409d4ddb435f6532922652f",
"commit": "1e3132c2f308fd63ab800ce351d34851ada174fe",
"readme": "specification/monitor/resource-manager/readme.md",
"autorest_command": "autorest --version=3.9.7 --typescript --modelerfour.lenient-model-deduplication --azure-arm --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=D:\\Git\\azure-sdk-for-js ..\\azure-rest-api-specs\\specification\\monitor\\resource-manager\\readme.md --use=@autorest/typescript@6.0.18 --generate-sample=true",
"autorest_command": "autorest --version=3.9.7 --typescript --modelerfour.lenient-model-deduplication --azure-arm --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=/mnt/vss/_work/1/s/azure-sdk-for-js ../azure-rest-api-specs/specification/monitor/resource-manager/readme.md --use=@autorest/typescript@^6.0.12",
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
"release_tool": "@azure-tools/js-sdk-release-tools@2.7.4",
"use": "@autorest/typescript@6.0.18"
}
"release_tool": "@azure-tools/js-sdk-release-tools@2.7.21",
"use": "@autorest/typescript@^6.0.12"
}
6 changes: 3 additions & 3 deletions sdk/monitor/arm-monitor/api-extractor.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json",
"mainEntryPointFilePath": "dist/esm/index.d.ts",
"mainEntryPointFilePath": "./dist-esm/src/index.d.ts",
"docModel": {
"enabled": true
},
Expand All @@ -11,7 +11,7 @@
"dtsRollup": {
"enabled": true,
"untrimmedFilePath": "",
"publicTrimmedFilePath": "dist/arm-monitor.d.ts"
"publicTrimmedFilePath": "./types/arm-monitor.d.ts"
},
"messages": {
"tsdocMessageReporting": {
Expand All @@ -28,4 +28,4 @@
}
}
}
}
}
6 changes: 0 additions & 6 deletions sdk/monitor/arm-monitor/assets.json

This file was deleted.

Loading