Skip to content

Commit a00a4bb

Browse files
authored
Merge branch 'master' into master
2 parents 51b3d5d + ae31254 commit a00a4bb

23 files changed

+60
-456
lines changed

src/ResourceManager/DataFactories/Commands.DataFactories/Az.DataFactories.psd1

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,6 @@ CmdletsToExport = 'Remove-AzDataFactory', 'Get-AzDataFactoryRun',
8080
'Set-AzDataFactorySliceStatus',
8181
'New-AzDataFactoryEncryptValue',
8282
'Get-AzDataFactoryGateway', 'New-AzDataFactoryGateway',
83-
'New-AzDataFactoryGatewayKey',
8483
'Get-AzDataFactoryGatewayAuthkey',
8584
'New-AzDataFactoryGatewayAuthkey',
8685
'Remove-AzDataFactoryGateway', 'Set-AzDataFactoryGateway',

src/ResourceManager/DataFactories/Commands.DataFactories/ChangeLog.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,6 @@
1717
* Overview of change #1
1818
- Additional information about change #1
1919
-->
20-
## Current Release
20+
## Current Release
21+
* -GatewayName parameter has become mandatory in the New-AzDataFactoryEncryptValue
22+
* Removed New-AzDataFactoryGatewayKey cmdlet

src/ResourceManager/DataFactories/Commands.DataFactories/Commands.DataFactories.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,6 @@
8989
<Compile Include="Gateway\GetAzureDataFactoryGatewayCommand.cs" />
9090
<Compile Include="Gateway\NewAzureDataFactoryGatewayAuthKeyCommand.cs" />
9191
<Compile Include="Gateway\NewAzureDataFactoryGatewayCommand.cs" />
92-
<Compile Include="Gateway\NewAzureDataFactoryGatewayKeyCommand.cs" />
9392
<Compile Include="Gateway\RemoveAzureDataFactoryGatewayCommand.cs" />
9493
<Compile Include="Gateway\SetAzureDataFactoryGatewayCommand.cs" />
9594
<Compile Include="Hubs\GetAzureDataFactoryHubCommand.cs" />

src/ResourceManager/DataFactories/Commands.DataFactories/Encrypt/NewAzureDataFactoryEncryptValueCommand.cs

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ public class NewAzureDataFactoryEncryptValueCommand : DataFactoryBaseCmdlet
3838
[Parameter(ParameterSetName = ByFactoryName, Position = 2, Mandatory = false, HelpMessage = "The value to encrypt.")]
3939
public SecureString Value { get; set; }
4040

41-
[Parameter(ParameterSetName = ByFactoryObject, Position = 2, Mandatory = false, HelpMessage = "The gateway group name.")]
42-
[Parameter(ParameterSetName = ByFactoryName, Position = 3, Mandatory = false, HelpMessage = "The gateway group name.")]
41+
[Parameter(ParameterSetName = ByFactoryObject, Position = 2, Mandatory = true, HelpMessage = "The gateway group name.")]
42+
[Parameter(ParameterSetName = ByFactoryName, Position = 3, Mandatory = true, HelpMessage = "The gateway group name.")]
4343
public string GatewayName { get; set; }
4444

4545
[Parameter(ParameterSetName = ByFactoryObject, Position = 3, Mandatory = false, HelpMessage = "The windows authentication credential.")]
@@ -90,17 +90,9 @@ public override void ExecuteCmdlet()
9090

9191
string encryptedValue = String.Empty;
9292

93-
if (String.IsNullOrWhiteSpace(GatewayName))
94-
{
95-
// Cloud encryption without Gateway
96-
WriteWarning("Cloud encryption has already been deprecated. Please run get-help new-Azdatafactoryencryptvalue to see other option of this command");
97-
}
98-
else
99-
{
100-
// On-premises encryption with Gateway
101-
encryptedValue = DataFactoryClient.OnPremisesEncryptString(Value, ResourceGroupName, DataFactoryName,
102-
GatewayName, Credential, Type, NonCredentialValue, AuthenticationType, Server, Database);
103-
}
93+
// On-premises encryption with Gateway
94+
encryptedValue = DataFactoryClient.OnPremisesEncryptString(Value, ResourceGroupName, DataFactoryName,
95+
GatewayName, Credential, Type, NonCredentialValue, AuthenticationType, Server, Database);
10496

