diff --git a/src/Monitor/DataCollectionRule.Autorest/Properties/AssemblyInfo.cs b/src/Monitor/DataCollectionRule.Autorest/Properties/AssemblyInfo.cs new file mode 100644 index 000000000000..299e27b90393 --- /dev/null +++ b/src/Monitor/DataCollectionRule.Autorest/Properties/AssemblyInfo.cs @@ -0,0 +1,26 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the Apache License, Version 2.0 (the ""License""); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an ""AS IS"" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// Code generated by Microsoft (R) AutoRest Code Generator.Changes may cause incorrect behavior and will be lost if the code +// is regenerated. + +using System; +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +[assembly: System.Reflection.AssemblyCompanyAttribute("Microsoft")] +[assembly: System.Reflection.AssemblyCopyrightAttribute("Copyright © Microsoft")] +[assembly: System.Reflection.AssemblyProductAttribute("Microsoft Azure PowerShell")] +[assembly: System.Reflection.AssemblyTitleAttribute("Microsoft Azure PowerShell - DataCollectionRule")] +[assembly: System.Reflection.AssemblyFileVersionAttribute("5.2.2")] +[assembly: System.Reflection.AssemblyVersionAttribute("5.2.2")] +[assembly: System.Runtime.InteropServices.ComVisibleAttribute(false)] +[assembly: System.CLSCompliantAttribute(false)] diff --git a/src/Monitor/DataCollectionRule.Autorest/README.md b/src/Monitor/DataCollectionRule.Autorest/README.md index ea8dfcfd384e..c579efe0bdbd 100644 --- a/src/Monitor/DataCollectionRule.Autorest/README.md +++ b/src/Monitor/DataCollectionRule.Autorest/README.md @@ -43,8 +43,6 @@ title: DataCollectionRule module-version: 0.1.0 namespace: Microsoft.Azure.PowerShell.Cmdlets.Monitor.DataCollection subject-prefix: '' -disable-transform-identity-type: true -flatten-userassignedidentity: false directive: # custom required body @@ -191,24 +189,4 @@ directive: - model-name: StorageBlobDestination # string Name, string StorageAccountResourceId, string TableName - model-name: StorageTableDestination - -##### announce upcoming MI-related breaking changes - - where: - parameter-name: IdentityType - set: - breaking-change: - change-description: IdentityType will be removed. EnableSystemAssignedIdentity will be used to enable/disable system assigned identity and UserAssignedIdentity will be used to specify user assigned identities. - deprecated-by-version: 2.0.0 - deprecated-by-azversion: 13.0.0 - change-effective-date: 2024/11/19 - - where: - parameter-name: UserAssignedIdentity - set: - breaking-change: - old-parameter-type: Hashtable - new-parameter-type: string[] - change-description: UserAssignedIdentity's type will be simplified as string array. - deprecated-by-version: 2.0.0 - deprecated-by-azversion: 13.0.0 - change-effective-date: 2024/11/19 ``` diff --git a/src/Monitor/DataCollectionRule.Autorest/docs/Az.DataCollectionRule.md b/src/Monitor/DataCollectionRule.Autorest/docs/Az.DataCollectionRule.md index c2542c1a5f10..989d41cc2608 100644 --- a/src/Monitor/DataCollectionRule.Autorest/docs/Az.DataCollectionRule.md +++ b/src/Monitor/DataCollectionRule.Autorest/docs/Az.DataCollectionRule.md @@ -1,6 +1,6 @@ --- Module Name: Az.DataCollectionRule -Module Guid: 3cffe974-28ed-4d53-ba17-f80f0d1cebc5 +Module Guid: 45225839-31dc-4d2d-8a4f-d4066db66a41 Download Help Link: https://learn.microsoft.com/powershell/module/az.datacollectionrule Help Version: 1.0.0.0 Locale: en-US @@ -21,13 +21,13 @@ Returns the specified data collection rule. Returns the specified association. ### [New-AzDataCollectionEndpoint](New-AzDataCollectionEndpoint.md) -Create a data collection endpoint. +create a data collection endpoint. ### [New-AzDataCollectionRule](New-AzDataCollectionRule.md) -Create a data collection rule. +create a data collection rule. ### [New-AzDataCollectionRuleAssociation](New-AzDataCollectionRuleAssociation.md) -Create an association. +create an association. ### [New-AzDataFlowObject](New-AzDataFlowObject.md) Create an in-memory object for DataFlow. @@ -87,11 +87,11 @@ Deletes a data collection rule. Deletes an association. ### [Update-AzDataCollectionEndpoint](Update-AzDataCollectionEndpoint.md) -Update part of a data collection endpoint. +update a data collection endpoint. ### [Update-AzDataCollectionRule](Update-AzDataCollectionRule.md) Update a data collection rule. ### [Update-AzDataCollectionRuleAssociation](Update-AzDataCollectionRuleAssociation.md) -Update an association. +update an association. diff --git a/src/Monitor/DataCollectionRule.Autorest/docs/New-AzDataCollectionEndpoint.md b/src/Monitor/DataCollectionRule.Autorest/docs/New-AzDataCollectionEndpoint.md index 0c9b0ea2a529..ad8e41cb9f37 100644 --- a/src/Monitor/DataCollectionRule.Autorest/docs/New-AzDataCollectionEndpoint.md +++ b/src/Monitor/DataCollectionRule.Autorest/docs/New-AzDataCollectionEndpoint.md @@ -8,16 +8,16 @@ schema: 2.0.0 # New-AzDataCollectionEndpoint ## SYNOPSIS -Create a data collection endpoint. +create a data collection endpoint. ## SYNTAX ### CreateExpanded (Default) ``` New-AzDataCollectionEndpoint -Name -ResourceGroupName -Location - [-SubscriptionId ] [-Description ] [-IdentityType ] [-ImmutableId ] + [-SubscriptionId ] [-Description ] [-EnableSystemAssignedIdentity] [-ImmutableId ] [-Kind ] [-NetworkAclsPublicNetworkAccess ] [-Tag ] - [-UserAssignedIdentity ] [-DefaultProfile ] [-Confirm] [-WhatIf] [] + [-UserAssignedIdentity ] [-DefaultProfile ] [-Confirm] [-WhatIf] [] ``` ### CreateViaJsonFilePath @@ -33,7 +33,7 @@ New-AzDataCollectionEndpoint -Name -ResourceGroupName -JsonStr ``` ## DESCRIPTION -Create a data collection endpoint. +create a data collection endpoint. ## EXAMPLES @@ -163,11 +163,11 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -IdentityType -Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). +### -EnableSystemAssignedIdentity +Determines whether to enable a system-assigned identity for the resource. ```yaml -Type: System.String +Type: System.Management.Automation.SwitchParameter Parameter Sets: CreateExpanded Aliases: @@ -332,12 +332,11 @@ Accept wildcard characters: False ``` ### -UserAssignedIdentity -The set of user assigned identities associated with the resource. -The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. -The dictionary values can be empty objects ({}) in requests. +The array of user assigned identities associated with the resource. +The elements in array will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}.' ```yaml -Type: System.Collections.Hashtable +Type: System.String[] Parameter Sets: CreateExpanded Aliases: diff --git a/src/Monitor/DataCollectionRule.Autorest/docs/New-AzDataCollectionRule.md b/src/Monitor/DataCollectionRule.Autorest/docs/New-AzDataCollectionRule.md index 5af98b29a0e0..a2f6442c4dcc 100644 --- a/src/Monitor/DataCollectionRule.Autorest/docs/New-AzDataCollectionRule.md +++ b/src/Monitor/DataCollectionRule.Autorest/docs/New-AzDataCollectionRule.md @@ -8,7 +8,7 @@ schema: 2.0.0 # New-AzDataCollectionRule ## SYNOPSIS -Create a data collection rule. +create a data collection rule. ## SYNTAX @@ -30,8 +30,8 @@ New-AzDataCollectionRule -Name -ResourceGroupName -Location ] [-DestinationStorageAccount ] [-DestinationStorageBlobsDirect ] - [-DestinationStorageTablesDirect ] [-IdentityType ] [-Kind ] - [-StreamDeclaration ] [-Tag ] [-UserAssignedIdentity ] + [-DestinationStorageTablesDirect ] [-EnableSystemAssignedIdentity] + [-Kind ] [-StreamDeclaration ] [-Tag ] [-UserAssignedIdentity ] [-DefaultProfile ] [-Confirm] [-WhatIf] [] ``` @@ -48,7 +48,7 @@ New-AzDataCollectionRule -Name -ResourceGroupName -JsonString ``` ## DESCRIPTION -Create a data collection rule. +create a data collection rule. ## EXAMPLES @@ -728,11 +728,11 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -IdentityType -Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). +### -EnableSystemAssignedIdentity +Determines whether to enable a system-assigned identity for the resource. ```yaml -Type: System.String +Type: System.Management.Automation.SwitchParameter Parameter Sets: CreateExpanded Aliases: @@ -881,12 +881,11 @@ Accept wildcard characters: False ``` ### -UserAssignedIdentity -The set of user assigned identities associated with the resource. -The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. -The dictionary values can be empty objects ({}) in requests. +The array of user assigned identities associated with the resource. +The elements in array will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}.' ```yaml -Type: System.Collections.Hashtable +Type: System.String[] Parameter Sets: CreateExpanded Aliases: diff --git a/src/Monitor/DataCollectionRule.Autorest/docs/New-AzDataCollectionRuleAssociation.md b/src/Monitor/DataCollectionRule.Autorest/docs/New-AzDataCollectionRuleAssociation.md index d7817b2cad6d..e725b68d320a 100644 --- a/src/Monitor/DataCollectionRule.Autorest/docs/New-AzDataCollectionRuleAssociation.md +++ b/src/Monitor/DataCollectionRule.Autorest/docs/New-AzDataCollectionRuleAssociation.md @@ -8,7 +8,7 @@ schema: 2.0.0 # New-AzDataCollectionRuleAssociation ## SYNOPSIS -Create an association. +create an association. ## SYNTAX @@ -32,7 +32,7 @@ New-AzDataCollectionRuleAssociation -AssociationName -ResourceUri -ResourceGroupName [-SubscriptionId ] - [-IdentityType ] [-Tag ] [-UserAssignedIdentity ] [-DefaultProfile ] - [-Confirm] [-WhatIf] [] + [-Description ] [-EnableSystemAssignedIdentity ] [-ImmutableId ] [-Kind ] + [-NetworkAclsPublicNetworkAccess ] [-Tag ] [-UserAssignedIdentity ] + [-DefaultProfile ] [-Confirm] [-WhatIf] [] ``` ### UpdateViaIdentityExpanded ``` -Update-AzDataCollectionEndpoint -InputObject [-IdentityType ] - [-Tag ] [-UserAssignedIdentity ] [-DefaultProfile ] [-Confirm] [-WhatIf] - [] +Update-AzDataCollectionEndpoint -InputObject [-Description ] + [-EnableSystemAssignedIdentity ] [-ImmutableId ] [-Kind ] + [-NetworkAclsPublicNetworkAccess ] [-Tag ] [-UserAssignedIdentity ] + [-DefaultProfile ] [-Confirm] [-WhatIf] [] ``` ## DESCRIPTION -Update part of a data collection endpoint. +update a data collection endpoint. ## EXAMPLES @@ -92,8 +94,39 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -IdentityType -Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). +### -Description +Description of the data collection endpoint. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -EnableSystemAssignedIdentity +Determines whether to enable a system-assigned identity for the resource. + +```yaml +Type: System.Nullable`1[[System.Boolean, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ImmutableId +The immutable ID of this data collection endpoint resource. +This property is READ-ONLY. ```yaml Type: System.String @@ -122,6 +155,21 @@ Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` +### -Kind +The kind of the resource. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Name The name of the data collection endpoint. The name is case insensitive. @@ -138,6 +186,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -NetworkAclsPublicNetworkAccess +The configuration to set whether network access from public internet to the endpoints are allowed. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -ResourceGroupName The name of the resource group. The name is case insensitive. @@ -185,12 +248,11 @@ Accept wildcard characters: False ``` ### -UserAssignedIdentity -The set of user assigned identities associated with the resource. -The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. -The dictionary values can be empty objects ({}) in requests. +The array of user assigned identities associated with the resource. +The elements in array will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}.' ```yaml -Type: System.Collections.Hashtable +Type: System.String[] Parameter Sets: (All) Aliases: diff --git a/src/Monitor/DataCollectionRule.Autorest/docs/Update-AzDataCollectionRule.md b/src/Monitor/DataCollectionRule.Autorest/docs/Update-AzDataCollectionRule.md index cfa3e5788a0d..f59857070477 100644 --- a/src/Monitor/DataCollectionRule.Autorest/docs/Update-AzDataCollectionRule.md +++ b/src/Monitor/DataCollectionRule.Autorest/docs/Update-AzDataCollectionRule.md @@ -30,8 +30,8 @@ Update-AzDataCollectionRule -Name -ResourceGroupName [-Subscri [-DestinationMonitoringAccount ] [-DestinationStorageAccount ] [-DestinationStorageBlobsDirect ] - [-DestinationStorageTablesDirect ] [-IdentityType ] [-Kind ] - [-StreamDeclaration ] [-Tag ] [-UserAssignedIdentity ] + [-DestinationStorageTablesDirect ] [-EnableSystemAssignedIdentity ] + [-Kind ] [-StreamDeclaration ] [-Tag ] [-UserAssignedIdentity ] [-DefaultProfile ] [-Confirm] [-WhatIf] [] ``` @@ -52,8 +52,8 @@ Update-AzDataCollectionRule -InputObject [-DataCol [-DestinationMonitoringAccount ] [-DestinationStorageAccount ] [-DestinationStorageBlobsDirect ] - [-DestinationStorageTablesDirect ] [-IdentityType ] [-Kind ] - [-StreamDeclaration ] [-Tag ] [-UserAssignedIdentity ] + [-DestinationStorageTablesDirect ] [-EnableSystemAssignedIdentity ] + [-Kind ] [-StreamDeclaration ] [-Tag ] [-UserAssignedIdentity ] [-DefaultProfile ] [-Confirm] [-WhatIf] [] ``` @@ -513,11 +513,11 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -IdentityType -Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). +### -EnableSystemAssignedIdentity +Determines whether to enable a system-assigned identity for the resource. ```yaml -Type: System.String +Type: System.Nullable`1[[System.Boolean, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]] Parameter Sets: (All) Aliases: @@ -636,12 +636,11 @@ Accept wildcard characters: False ``` ### -UserAssignedIdentity -The set of user assigned identities associated with the resource. -The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. -The dictionary values can be empty objects ({}) in requests. +The array of user assigned identities associated with the resource. +The elements in array will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}.' ```yaml -Type: System.Collections.Hashtable +Type: System.String[] Parameter Sets: (All) Aliases: diff --git a/src/Monitor/DataCollectionRule.Autorest/docs/Update-AzDataCollectionRuleAssociation.md b/src/Monitor/DataCollectionRule.Autorest/docs/Update-AzDataCollectionRuleAssociation.md index a4589b06bf3b..d9aa8b0e0a67 100644 --- a/src/Monitor/DataCollectionRule.Autorest/docs/Update-AzDataCollectionRuleAssociation.md +++ b/src/Monitor/DataCollectionRule.Autorest/docs/Update-AzDataCollectionRuleAssociation.md @@ -8,7 +8,7 @@ schema: 2.0.0 # Update-AzDataCollectionRuleAssociation ## SYNOPSIS -Update an association. +update an association. ## SYNTAX @@ -27,7 +27,7 @@ Update-AzDataCollectionRuleAssociation -InputObject ## Upcoming Release +* The parameters of the `New-AzDataCollectionEndpoint`, `New-AzDataCollectionRule`, `Update-AzDataCollectionEndpoint`, `Update-AzDataCollectionRule` commands have changed. +* `IdentityType` will be removed. `EnableSystemAssignedIdentity` will be used to enable/disable system-assigned identities. +* The type of `UserAssignedIdentity` will be simplified to an array of strings that will be used to specify the user's assigned identity. +* Added new cmdlet for Azure Monitor Pipeline Groups + * `Get-AzPipelineGroup` + * `New-AzPipelineGroup` + * `Update-AzPipelineGroup` + * `Remove-AzPipelineGroup` ## Version 5.2.2 * Added breaking change messages: diff --git a/src/Monitor/Monitor/help/Az.Monitor.md b/src/Monitor/Monitor/help/Az.Monitor.md index a393aaa9b7b6..08a93445f06c 100644 --- a/src/Monitor/Monitor/help/Az.Monitor.md +++ b/src/Monitor/Monitor/help/Az.Monitor.md @@ -178,13 +178,13 @@ Creates or updates an autoscale setting. Create an in-memory object for WebhookNotification. ### [New-AzDataCollectionEndpoint](New-AzDataCollectionEndpoint.md) -Create a data collection endpoint. +create a data collection endpoint. ### [New-AzDataCollectionRule](New-AzDataCollectionRule.md) -Create a data collection rule. +create a data collection rule. ### [New-AzDataCollectionRuleAssociation](New-AzDataCollectionRuleAssociation.md) -Create an association. +create an association. ### [New-AzDataFlowObject](New-AzDataFlowObject.md) Create an in-memory object for DataFlow. @@ -343,13 +343,13 @@ Updates an existing AutoscaleSettingsResource. To update other fields use the CreateOrUpdate method. ### [Update-AzDataCollectionEndpoint](Update-AzDataCollectionEndpoint.md) -Update part of a data collection endpoint. +update a data collection endpoint. ### [Update-AzDataCollectionRule](Update-AzDataCollectionRule.md) Update a data collection rule. ### [Update-AzDataCollectionRuleAssociation](Update-AzDataCollectionRuleAssociation.md) -Update an association. +update an association. ### [Update-AzInsightsPrivateLinkScope](Update-AzInsightsPrivateLinkScope.md) Update for private link scope diff --git a/src/Monitor/Monitor/help/Get-AzMetricsBatch.md b/src/Monitor/Monitor/help/Get-AzMetricsBatch.md index ab7a6bc5d38d..2301c94e22e4 100644 --- a/src/Monitor/Monitor/help/Get-AzMetricsBatch.md +++ b/src/Monitor/Monitor/help/Get-AzMetricsBatch.md @@ -1483,3 +1483,316 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## NOTES ## RELATED LINKS + + +## PARAMETERS + +### -Aggregation +The list of aggregation types (comma separated) to retrieve. +*Examples: average, minimum, maximum* + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Endpoint +The regional endpoint to use, for example https://eastus.metrics.monitor.azure.com. +The region should match the region of the requested resources. +For global resources, the region should be 'global'. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -EndTime +The end time of the query. +It is a string in the format 'yyyy-MM-ddTHH:mm:ss.fffZ'. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Filter +The filter is used to reduce the set of metric data returned. +Example: +Metric contains metadata A, B and C. +- Return all time series of C where A = a1 and B = b1 or b2 +**filter=A eq 'a1' and B eq 'b1' or B eq 'b2' and C eq '*'** +- Invalid variant: +**filter=A eq 'a1' and B eq 'b1' and C eq '*' or B = 'b2'** +This is invalid because the logical or operator cannot separate two different metadata names. +- Return all time series where A = a1, B = b1 and C = c1: +**filter=A eq 'a1' and B eq 'b1' and C eq 'c1'** +- Return all time series where A = a1 +**filter=A eq 'a1' and B eq '*' and C eq '*'**. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.Metric.Models.IMetricdataIdentity +Parameter Sets: BatchViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Interval +The interval (i.e. +timegrain) of the query in ISO 8601 duration format. +Defaults to PT1M. +Special case for 'FULL' value that returns single datapoint for entire time span requested. +*Examples: PT15M, PT1H, P1D, FULL* + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +The names of the metrics (comma separated) to retrieve. + +```yaml +Type: System.Collections.Generic.List`1[System.String] +Parameter Sets: (All) +Aliases: MetricName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Namespace +Metric namespace that contains the requested metric names. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: MetricNamespace + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Orderby +The aggregation to use for sorting results and the direction of the sort. +Only one order can be specified. +*Examples: sum asc* + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceId +The list of resource IDs to query metrics for. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Rollupby +Dimension name(s) to rollup results by. +For example if you only want to see metric values with a filter like 'City eq Seattle or City eq Tacoma' but don't want to see separate values for each city, you can specify 'RollUpBy=City' to see the results for Seattle and Tacoma rolled up into one timeseries. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StartTime +The start time of the query. +It is a string in the format 'yyyy-MM-ddTHH:mm:ss.fffZ'. +If you have specified the endtime parameter, then this parameter is required. +If only starttime is specified, then endtime defaults to the current time. +If no time interval is specified, the default is 1 hour. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The subscription identifier for the resources in this batch. + +```yaml +Type: System.String[] +Parameter Sets: BatchExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Top +The maximum number of records to retrieve per resource ID in the request. +Valid only if filter is specified. +Defaults to 10. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +## NOTES + +## RELATED LINKS diff --git a/src/Monitor/Monitor/help/New-AzDataCollectionEndpoint.md b/src/Monitor/Monitor/help/New-AzDataCollectionEndpoint.md index 304d43d26e8c..4b003c88bf4b 100644 --- a/src/Monitor/Monitor/help/New-AzDataCollectionEndpoint.md +++ b/src/Monitor/Monitor/help/New-AzDataCollectionEndpoint.md @@ -8,16 +8,17 @@ schema: 2.0.0 # New-AzDataCollectionEndpoint ## SYNOPSIS -Create a data collection endpoint. +create a data collection endpoint. ## SYNTAX ### CreateExpanded (Default) ``` New-AzDataCollectionEndpoint -Name -ResourceGroupName [-SubscriptionId ] - -Location [-Description ] [-IdentityType ] [-ImmutableId ] [-Kind ] - [-NetworkAclsPublicNetworkAccess ] [-Tag ] [-UserAssignedIdentity ] - [-DefaultProfile ] [-ProgressAction ] [-WhatIf] [-Confirm] [] + -Location [-Description ] [-EnableSystemAssignedIdentity] [-ImmutableId ] + [-Kind ] [-NetworkAclsPublicNetworkAccess ] [-Tag ] + [-UserAssignedIdentity ] [-DefaultProfile ] [-ProgressAction ] [-WhatIf] + [-Confirm] [] ``` ### CreateViaJsonFilePath @@ -35,7 +36,7 @@ New-AzDataCollectionEndpoint -Name -ResourceGroupName [-Subscr ``` ## DESCRIPTION -Create a data collection endpoint. +create a data collection endpoint. ## EXAMPLES @@ -165,11 +166,11 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -IdentityType -Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). +### -EnableSystemAssignedIdentity +Determines whether to enable a system-assigned identity for the resource. ```yaml -Type: System.String +Type: System.Management.Automation.SwitchParameter Parameter Sets: CreateExpanded Aliases: @@ -349,12 +350,11 @@ Accept wildcard characters: False ``` ### -UserAssignedIdentity -The set of user assigned identities associated with the resource. -The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. -The dictionary values can be empty objects ({}) in requests. +The array of user assigned identities associated with the resource. +The elements in array will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}.' ```yaml -Type: System.Collections.Hashtable +Type: System.String[] Parameter Sets: CreateExpanded Aliases: diff --git a/src/Monitor/Monitor/help/New-AzDataCollectionRule.md b/src/Monitor/Monitor/help/New-AzDataCollectionRule.md index 38d84abd7e1e..87634f2838a7 100644 --- a/src/Monitor/Monitor/help/New-AzDataCollectionRule.md +++ b/src/Monitor/Monitor/help/New-AzDataCollectionRule.md @@ -8,7 +8,7 @@ schema: 2.0.0 # New-AzDataCollectionRule ## SYNOPSIS -Create a data collection rule. +create a data collection rule. ## SYNTAX @@ -30,8 +30,8 @@ New-AzDataCollectionRule -Name -ResourceGroupName [-Subscripti [-DestinationMonitoringAccount ] [-DestinationStorageAccount ] [-DestinationStorageBlobsDirect ] - [-DestinationStorageTablesDirect ] [-IdentityType ] [-Kind ] - [-StreamDeclaration ] [-Tag ] [-UserAssignedIdentity ] + [-DestinationStorageTablesDirect ] [-EnableSystemAssignedIdentity] + [-Kind ] [-StreamDeclaration ] [-Tag ] [-UserAssignedIdentity ] [-DefaultProfile ] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` @@ -50,7 +50,7 @@ New-AzDataCollectionRule -Name -ResourceGroupName [-Subscripti ``` ## DESCRIPTION -Create a data collection rule. +create a data collection rule. ## EXAMPLES @@ -730,11 +730,11 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -IdentityType -Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). +### -EnableSystemAssignedIdentity +Determines whether to enable a system-assigned identity for the resource. ```yaml -Type: System.String +Type: System.Management.Automation.SwitchParameter Parameter Sets: CreateExpanded Aliases: @@ -898,12 +898,11 @@ Accept wildcard characters: False ``` ### -UserAssignedIdentity -The set of user assigned identities associated with the resource. -The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. -The dictionary values can be empty objects ({}) in requests. +The array of user assigned identities associated with the resource. +The elements in array will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}.' ```yaml -Type: System.Collections.Hashtable +Type: System.String[] Parameter Sets: CreateExpanded Aliases: diff --git a/src/Monitor/Monitor/help/New-AzDataCollectionRuleAssociation.md b/src/Monitor/Monitor/help/New-AzDataCollectionRuleAssociation.md index 17f445df83d9..bc404c883f02 100644 --- a/src/Monitor/Monitor/help/New-AzDataCollectionRuleAssociation.md +++ b/src/Monitor/Monitor/help/New-AzDataCollectionRuleAssociation.md @@ -8,7 +8,7 @@ schema: 2.0.0 # New-AzDataCollectionRuleAssociation ## SYNOPSIS -Create an association. +create an association. ## SYNTAX @@ -32,7 +32,7 @@ New-AzDataCollectionRuleAssociation -AssociationName -ResourceUri -ResourceGroupName [-SubscriptionId ] - [-IdentityType ] [-Tag ] [-UserAssignedIdentity ] [-DefaultProfile ] - [-ProgressAction ] [-WhatIf] [-Confirm] [] + [-Description ] [-EnableSystemAssignedIdentity ] [-ImmutableId ] [-Kind ] + [-NetworkAclsPublicNetworkAccess ] [-Tag ] [-UserAssignedIdentity ] + [-DefaultProfile ] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ### UpdateViaIdentityExpanded ``` -Update-AzDataCollectionEndpoint -InputObject [-IdentityType ] - [-Tag ] [-UserAssignedIdentity ] [-DefaultProfile ] - [-ProgressAction ] [-WhatIf] [-Confirm] [] +Update-AzDataCollectionEndpoint -InputObject [-Description ] + [-EnableSystemAssignedIdentity ] [-ImmutableId ] [-Kind ] + [-NetworkAclsPublicNetworkAccess ] [-Tag ] [-UserAssignedIdentity ] + [-DefaultProfile ] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION -Update part of a data collection endpoint. +update a data collection endpoint. ## EXAMPLES @@ -92,8 +94,39 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -IdentityType -Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). +### -Description +Description of the data collection endpoint. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -EnableSystemAssignedIdentity +Determines whether to enable a system-assigned identity for the resource. + +```yaml +Type: System.Nullable`1[System.Boolean] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ImmutableId +The immutable ID of this data collection endpoint resource. +This property is READ-ONLY. ```yaml Type: System.String @@ -122,6 +155,21 @@ Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` +### -Kind +The kind of the resource. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Name The name of the data collection endpoint. The name is case insensitive. @@ -138,6 +186,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -NetworkAclsPublicNetworkAccess +The configuration to set whether network access from public internet to the endpoints are allowed. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -ProgressAction {{ Fill ProgressAction Description }} @@ -200,12 +263,11 @@ Accept wildcard characters: False ``` ### -UserAssignedIdentity -The set of user assigned identities associated with the resource. -The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. -The dictionary values can be empty objects ({}) in requests. +The array of user assigned identities associated with the resource. +The elements in array will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}.' ```yaml -Type: System.Collections.Hashtable +Type: System.String[] Parameter Sets: (All) Aliases: diff --git a/src/Monitor/Monitor/help/Update-AzDataCollectionRule.md b/src/Monitor/Monitor/help/Update-AzDataCollectionRule.md index de86ec483568..89364f56a510 100644 --- a/src/Monitor/Monitor/help/Update-AzDataCollectionRule.md +++ b/src/Monitor/Monitor/help/Update-AzDataCollectionRule.md @@ -30,8 +30,8 @@ Update-AzDataCollectionRule -Name -ResourceGroupName [-Subscri [-DestinationMonitoringAccount ] [-DestinationStorageAccount ] [-DestinationStorageBlobsDirect ] - [-DestinationStorageTablesDirect ] [-IdentityType ] [-Kind ] - [-StreamDeclaration ] [-Tag ] [-UserAssignedIdentity ] + [-DestinationStorageTablesDirect ] [-EnableSystemAssignedIdentity ] + [-Kind ] [-StreamDeclaration ] [-Tag ] [-UserAssignedIdentity ] [-DefaultProfile ] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` @@ -52,8 +52,8 @@ Update-AzDataCollectionRule -InputObject [-DataCol [-DestinationMonitoringAccount ] [-DestinationStorageAccount ] [-DestinationStorageBlobsDirect ] - [-DestinationStorageTablesDirect ] [-IdentityType ] [-Kind ] - [-StreamDeclaration ] [-Tag ] [-UserAssignedIdentity ] + [-DestinationStorageTablesDirect ] [-EnableSystemAssignedIdentity ] + [-Kind ] [-StreamDeclaration ] [-Tag ] [-UserAssignedIdentity ] [-DefaultProfile ] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` @@ -513,11 +513,11 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -IdentityType -Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). +### -EnableSystemAssignedIdentity +Determines whether to enable a system-assigned identity for the resource. ```yaml -Type: System.String +Type: System.Nullable`1[System.Boolean] Parameter Sets: (All) Aliases: @@ -651,12 +651,11 @@ Accept wildcard characters: False ``` ### -UserAssignedIdentity -The set of user assigned identities associated with the resource. -The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. -The dictionary values can be empty objects ({}) in requests. +The array of user assigned identities associated with the resource. +The elements in array will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}.' ```yaml -Type: System.Collections.Hashtable +Type: System.String[] Parameter Sets: (All) Aliases: diff --git a/src/Monitor/Monitor/help/Update-AzDataCollectionRuleAssociation.md b/src/Monitor/Monitor/help/Update-AzDataCollectionRuleAssociation.md index ccc2be2aeeb0..afb3e37442ae 100644 --- a/src/Monitor/Monitor/help/Update-AzDataCollectionRuleAssociation.md +++ b/src/Monitor/Monitor/help/Update-AzDataCollectionRuleAssociation.md @@ -8,7 +8,7 @@ schema: 2.0.0 # Update-AzDataCollectionRuleAssociation ## SYNOPSIS -Update an association. +update an association. ## SYNTAX @@ -27,7 +27,7 @@ Update-AzDataCollectionRuleAssociation -InputObject