Skip to content

Commit

Permalink
[AutoPR eventhub/resource-manager] EventHub: 2018-preview - added new…
Browse files Browse the repository at this point in the history
… API for NetworkRuleSet (#3563)

* Generated from 7807c4f0b823166755d145a5f08b2d7b411ebf16

added new NetworkRule APIs

* Generated from a60b308c030848d00a8d37f366a7928eb7d65519

fixed lint errors

* Generated from 3b57de76c54b7554936ce1be5479976688f6f166

fixed typo and updated examples files names for NetworkRuleSets

* Generated from 7d461b5736f870e85cbc48bbb9973536e495301f

updated resource type name in url with plural and lowerCamelCase
  • Loading branch information
AutorestCI authored and jhendrixMSFT committed Dec 14, 2018
1 parent 9fb21c9 commit bcd3395
Show file tree
Hide file tree
Showing 4 changed files with 345 additions and 0 deletions.
24 changes: 24 additions & 0 deletions profiles/preview/preview/eventhub/mgmt/eventhub/models.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,26 @@ const (
DefaultBaseURI = original.DefaultBaseURI
)

type DefaultAction = original.DefaultAction

const (
Allow DefaultAction = original.Allow
Deny DefaultAction = original.Deny
)

type IPAction = original.IPAction

const (
Accept IPAction = original.Accept
Reject IPAction = original.Reject
)

type NetworkRuleIPAction = original.NetworkRuleIPAction

const (
NetworkRuleIPActionAllow NetworkRuleIPAction = original.NetworkRuleIPActionAllow
)

type SkuName = original.SkuName

const (
Expand Down Expand Up @@ -72,9 +85,13 @@ type IPFilterRuleListResult = original.IPFilterRuleListResult
type IPFilterRuleListResultIterator = original.IPFilterRuleListResultIterator
type IPFilterRuleListResultPage = original.IPFilterRuleListResultPage
type IPFilterRuleProperties = original.IPFilterRuleProperties
type NWRuleSetIPRules = original.NWRuleSetIPRules
type NWRuleSetVirtualNetworkRules = original.NWRuleSetVirtualNetworkRules
type NamespacesClient = original.NamespacesClient
type NamespacesCreateOrUpdateFuture = original.NamespacesCreateOrUpdateFuture
type NamespacesDeleteFuture = original.NamespacesDeleteFuture
type NetworkRuleSet = original.NetworkRuleSet
type NetworkRuleSetProperties = original.NetworkRuleSetProperties
type Operation = original.Operation
type OperationDisplay = original.OperationDisplay
type OperationListResult = original.OperationListResult
Expand All @@ -83,6 +100,7 @@ type OperationListResultPage = original.OperationListResultPage
type OperationsClient = original.OperationsClient
type Resource = original.Resource
type Sku = original.Sku
type Subnet = original.Subnet
type TrackedResource = original.TrackedResource
type VirtualNetworkRule = original.VirtualNetworkRule
type VirtualNetworkRuleListResult = original.VirtualNetworkRuleListResult
Expand Down Expand Up @@ -150,9 +168,15 @@ func NewVirtualNetworkRuleListResultPage(getNextPage func(context.Context, Virtu
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return original.NewWithBaseURI(baseURI, subscriptionID)
}
func PossibleDefaultActionValues() []DefaultAction {
return original.PossibleDefaultActionValues()
}
func PossibleIPActionValues() []IPAction {
return original.PossibleIPActionValues()
}
func PossibleNetworkRuleIPActionValues() []NetworkRuleIPAction {
return original.PossibleNetworkRuleIPActionValues()
}
func PossibleSkuNameValues() []SkuName {
return original.PossibleSkuNameValues()
}
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

142 changes: 142 additions & 0 deletions services/preview/eventhub/mgmt/2018-01-01-preview/eventhub/models.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit bcd3395

Please sign in to comment.