10597
WriteObject(encryptedValue);
10698
}

src/ResourceManager/DataFactories/Commands.DataFactories/Gateway/NewAzureDataFactoryGatewayKeyCommand.cs

Lines changed: 0 additions & 57 deletions
This file was deleted.

src/ResourceManager/DataFactories/Commands.DataFactories/help/New-AzDataFactoryEncryptValue.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,15 @@ Encrypts sensitive data.
1616
### ByFactoryName (Default)
1717
```
1818
New-AzDataFactoryEncryptValue [-DataFactoryName] <String> [[-Value] <SecureString>]
19-
[[-GatewayName] <String>] [[-Credential] <PSCredential>] [[-Type] <String>] [[-NonCredentialValue] <String>]
19+
[-GatewayName] <String> [[-Credential] <PSCredential>] [[-Type] <String>] [[-NonCredentialValue] <String>]
2020
[[-AuthenticationType] <String>] [[-Server] <String>] [[-Database] <String>] [-ResourceGroupName] <String>
2121
[-DefaultProfile <IAzureContextContainer>] [<CommonParameters>]
2222
```
2323

2424
### ByFactoryObject
2525
```
2626
New-AzDataFactoryEncryptValue [-DataFactory] <PSDataFactory> [[-Value] <SecureString>]
27-
[[-GatewayName] <String>] [[-Credential] <PSCredential>] [[-Type] <String>] [[-NonCredentialValue] <String>]
27+
[-GatewayName] <String> [[-Credential] <PSCredential>] [[-Type] <String>] [[-NonCredentialValue] <String>]
2828
[[-AuthenticationType] <String>] [[-Server] <String>] [[-Database] <String>]
2929
[-DefaultProfile <IAzureContextContainer>] [<CommonParameters>]
3030
```
@@ -199,7 +199,7 @@ Type: System.String
199199
Parameter Sets: (All)
200200
Aliases:
201201

202-
Required: False
202+
Required: True
203203
Position: 2
204204
Default value: None
205205
Accept pipeline input: False

src/ResourceManager/DataFactories/Commands.DataFactories/help/New-AzDataFactoryGatewayKey.md

Lines changed: 0 additions & 146 deletions
This file was deleted.

src/ResourceManager/DataFactoryV2/Commands.DataFactoryV2/Changelog.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,5 @@
1818
- Additional information about change #1
1919
-->
2020

21-
## Current Release
21+
## Current Release
22+
* Removed -LinkedServiceName parameter from Get-AzDataFactoryV2ActivityRun

src/ResourceManager/DataFactoryV2/Commands.DataFactoryV2/Models/ActivityRunFilterOptions.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,5 @@ public class ActivityRunFilterOptions : DataFactoryFilterOptions
2727
public string ActivityName { get; set; }
2828

2929
public string Status { get; set; }
30-
31-
public string LinkedServiceName { get; set; }
3230
}
3331
}

src/ResourceManager/DataFactoryV2/Commands.DataFactoryV2/Runs/GetAzureDataFactoryActivityRunCommand.cs

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -59,14 +59,6 @@ public class GetAzureDataFactoryActivityRunCommand : DataFactoryContextBaseCmdle
5959
[ValidateNotNullOrEmpty]
6060
public string Status { get; set; }
6161

