Skip to content

Commit 76186b5

Browse files
AutorestCIjhendrixMSFT
authored andcommitted
[AutoPR iothub/resource-manager] [Hub Generated] Review request for Microsoft.Devices to add version preview/2019-03-22-preview (#5149)
* Generated from a2660396e04a6551432a9f9e108956db05266023 adding locations property to iothub properties * Generated from b11a3ac1fafc172c5933d5e07a47a7ea1d4a1c0f adding locations property
1 parent c1d909f commit 76186b5

File tree

2 files changed

+36
-0
lines changed
  • profiles/preview/preview/iothub/mgmt/devices
  • services/preview/iothub/mgmt/2019-03-22-preview/devices

2 files changed

+36
-0
lines changed

profiles/preview/preview/iothub/mgmt/devices/models.go

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,13 @@ const (
8787
Invalid IotHubNameUnavailabilityReason = original.Invalid
8888
)
8989

90+
type IotHubReplicaRoleType = original.IotHubReplicaRoleType
91+
92+
const (
93+
Primary IotHubReplicaRoleType = original.Primary
94+
Secondary IotHubReplicaRoleType = original.Secondary
95+
)
96+
9097
type IotHubScaleType = original.IotHubScaleType
9198

9299
const (
@@ -199,6 +206,7 @@ type IotHubDescription = original.IotHubDescription
199206
type IotHubDescriptionListResult = original.IotHubDescriptionListResult
200207
type IotHubDescriptionListResultIterator = original.IotHubDescriptionListResultIterator
201208
type IotHubDescriptionListResultPage = original.IotHubDescriptionListResultPage
209+
type IotHubLocationDescription = original.IotHubLocationDescription
202210
type IotHubManualFailoverFuture = original.IotHubManualFailoverFuture
203211
type IotHubNameAvailabilityInfo = original.IotHubNameAvailabilityInfo
204212
type IotHubProperties = original.IotHubProperties
@@ -363,6 +371,9 @@ func PossibleIPFilterActionTypeValues() []IPFilterActionType {
363371
func PossibleIotHubNameUnavailabilityReasonValues() []IotHubNameUnavailabilityReason {
364372
return original.PossibleIotHubNameUnavailabilityReasonValues()
365373
}
374+
func PossibleIotHubReplicaRoleTypeValues() []IotHubReplicaRoleType {
375+
return original.PossibleIotHubReplicaRoleTypeValues()
376+
}
366377
func PossibleIotHubScaleTypeValues() []IotHubScaleType {
367378
return original.PossibleIotHubScaleTypeValues()
368379
}

services/preview/iothub/mgmt/2019-03-22-preview/devices/models.go

Lines changed: 25 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)