public override void ExecuteCmdlet()
        {
            if (ParameterSetName == ByWorkspaceObject)
            {
                ResourceGroupName = Workspace.ResourceGroupName;
                WorkspaceName     = Workspace.Name;
            }

            WriteObject(OperationalInsightsClient.FilterPSStorageInsights(ResourceGroupName, WorkspaceName, Name), true);
        }
Esempio n. 2
0
        protected override void ProcessRecord()
        {
            if (ParameterSetName == ByWorkspaceObject)
            {
                ResourceGroupName = Workspace.ResourceGroupName;
                WorkspaceName     = Workspace.Name;
            }

            WriteObject(OperationalInsightsClient.FilterPSStorageInsights(ResourceGroupName, WorkspaceName, Name), true);
        }