-
Notifications
You must be signed in to change notification settings - Fork 232
/
azure.mgmt.iothub.v2019_03_22.models.IotHubLocationDescription.yml
49 lines (43 loc) · 1.64 KB
/
azure.mgmt.iothub.v2019_03_22.models.IotHubLocationDescription.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
### YamlMime:PythonClass
uid: azure.mgmt.iothub.v2019_03_22.models.IotHubLocationDescription
name: IotHubLocationDescription
fullName: azure.mgmt.iothub.v2019_03_22.models.IotHubLocationDescription
module: azure.mgmt.iothub.v2019_03_22.models
inheritances:
- azure.mgmt.iothub._serialization.Model
summary: Public representation of one of the locations where a resource is provisioned.
constructor:
syntax: 'IotHubLocationDescription(*, location: str | None = None, role: str | _models.IotHubReplicaRoleType
| None = None, **kwargs: Any)'
keywordOnlyParameters:
- name: location
description: The name of the Azure region.
types:
- <xref:str>
- name: role
description: 'The role of the region, can be either primary or secondary. The
primary region
is where the IoT hub is currently provisioned. The secondary region is the Azure
disaster
recovery (DR) paired region and also the region where the IoT hub can failover
to. Known values
are: "primary" and "secondary".'
types:
- <xref:str>
- <xref:azure.mgmt.iothub.v2019_03_22.models.IotHubReplicaRoleType>
variables:
- description: The name of the Azure region.
name: location
types:
- <xref:str>
- description: 'The role of the region, can be either primary or secondary. The primary
region is
where the IoT hub is currently provisioned. The secondary region is the Azure
disaster recovery
(DR) paired region and also the region where the IoT hub can failover to. Known
values are:
"primary" and "secondary".'
name: role
types:
- <xref:str>
- <xref:azure.mgmt.iothub.v2019_03_22.models.IotHubReplicaRoleType>