Remove-AzTimeSeriesInsightsReferenceDataSet

Deletes the reference data set with the specified name in the specified subscription, resource group, and environment

Syntax

Remove-AzTimeSeriesInsightsReferenceDataSet
      -EnvironmentName <String>
      -Name <String>
      -ResourceGroupName <String>
      [-SubscriptionId <String>]
      [-DefaultProfile <PSObject>]
      [-PassThru]
      [-Confirm]
      [-WhatIf]
      [<CommonParameters>]
Remove-AzTimeSeriesInsightsReferenceDataSet
      -InputObject <ITimeSeriesInsightsIdentity>
      [-DefaultProfile <PSObject>]
      [-PassThru]
      [-Confirm]
      [-WhatIf]
      [<CommonParameters>]

Description

Deletes the reference data set with the specified name in the specified subscription, resource group, and environment

Examples

Example 1: Remove a specified reference data set by name

Remove-AzTimeSeriesInsightsReferenceDataSet -EnvironmentName tsitest001 -Name dstest001 -ResourceGroupName testgroup

This command removes a specified reference data set.

Example 2: Remove a specified reference data set by object

$ds = Get-AzTimeSeriesInsightsReferenceDataSet -EnvironmentName tsitest001 -Name dstest001 -ResourceGroupName testgroup
Remove-AzTimeSeriesInsightsReferenceDataSet -InputObject $ds

This command removes a specified reference data set.

Parameters

-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-DefaultProfile

The credentials, account, tenant, and subscription used for communication with Azure.

Type:PSObject
Aliases:AzureRMContext, AzureCredential
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-EnvironmentName

The name of the Time Series Insights environment associated with the specified resource group.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-InputObject

Identity Parameter To construct, see NOTES section for INPUTOBJECT properties and create a hash table.

Type:ITimeSeriesInsightsIdentity
Position:Named
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-Name

The name of the Time Series Insights reference data set associated with the specified environment.

Type:String
Aliases:ReferenceDataSetName
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-PassThru

Returns true when the command succeeds

Type:SwitchParameter
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-ResourceGroupName

Name of an Azure Resource group.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-SubscriptionId

Azure Subscription ID.

Type:String
Position:Named
Default value:(Get-AzContext).Subscription.Id
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Inputs

ITimeSeriesInsightsIdentity

Outputs

Boolean

Notes

ALIASES

COMPLEX PARAMETER PROPERTIES

To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.

INPUTOBJECT <ITimeSeriesInsightsIdentity>: Identity Parameter

  • [AccessPolicyName <String>]: Name of the access policy.
  • [EnvironmentName <String>]: Name of the environment
  • [EventSourceName <String>]: The name of the Time Series Insights event source associated with the specified environment.
  • [Id <String>]: Resource identity path
  • [ReferenceDataSetName <String>]: Name of the reference data set.
  • [ResourceGroupName <String>]: Name of an Azure Resource group.
  • [SubscriptionId <String>]: Azure Subscription ID.