Skip to content

Commit

Permalink
Fix network june (#12868)
Browse files Browse the repository at this point in the history
* updated sdk version

* Add null check in ConditionVersion of Set-AzRoleAssignmenr (#12829)

* add missing null check

* update docs

* Remove old TODO

* Added operation parameters and operation steps in MI operations PS cmdlet (#12437)

* Added operation parameters and operation steps in `Get-AzSqlInstanceOperation`

* Starting validation.

* Fixing build

Co-authored-by: Jovana Toroman <[email protected]>

* Adding patchStatus property to VM Instance View (#12777)

* updated .net to 38.1 and added patchstatus property

* Adding tests and upgrading sdk version for dependent projects

* Update PSVirtualMachineInstanceView.cs

Adding comma

* Corrected parameter field name in the example (#12825)

Changed 'Name' to 'StorageSyncServiceName' field in the example. 'Name' is not a valid parameter.

* Update spelling of Proeprty to Property (#12821)

Co-authored-by: Joshua Van Daalen <[email protected]>

* [SQL] Fix\add AzSqlServerActiveDirectoryOnlyAuthentication APIs (#12782)

* * Fix `Disable-AzSqlServerActiveDirectoryOnlyAuthentication`
* Added cmdlet `Get-AzSqlServerActiveDirectoryOnlyAuthentication`
* Added cmdlet `Enable-AzSqlServerActiveDirectoryOnlyAuthentication`

* Revert changes in authentication

* Fix files in Accounts

* Update Resources.Designer.cs

* Add help files

* Adding breaking change to  Exceptions/Az.Sql/BreakingChangeIssues.csv

* Removing empty lines

Co-authored-by: Amol Agarwal <[email protected]>
Co-authored-by: Milan Brkic <[email protected]>

* [RecoveryServices.backup] changing number of VMs from 100 to 1000 (#12816)

* changing number of VMs from 100 to 1000

* adding description inside changelog.md

* [KeyVault] Refactor tests (#12797)

* don't use mgmt clients

* remove unused code

* remove useless comments

* Add parameter EnableRbcAuthorization for 'New-AzKeyVault' and 'Update-AzKeyVault' (#12459)

* Add parameter EnableRbcAuthorization for 'New-AzKeyVault' and 'Update-AzKeyVault'.

* Update src/KeyVault/KeyVault/ChangeLog.md

Co-authored-by: Yeming Liu <[email protected]>

* Update src/KeyVault/KeyVault/KeyVault.format.ps1xml

Co-authored-by: Yeming Liu <[email protected]>

* Simplify codes in VaultManagementClient.cs.

Co-authored-by: Yeming Liu <[email protected]>

* Disk Access changes (#12673)

* baseline work

* New-AzDiskAccess Remove-AzDiskAccess

* New cmdlets

* New disk config (#12665)

* Checking in changes

* checking in changes

* new cmdlets

* help docs

* help docs

* fix errors

* update help

* Checking in SnapshotConfigTests

* remove Online: lines from help doc

* remove online line

* Disk access (#12713)

* comments remain, committing so others can see content.

* New-AzDiskEncryptionSetConfig dev and testing

* New-AzDiskEncryptionSetConfig changelog and help doc

Co-authored-by: Adam Sandor <[email protected]>

* clean up test

* changelog.md

* adding parameters to New-AzDiskUpdateConfig

* Improving default testing of New-AzDiskEncryptionSetConfig EncryptionType param (#12759)

* Improving default testing

* update recorded test file

* correcting incorrect copy and paste to Test-DiskAccessObject test

* Addressing review comments

* Update ChangeLog.md

* Update New-AzDiskEncryptionSetConfig.md

* add argument completer

Co-authored-by: Theodore Chang <[email protected]>
Co-authored-by: Adam Sandor <[email protected]>
Co-authored-by: Jin Lei <[email protected]>

* Skip network api version check (#12854)

Co-authored-by: Zhenyu Zhou <[email protected]>

* [Synapse] Add dataset and data flow management cmdlets and update some reference package version (#12831)

* add support for dataset

* add support for dataflow

* add help docs

* rebase master

* update help docs

* add dataset subclass

* update help doc

* update help docs

* update SDK version

* remove blank line

Co-authored-by: Wan Yang <[email protected]>

* RecoveryServices oob release (#12845)

Co-authored-by: Daniel Orozco <[email protected]>
Co-authored-by: toki95 <[email protected]>
Co-authored-by: Jovana Toroman <[email protected]>
Co-authored-by: haagha <[email protected]>
Co-authored-by: Eragon Riddle <[email protected]>
Co-authored-by: Joshua Van Daalen <[email protected]>
Co-authored-by: Joshua Van Daalen <[email protected]>
Co-authored-by: Amol Agarwal <[email protected]>
Co-authored-by: Amol Agarwal <[email protected]>
Co-authored-by: Milan Brkic <[email protected]>
Co-authored-by: Himanshu Agarwal <[email protected]>
Co-authored-by: Yeming Liu <[email protected]>
Co-authored-by: Beisi Zhou <[email protected]>
Co-authored-by: Yeming Liu <[email protected]>
Co-authored-by: Theodore Chang <[email protected]>
Co-authored-by: Adam Sandor <[email protected]>
Co-authored-by: Jin Lei <[email protected]>
Co-authored-by: aim-for-better <[email protected]>
Co-authored-by: Zhenyu Zhou <[email protected]>
Co-authored-by: wonner <[email protected]>
Co-authored-by: Wan Yang <[email protected]>
Co-authored-by: Dingmeng Xue <[email protected]>
  • Loading branch information
23 people authored Sep 4, 2020
1 parent 2559453 commit 728aaab
Show file tree
Hide file tree
Showing 126 changed files with 9,369 additions and 877 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.0")]
[assembly: AssemblyVersion("2.11.1")]
[assembly: AssemblyFileVersion("2.11.1")]
[assembly: AssemblyVersion("2.12.0")]
[assembly: AssemblyFileVersion("2.12.0")]
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.0")]
[assembly: AssemblyVersion("2.11.1")]
[assembly: AssemblyFileVersion("2.11.1")]
[assembly: AssemblyVersion("2.12.0")]
[assembly: AssemblyFileVersion("2.12.0")]
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.0")]
[assembly: AssemblyVersion("2.11.1")]
[assembly: AssemblyFileVersion("2.11.1")]
[assembly: AssemblyVersion("2.12.0")]
[assembly: AssemblyFileVersion("2.12.0")]
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.0")]
[assembly: AssemblyVersion("2.11.1")]
[assembly: AssemblyFileVersion("2.11.1")]
[assembly: AssemblyVersion("2.12.0")]
[assembly: AssemblyFileVersion("2.12.0")]
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.0")]
[assembly: AssemblyVersion("2.11.1")]
[assembly: AssemblyFileVersion("2.11.1")]
[assembly: AssemblyVersion("2.12.0")]
[assembly: AssemblyFileVersion("2.12.0")]
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.0")]
[assembly: AssemblyVersion("2.11.1")]
[assembly: AssemblyFileVersion("2.11.1")]
[assembly: AssemblyVersion("2.12.0")]
[assembly: AssemblyFileVersion("2.12.0")]
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:

[assembly: AssemblyVersion("2.11.1")]
[assembly: AssemblyFileVersion("2.11.1")]
[assembly: AssemblyVersion("2.12.0")]
[assembly: AssemblyFileVersion("2.12.0")]
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#
# Generated by: Microsoft Corporation
#
# Generated on: 7/30/2020
# Generated on: 9/3/2020
#

@{
Expand All @@ -12,7 +12,7 @@
# RootModule = ''

# Version number of this module.
ModuleVersion = '2.11.1'
ModuleVersion = '2.12.0'

# Supported PSEditions
CompatiblePSEditions = 'Core', 'Desktop'
Expand Down Expand Up @@ -190,7 +190,7 @@ CmdletsToExport = 'Get-AzRecoveryServicesBackupProperty',
'Get-AzRecoveryServicesBackupStatus',
'Undo-AzRecoveryServicesBackupItemDeletion',
'Set-AzRecoveryServicesVaultProperty',
'Get-AzRecoveryServicesVaultProperty',
'Get-AzRecoveryServicesVaultProperty',
'Copy-AzRecoveryServicesVault'

# Variables to export from this module
Expand Down Expand Up @@ -267,7 +267,8 @@ PrivateData = @{
# IconUri = ''

# ReleaseNotes of this module
ReleaseNotes = '* Improved the Azure Backup container/item discovery experience.'
ReleaseNotes = '* Azure Backup added a new cmdlet Copy-AzRecoveryServicesVault for DS move feature.
* Get-AzRecoveryServicesBackupJob cmdlet now supports operation type ''BackupDataMove''.'

# Prerelease string of this module
# Prerelease = ''
Expand Down
2 changes: 2 additions & 0 deletions src/RecoveryServices/RecoveryServices/ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
- Additional information about change #1
-->
## Upcoming Release

## Version 2.12.0
* Azure Backup added a new cmdlet Copy-AzRecoveryServicesVault for DS move feature.
* Get-AzRecoveryServicesBackupJob cmdlet now supports operation type 'BackupDataMove'.
* Modifying the configure backup per policy limit for VMs from 100 to 1000.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:

[assembly: AssemblyVersion("2.11.1")]
[assembly: AssemblyFileVersion("2.11.1")]
[assembly: AssemblyVersion("2.12.0")]
[assembly: AssemblyFileVersion("2.12.0")]
8 changes: 6 additions & 2 deletions src/Synapse/Synapse/Az.Synapse.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -118,15 +118,19 @@ CmdletsToExport = 'Get-AzSynapseSparkJob', 'Stop-AzSynapseSparkJob',
'Set-AzSynapseTrigger', 'Get-AzSynapseTrigger', 'Remove-AzSynapseTrigger',
'Get-AzSynapseTriggerSubscriptionStatus', 'Add-AzSynapseTriggerSubscription',
'Remove-AzSynapseTriggerSubscription', 'Start-AzSynapseTrigger',
'Stop-AzSynapseTrigger', 'Get-AzSynapseTriggerRun'
'Stop-AzSynapseTrigger', 'Get-AzSynapseTriggerRun',
'Set-AzSynapseDataset', 'Get-AzSynapseDataset',
'Remove-AzSynapseDataset', 'Set-AzSynapseDataFlow',
'Get-AzSynapseDataFlow', 'Remove-AzSynapseDataFlow'

# Variables to export from this module
# VariablesToExport = @()

# Aliases to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no aliases to export.
AliasesToExport = 'New-AzSynapsePipeline', 'New-AzSynapseLinkedService',
'New-AzSynapseNotebook', 'Import-AzSynapseNotebook',
'New-AzSynapseTrigger'
'New-AzSynapseTrigger', 'New-AzSynapseDataset',
'New-AzSynapseDataFlow'

# DSC resources to export from this module
# DscResourcesToExport = @()
Expand Down
10 changes: 10 additions & 0 deletions src/Synapse/Synapse/ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,16 @@
- Add `Start-AzSynapseTrigger` cmdlet
- Add `Stop-AzSynapseTrigger` cmdlet
- Add `Get-AzSynapseTriggerRun` cmdlet
* Added support for operation of Synapse DataFlow
- Add `Get-AzSynapseDataFlow` cmdlet
- Add `Remove-AzSynapseDataFlow` cmdlet
- Add `Set-AzSynapseDataFlow` cmdlet
- Add `New-AzSynapseDataFlow` cmdlet
* Added support for operation of Synapse Dataset
- Add `Get-AzSynapseDataset` cmdlet
- Add `Remove-AzSynapseDataset` cmdlet
- Add `Set-AzSynapseDataset` cmdlet
- Add `New-AzSynapseDataset` cmdlet

## Version 0.2.0

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
using Microsoft.Azure.Commands.ResourceManager.Common.ArgumentCompleters;
using Microsoft.Azure.Commands.Synapse.Common;
using Microsoft.Azure.Commands.Synapse.Models;
using Microsoft.WindowsAzure.Commands.Utilities.Common;
using System.Linq;
using System.Management.Automation;

namespace Microsoft.Azure.Commands.Synapse
{
[Cmdlet(VerbsCommon.Get, ResourceManager.Common.AzureRMConstants.AzureRMPrefix + SynapseConstants.SynapsePrefix + SynapseConstants.DataFlow,
DefaultParameterSetName = GetByName)]
[OutputType(typeof(PSDataFlowResource))]
public class GetAzureSynapseDataFlow : SynapseArtifactsCmdletBase
{
private const string GetByName = "GetByName";
private const string GetByObject = "GetByObject";

[Parameter(ValueFromPipelineByPropertyName = false, ParameterSetName = GetByName,
Mandatory = true, HelpMessage = HelpMessages.WorkspaceName)]
[ResourceNameCompleter(ResourceTypes.Workspace, "ResourceGroupName")]
[ValidateNotNullOrEmpty]
public override string WorkspaceName { get; set; }

[Parameter(ValueFromPipeline = true, ParameterSetName = GetByObject,
Mandatory = true, HelpMessage = HelpMessages.WorkspaceObject)]
[ValidateNotNull]
public PSSynapseWorkspace WorkspaceObject { get; set; }

[Parameter(ValueFromPipelineByPropertyName = false, Mandatory = false, HelpMessage = HelpMessages.DataFlowName)]
[ValidateNotNullOrEmpty]
[Alias("DataFlowName")]
public string Name { get; set; }

public override void ExecuteCmdlet()
{
if (this.IsParameterBound(c => c.WorkspaceObject))
{
this.WorkspaceName = this.WorkspaceObject.Name;
}

if (this.IsParameterBound(c => c.Name))
{
WriteObject(new PSDataFlowResource(SynapseAnalyticsClient.GetDataFlow(this.Name), this.WorkspaceName));
}
else
{
var datasets = SynapseAnalyticsClient.GetDataFlowsByWorkspace()
.Select(element => new PSDataFlowResource(element, this.WorkspaceName));
WriteObject(datasets, true);
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
using Microsoft.Azure.Commands.ResourceManager.Common.ArgumentCompleters;
using Microsoft.Azure.Commands.Synapse.Common;
using Microsoft.Azure.Commands.Synapse.Models;
using Microsoft.Azure.Commands.Synapse.Properties;
using Microsoft.WindowsAzure.Commands.Utilities.Common;
using System;
using System.Management.Automation;

namespace Microsoft.Azure.Commands.Synapse
{
[Cmdlet(VerbsCommon.Remove, ResourceManager.Common.AzureRMConstants.AzureRMPrefix + SynapseConstants.SynapsePrefix + SynapseConstants.DataFlow,
DefaultParameterSetName = RemoveByName, SupportsShouldProcess = true)]
[OutputType(typeof(bool))]
public class RemoveAzureSynapseDataFlow : SynapseArtifactsCmdletBase
{
private const string RemoveByName = "RemoveByName";
private const string RemoveByObject = "RemoveByObject";
private const string RemoveByInputObject = "RemoveByInputObject";

[Parameter(ValueFromPipelineByPropertyName = false, ParameterSetName = RemoveByName,
Mandatory = true, HelpMessage = HelpMessages.WorkspaceName)]
[ResourceNameCompleter(ResourceTypes.Workspace, "ResourceGroupName")]
[ValidateNotNullOrEmpty]
public override string WorkspaceName { get; set; }

[Parameter(ValueFromPipeline = true, ParameterSetName = RemoveByObject,
Mandatory = true, HelpMessage = HelpMessages.WorkspaceObject)]
[ValidateNotNull]
public PSSynapseWorkspace WorkspaceObject { get; set; }

[Parameter(ValueFromPipelineByPropertyName = false, ParameterSetName = RemoveByName,
Mandatory = true, HelpMessage = HelpMessages.DataFlowName)]
[Parameter(ValueFromPipelineByPropertyName = false, ParameterSetName = RemoveByObject,
Mandatory = true, HelpMessage = HelpMessages.DataFlowName)]
[ValidateNotNullOrEmpty]
[Alias("DataFlowName")]
public string Name { get; set; }

[Parameter(ValueFromPipeline = true, ParameterSetName = RemoveByInputObject,
Mandatory = true, HelpMessage = HelpMessages.DataFlowObject)]
[ValidateNotNull]
public PSDataFlowResource InputObject { get; set; }

[Parameter(Mandatory = false, HelpMessage = HelpMessages.PassThru)]
public SwitchParameter PassThru { get; set; }

[Parameter(Mandatory = false, HelpMessage = HelpMessages.AsJob)]
public SwitchParameter AsJob { get; set; }

public override void ExecuteCmdlet()
{
if (this.IsParameterBound(c => c.WorkspaceObject))
{
this.WorkspaceName = this.WorkspaceObject.Name;
}

if (this.IsParameterBound(c => c.InputObject))
{
this.WorkspaceName = this.InputObject.WorkspaceName;
this.Name = this.InputObject.Name;
}

if (this.ShouldProcess(this.WorkspaceName, String.Format(Resources.RemovingSynapseDataFlow, this.Name, this.WorkspaceName)))
{
SynapseAnalyticsClient.DeleteDataFlow(this.Name);
if (PassThru)
{
WriteObject(true);
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
using Microsoft.Azure.Commands.ResourceManager.Common.ArgumentCompleters;
using Microsoft.Azure.Commands.Synapse.Common;
using Microsoft.Azure.Commands.Synapse.Models;
using Microsoft.Azure.Commands.Synapse.Properties;
using Microsoft.WindowsAzure.Commands.Utilities.Common;
using System;
using System.Management.Automation;

namespace Microsoft.Azure.Commands.Synapse
{
[Cmdlet(VerbsCommon.Set, ResourceManager.Common.AzureRMConstants.AzureRMPrefix + SynapseConstants.SynapsePrefix + SynapseConstants.DataFlow,
DefaultParameterSetName = SetByName, SupportsShouldProcess = true)]
[Alias("New-" + ResourceManager.Common.AzureRMConstants.AzureRMPrefix + SynapseConstants.SynapsePrefix + SynapseConstants.DataFlow)]
[OutputType(typeof(PSDataFlowResource))]
public class SetAzureSynapseDataFlow : SynapseArtifactsCmdletBase
{
private const string SetByName = "SetByName";
private const string SetByObject = "SetByObject";

[Parameter(ValueFromPipelineByPropertyName = false, ParameterSetName = SetByName,
Mandatory = true, HelpMessage = HelpMessages.WorkspaceName)]
[ResourceNameCompleter(ResourceTypes.Workspace, "ResourceGroupName")]
[ValidateNotNullOrEmpty]
public override string WorkspaceName { get; set; }

[Parameter(ValueFromPipeline = true, ParameterSetName = SetByObject,
Mandatory = true, HelpMessage = HelpMessages.WorkspaceObject)]
[ValidateNotNull]
public PSSynapseWorkspace WorkspaceObject { get; set; }

[Parameter(ValueFromPipelineByPropertyName = false, Mandatory = true, HelpMessage = HelpMessages.DataFlowName)]
[ValidateNotNullOrEmpty]
[Alias("DataFlowName")]
public string Name { get; set; }

[Parameter(ValueFromPipelineByPropertyName = false, Mandatory = true, HelpMessage = HelpMessages.JsonFilePath)]
[ValidateNotNullOrEmpty]
[Alias("File")]
public string DefinitionFile { get; set; }

[Parameter(Mandatory = false, HelpMessage = HelpMessages.AsJob)]
public SwitchParameter AsJob { get; set; }

public override void ExecuteCmdlet()
{
if (this.IsParameterBound(c => c.WorkspaceObject))
{
this.WorkspaceName = this.WorkspaceObject.Name;
}

if (this.ShouldProcess(this.WorkspaceName, String.Format(Resources.SettingSynapseDataFlow, this.Name, this.WorkspaceName)))
{
string rawJsonContent = SynapseAnalyticsClient.ReadJsonFileContent(this.TryResolvePath(DefinitionFile));
WriteObject(new PSDataFlowResource(SynapseAnalyticsClient.CreateOrUpdateDataFlow(this.Name, rawJsonContent), this.WorkspaceName));
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
using Microsoft.Azure.Commands.ResourceManager.Common.ArgumentCompleters;
using Microsoft.Azure.Commands.Synapse.Common;
using Microsoft.Azure.Commands.Synapse.Models;
using Microsoft.WindowsAzure.Commands.Utilities.Common;
using System.Linq;
using System.Management.Automation;

namespace Microsoft.Azure.Commands.Synapse
{
[Cmdlet(VerbsCommon.Get, ResourceManager.Common.AzureRMConstants.AzureRMPrefix + SynapseConstants.SynapsePrefix + SynapseConstants.Dataset,
DefaultParameterSetName = GetByName)]
[OutputType(typeof(PSDatasetResource))]
public class GetAzureSynapseDataset : SynapseArtifactsCmdletBase
{
private const string GetByName = "GetByName";
private const string GetByObject = "GetByObject";

[Parameter(ValueFromPipelineByPropertyName = false, ParameterSetName = GetByName,
Mandatory = true, HelpMessage = HelpMessages.WorkspaceName)]
[ResourceNameCompleter(ResourceTypes.Workspace, "ResourceGroupName")]
[ValidateNotNullOrEmpty]
public override string WorkspaceName { get; set; }

[Parameter(ValueFromPipeline = true, ParameterSetName = GetByObject,
Mandatory = true, HelpMessage = HelpMessages.WorkspaceObject)]
[ValidateNotNull]
public PSSynapseWorkspace WorkspaceObject { get; set; }

[Parameter(ValueFromPipelineByPropertyName = false, Mandatory = false, HelpMessage = HelpMessages.DatasetName)]
[ValidateNotNullOrEmpty]
[Alias("DatasetName")]
public string Name { get; set; }

public override void ExecuteCmdlet()
{
if (this.IsParameterBound(c => c.WorkspaceObject))
{
this.WorkspaceName = this.WorkspaceObject.Name;
}

if (this.IsParameterBound(c => c.Name))
{
WriteObject(new PSDatasetResource(SynapseAnalyticsClient.GetDataset(this.Name), this.WorkspaceName));
}
else
{
var datasets = SynapseAnalyticsClient.GetDatasetsByWorkspace()
.Select(element => new PSDatasetResource(element, this.WorkspaceName));
WriteObject(datasets, true);
}
}
}
}
Loading

0 comments on commit 728aaab

Please sign in to comment.