Skip to content

Commit 234ad02

Browse files
committed
Revert "Change to secret for all versions"
This reverts commit aba4e33.
1 parent aba4e33 commit 234ad02

5 files changed

Lines changed: 28 additions & 36 deletions

File tree

specification/azuredatatransfer/AzureDataTransfer.Management/models.tsp

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1101,9 +1101,17 @@ model FlowProperties {
11011101
*/
11021102
streamLatency?: int64;
11031103

1104+
/**
1105+
* The passphrase used for SRT streams (non-secret)
1106+
*/
1107+
@removed(Versions.v2026_02_06_preview)
1108+
@renamedFrom(Versions.v2026_02_06_preview, "passphrase")
1109+
deprecatedPassphrase?: string;
1110+
11041111
/**
11051112
* The passphrase used for SRT streams
11061113
*/
1114+
@added(Versions.v2026_02_06_preview)
11071115
@secret
11081116
passphrase?: string;
11091117

@@ -1447,9 +1455,17 @@ model SetDestinationEndpoints {
14471455
* Set the passphrase used for SRT streams
14481456
*/
14491457
model SetStreamPassphrase {
1458+
/**
1459+
* The passphrase used for SRT streams (non-secret)
1460+
*/
1461+
@removed(Versions.v2026_02_06_preview)
1462+
@renamedFrom(Versions.v2026_02_06_preview, "value")
1463+
deprecatedValue?: string;
1464+
14501465
/**
14511466
* The passphrase used for SRT streams
14521467
*/
1468+
@added(Versions.v2026_02_06_preview)
14531469
@secret
14541470
value?: string;
14551471
}

specification/azuredatatransfer/resource-manager/Microsoft.AzureDataTransfer/preview/2025-04-11-preview/azuredatatransfer.json

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3281,9 +3281,7 @@
32813281
},
32823282
"passphrase": {
32833283
"type": "string",
3284-
"format": "password",
3285-
"description": "The passphrase used for SRT streams",
3286-
"x-ms-secret": true
3284+
"description": "The passphrase used for SRT streams (non-secret)"
32873285
},
32883286
"sourceAddresses": {
32893287
"$ref": "#/definitions/StreamSourceAddresses",
@@ -4004,9 +4002,7 @@
40044002
},
40054003
"passphrase": {
40064004
"type": "string",
4007-
"format": "password",
4008-
"description": "The passphrase used for SRT streams",
4009-
"x-ms-secret": true
4005+
"description": "The passphrase used for SRT streams (non-secret)"
40104006
},
40114007
"sourceAddresses": {
40124008
"$ref": "#/definitions/StreamSourceAddresses",
@@ -4555,9 +4551,7 @@
45554551
"properties": {
45564552
"value": {
45574553
"type": "string",
4558-
"format": "password",
4559-
"description": "The passphrase used for SRT streams",
4560-
"x-ms-secret": true
4554+
"description": "The passphrase used for SRT streams (non-secret)"
45614555
}
45624556
}
45634557
},

specification/azuredatatransfer/resource-manager/Microsoft.AzureDataTransfer/preview/2025-05-30-preview/azuredatatransfer.json

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4211,9 +4211,7 @@
42114211
},
42124212
"passphrase": {
42134213
"type": "string",
4214-
"format": "password",
4215-
"description": "The passphrase used for SRT streams",
4216-
"x-ms-secret": true
4214+
"description": "The passphrase used for SRT streams (non-secret)"
42174215
},
42184216
"sourceAddresses": {
42194217
"$ref": "#/definitions/StreamSourceAddresses",
@@ -5033,9 +5031,7 @@
50335031
},
50345032
"passphrase": {
50355033
"type": "string",
5036-
"format": "password",
5037-
"description": "The passphrase used for SRT streams",
5038-
"x-ms-secret": true
5034+
"description": "The passphrase used for SRT streams (non-secret)"
50395035
},
50405036
"sourceAddresses": {
50415037
"$ref": "#/definitions/StreamSourceAddresses",
@@ -5612,9 +5608,7 @@
56125608
"properties": {
56135609
"value": {
56145610
"type": "string",
5615-
"format": "password",
5616-
"description": "The passphrase used for SRT streams",
5617-
"x-ms-secret": true
5611+
"description": "The passphrase used for SRT streams (non-secret)"
56185612
}
56195613
}
56205614
},

specification/azuredatatransfer/resource-manager/Microsoft.AzureDataTransfer/preview/2025-10-10-preview/azuredatatransfer.json

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4211,9 +4211,7 @@
42114211
},
42124212
"passphrase": {
42134213
"type": "string",
4214-
"format": "password",
4215-
"description": "The passphrase used for SRT streams",
4216-
"x-ms-secret": true
4214+
"description": "The passphrase used for SRT streams (non-secret)"
42174215
},
42184216
"sourceAddresses": {
42194217
"$ref": "#/definitions/StreamSourceAddresses",
@@ -5033,9 +5031,7 @@
50335031
},
50345032
"passphrase": {
50355033
"type": "string",
5036-
"format": "password",
5037-
"description": "The passphrase used for SRT streams",
5038-
"x-ms-secret": true
5034+
"description": "The passphrase used for SRT streams (non-secret)"
50395035
},
50405036
"sourceAddresses": {
50415037
"$ref": "#/definitions/StreamSourceAddresses",
@@ -5612,9 +5608,7 @@
56125608
"properties": {
56135609
"value": {
56145610
"type": "string",
5615-
"format": "password",
5616-
"description": "The passphrase used for SRT streams",
5617-
"x-ms-secret": true
5611+
"description": "The passphrase used for SRT streams (non-secret)"
56185612
}
56195613
}
56205614
},

specification/azuredatatransfer/resource-manager/Microsoft.AzureDataTransfer/stable/2025-05-21/azuredatatransfer.json

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3281,9 +3281,7 @@
32813281
},
32823282
"passphrase": {
32833283
"type": "string",
3284-
"format": "password",
3285-
"description": "The passphrase used for SRT streams",
3286-
"x-ms-secret": true
3284+
"description": "The passphrase used for SRT streams (non-secret)"
32873285
},
32883286
"sourceAddresses": {
32893287
"$ref": "#/definitions/StreamSourceAddresses",
@@ -4004,9 +4002,7 @@
40044002
},
40054003
"passphrase": {
40064004
"type": "string",
4007-
"format": "password",
4008-
"description": "The passphrase used for SRT streams",
4009-
"x-ms-secret": true
4005+
"description": "The passphrase used for SRT streams (non-secret)"
40104006
},
40114007
"sourceAddresses": {
40124008
"$ref": "#/definitions/StreamSourceAddresses",
@@ -4555,9 +4551,7 @@
45554551
"properties": {
45564552
"value": {
45574553
"type": "string",
4558-
"format": "password",
4559-
"description": "The passphrase used for SRT streams",
4560-
"x-ms-secret": true
4554+
"description": "The passphrase used for SRT streams (non-secret)"
45614555
}
45624556
}
45634557
},

0 commit comments

Comments
 (0)