Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add property 'minTlsVersion' to IoTHubProperties #9162

Merged
merged 4 commits into from
May 5, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@
"maxDeliveryCount": 10
}
},
"features": "None"
"features": "None",
"minTlsVersion": "1.2"
},
"sku": {
"name": "S1",
Expand Down Expand Up @@ -134,7 +135,8 @@
"maxDeliveryCount": 10
}
},
"features": "None"
"features": "None",
"minTlsVersion": "1.2"
},
"sku": {
"name": "S1",
Expand Down Expand Up @@ -210,7 +212,8 @@
"maxDeliveryCount": 10
}
},
"features": "None"
"features": "None",
"minTlsVersion": "1.2"
},
"sku": {
"name": "S1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,8 @@
"location": "East US",
"role": "secondary"
}
]
],
"minTlsVersion": "1.2"
},
"sku": {
"name": "S1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2281,6 +2281,10 @@
"$ref": "#/definitions/IpFilterRule"
}
},
"minTlsVersion": {
majastrz marked this conversation as resolved.
Show resolved Hide resolved
"type": "string",
"description": "Specifies the minimum TLS version to support for this hub. Can be set to \"1.2\" to have clients that use a TLS version below 1.2 to be rejected."
},
"privateEndpointConnections": {
"description": "Private endpoint connections created on this IotHub",
"type": "array",
Expand Down
10 changes: 10 additions & 0 deletions specification/iothub/resource-manager/readme.go.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ go:
``` yaml $(go) && $(multiapi)
batch:
- tag: package-2020-03
- tag: package-preview-2019-03
- tag: package-2018-12-preview
- tag: package-2018-04
Expand All @@ -22,6 +23,15 @@ batch:
- tag: package-2016-02
```
### Tag: package-2020-03 and go
These settings apply only when `--tag=package-2020-03 --go` is specified on the command line.
Please also specify `--go-sdk-folder=<path to the root directory of your azure-sdk-for-go clone>`.

``` yaml $(tag) == 'package-2020-03' && $(go)
output-folder: $(go-sdk-folder)/services/iothub/mgmt/2020-03-01/$(namespace)
```

### Tag:package-preview-2019-03 and go

These settings apply only when `--tag=package-preview-2019-03 --go` is specified on the command line.
Expand Down
18 changes: 18 additions & 0 deletions specification/iothub/resource-manager/readme.java.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,29 @@ output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-iothub

``` yaml $(java) && $(multiapi)
batch:
- tag: package-2020-03
- tag: package-preview-2019-03
- tag: package-2018-12-preview
- tag: package-2018-04
```

### Tag: package-2020-03 and java

These settings apply only when `--tag=package-2020-03 --java` is specified on the command line.
Please also specify `--azure-libraries-for-java-folder=<path to the root directory of your azure-sdk-for-java clone>`.

``` yaml $(tag) == 'package-2020-03' && $(java) && $(multiapi)
java:
namespace: com.microsoft.azure.management.iothub.v2020_03_01
output-folder: $(azure-libraries-for-java-folder)/sdk/iothub/mgmt-v2020_03_01
regenerate-manager: true
generate-interface: true
directive:
- rename-model:
from: PrivateLinkResources
to: PrivateLinkResource
```

### Tag: package-preview-2019-03

These settings apply only when `--tag=package-preview-2019-03 --java` is specified on the command line.
Expand Down
12 changes: 12 additions & 0 deletions specification/iothub/resource-manager/readme.python.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ Generate all API versions currently shipped for this package
```yaml $(python) && $(multiapi)
batch:
- tag: package-2020-03
- tag: package-2019-11
- tag: package-2019-03
- tag: package-2018-04
Expand All @@ -31,6 +32,17 @@ batch:
- tag: package-2016-02
```
### Tag: package-2020-03 and python
These settings apply only when `--tag=package-2020-03 --python` is specified on the command line.
Please also specify `--python-sdks-folder=<path to the root directory of your azure-sdk-for-python clone>`.

``` yaml $(tag) == 'package-2020-03' && $(python)
python:
namespace: azure.mgmt.iothub.v2020_03_01
output-folder: $(python-sdks-folder)/iothub/azure-mgmt-iothub/azure/mgmt/iothub/v2020_03_01
```

### Tag: package-2019-11 and python

These settings apply only when `--tag=package-2019-11 --python` is specified on the command line.
Expand Down