You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
{ throw [System.NotImplementedException] } | Should -Not-Throw
24
+
It 'CreateExpanded1' {
25
+
{
26
+
{ New-AzNetworkFunctionCollectorPolicy-collectorpolicyname $env.collectorPolicyName-azuretrafficcollectorname $env.azureTrafficCollectorName-resourcegroupname $env.resourceGroup-location $env.location-IngestionPolicyIngestionSource @{ResourceId=$env.ResourceIdLessThan1G} -IngestionPolicyIngestionType $env.IngestionType } | Should -Throw -ExpectedMessage "CollectorPolicy can not be updated because circuit has bandwidth less than 1G. Circuit size with a bandwidth of 1G or more is supported."
27
+
}
24
28
}
25
29
26
-
It 'CreateViaIdentityExpanded'-skip {
27
-
{ throw [System.NotImplementedException] } | Should -Not-Throw
{ throw [System.NotImplementedException] } | Should -Not-Throw
18
+
It 'UpdateExpanded' {
19
+
{
20
+
{ Update-AzNetworkFunctionCollectorPolicy-collectorpolicyname $env.collectorPolicyName-azuretrafficcollectorname $env.azureTrafficCollectorName-resourcegroupname $env.resourceGroup-location $env.location-IngestionPolicyIngestionSource @{ResourceId=$env.ResourceId1G} -IngestionPolicyIngestionType $env.IngestionType } | Should Not Throw
21
+
}
20
22
}
21
-
}
23
+
24
+
It 'UpdateExpanded1' {
25
+
{
26
+
{ Update-AzNetworkFunctionCollectorPolicy-collectorpolicyname $env.collectorPolicyName-azuretrafficcollectorname $env.azureTrafficCollectorName-resourcegroupname $env.resourceGroup-location $env.location-IngestionPolicyIngestionSource @{ResourceId=$env.ResourceIdLessThan1G} -IngestionPolicyIngestionType $env.IngestionType } | Should Throw-ExpectedMessage "CollectorPolicy can not be updated because circuit has bandwidth less than 1G. Circuit size with a bandwidth of 1G or more is supported."
0 commit comments