Skip to content

Commit

Permalink
[AutoPR eventgrid/resource-manager] EventGrid: New preview API versio…
Browse files Browse the repository at this point in the history
…n with support for additional destination types, CloudEvents 1.0, and batching support. (#6102)

* Generated from 2f3e7dfe09d45258a6bd27be7fd4b7bbfb67a9bc

Add new API version to README files.

* Generated from 227d311a35e44441be395c70515641008f39942e

Made a minor rename to one property (azureActiveDirectoryApplicationObjectId) based on feedback.
  • Loading branch information
AutorestCI authored and ArcturusZhang committed Oct 23, 2019
1 parent 3e1ee9f commit bafff7c
Show file tree
Hide file tree
Showing 12 changed files with 9,207 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

package eventgridapi

import original "github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2019-02-01-preview/eventgrid/eventgridapi"
import original "github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2020-01-01-preview/eventgrid/eventgridapi"

type DomainTopicsClientAPI = original.DomainTopicsClientAPI
type DomainsClientAPI = original.DomainsClientAPI
Expand Down
12 changes: 9 additions & 3 deletions profiles/preview/preview/eventgrid/mgmt/eventgrid/models.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ package eventgrid
import (
"context"

original "github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2019-02-01-preview/eventgrid"
original "github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2020-01-01-preview/eventgrid"
)

const (
Expand Down Expand Up @@ -54,10 +54,12 @@ const (
type EndpointType = original.EndpointType

const (
EndpointTypeAzureFunction EndpointType = original.EndpointTypeAzureFunction
EndpointTypeEventHub EndpointType = original.EndpointTypeEventHub
EndpointTypeEventSubscriptionDestination EndpointType = original.EndpointTypeEventSubscriptionDestination
EndpointTypeHybridConnection EndpointType = original.EndpointTypeHybridConnection
EndpointTypeServiceBusQueue EndpointType = original.EndpointTypeServiceBusQueue
EndpointTypeServiceBusTopic EndpointType = original.EndpointTypeServiceBusTopic
EndpointTypeStorageQueue EndpointType = original.EndpointTypeStorageQueue
EndpointTypeWebHook EndpointType = original.EndpointTypeWebHook
)
Expand All @@ -72,7 +74,7 @@ const (
type EventDeliverySchema = original.EventDeliverySchema

const (
CloudEventV01Schema EventDeliverySchema = original.CloudEventV01Schema
CloudEventSchemaV10 EventDeliverySchema = original.CloudEventSchemaV10
CustomInputSchema EventDeliverySchema = original.CustomInputSchema
EventGridSchema EventDeliverySchema = original.EventGridSchema
)
Expand All @@ -92,7 +94,7 @@ const (
type InputSchema = original.InputSchema

const (
InputSchemaCloudEventV01Schema InputSchema = original.InputSchemaCloudEventV01Schema
InputSchemaCloudEventSchemaV10 InputSchema = original.InputSchemaCloudEventSchemaV10
InputSchemaCustomEventSchema InputSchema = original.InputSchemaCustomEventSchema
InputSchemaEventGridSchema InputSchema = original.InputSchemaEventGridSchema
)
Expand Down Expand Up @@ -152,6 +154,8 @@ const (
)

type AdvancedFilter = original.AdvancedFilter
type AzureFunctionEventSubscriptionDestination = original.AzureFunctionEventSubscriptionDestination
type AzureFunctionEventSubscriptionDestinationProperties = original.AzureFunctionEventSubscriptionDestinationProperties
type BaseClient = original.BaseClient
type BasicAdvancedFilter = original.BasicAdvancedFilter
type BasicDeadLetterDestination = original.BasicDeadLetterDestination
Expand Down Expand Up @@ -218,6 +222,8 @@ type Resource = original.Resource
type RetryPolicy = original.RetryPolicy
type ServiceBusQueueEventSubscriptionDestination = original.ServiceBusQueueEventSubscriptionDestination
type ServiceBusQueueEventSubscriptionDestinationProperties = original.ServiceBusQueueEventSubscriptionDestinationProperties
type ServiceBusTopicEventSubscriptionDestination = original.ServiceBusTopicEventSubscriptionDestination
type ServiceBusTopicEventSubscriptionDestinationProperties = original.ServiceBusTopicEventSubscriptionDestinationProperties
type StorageBlobDeadLetterDestination = original.StorageBlobDeadLetterDestination
type StorageBlobDeadLetterDestinationProperties = original.StorageBlobDeadLetterDestinationProperties
type StorageQueueEventSubscriptionDestination = original.StorageQueueEventSubscriptionDestination
Expand Down

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

Loading

0 comments on commit bafff7c

Please sign in to comment.