Skip to content

Commit 7b7ff23

Browse files
Split Az.DataLakeAnalytics Examples (#17062)
1 parent 195e668 commit 7b7ff23

31 files changed

+145
-121
lines changed

src/DataLakeAnalytics/DataLakeAnalytics/help/Add-AzDataLakeAnalyticsDataSource.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
---
1+
---
22
external help file: Microsoft.Azure.PowerShell.Cmdlets.DataLakeAnalytics.dll-Help.xml
33
Module Name: Az.DataLakeAnalytics
44
ms.assetid: A38D8BF6-D302-4586-B7AF-4C80B546E96F
@@ -32,7 +32,7 @@ The **Add-AzDataLakeAnalyticsDataSource** cmdlet adds a data source to an Azure
3232

3333
### Example 1: Add a data source to an account
3434
```powershell
35-
PS C:\>Add-AzDataLakeAnalyticsDataSource -Account "ContosoAdlA" -DataLakeStore "ContosoAdlS"
35+
Add-AzDataLakeAnalyticsDataSource -Account "ContosoAdlA" -DataLakeStore "ContosoAdlS"
3636
```
3737

3838
This command adds a Data Lake Store data source to a Data Lake Analytics account.

src/DataLakeAnalytics/DataLakeAnalytics/help/Add-AzDataLakeAnalyticsFirewallRule.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
---
1+
---
22
external help file: Microsoft.Azure.PowerShell.Cmdlets.DataLakeAnalytics.dll-Help.xml
33
Module Name: Az.DataLakeAnalytics
44
online version: https://docs.microsoft.com/powershell/module/az.datalakeanalytics/add-azdatalakeanalyticsfirewallrule
@@ -24,8 +24,8 @@ The **Add-AzDataLakeAnalyticsFirewallRule** cmdlet adds a firewall rule to an Az
2424
## EXAMPLES
2525

2626
### Example 1: Add a firewall rule
27-
```
28-
PS C:\>Add-AzDataLakeAnalyticsFirewallRule -Account "ContosoAdlAcct" -Name "My firewall rule" -StartIpAddress 127.0.0.1 -EndIpAddress 127.0.0.10
27+
```powershell
28+
Add-AzDataLakeAnalyticsFirewallRule -Account "ContosoAdlAcct" -Name "My firewall rule" -StartIpAddress 127.0.0.1 -EndIpAddress 127.0.0.10
2929
```
3030

3131
This command adds the firewall rule named "my firewall rule" from account "ContosoAdlAcct" with the IP range: 127.0.0.1 - 127.0.0.10

src/DataLakeAnalytics/DataLakeAnalytics/help/Get-AzDataLakeAnalyticsAccount.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
---
1+
---
22
external help file: Microsoft.Azure.PowerShell.Cmdlets.DataLakeAnalytics.dll-Help.xml
33
Module Name: Az.DataLakeAnalytics
44
ms.assetid: 4EA01047-021C-4FA5-82F0-5102BA114BC2
@@ -36,8 +36,8 @@ The **Get-AzDataLakeAnalyticsAccount** cmdlet gets information about an Azure Da
3636
## EXAMPLES
3737

3838
### Example 1: Get information about a Data Lake Analytics account
39-
```
40-
PS C:\>Get-AzDataLakeAnalyticsAccount -Name "ContosoAdlAccount"
39+
```powershell
40+
Get-AzDataLakeAnalyticsAccount -Name "ContosoAdlAccount"
4141
```
4242

4343
This command gets information about the account named ContosoAdlAccount.

src/DataLakeAnalytics/DataLakeAnalytics/help/Get-AzDataLakeAnalyticsCatalogItem.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
---
1+
---
22
external help file: Microsoft.Azure.PowerShell.Cmdlets.DataLakeAnalytics.dll-Help.xml
33
Module Name: Az.DataLakeAnalytics
44
ms.assetid: A6899341-1E5E-4F8B-8D5D-5923B1223628
@@ -24,15 +24,15 @@ The **Get-AzDataLakeAnalyticsCatalogItem** gets a specified Azure Data Lake Anal
2424
## EXAMPLES
2525

2626
### Example 1: Get a specified database
27-
```
28-
PS C:\>Get-AzDataLakeAnalyticsCatalogItem -Account "contosoadla" -ItemType Database -Path "databaseName"
27+
```powershell
28+
Get-AzDataLakeAnalyticsCatalogItem -Account "contosoadla" -ItemType Database -Path "databaseName"
2929
```
3030

3131
This command gets the specified database.
3232

3333
### Example 2: Get tables in a specified database and schema
34-
```
35-
PS C:\>Get-AzDataLakeAnalyticsDataSource -AccountName "contosoadla" -ItemType Table -Path "databaseName.schemaName"
34+
```powershell
35+
Get-AzDataLakeAnalyticsDataSource -AccountName "contosoadla" -ItemType Table -Path "databaseName.schemaName"
3636
```
3737

3838
This command gets a list of tables in the specified database.

src/DataLakeAnalytics/DataLakeAnalytics/help/Get-AzDataLakeAnalyticsCatalogItemAclEntry.md

Lines changed: 19 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
---
1+
---
22
external help file: Microsoft.Azure.PowerShell.Cmdlets.DataLakeAnalytics.dll-Help.xml
33
Module Name: Az.DataLakeAnalytics
44
online version: https://docs.microsoft.com/powershell/module/az.datalakeanalytics/get-azdatalakeanalyticscatalogitemaclentry
@@ -55,8 +55,10 @@ The **Get-AzDataLakeAnalyticsCatalogItemAclEntry** cmdlet gets a list of entries
5555

5656
### Example 1: Get the ACL for a catalog
5757
```powershell
58-
PS C:\> Get-AzDataLakeAnalyticsCatalogItemAclEntry -Account "contosoadla"
58+
Get-AzDataLakeAnalyticsCatalogItemAclEntry -Account "contosoadla"
59+
```
5960

61+
```output
6062
Type Id Permissions
6163
---- -- -----------
6264
User 90a6f74b-fd73-490e-900a-c4f0f9694d02 Read
@@ -68,8 +70,10 @@ This command gets the ACL for the catalog of the specified Data Lake Analytics a
6870

6971
### Example 2: Get the ACL entry of user owner for a catalog
7072
```powershell
71-
PS C:\> Get-AzDataLakeAnalyticsCatalogItemAclEntry -Account "contosoadla" -UserOwner
73+
Get-AzDataLakeAnalyticsCatalogItemAclEntry -Account "contosoadla" -UserOwner
74+
```
7275

76+
```output
7377
Type Id Permissions
7478
---- -- -----------
7579
UserOwner 0316ac75-6703-4ace-984f-a4dd79aeeafc ReadWrite
@@ -79,8 +83,10 @@ This command gets ACL entry of the user owner for the catalog of the specified D
7983

8084
### Example 3: Get the ACL entry of group owner for a catalog
8185
```powershell
82-
PS C:\> Get-AzDataLakeAnalyticsCatalogItemAclEntry -Account "contosoadla" -GroupOwner
86+
Get-AzDataLakeAnalyticsCatalogItemAclEntry -Account "contosoadla" -GroupOwner
87+
```
8388

89+
```output
8490
Type Id Permissions
8591
---- -- -----------
8692
GroupOwner 0316ac75-6703-4ace-984f-a4dd79aeeafc ReadWrite
@@ -90,8 +96,10 @@ This command gets ACL entry of the group owner for the catalog of the specified
9096

9197
### Example 4: Get the ACL for a database
9298
```powershell
93-
PS C:\> Get-AzDataLakeAnalyticsCatalogItemAclEntry -Account "contosoadla" -ItemType Database -Path "databaseName"
99+
Get-AzDataLakeAnalyticsCatalogItemAclEntry -Account "contosoadla" -ItemType Database -Path "databaseName"
100+
```
94101

102+
```output
95103
Type Id Permissions
96104
---- -- -----------
97105
User 90a6f74b-fd73-490e-900a-c4f0f9694d02 Read
@@ -103,8 +111,10 @@ This command gets the ACL for the database of the specified Data Lake Analytics
103111

104112
### Example 5: Get the ACL entry of user owner for a database
105113
```powershell
106-
PS C:\> Get-AzDataLakeAnalyticsCatalogItemAclEntry -Account "contosoadla" -UserOwner -ItemType Database -Path "databaseName"
114+
Get-AzDataLakeAnalyticsCatalogItemAclEntry -Account "contosoadla" -UserOwner -ItemType Database -Path "databaseName"
115+
```
107116

117+
```output
108118
Type Id Permissions
109119
---- -- -----------
110120
UserOwner 0316ac75-6703-4ace-984f-a4dd79aeeafc ReadWrite
@@ -114,8 +124,10 @@ This command gets the ACL entry of the user owner for the database of the specif
114124

115125
### Example 6: Get the ACL entry of group owner for a database
116126
```powershell
117-
PS C:\> Get-AzDataLakeAnalyticsCatalogItemAclEntry -Account "contosoadla" -GroupOwner -ItemType Database -Path "databaseName"
127+
Get-AzDataLakeAnalyticsCatalogItemAclEntry -Account "contosoadla" -GroupOwner -ItemType Database -Path "databaseName"
128+
```
118129

130+
```output
119131
Type Id Permissions
120132
---- -- -----------
121133
GroupOwner 0316ac75-6703-4ace-984f-a4dd79aeeafc ReadWrite

src/DataLakeAnalytics/DataLakeAnalytics/help/Get-AzDataLakeAnalyticsComputePolicy.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
---
1+
---
22
external help file: Microsoft.Azure.PowerShell.Cmdlets.DataLakeAnalytics.dll-Help.xml
33
Module Name: Az.DataLakeAnalytics
44
online version: https://docs.microsoft.com/powershell/module/az.datalakeanalytics/get-azdatalakeanalyticscomputepolicy
@@ -23,15 +23,15 @@ The **Get-AzDataLakeAnalyticsComputePolicy** gets a specified Azure Data Lake An
2323
## EXAMPLES
2424

2525
### Example 1: Get a specified compute policy
26-
```
27-
PS C:\>Get-AzDataLakeAnalyticsComputePolicy -Account "contosoadla" -Name myPolicy
26+
```powershell
27+
Get-AzDataLakeAnalyticsComputePolicy -Account "contosoadla" -Name myPolicy
2828
```
2929

3030
This command gets the specified compute policy with name 'myPolicy' in account 'contosoadla'.
3131

3232
### Example 2: Get a list of all compute policies in the account
33-
```
34-
PS C:\>Get-AzDataLakeAnalyticsComputePolicy -AccountName "contosoadla"
33+
```powershell
34+
Get-AzDataLakeAnalyticsComputePolicy -AccountName "contosoadla"
3535
```
3636

3737
This command gets a list of all compute policies in the account "contosoadla"

src/DataLakeAnalytics/DataLakeAnalytics/help/Get-AzDataLakeAnalyticsDataSource.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
---
1+
---
22
external help file: Microsoft.Azure.PowerShell.Cmdlets.DataLakeAnalytics.dll-Help.xml
33
Module Name: Az.DataLakeAnalytics
44
ms.assetid: 0377C4E9-C1DC-49BA-BBC4-5598C83234F8
@@ -37,15 +37,15 @@ The **Get-AzDataLakeAnalyticsDataSource** cmdlet gets an Azure Data Lake Analyti
3737
## EXAMPLES
3838

3939
### Example 1: Get a data source from an account
40-
```
41-
PS C:\>Get-AzDataLakeAnalyticsDataSource -AccountName "ContosoAdlA" -DataLakeStore "ContosoAdls"
40+
```powershell
41+
Get-AzDataLakeAnalyticsDataSource -AccountName "ContosoAdlA" -DataLakeStore "ContosoAdls"
4242
```
4343

4444
This command gets a Data Lake Store data source named ContosoAdls from a Data Lake Analytics account.
4545

4646
### Example 2: Get the list of Data Lake Store accounts in a Data Lake Analytics account
47-
```
48-
PS C:\>Get-AzDataLakeAnalyticsDataSource -AccountName "ContosoAdlA" -DataSource "DataLakeStore"
47+
```powershell
48+
Get-AzDataLakeAnalyticsDataSource -AccountName "ContosoAdlA" -DataSource "DataLakeStore"
4949
```
5050

5151
This command gets all Data Lake Store accounts from a Data Lake Analytics account.

src/DataLakeAnalytics/DataLakeAnalytics/help/Get-AzDataLakeAnalyticsFirewallRule.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
---
1+
---
22
external help file: Microsoft.Azure.PowerShell.Cmdlets.DataLakeAnalytics.dll-Help.xml
33
Module Name: Az.DataLakeAnalytics
44
online version: https://docs.microsoft.com/powershell/module/az.datalakeanalytics/get-azdatalakeanalyticsfirewallrule
@@ -23,15 +23,15 @@ The **Get-AzDataLakeAnalyticsFirewallRule** cmdlet retrieves a firewall rule or
2323
## EXAMPLES
2424

2525
### Example 1: Get a firewall rule
26-
```
27-
PS C:\>Get-AzDataLakeAnalyticsFirewallRule -Account "ContosoAdlAcct" -Name "My firewall rule"
26+
```powershell
27+
Get-AzDataLakeAnalyticsFirewallRule -Account "ContosoAdlAcct" -Name "My firewall rule"
2828
```
2929

3030
This command gets the firewall rule named "my firewall rule" from account "ContosoAdlAcct"
3131

3232
### Example 2: List all firewall rules
33-
```
34-
PS C:\>Get-AzDataLakeAnalyticsFirewallRule -Account "ContosoAdlAcct"
33+
```powershell
34+
Get-AzDataLakeAnalyticsFirewallRule -Account "ContosoAdlAcct"
3535
```
3636

3737
This command gets all firewall rules from account "ContosoAdlAcct"

src/DataLakeAnalytics/DataLakeAnalytics/help/Get-AzDataLakeAnalyticsJob.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
---
1+
---
22
external help file: Microsoft.Azure.PowerShell.Cmdlets.DataLakeAnalytics.dll-Help.xml
33
Module Name: Az.DataLakeAnalytics
44
ms.assetid: A0293D80-5935-4D2C-AF11-2837FEC95760
@@ -34,15 +34,15 @@ If you do not specify a job, this cmdlet gets all jobs.
3434
## EXAMPLES
3535

3636
### Example 1: Get a specified job
37-
```
38-
PS C:\>Get-AzDataLakeAnalyticsJob -Account "contosoadla" -JobId $JobID01
37+
```powershell
38+
Get-AzDataLakeAnalyticsJob -Account "contosoadla" -JobId $JobID01
3939
```
4040

4141
This command gets the job with the specified ID.
4242

4343
### Example 2: Get jobs submitted in the past week
44-
```
45-
PS C:\>Get-AzDataLakeAnalyticsJob -Account "contosoadla" -SubmittedAfter (Get-Date).AddDays(-7)
44+
```powershell
45+
Get-AzDataLakeAnalyticsJob -Account "contosoadla" -SubmittedAfter (Get-Date).AddDays(-7)
4646
```
4747

4848
This command gets jobs submitted in the past week.

src/DataLakeAnalytics/DataLakeAnalytics/help/Get-AzDataLakeAnalyticsJobPipeline.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
---
1+
---
22
external help file: Microsoft.Azure.PowerShell.Cmdlets.DataLakeAnalytics.dll-Help.xml
33
Module Name: Az.DataLakeAnalytics
44
online version: https://docs.microsoft.com/powershell/module/az.datalakeanalytics/get-azdatalakeanalyticsjobpipeline
@@ -30,15 +30,15 @@ The **Get-AzDataLakeAnalyticsJobPipeline** gets a specified Azure Data Lake Anal
3030
## EXAMPLES
3131

3232
### Example 1: Get a specified pipeline
33-
```
34-
PS C:\>Get-AzDataLakeAnalyticsJobPipeline -Account "contosoadla" -PipelineId 83cb7ad2-3523-4b82-b909-d478b0d8aea3
33+
```powershell
34+
Get-AzDataLakeAnalyticsJobPipeline -Account "contosoadla" -PipelineId 83cb7ad2-3523-4b82-b909-d478b0d8aea3
3535
```
3636

3737
This command gets the specified pipeline with id '83cb7ad2-3523-4b82-b909-d478b0d8aea3' in account 'contosoadla'.
3838

3939
### Example 2: Get a list of all pipelines in the account
40-
```
41-
PS C:\>Get-AzDataLakeAnalyticsJobPipeline -AccountName "contosoadla"
40+
```powershell
41+
Get-AzDataLakeAnalyticsJobPipeline -AccountName "contosoadla"
4242
```
4343

4444
This command gets a list of all pipelines in the account "contosoadla"

src/DataLakeAnalytics/DataLakeAnalytics/help/Get-AzDataLakeAnalyticsJobRecurrence.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
---
1+
---
22
external help file: Microsoft.Azure.PowerShell.Cmdlets.DataLakeAnalytics.dll-Help.xml
33
Module Name: Az.DataLakeAnalytics
44
online version: https://docs.microsoft.com/powershell/module/az.datalakeanalytics/get-azdatalakeanalyticsjobrecurrence
@@ -31,15 +31,15 @@ The **Get-AzDataLakeAnalyticsJobRecurrence** gets a specified Azure Data Lake An
3131
## EXAMPLES
3232

3333
### Example 1: Get a specified recurrence
34-
```
35-
PS C:\>Get-AzDataLakeAnalyticsJobRecurrence -Account "contosoadla" -RecurrenceId 83cb7ad2-3523-4b82-b909-d478b0d8aea3
34+
```powershell
35+
Get-AzDataLakeAnalyticsJobRecurrence -Account "contosoadla" -RecurrenceId 83cb7ad2-3523-4b82-b909-d478b0d8aea3
3636
```
3737

3838
This command gets the specified job recurrence with id '83cb7ad2-3523-4b82-b909-d478b0d8aea3' in account 'contosoadla'.
3939

4040
### Example 2: Get a list of all recurrences in the account
41-
```
42-
PS C:\>Get-AzDataLakeAnalyticsJobRecurrence -AccountName "contosoadla"
41+
```powershell
42+
Get-AzDataLakeAnalyticsJobRecurrence -AccountName "contosoadla"
4343
```
4444

4545
This command gets a list of all recurrences in the account "contosoadla"

src/DataLakeAnalytics/DataLakeAnalytics/help/New-AzDataLakeAnalyticsAccount.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
---
1+
---
22
external help file: Microsoft.Azure.PowerShell.Cmdlets.DataLakeAnalytics.dll-Help.xml
33
Module Name: Az.DataLakeAnalytics
44
ms.assetid: 0A7CD695-6D14-4BC9-B960-0CAFE502B88B
@@ -26,8 +26,8 @@ The **New-AzDataLakeAnalyticsAccount** cmdlet creates an Azure Data Lake Analyti
2626
## EXAMPLES
2727

2828
### Example 1: Create a Data Lake Analytics account
29-
```
30-
PS C:\>New-AzDataLakeAnalyticsAccount -Name "ContosoAdlAccount" -ResourceGroupName "ContosoOrg" -Location "East US 2" -DefaultDataLakeStore "ContosoAdlStore"
29+
```powershell
30+
New-AzDataLakeAnalyticsAccount -Name "ContosoAdlAccount" -ResourceGroupName "ContosoOrg" -Location "East US 2" -DefaultDataLakeStore "ContosoAdlStore"
3131
```
3232

3333
This command creates a Data Lake Analytics account named ContosoAdlAccount that uses the ContosoAdlStore Data Store, in the resource group named ContosoOrg.

src/DataLakeAnalytics/DataLakeAnalytics/help/New-AzDataLakeAnalyticsCatalogCredential.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
---
1+
---
22
external help file: Microsoft.Azure.PowerShell.Cmdlets.DataLakeAnalytics.dll-Help.xml
33
Module Name: Az.DataLakeAnalytics
44
ms.assetid: BB6AF5A9-49BD-4A76-9F3F-44B62D2AB842
@@ -33,8 +33,8 @@ The New-AzDataLakeAnalyticsCatalogCredential cmdlet creates a new credential to
3333
## EXAMPLES
3434

3535
### Example 1: Create a credential for a catalog specifying host and port
36-
```
37-
PS C:\> New-AzDataLakeAnalyticsCatalogCredential -AccountName "ContosoAdlAccount" `
36+
```powershell
37+
New-AzDataLakeAnalyticsCatalogCredential -AccountName "ContosoAdlAccount" `
3838
-DatabaseName "databaseName" `
3939
-CredentialName "exampleDbCred" `
4040
-Credential (Get-Credential) `
@@ -44,8 +44,8 @@ PS C:\> New-AzDataLakeAnalyticsCatalogCredential -AccountName "ContosoAdlAccount
4444
This command creates the specified credential for the specified account, database, host and port using https protocol.
4545

4646
### Example 2: Create a credential for a catalog specifying full URI
47-
```
48-
PS C:\> New-AzDataLakeAnalyticsCatalogCredential -AccountName "ContosoAdlAccount" `
47+
```powershell
48+
New-AzDataLakeAnalyticsCatalogCredential -AccountName "ContosoAdlAccount" `
4949
-DatabaseName "databaseName" `
5050
-CredentialName "exampleDbCred" `
5151
-Credential (Get-Credential) `

src/DataLakeAnalytics/DataLakeAnalytics/help/New-AzDataLakeAnalyticsComputePolicy.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
---
1+
---
22
external help file: Microsoft.Azure.PowerShell.Cmdlets.DataLakeAnalytics.dll-Help.xml
33
Module Name: Az.DataLakeAnalytics
44
online version: https://docs.microsoft.com/powershell/module/az.datalakeanalytics/new-azdatalakeanalyticscomputepolicy
@@ -24,15 +24,15 @@ The **New-AzDataLakeAnalyticsComputePolicy** creates the specified compute polic
2424
## EXAMPLES
2525

2626
### Example 1: Create a compute policy with only one rule
27-
```
28-
PS C:\>New-AzDataLakeAnalyticsComputePolicy -Account "contosoadla" -Name "myPolicy" -ObjectId 83cb7ad2-3523-4b82-b909-d478b0d8aea3 -ObjectType User -MaxAnalyticsUnitsPerJob 5
27+
```powershell
28+
New-AzDataLakeAnalyticsComputePolicy -Account "contosoadla" -Name "myPolicy" -ObjectId 83cb7ad2-3523-4b82-b909-d478b0d8aea3 -ObjectType User -MaxAnalyticsUnitsPerJob 5
2929
```
3030

3131
This command creates a policy called "myPolicy" in account "contosoadla" for the user with id "83cb7ad2-3523-4b82-b909-d478b0d8aea3" that ensures they cannot submit any job with more than 5 analytics units.
3232

3333
### Example 2: Create a compute policy with both rules set
34-
```
35-
PS C:\>New-AzDataLakeAnalyticsComputePolicy -Account "contosoadla" -Name "myPolicy" -ObjectId 83cb7ad2-3523-4b82-b909-d478b0d8aea3 -ObjectType User -MaxAnalyticsUnitsPerJob 5 -MinPriorityPerJob 100
34+
```powershell
35+
New-AzDataLakeAnalyticsComputePolicy -Account "contosoadla" -Name "myPolicy" -ObjectId 83cb7ad2-3523-4b82-b909-d478b0d8aea3 -ObjectType User -MaxAnalyticsUnitsPerJob 5 -MinPriorityPerJob 100
3636
```
3737

3838
This command creates a policy called "myPolicy" in account "contosoadla" for the user with id "83cb7ad2-3523-4b82-b909-d478b0d8aea3" that ensures they cannot submit any job with more than 5 analytics units or with a priority lower than 100

src/DataLakeAnalytics/DataLakeAnalytics/help/Remove-AzDataLakeAnalyticsAccount.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
---
1+
---
22
external help file: Microsoft.Azure.PowerShell.Cmdlets.DataLakeAnalytics.dll-Help.xml
33
Module Name: Az.DataLakeAnalytics
44
ms.assetid: AEAD985C-F342-4B24-9BFD-6448436FE9BD
@@ -24,8 +24,8 @@ The **Remove-AzDataLakeAnalyticsAccount** cmdlet permanently deletes an Azure Da
2424
## EXAMPLES
2525

2626
### Example 1: Remove an account
27-
```
28-
PS C:\>Remove-AzDataLakeAnalyticsAccount -Name "ContosoAdlAccount"
27+
```powershell
28+
Remove-AzDataLakeAnalyticsAccount -Name "ContosoAdlAccount"
2929
```
3030

3131
This command removes the specified Data Lake Analytics account.

0 commit comments

Comments
 (0)