62-
[CmdletParameterBreakingChange("LinkedServiceName", ChangeDescription = Constants.DeprecatingParameter)]
63-
[Parameter(ParameterSetName = ParameterSetNames.ByFactoryObject, Position = 6, Mandatory = false,
64-
HelpMessage = Constants.HelpLinkedServiceName)]
65-
[Parameter(ParameterSetName = ParameterSetNames.ByFactoryName, Position = 7, Mandatory = false,
66-
HelpMessage = Constants.HelpLinkedServiceName)]
67-
[ValidateNotNullOrEmpty]
68-
public string LinkedServiceName { get; set; }
69-
7062
public override void ExecuteCmdlet()
7163
{
7264
ByFactoryObject();
@@ -79,7 +71,6 @@ public override void ExecuteCmdlet()
7971
RunStartedAfter = RunStartedAfter,
8072
RunStartedBefore = RunStartedBefore,
8173
ActivityName = ActivityName,
82-
LinkedServiceName = LinkedServiceName,
8374
Status = Status
8475
};
8576
WriteObject(DataFactoryClient.ListActivityRuns(activityRunFilter));

src/ResourceManager/DataFactoryV2/Commands.DataFactoryV2/help/Get-AzDataFactoryV2ActivityRun.md

Lines changed: 4 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,16 @@ Gets information about activity runs for a pipeline run.
1515
### ByFactoryName (Default)
1616
```
1717
Get-AzDataFactoryV2ActivityRun [-PipelineRunId] <String> [-RunStartedAfter] <DateTime>
18-
[-RunStartedBefore] <DateTime> [[-ActivityName] <String>] [[-Status] <String>] [[-LinkedServiceName] <String>]
19-
[-ResourceGroupName] <String> [-DataFactoryName] <String> [-DefaultProfile <IAzureContextContainer>]
18+
[-RunStartedBefore] <DateTime> [[-ActivityName] <String>] [[-Status] <String>] [-ResourceGroupName] <String>
19+
[-DataFactoryName] <String> [-DefaultProfile <IAzureContextContainer>]
2020
[<CommonParameters>]
2121
```
2222

2323
### ByFactoryObject
2424
```
2525
Get-AzDataFactoryV2ActivityRun [-PipelineRunId] <String> [-RunStartedAfter] <DateTime>
26-
[-RunStartedBefore] <DateTime> [[-ActivityName] <String>] [[-Status] <String>] [[-LinkedServiceName] <String>]
27-
[-DataFactory] <PSDataFactory> [-DefaultProfile <IAzureContextContainer>] [<CommonParameters>]
26+
[-RunStartedBefore] <DateTime> [[-ActivityName] <String>] [[-Status] <String>] [-DataFactory] <PSDataFactory>
27+
[-DefaultProfile <IAzureContextContainer>] [<CommonParameters>]
2828
```
2929

3030
## DESCRIPTION
@@ -43,7 +43,6 @@ PS C:\> Get-AzDataFactoryV2ActivityRun -ResourceGroupName "ADF" -DataFactoryName
4343
PipelineName : DPUncyclosample
4444
Input : {method, url, headers, body...}
4545
Output : {operationstatus}
46-
LinkedServiceName :
4746
ActivityRunStart : 9/14/2017 12:20:57 AM
4847
ActivityRunEnd : 9/14/2017 12:21:00 AM
4948
DurationInMs : 2768
@@ -115,21 +114,6 @@ Accept pipeline input: False
115114
Accept wildcard characters: False
116115
```
117116
118-
### -LinkedServiceName
119-
The linked service name.
120-
121-
```yaml
122-
Type: System.String
123-
Parameter Sets: (All)
124-
Aliases:
125-
126-
Required: False
127-
Position: 6
128-
Default value: None
129-
Accept pipeline input: False
130-
Accept wildcard characters: False
131-
```
132-
133117
### -PipelineRunId
134118
The Run ID of the pipeline.
135119

src/ResourceManager/OperationalInsights/Commands.OperationalInsights/ChangeLog.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,5 @@
1717
* Overview of change #1
1818
- Additional information about change #1
1919
-->
20-
## Current Release
20+
## Current Release
21+
* Default parameter set for Get-AzOperationalInsightsDataSource is removed, and ByWorkspaceNameByKind has become the default parameter set

0 commit comments

Comments
 (0)