subscriptionmanagement

package
v1.3.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 13, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EventGridManager

type EventGridManager interface {
	GetSystemTopicName() string
	CreateSystemTopic(ctx context.Context) (*armeventgrid.SystemTopic, error)
	CreateEventSubscription(ctx context.Context, subscriptionName string, endpointUrl string) (*armeventgrid.EventSubscriptionsClientCreateOrUpdateResponse, error)
}

func NewEventGridManager

func NewEventGridManager(credential azcore.TokenCredential, resourceGroupId string) (EventGridManager, error)

Creates an event grid manager to create system topic and event subscription for the purpose of receiving deployment events It will use the resource group id to create the system topic in the resource group's location and subscription

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL