- Fix
- Feature
- Big feature
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "ADF_Scale_Azure_AS", | |
"properties": { | |
"activities": [ | |
{ | |
"name": "00_Scale_Azure_AS", | |
"type": "WebActivity", | |
"policy": { | |
"timeout": "7.00:00:00", | |
"retry": 0, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ================================================================================================================================================= | |
## This script will remove the given Service Principal from Power BI workspaces | |
## It will first ask for the (correct) ObjectId of the Service Principal | |
## Then it will ask for the credentials of a Power BI Service Administrator | |
# ================================================================================================================================================= | |
## Parameters | |
# Remove the Service Principal from workspaces that are in Premium capacity? | |
$RemoveFromPremiumCapacityWorkspaces = $true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<# | |
.SYNOPSIS | |
Resume an Azure Power BI Embedded Capacity using Azure Automation. | |
.DESCRIPTION | |
This Azure Automation runbook enables resuming of an Azure Power BI Embedded Capacity. | |
.PARAMETER resourceGroupName | |
Name of the resource group to which the capacity is assigned. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
trigger: | |
- none | |
pool: | |
vmImage: ubuntu-latest | |
## Job to calculate semantic version | |
jobs: | |
- job: CalculateVersion | |
displayName: Semantic versioning |
{{#forEach pullRequests}}
- Pull Request [#{{this.pullRequestId}} {{this.title}}]({{replace (replace this.url "_apis/git/repositories" "_git") "pullRequests" "pullRequest"}}) {{/forEach}}
{{#forEach this.workItems}}
- Item [#{{this.id}} {{lookup this.fields 'System.Title'}}]({{replace this.url "_apis/wit/workItems" "_workitems/edit"}})
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
database_names_filter = "20_silver*" | |
try: | |
dbs = spark.sql(f"SHOW DATABASES LIKE '{database_names_filter}'").select("databaseName").collect() | |
dbs = [(row.databaseName) for row in dbs] | |
for database_name in dbs: | |
print(f"Found database: {database_name}, performing actions on all its tables..") | |
tables = spark.sql(f"SHOW TABLES FROM `{database_name}`").select("tableName").collect() | |
tables = [(row.tableName) for row in tables] | |
for table_name in tables: | |
#spark.sql(f"ALTER TABLE `{database_name}`.`{table_name}` SET TBLPROPERTIES ('delta.logRetentionDuration'='interval 30 days', 'delta.deletedFileRetentionDuration'='interval 7 days')") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"rules": [ | |
{ | |
"enabled": true, | |
"name": "weeklybackupsrule", | |
"type": "Lifecycle", | |
"definition": { | |
"actions": { | |
"baseBlob": { | |
"delete": { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"rules": [ | |
{ | |
"enabled": true, | |
"name": "daily-moving-data-lake-store-archive-to-cool", | |
"type": "Lifecycle", | |
"definition": { | |
"actions": { | |
"baseBlob": { | |
"tierToCool": { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
parameters: | |
- name: dependsOnStage | |
type: string | |
- name: triggerPeriod | |
type: string | |
- name: environment | |
type: string | |
- name: backupStore | |
type: boolean | |
- name: backupBronze |
OlderNewer