webpubsub

package
v0.20240306.1111727 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2024 License: MPL-2.0 Imports: 14 Imported by: 1

README

github.com/hashicorp/go-azure-sdk/resource-manager/webpubsub/2023-02-01/webpubsub Documentation

The webpubsub SDK allows for interaction with the Azure Resource Manager Service webpubsub (API Version 2023-02-01).

This readme covers example usages, but further information on using this SDK can be found in the project root.

Import Path

import "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids"
import "github.com/hashicorp/go-azure-sdk/resource-manager/webpubsub/2023-02-01/webpubsub"

Client Initialization

client := webpubsub.NewWebPubSubClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: WebPubSubClient.CheckNameAvailability

ctx := context.TODO()
id := webpubsub.NewLocationID("12345678-1234-9876-4563-123456789012", "locationValue")

payload := webpubsub.NameAvailabilityParameters{
	// ...
}


read, err := client.CheckNameAvailability(ctx, id, payload)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: WebPubSubClient.CreateOrUpdate

ctx := context.TODO()
id := webpubsub.NewWebPubSubID("12345678-1234-9876-4563-123456789012", "example-resource-group", "webPubSubValue")

payload := webpubsub.WebPubSubResource{
	// ...
}


if err := client.CreateOrUpdateThenPoll(ctx, id, payload); err != nil {
	// handle the error
}

Example Usage: WebPubSubClient.CustomCertificatesCreateOrUpdate

ctx := context.TODO()
id := webpubsub.NewCustomCertificateID("12345678-1234-9876-4563-123456789012", "example-resource-group", "webPubSubValue", "customCertificateValue")

payload := webpubsub.CustomCertificate{
	// ...
}


if err := client.CustomCertificatesCreateOrUpdateThenPoll(ctx, id, payload); err != nil {
	// handle the error
}

Example Usage: WebPubSubClient.CustomCertificatesDelete

ctx := context.TODO()
id := webpubsub.NewCustomCertificateID("12345678-1234-9876-4563-123456789012", "example-resource-group", "webPubSubValue", "customCertificateValue")

read, err := client.CustomCertificatesDelete(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: WebPubSubClient.CustomCertificatesGet

ctx := context.TODO()
id := webpubsub.NewCustomCertificateID("12345678-1234-9876-4563-123456789012", "example-resource-group", "webPubSubValue", "customCertificateValue")

read, err := client.CustomCertificatesGet(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: WebPubSubClient.CustomCertificatesList

ctx := context.TODO()
id := webpubsub.NewWebPubSubID("12345678-1234-9876-4563-123456789012", "example-resource-group", "webPubSubValue")

// alternatively `client.CustomCertificatesList(ctx, id)` can be used to do batched pagination
items, err := client.CustomCertificatesListComplete(ctx, id)
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: WebPubSubClient.CustomDomainsCreateOrUpdate

ctx := context.TODO()
id := webpubsub.NewCustomDomainID("12345678-1234-9876-4563-123456789012", "example-resource-group", "webPubSubValue", "customDomainValue")

payload := webpubsub.CustomDomain{
	// ...
}


if err := client.CustomDomainsCreateOrUpdateThenPoll(ctx, id, payload); err != nil {
	// handle the error
}

Example Usage: WebPubSubClient.CustomDomainsDelete

ctx := context.TODO()
id := webpubsub.NewCustomDomainID("12345678-1234-9876-4563-123456789012", "example-resource-group", "webPubSubValue", "customDomainValue")

if err := client.CustomDomainsDeleteThenPoll(ctx, id); err != nil {
	// handle the error
}

Example Usage: WebPubSubClient.CustomDomainsGet

ctx := context.TODO()
id := webpubsub.NewCustomDomainID("12345678-1234-9876-4563-123456789012", "example-resource-group", "webPubSubValue", "customDomainValue")

read, err := client.CustomDomainsGet(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: WebPubSubClient.CustomDomainsList

ctx := context.TODO()
id := webpubsub.NewWebPubSubID("12345678-1234-9876-4563-123456789012", "example-resource-group", "webPubSubValue")

// alternatively `client.CustomDomainsList(ctx, id)` can be used to do batched pagination
items, err := client.CustomDomainsListComplete(ctx, id)
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: WebPubSubClient.Delete

ctx := context.TODO()
id := webpubsub.NewWebPubSubID("12345678-1234-9876-4563-123456789012", "example-resource-group", "webPubSubValue")

if err := client.DeleteThenPoll(ctx, id); err != nil {
	// handle the error
}

Example Usage: WebPubSubClient.Get

ctx := context.TODO()
id := webpubsub.NewWebPubSubID("12345678-1234-9876-4563-123456789012", "example-resource-group", "webPubSubValue")

read, err := client.Get(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: WebPubSubClient.HubsCreateOrUpdate

ctx := context.TODO()
id := webpubsub.NewHubID("12345678-1234-9876-4563-123456789012", "example-resource-group", "webPubSubValue", "hubValue")

payload := webpubsub.WebPubSubHub{
	// ...
}


if err := client.HubsCreateOrUpdateThenPoll(ctx, id, payload); err != nil {
	// handle the error
}

Example Usage: WebPubSubClient.HubsDelete

ctx := context.TODO()
id := webpubsub.NewHubID("12345678-1234-9876-4563-123456789012", "example-resource-group", "webPubSubValue", "hubValue")

if err := client.HubsDeleteThenPoll(ctx, id); err != nil {
	// handle the error
}

Example Usage: WebPubSubClient.HubsGet

ctx := context.TODO()
id := webpubsub.NewHubID("12345678-1234-9876-4563-123456789012", "example-resource-group", "webPubSubValue", "hubValue")

read, err := client.HubsGet(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: WebPubSubClient.HubsList

ctx := context.TODO()
id := webpubsub.NewWebPubSubID("12345678-1234-9876-4563-123456789012", "example-resource-group", "webPubSubValue")

// alternatively `client.HubsList(ctx, id)` can be used to do batched pagination
items, err := client.HubsListComplete(ctx, id)
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: WebPubSubClient.ListByResourceGroup

ctx := context.TODO()
id := commonids.NewResourceGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group")

// alternatively `client.ListByResourceGroup(ctx, id)` can be used to do batched pagination
items, err := client.ListByResourceGroupComplete(ctx, id)
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: WebPubSubClient.ListBySubscription

ctx := context.TODO()
id := commonids.NewSubscriptionID("12345678-1234-9876-4563-123456789012")

// alternatively `client.ListBySubscription(ctx, id)` can be used to do batched pagination
items, err := client.ListBySubscriptionComplete(ctx, id)
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: WebPubSubClient.ListKeys

ctx := context.TODO()
id := webpubsub.NewWebPubSubID("12345678-1234-9876-4563-123456789012", "example-resource-group", "webPubSubValue")

read, err := client.ListKeys(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: WebPubSubClient.ListSkus

ctx := context.TODO()
id := webpubsub.NewWebPubSubID("12345678-1234-9876-4563-123456789012", "example-resource-group", "webPubSubValue")

// alternatively `client.ListSkus(ctx, id)` can be used to do batched pagination
items, err := client.ListSkusComplete(ctx, id)
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: WebPubSubClient.PrivateEndpointConnectionsDelete

ctx := context.TODO()
id := webpubsub.NewPrivateEndpointConnectionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "webPubSubValue", "privateEndpointConnectionValue")

if err := client.PrivateEndpointConnectionsDeleteThenPoll(ctx, id); err != nil {
	// handle the error
}

Example Usage: WebPubSubClient.PrivateEndpointConnectionsGet

ctx := context.TODO()
id := webpubsub.NewPrivateEndpointConnectionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "webPubSubValue", "privateEndpointConnectionValue")

read, err := client.PrivateEndpointConnectionsGet(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: WebPubSubClient.PrivateEndpointConnectionsList

ctx := context.TODO()
id := webpubsub.NewWebPubSubID("12345678-1234-9876-4563-123456789012", "example-resource-group", "webPubSubValue")

// alternatively `client.PrivateEndpointConnectionsList(ctx, id)` can be used to do batched pagination
items, err := client.PrivateEndpointConnectionsListComplete(ctx, id)
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: WebPubSubClient.PrivateEndpointConnectionsUpdate

ctx := context.TODO()
id := webpubsub.NewPrivateEndpointConnectionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "webPubSubValue", "privateEndpointConnectionValue")

payload := webpubsub.PrivateEndpointConnection{
	// ...
}


read, err := client.PrivateEndpointConnectionsUpdate(ctx, id, payload)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: WebPubSubClient.PrivateLinkResourcesList

ctx := context.TODO()
id := webpubsub.NewWebPubSubID("12345678-1234-9876-4563-123456789012", "example-resource-group", "webPubSubValue")

// alternatively `client.PrivateLinkResourcesList(ctx, id)` can be used to do batched pagination
items, err := client.PrivateLinkResourcesListComplete(ctx, id)
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: WebPubSubClient.RegenerateKey

ctx := context.TODO()
id := webpubsub.NewWebPubSubID("12345678-1234-9876-4563-123456789012", "example-resource-group", "webPubSubValue")

payload := webpubsub.RegenerateKeyParameters{
	// ...
}


if err := client.RegenerateKeyThenPoll(ctx, id, payload); err != nil {
	// handle the error
}

Example Usage: WebPubSubClient.Restart

ctx := context.TODO()
id := webpubsub.NewWebPubSubID("12345678-1234-9876-4563-123456789012", "example-resource-group", "webPubSubValue")

if err := client.RestartThenPoll(ctx, id); err != nil {
	// handle the error
}

Example Usage: WebPubSubClient.SharedPrivateLinkResourcesCreateOrUpdate

ctx := context.TODO()
id := webpubsub.NewSharedPrivateLinkResourceID("12345678-1234-9876-4563-123456789012", "example-resource-group", "webPubSubValue", "sharedPrivateLinkResourceValue")

payload := webpubsub.SharedPrivateLinkResource{
	// ...
}


if err := client.SharedPrivateLinkResourcesCreateOrUpdateThenPoll(ctx, id, payload); err != nil {
	// handle the error
}

Example Usage: WebPubSubClient.SharedPrivateLinkResourcesDelete

ctx := context.TODO()
id := webpubsub.NewSharedPrivateLinkResourceID("12345678-1234-9876-4563-123456789012", "example-resource-group", "webPubSubValue", "sharedPrivateLinkResourceValue")

if err := client.SharedPrivateLinkResourcesDeleteThenPoll(ctx, id); err != nil {
	// handle the error
}

Example Usage: WebPubSubClient.SharedPrivateLinkResourcesGet

ctx := context.TODO()
id := webpubsub.NewSharedPrivateLinkResourceID("12345678-1234-9876-4563-123456789012", "example-resource-group", "webPubSubValue", "sharedPrivateLinkResourceValue")

read, err := client.SharedPrivateLinkResourcesGet(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: WebPubSubClient.SharedPrivateLinkResourcesList

ctx := context.TODO()
id := webpubsub.NewWebPubSubID("12345678-1234-9876-4563-123456789012", "example-resource-group", "webPubSubValue")

// alternatively `client.SharedPrivateLinkResourcesList(ctx, id)` can be used to do batched pagination
items, err := client.SharedPrivateLinkResourcesListComplete(ctx, id)
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: WebPubSubClient.Update

ctx := context.TODO()
id := webpubsub.NewWebPubSubID("12345678-1234-9876-4563-123456789012", "example-resource-group", "webPubSubValue")

payload := webpubsub.WebPubSubResource{
	// ...
}


if err := client.UpdateThenPoll(ctx, id, payload); err != nil {
	// handle the error
}

Example Usage: WebPubSubClient.UsagesList

ctx := context.TODO()
id := webpubsub.NewLocationID("12345678-1234-9876-4563-123456789012", "locationValue")

// alternatively `client.UsagesList(ctx, id)` can be used to do batched pagination
items, err := client.UsagesListComplete(ctx, id)
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PossibleValuesForACLAction

func PossibleValuesForACLAction() []string

func PossibleValuesForEventListenerEndpointDiscriminator

func PossibleValuesForEventListenerEndpointDiscriminator() []string

func PossibleValuesForEventListenerFilterDiscriminator

func PossibleValuesForEventListenerFilterDiscriminator() []string

func PossibleValuesForKeyType

func PossibleValuesForKeyType() []string

func PossibleValuesForPrivateLinkServiceConnectionStatus

func PossibleValuesForPrivateLinkServiceConnectionStatus() []string

func PossibleValuesForProvisioningState

func PossibleValuesForProvisioningState() []string

func PossibleValuesForScaleType

func PossibleValuesForScaleType() []string

func PossibleValuesForSharedPrivateLinkResourceStatus

func PossibleValuesForSharedPrivateLinkResourceStatus() []string

func PossibleValuesForUpstreamAuthType

func PossibleValuesForUpstreamAuthType() []string

func PossibleValuesForWebPubSubRequestType

func PossibleValuesForWebPubSubRequestType() []string

func PossibleValuesForWebPubSubSkuTier

func PossibleValuesForWebPubSubSkuTier() []string

func ValidateCustomCertificateID

func ValidateCustomCertificateID(input interface{}, key string) (warnings []string, errors []error)

ValidateCustomCertificateID checks that 'input' can be parsed as a Custom Certificate ID

func ValidateCustomDomainID

func ValidateCustomDomainID(input interface{}, key string) (warnings []string, errors []error)

ValidateCustomDomainID checks that 'input' can be parsed as a Custom Domain ID

func ValidateHubID

func ValidateHubID(input interface{}, key string) (warnings []string, errors []error)

ValidateHubID checks that 'input' can be parsed as a Hub ID

func ValidateLocationID

func ValidateLocationID(input interface{}, key string) (warnings []string, errors []error)

ValidateLocationID checks that 'input' can be parsed as a Location ID

func ValidatePrivateEndpointConnectionID

func ValidatePrivateEndpointConnectionID(input interface{}, key string) (warnings []string, errors []error)

ValidatePrivateEndpointConnectionID checks that 'input' can be parsed as a Private Endpoint Connection ID

func ValidateSharedPrivateLinkResourceID

func ValidateSharedPrivateLinkResourceID(input interface{}, key string) (warnings []string, errors []error)

ValidateSharedPrivateLinkResourceID checks that 'input' can be parsed as a Shared Private Link Resource ID

func ValidateWebPubSubID

func ValidateWebPubSubID(input interface{}, key string) (warnings []string, errors []error)

ValidateWebPubSubID checks that 'input' can be parsed as a Web Pub Sub ID

Types

type ACLAction

type ACLAction string
const (
	ACLActionAllow ACLAction = "Allow"
	ACLActionDeny  ACLAction = "Deny"
)

func (*ACLAction) UnmarshalJSON

func (s *ACLAction) UnmarshalJSON(bytes []byte) error

type CheckNameAvailabilityOperationResponse

type CheckNameAvailabilityOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *NameAvailability
}

type CreateOrUpdateOperationResponse

type CreateOrUpdateOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *WebPubSubResource
}

type CustomCertificate

type CustomCertificate struct {
	Id         *string                     `json:"id,omitempty"`
	Name       *string                     `json:"name,omitempty"`
	Properties CustomCertificateProperties `json:"properties"`
	SystemData *systemdata.SystemData      `json:"systemData,omitempty"`
	Type       *string                     `json:"type,omitempty"`
}

type CustomCertificateId

type CustomCertificateId struct {
	SubscriptionId        string
	ResourceGroupName     string
	WebPubSubName         string
	CustomCertificateName string
}

CustomCertificateId is a struct representing the Resource ID for a Custom Certificate

func NewCustomCertificateID

func NewCustomCertificateID(subscriptionId string, resourceGroupName string, webPubSubName string, customCertificateName string) CustomCertificateId

NewCustomCertificateID returns a new CustomCertificateId struct

func ParseCustomCertificateID

func ParseCustomCertificateID(input string) (*CustomCertificateId, error)

ParseCustomCertificateID parses 'input' into a CustomCertificateId

func ParseCustomCertificateIDInsensitively

func ParseCustomCertificateIDInsensitively(input string) (*CustomCertificateId, error)

ParseCustomCertificateIDInsensitively parses 'input' case-insensitively into a CustomCertificateId note: this method should only be used for API response data and not user input

func (*CustomCertificateId) FromParseResult

func (id *CustomCertificateId) FromParseResult(input resourceids.ParseResult) error

func (CustomCertificateId) ID

func (id CustomCertificateId) ID() string

ID returns the formatted Custom Certificate ID

func (CustomCertificateId) Segments

func (id CustomCertificateId) Segments() []resourceids.Segment

Segments returns a slice of Resource ID Segments which comprise this Custom Certificate ID

func (CustomCertificateId) String

func (id CustomCertificateId) String() string

String returns a human-readable description of this Custom Certificate ID

type CustomCertificateOperationPredicate

type CustomCertificateOperationPredicate struct {
	Id   *string
	Name *string
	Type *string
}

func (CustomCertificateOperationPredicate) Matches

type CustomCertificateProperties

type CustomCertificateProperties struct {
	KeyVaultBaseUri       string             `json:"keyVaultBaseUri"`
	KeyVaultSecretName    string             `json:"keyVaultSecretName"`
	KeyVaultSecretVersion *string            `json:"keyVaultSecretVersion,omitempty"`
	ProvisioningState     *ProvisioningState `json:"provisioningState,omitempty"`
}

type CustomCertificatesCreateOrUpdateOperationResponse

type CustomCertificatesCreateOrUpdateOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *CustomCertificate
}

type CustomCertificatesDeleteOperationResponse

type CustomCertificatesDeleteOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type CustomCertificatesGetOperationResponse

type CustomCertificatesGetOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *CustomCertificate
}

type CustomCertificatesListCompleteResult

type CustomCertificatesListCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []CustomCertificate
}

type CustomCertificatesListOperationResponse

type CustomCertificatesListOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]CustomCertificate
}

type CustomDomain

type CustomDomain struct {
	Id         *string                `json:"id,omitempty"`
	Name       *string                `json:"name,omitempty"`
	Properties CustomDomainProperties `json:"properties"`
	SystemData *systemdata.SystemData `json:"systemData,omitempty"`
	Type       *string                `json:"type,omitempty"`
}

type CustomDomainId

type CustomDomainId struct {
	SubscriptionId    string
	ResourceGroupName string
	WebPubSubName     string
	CustomDomainName  string
}

CustomDomainId is a struct representing the Resource ID for a Custom Domain

func NewCustomDomainID

func NewCustomDomainID(subscriptionId string, resourceGroupName string, webPubSubName string, customDomainName string) CustomDomainId

NewCustomDomainID returns a new CustomDomainId struct

func ParseCustomDomainID

func ParseCustomDomainID(input string) (*CustomDomainId, error)

ParseCustomDomainID parses 'input' into a CustomDomainId

func ParseCustomDomainIDInsensitively

func ParseCustomDomainIDInsensitively(input string) (*CustomDomainId, error)

ParseCustomDomainIDInsensitively parses 'input' case-insensitively into a CustomDomainId note: this method should only be used for API response data and not user input

func (*CustomDomainId) FromParseResult

func (id *CustomDomainId) FromParseResult(input resourceids.ParseResult) error

func (CustomDomainId) ID

func (id CustomDomainId) ID() string

ID returns the formatted Custom Domain ID

func (CustomDomainId) Segments

func (id CustomDomainId) Segments() []resourceids.Segment

Segments returns a slice of Resource ID Segments which comprise this Custom Domain ID

func (CustomDomainId) String

func (id CustomDomainId) String() string

String returns a human-readable description of this Custom Domain ID

type CustomDomainOperationPredicate

type CustomDomainOperationPredicate struct {
	Id   *string
	Name *string
	Type *string
}

func (CustomDomainOperationPredicate) Matches

type CustomDomainProperties

type CustomDomainProperties struct {
	CustomCertificate ResourceReference  `json:"customCertificate"`
	DomainName        string             `json:"domainName"`
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"`
}

type CustomDomainsCreateOrUpdateOperationResponse

type CustomDomainsCreateOrUpdateOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *CustomDomain
}

type CustomDomainsDeleteOperationResponse

type CustomDomainsDeleteOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
}

type CustomDomainsGetOperationResponse

type CustomDomainsGetOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *CustomDomain
}

type CustomDomainsListCompleteResult

type CustomDomainsListCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []CustomDomain
}

type CustomDomainsListOperationResponse

type CustomDomainsListOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]CustomDomain
}

type DeleteOperationResponse

type DeleteOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
}

type EventHandler

type EventHandler struct {
	Auth             *UpstreamAuthSettings `json:"auth,omitempty"`
	SystemEvents     *[]string             `json:"systemEvents,omitempty"`
	UrlTemplate      string                `json:"urlTemplate"`
	UserEventPattern *string               `json:"userEventPattern,omitempty"`
}

type EventHubEndpoint

type EventHubEndpoint struct {
	EventHubName            string `json:"eventHubName"`
	FullyQualifiedNamespace string `json:"fullyQualifiedNamespace"`
}

func (EventHubEndpoint) MarshalJSON

func (s EventHubEndpoint) MarshalJSON() ([]byte, error)

type EventListener

type EventListener struct {
	Endpoint EventListenerEndpoint `json:"endpoint"`
	Filter   EventListenerFilter   `json:"filter"`
}

func (*EventListener) UnmarshalJSON

func (s *EventListener) UnmarshalJSON(bytes []byte) error

type EventListenerEndpoint

type EventListenerEndpoint interface {
}

type EventListenerEndpointDiscriminator

type EventListenerEndpointDiscriminator string
const (
	EventListenerEndpointDiscriminatorEventHub EventListenerEndpointDiscriminator = "EventHub"
)

func (*EventListenerEndpointDiscriminator) UnmarshalJSON

func (s *EventListenerEndpointDiscriminator) UnmarshalJSON(bytes []byte) error

type EventListenerFilter

type EventListenerFilter interface {
}

type EventListenerFilterDiscriminator

type EventListenerFilterDiscriminator string
const (
	EventListenerFilterDiscriminatorEventName EventListenerFilterDiscriminator = "EventName"
)

func (*EventListenerFilterDiscriminator) UnmarshalJSON

func (s *EventListenerFilterDiscriminator) UnmarshalJSON(bytes []byte) error

type EventNameFilter

type EventNameFilter struct {
	SystemEvents     *[]string `json:"systemEvents,omitempty"`
	UserEventPattern *string   `json:"userEventPattern,omitempty"`
}

func (EventNameFilter) MarshalJSON

func (s EventNameFilter) MarshalJSON() ([]byte, error)

type GetOperationResponse

type GetOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *WebPubSubResource
}

type HubId

type HubId struct {
	SubscriptionId    string
	ResourceGroupName string
	WebPubSubName     string
	HubName           string
}

HubId is a struct representing the Resource ID for a Hub

func NewHubID

func NewHubID(subscriptionId string, resourceGroupName string, webPubSubName string, hubName string) HubId

NewHubID returns a new HubId struct

func ParseHubID

func ParseHubID(input string) (*HubId, error)

ParseHubID parses 'input' into a HubId

func ParseHubIDInsensitively

func ParseHubIDInsensitively(input string) (*HubId, error)

ParseHubIDInsensitively parses 'input' case-insensitively into a HubId note: this method should only be used for API response data and not user input

func (*HubId) FromParseResult

func (id *HubId) FromParseResult(input resourceids.ParseResult) error

func (HubId) ID

func (id HubId) ID() string

ID returns the formatted Hub ID

func (HubId) Segments

func (id HubId) Segments() []resourceids.Segment

Segments returns a slice of Resource ID Segments which comprise this Hub ID

func (HubId) String

func (id HubId) String() string

String returns a human-readable description of this Hub ID

type HubsCreateOrUpdateOperationResponse

type HubsCreateOrUpdateOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *WebPubSubHub
}

type HubsDeleteOperationResponse

type HubsDeleteOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
}

type HubsGetOperationResponse

type HubsGetOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *WebPubSubHub
}

type HubsListCompleteResult

type HubsListCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []WebPubSubHub
}

type HubsListOperationResponse

type HubsListOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]WebPubSubHub
}

type KeyType

type KeyType string
const (
	KeyTypePrimary   KeyType = "Primary"
	KeyTypeSalt      KeyType = "Salt"
	KeyTypeSecondary KeyType = "Secondary"
)

func (*KeyType) UnmarshalJSON

func (s *KeyType) UnmarshalJSON(bytes []byte) error

type ListByResourceGroupCompleteResult

type ListByResourceGroupCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []WebPubSubResource
}

type ListByResourceGroupOperationResponse

type ListByResourceGroupOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]WebPubSubResource
}

type ListBySubscriptionCompleteResult

type ListBySubscriptionCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []WebPubSubResource
}

type ListBySubscriptionOperationResponse

type ListBySubscriptionOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]WebPubSubResource
}

type ListKeysOperationResponse

type ListKeysOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *WebPubSubKeys
}

type ListSkusCompleteResult added in v0.20240226.1173038

type ListSkusCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []Sku
}

type ListSkusOperationResponse

type ListSkusOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]Sku
}

type LiveTraceCategory

type LiveTraceCategory struct {
	Enabled *string `json:"enabled,omitempty"`
	Name    *string `json:"name,omitempty"`
}

type LiveTraceConfiguration

type LiveTraceConfiguration struct {
	Categories *[]LiveTraceCategory `json:"categories,omitempty"`
	Enabled    *string              `json:"enabled,omitempty"`
}

type LocationId

type LocationId struct {
	SubscriptionId string
	LocationName   string
}

LocationId is a struct representing the Resource ID for a Location

func NewLocationID

func NewLocationID(subscriptionId string, locationName string) LocationId

NewLocationID returns a new LocationId struct

func ParseLocationID

func ParseLocationID(input string) (*LocationId, error)

ParseLocationID parses 'input' into a LocationId

func ParseLocationIDInsensitively

func ParseLocationIDInsensitively(input string) (*LocationId, error)

ParseLocationIDInsensitively parses 'input' case-insensitively into a LocationId note: this method should only be used for API response data and not user input

func (*LocationId) FromParseResult

func (id *LocationId) FromParseResult(input resourceids.ParseResult) error

func (LocationId) ID

func (id LocationId) ID() string

ID returns the formatted Location ID

func (LocationId) Segments

func (id LocationId) Segments() []resourceids.Segment

Segments returns a slice of Resource ID Segments which comprise this Location ID

func (LocationId) String

func (id LocationId) String() string

String returns a human-readable description of this Location ID

type ManagedIdentitySettings

type ManagedIdentitySettings struct {
	Resource *string `json:"resource,omitempty"`
}

type NameAvailability

type NameAvailability struct {
	Message       *string `json:"message,omitempty"`
	NameAvailable *bool   `json:"nameAvailable,omitempty"`
	Reason        *string `json:"reason,omitempty"`
}

type NameAvailabilityParameters

type NameAvailabilityParameters struct {
	Name string `json:"name"`
	Type string `json:"type"`
}

type NetworkACL

type NetworkACL struct {
	Allow *[]WebPubSubRequestType `json:"allow,omitempty"`
	Deny  *[]WebPubSubRequestType `json:"deny,omitempty"`
}

type PrivateEndpoint

type PrivateEndpoint struct {
	Id *string `json:"id,omitempty"`
}

type PrivateEndpointACL

type PrivateEndpointACL struct {
	Allow *[]WebPubSubRequestType `json:"allow,omitempty"`
	Deny  *[]WebPubSubRequestType `json:"deny,omitempty"`
	Name  string                  `json:"name"`
}

type PrivateEndpointConnection

type PrivateEndpointConnection struct {
	Id         *string                              `json:"id,omitempty"`
	Name       *string                              `json:"name,omitempty"`
	Properties *PrivateEndpointConnectionProperties `json:"properties,omitempty"`
	SystemData *systemdata.SystemData               `json:"systemData,omitempty"`
	Type       *string                              `json:"type,omitempty"`
}

type PrivateEndpointConnectionId

type PrivateEndpointConnectionId struct {
	SubscriptionId                string
	ResourceGroupName             string
	WebPubSubName                 string
	PrivateEndpointConnectionName string
}

PrivateEndpointConnectionId is a struct representing the Resource ID for a Private Endpoint Connection

func NewPrivateEndpointConnectionID

func NewPrivateEndpointConnectionID(subscriptionId string, resourceGroupName string, webPubSubName string, privateEndpointConnectionName string) PrivateEndpointConnectionId

NewPrivateEndpointConnectionID returns a new PrivateEndpointConnectionId struct

func ParsePrivateEndpointConnectionID

func ParsePrivateEndpointConnectionID(input string) (*PrivateEndpointConnectionId, error)

ParsePrivateEndpointConnectionID parses 'input' into a PrivateEndpointConnectionId

func ParsePrivateEndpointConnectionIDInsensitively

func ParsePrivateEndpointConnectionIDInsensitively(input string) (*PrivateEndpointConnectionId, error)

ParsePrivateEndpointConnectionIDInsensitively parses 'input' case-insensitively into a PrivateEndpointConnectionId note: this method should only be used for API response data and not user input

func (*PrivateEndpointConnectionId) FromParseResult

func (id *PrivateEndpointConnectionId) FromParseResult(input resourceids.ParseResult) error

func (PrivateEndpointConnectionId) ID

ID returns the formatted Private Endpoint Connection ID

func (PrivateEndpointConnectionId) Segments

Segments returns a slice of Resource ID Segments which comprise this Private Endpoint Connection ID

func (PrivateEndpointConnectionId) String

func (id PrivateEndpointConnectionId) String() string

String returns a human-readable description of this Private Endpoint Connection ID

type PrivateEndpointConnectionOperationPredicate

type PrivateEndpointConnectionOperationPredicate struct {
	Id   *string
	Name *string
	Type *string
}

func (PrivateEndpointConnectionOperationPredicate) Matches

type PrivateEndpointConnectionProperties

type PrivateEndpointConnectionProperties struct {
	GroupIds                          *[]string                          `json:"groupIds,omitempty"`
	PrivateEndpoint                   *PrivateEndpoint                   `json:"privateEndpoint,omitempty"`
	PrivateLinkServiceConnectionState *PrivateLinkServiceConnectionState `json:"privateLinkServiceConnectionState,omitempty"`
	ProvisioningState                 *ProvisioningState                 `json:"provisioningState,omitempty"`
}

type PrivateEndpointConnectionsDeleteOperationResponse

type PrivateEndpointConnectionsDeleteOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
}

type PrivateEndpointConnectionsGetOperationResponse

type PrivateEndpointConnectionsGetOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *PrivateEndpointConnection
}

type PrivateEndpointConnectionsListCompleteResult

type PrivateEndpointConnectionsListCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []PrivateEndpointConnection
}

type PrivateEndpointConnectionsListOperationResponse

type PrivateEndpointConnectionsListOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]PrivateEndpointConnection
}

type PrivateEndpointConnectionsUpdateOperationResponse

type PrivateEndpointConnectionsUpdateOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *PrivateEndpointConnection
}

type PrivateLinkResource

type PrivateLinkResource struct {
	Id         *string                        `json:"id,omitempty"`
	Name       *string                        `json:"name,omitempty"`
	Properties *PrivateLinkResourceProperties `json:"properties,omitempty"`
	Type       *string                        `json:"type,omitempty"`
}

type PrivateLinkResourceOperationPredicate

type PrivateLinkResourceOperationPredicate struct {
	Id   *string
	Name *string
	Type *string
}

func (PrivateLinkResourceOperationPredicate) Matches

type PrivateLinkResourceProperties

type PrivateLinkResourceProperties struct {
	GroupId                           *string                             `json:"groupId,omitempty"`
	RequiredMembers                   *[]string                           `json:"requiredMembers,omitempty"`
	RequiredZoneNames                 *[]string                           `json:"requiredZoneNames,omitempty"`
	ShareablePrivateLinkResourceTypes *[]ShareablePrivateLinkResourceType `json:"shareablePrivateLinkResourceTypes,omitempty"`
}

type PrivateLinkResourcesListCompleteResult

type PrivateLinkResourcesListCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []PrivateLinkResource
}

type PrivateLinkResourcesListOperationResponse

type PrivateLinkResourcesListOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]PrivateLinkResource
}

type PrivateLinkServiceConnectionState

type PrivateLinkServiceConnectionState struct {
	ActionsRequired *string                             `json:"actionsRequired,omitempty"`
	Description     *string                             `json:"description,omitempty"`
	Status          *PrivateLinkServiceConnectionStatus `json:"status,omitempty"`
}

type PrivateLinkServiceConnectionStatus

type PrivateLinkServiceConnectionStatus string
const (
	PrivateLinkServiceConnectionStatusApproved     PrivateLinkServiceConnectionStatus = "Approved"
	PrivateLinkServiceConnectionStatusDisconnected PrivateLinkServiceConnectionStatus = "Disconnected"
	PrivateLinkServiceConnectionStatusPending      PrivateLinkServiceConnectionStatus = "Pending"
	PrivateLinkServiceConnectionStatusRejected     PrivateLinkServiceConnectionStatus = "Rejected"
)

func (*PrivateLinkServiceConnectionStatus) UnmarshalJSON

func (s *PrivateLinkServiceConnectionStatus) UnmarshalJSON(bytes []byte) error

type ProvisioningState

type ProvisioningState string
const (
	ProvisioningStateCanceled  ProvisioningState = "Canceled"
	ProvisioningStateCreating  ProvisioningState = "Creating"
	ProvisioningStateDeleting  ProvisioningState = "Deleting"
	ProvisioningStateFailed    ProvisioningState = "Failed"
	ProvisioningStateMoving    ProvisioningState = "Moving"
	ProvisioningStateRunning   ProvisioningState = "Running"
	ProvisioningStateSucceeded ProvisioningState = "Succeeded"
	ProvisioningStateUnknown   ProvisioningState = "Unknown"
	ProvisioningStateUpdating  ProvisioningState = "Updating"
)

func (*ProvisioningState) UnmarshalJSON

func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error

type RawEventListenerEndpointImpl

type RawEventListenerEndpointImpl struct {
	Type   string
	Values map[string]interface{}
}

RawEventListenerEndpointImpl is returned when the Discriminated Value doesn't match any of the defined types NOTE: this should only be used when a type isn't defined for this type of Object (as a workaround) and is used only for Deserialization (e.g. this cannot be used as a Request Payload).

type RawEventListenerFilterImpl

type RawEventListenerFilterImpl struct {
	Type   string
	Values map[string]interface{}
}

RawEventListenerFilterImpl is returned when the Discriminated Value doesn't match any of the defined types NOTE: this should only be used when a type isn't defined for this type of Object (as a workaround) and is used only for Deserialization (e.g. this cannot be used as a Request Payload).

type RegenerateKeyOperationResponse

type RegenerateKeyOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *WebPubSubKeys
}

type RegenerateKeyParameters

type RegenerateKeyParameters struct {
	KeyType *KeyType `json:"keyType,omitempty"`
}

type ResourceLogCategory

type ResourceLogCategory struct {
	Enabled *string `json:"enabled,omitempty"`
	Name    *string `json:"name,omitempty"`
}

type ResourceLogConfiguration

type ResourceLogConfiguration struct {
	Categories *[]ResourceLogCategory `json:"categories,omitempty"`
}

type ResourceReference

type ResourceReference struct {
	Id *string `json:"id,omitempty"`
}

type ResourceSku

type ResourceSku struct {
	Capacity *int64            `json:"capacity,omitempty"`
	Family   *string           `json:"family,omitempty"`
	Name     string            `json:"name"`
	Size     *string           `json:"size,omitempty"`
	Tier     *WebPubSubSkuTier `json:"tier,omitempty"`
}

type RestartOperationResponse

type RestartOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
}

type ScaleType

type ScaleType string
const (
	ScaleTypeAutomatic ScaleType = "Automatic"
	ScaleTypeManual    ScaleType = "Manual"
	ScaleTypeNone      ScaleType = "None"
)

func (*ScaleType) UnmarshalJSON

func (s *ScaleType) UnmarshalJSON(bytes []byte) error

type ShareablePrivateLinkResourceProperties

type ShareablePrivateLinkResourceProperties struct {
	Description *string `json:"description,omitempty"`
	GroupId     *string `json:"groupId,omitempty"`
	Type        *string `json:"type,omitempty"`
}

type ShareablePrivateLinkResourceType

type ShareablePrivateLinkResourceType struct {
	Name       *string                                 `json:"name,omitempty"`
	Properties *ShareablePrivateLinkResourceProperties `json:"properties,omitempty"`
}

type SharedPrivateLinkResource

type SharedPrivateLinkResource struct {
	Id         *string                              `json:"id,omitempty"`
	Name       *string                              `json:"name,omitempty"`
	Properties *SharedPrivateLinkResourceProperties `json:"properties,omitempty"`
	SystemData *systemdata.SystemData               `json:"systemData,omitempty"`
	Type       *string                              `json:"type,omitempty"`
}

type SharedPrivateLinkResourceId

type SharedPrivateLinkResourceId struct {
	SubscriptionId                string
	ResourceGroupName             string
	WebPubSubName                 string
	SharedPrivateLinkResourceName string
}

SharedPrivateLinkResourceId is a struct representing the Resource ID for a Shared Private Link Resource

func NewSharedPrivateLinkResourceID

func NewSharedPrivateLinkResourceID(subscriptionId string, resourceGroupName string, webPubSubName string, sharedPrivateLinkResourceName string) SharedPrivateLinkResourceId

NewSharedPrivateLinkResourceID returns a new SharedPrivateLinkResourceId struct

func ParseSharedPrivateLinkResourceID

func ParseSharedPrivateLinkResourceID(input string) (*SharedPrivateLinkResourceId, error)

ParseSharedPrivateLinkResourceID parses 'input' into a SharedPrivateLinkResourceId

func ParseSharedPrivateLinkResourceIDInsensitively

func ParseSharedPrivateLinkResourceIDInsensitively(input string) (*SharedPrivateLinkResourceId, error)

ParseSharedPrivateLinkResourceIDInsensitively parses 'input' case-insensitively into a SharedPrivateLinkResourceId note: this method should only be used for API response data and not user input

func (*SharedPrivateLinkResourceId) FromParseResult

func (id *SharedPrivateLinkResourceId) FromParseResult(input resourceids.ParseResult) error

func (SharedPrivateLinkResourceId) ID

ID returns the formatted Shared Private Link Resource ID

func (SharedPrivateLinkResourceId) Segments

Segments returns a slice of Resource ID Segments which comprise this Shared Private Link Resource ID

func (SharedPrivateLinkResourceId) String

func (id SharedPrivateLinkResourceId) String() string

String returns a human-readable description of this Shared Private Link Resource ID

type SharedPrivateLinkResourceOperationPredicate

type SharedPrivateLinkResourceOperationPredicate struct {
	Id   *string
	Name *string
	Type *string
}

func (SharedPrivateLinkResourceOperationPredicate) Matches

type SharedPrivateLinkResourceProperties

type SharedPrivateLinkResourceProperties struct {
	GroupId               string                           `json:"groupId"`
	PrivateLinkResourceId string                           `json:"privateLinkResourceId"`
	ProvisioningState     *ProvisioningState               `json:"provisioningState,omitempty"`
	RequestMessage        *string                          `json:"requestMessage,omitempty"`
	Status                *SharedPrivateLinkResourceStatus `json:"status,omitempty"`
}

type SharedPrivateLinkResourceStatus

type SharedPrivateLinkResourceStatus string
const (
	SharedPrivateLinkResourceStatusApproved     SharedPrivateLinkResourceStatus = "Approved"
	SharedPrivateLinkResourceStatusDisconnected SharedPrivateLinkResourceStatus = "Disconnected"
	SharedPrivateLinkResourceStatusPending      SharedPrivateLinkResourceStatus = "Pending"
	SharedPrivateLinkResourceStatusRejected     SharedPrivateLinkResourceStatus = "Rejected"
	SharedPrivateLinkResourceStatusTimeout      SharedPrivateLinkResourceStatus = "Timeout"
)

func (*SharedPrivateLinkResourceStatus) UnmarshalJSON

func (s *SharedPrivateLinkResourceStatus) UnmarshalJSON(bytes []byte) error

type SharedPrivateLinkResourcesCreateOrUpdateOperationResponse

type SharedPrivateLinkResourcesCreateOrUpdateOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *SharedPrivateLinkResource
}

type SharedPrivateLinkResourcesDeleteOperationResponse

type SharedPrivateLinkResourcesDeleteOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
}

type SharedPrivateLinkResourcesGetOperationResponse

type SharedPrivateLinkResourcesGetOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *SharedPrivateLinkResource
}

type SharedPrivateLinkResourcesListCompleteResult

type SharedPrivateLinkResourcesListCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []SharedPrivateLinkResource
}

type SharedPrivateLinkResourcesListOperationResponse

type SharedPrivateLinkResourcesListOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]SharedPrivateLinkResource
}

type SignalRServiceUsage

type SignalRServiceUsage struct {
	CurrentValue *int64                   `json:"currentValue,omitempty"`
	Id           *string                  `json:"id,omitempty"`
	Limit        *int64                   `json:"limit,omitempty"`
	Name         *SignalRServiceUsageName `json:"name,omitempty"`
	Unit         *string                  `json:"unit,omitempty"`
}

type SignalRServiceUsageName

type SignalRServiceUsageName struct {
	LocalizedValue *string `json:"localizedValue,omitempty"`
	Value          *string `json:"value,omitempty"`
}

type SignalRServiceUsageOperationPredicate

type SignalRServiceUsageOperationPredicate struct {
	CurrentValue *int64
	Id           *string
	Limit        *int64
	Unit         *string
}

func (SignalRServiceUsageOperationPredicate) Matches

type Sku

type Sku struct {
	Capacity     *SkuCapacity `json:"capacity,omitempty"`
	ResourceType *string      `json:"resourceType,omitempty"`
	Sku          *ResourceSku `json:"sku,omitempty"`
}

type SkuCapacity

type SkuCapacity struct {
	AllowedValues *[]int64   `json:"allowedValues,omitempty"`
	Default       *int64     `json:"default,omitempty"`
	Maximum       *int64     `json:"maximum,omitempty"`
	Minimum       *int64     `json:"minimum,omitempty"`
	ScaleType     *ScaleType `json:"scaleType,omitempty"`
}

type SkuOperationPredicate added in v0.20240226.1173038

type SkuOperationPredicate struct {
	ResourceType *string
}

func (SkuOperationPredicate) Matches added in v0.20240226.1173038

func (p SkuOperationPredicate) Matches(input Sku) bool

type UpdateOperationResponse

type UpdateOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *WebPubSubResource
}

type UpstreamAuthSettings

type UpstreamAuthSettings struct {
	ManagedIdentity *ManagedIdentitySettings `json:"managedIdentity,omitempty"`
	Type            *UpstreamAuthType        `json:"type,omitempty"`
}

type UpstreamAuthType

type UpstreamAuthType string
const (
	UpstreamAuthTypeManagedIdentity UpstreamAuthType = "ManagedIdentity"
	UpstreamAuthTypeNone            UpstreamAuthType = "None"
)

func (*UpstreamAuthType) UnmarshalJSON

func (s *UpstreamAuthType) UnmarshalJSON(bytes []byte) error

type UsagesListCompleteResult

type UsagesListCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []SignalRServiceUsage
}

type UsagesListOperationResponse

type UsagesListOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]SignalRServiceUsage
}

type WebPubSubClient

type WebPubSubClient struct {
	Client *resourcemanager.Client
}

func NewWebPubSubClientWithBaseURI

func NewWebPubSubClientWithBaseURI(sdkApi sdkEnv.Api) (*WebPubSubClient, error)

func (WebPubSubClient) CheckNameAvailability

CheckNameAvailability ...

func (WebPubSubClient) CreateOrUpdate

func (c WebPubSubClient) CreateOrUpdate(ctx context.Context, id WebPubSubId, input WebPubSubResource) (result CreateOrUpdateOperationResponse, err error)

CreateOrUpdate ...

func (WebPubSubClient) CreateOrUpdateThenPoll

func (c WebPubSubClient) CreateOrUpdateThenPoll(ctx context.Context, id WebPubSubId, input WebPubSubResource) error

CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed

func (WebPubSubClient) CustomCertificatesCreateOrUpdate

func (c WebPubSubClient) CustomCertificatesCreateOrUpdate(ctx context.Context, id CustomCertificateId, input CustomCertificate) (result CustomCertificatesCreateOrUpdateOperationResponse, err error)

CustomCertificatesCreateOrUpdate ...

func (WebPubSubClient) CustomCertificatesCreateOrUpdateThenPoll

func (c WebPubSubClient) CustomCertificatesCreateOrUpdateThenPoll(ctx context.Context, id CustomCertificateId, input CustomCertificate) error

CustomCertificatesCreateOrUpdateThenPoll performs CustomCertificatesCreateOrUpdate then polls until it's completed

func (WebPubSubClient) CustomCertificatesDelete

func (c WebPubSubClient) CustomCertificatesDelete(ctx context.Context, id CustomCertificateId) (result CustomCertificatesDeleteOperationResponse, err error)

CustomCertificatesDelete ...

func (WebPubSubClient) CustomCertificatesGet

func (c WebPubSubClient) CustomCertificatesGet(ctx context.Context, id CustomCertificateId) (result CustomCertificatesGetOperationResponse, err error)

CustomCertificatesGet ...

func (WebPubSubClient) CustomCertificatesList

func (c WebPubSubClient) CustomCertificatesList(ctx context.Context, id WebPubSubId) (result CustomCertificatesListOperationResponse, err error)

CustomCertificatesList ...

func (WebPubSubClient) CustomCertificatesListComplete

func (c WebPubSubClient) CustomCertificatesListComplete(ctx context.Context, id WebPubSubId) (CustomCertificatesListCompleteResult, error)

CustomCertificatesListComplete retrieves all the results into a single object

func (WebPubSubClient) CustomCertificatesListCompleteMatchingPredicate

func (c WebPubSubClient) CustomCertificatesListCompleteMatchingPredicate(ctx context.Context, id WebPubSubId, predicate CustomCertificateOperationPredicate) (result CustomCertificatesListCompleteResult, err error)

CustomCertificatesListCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (WebPubSubClient) CustomDomainsCreateOrUpdate

func (c WebPubSubClient) CustomDomainsCreateOrUpdate(ctx context.Context, id CustomDomainId, input CustomDomain) (result CustomDomainsCreateOrUpdateOperationResponse, err error)

CustomDomainsCreateOrUpdate ...

func (WebPubSubClient) CustomDomainsCreateOrUpdateThenPoll

func (c WebPubSubClient) CustomDomainsCreateOrUpdateThenPoll(ctx context.Context, id CustomDomainId, input CustomDomain) error

CustomDomainsCreateOrUpdateThenPoll performs CustomDomainsCreateOrUpdate then polls until it's completed

func (WebPubSubClient) CustomDomainsDelete

func (c WebPubSubClient) CustomDomainsDelete(ctx context.Context, id CustomDomainId) (result CustomDomainsDeleteOperationResponse, err error)

CustomDomainsDelete ...

func (WebPubSubClient) CustomDomainsDeleteThenPoll

func (c WebPubSubClient) CustomDomainsDeleteThenPoll(ctx context.Context, id CustomDomainId) error

CustomDomainsDeleteThenPoll performs CustomDomainsDelete then polls until it's completed

func (WebPubSubClient) CustomDomainsGet

func (c WebPubSubClient) CustomDomainsGet(ctx context.Context, id CustomDomainId) (result CustomDomainsGetOperationResponse, err error)

CustomDomainsGet ...

func (WebPubSubClient) CustomDomainsList

func (c WebPubSubClient) CustomDomainsList(ctx context.Context, id WebPubSubId) (result CustomDomainsListOperationResponse, err error)

CustomDomainsList ...

func (WebPubSubClient) CustomDomainsListComplete

func (c WebPubSubClient) CustomDomainsListComplete(ctx context.Context, id WebPubSubId) (CustomDomainsListCompleteResult, error)

CustomDomainsListComplete retrieves all the results into a single object

func (WebPubSubClient) CustomDomainsListCompleteMatchingPredicate

func (c WebPubSubClient) CustomDomainsListCompleteMatchingPredicate(ctx context.Context, id WebPubSubId, predicate CustomDomainOperationPredicate) (result CustomDomainsListCompleteResult, err error)

CustomDomainsListCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (WebPubSubClient) Delete

func (c WebPubSubClient) Delete(ctx context.Context, id WebPubSubId) (result DeleteOperationResponse, err error)

Delete ...

func (WebPubSubClient) DeleteThenPoll

func (c WebPubSubClient) DeleteThenPoll(ctx context.Context, id WebPubSubId) error

DeleteThenPoll performs Delete then polls until it's completed

func (WebPubSubClient) Get

Get ...

func (WebPubSubClient) HubsCreateOrUpdate

func (c WebPubSubClient) HubsCreateOrUpdate(ctx context.Context, id HubId, input WebPubSubHub) (result HubsCreateOrUpdateOperationResponse, err error)

HubsCreateOrUpdate ...

func (WebPubSubClient) HubsCreateOrUpdateThenPoll

func (c WebPubSubClient) HubsCreateOrUpdateThenPoll(ctx context.Context, id HubId, input WebPubSubHub) error

HubsCreateOrUpdateThenPoll performs HubsCreateOrUpdate then polls until it's completed

func (WebPubSubClient) HubsDelete

func (c WebPubSubClient) HubsDelete(ctx context.Context, id HubId) (result HubsDeleteOperationResponse, err error)

HubsDelete ...

func (WebPubSubClient) HubsDeleteThenPoll

func (c WebPubSubClient) HubsDeleteThenPoll(ctx context.Context, id HubId) error

HubsDeleteThenPoll performs HubsDelete then polls until it's completed

func (WebPubSubClient) HubsGet

func (c WebPubSubClient) HubsGet(ctx context.Context, id HubId) (result HubsGetOperationResponse, err error)

HubsGet ...

func (WebPubSubClient) HubsList

func (c WebPubSubClient) HubsList(ctx context.Context, id WebPubSubId) (result HubsListOperationResponse, err error)

HubsList ...

func (WebPubSubClient) HubsListComplete

func (c WebPubSubClient) HubsListComplete(ctx context.Context, id WebPubSubId) (HubsListCompleteResult, error)

HubsListComplete retrieves all the results into a single object

func (WebPubSubClient) HubsListCompleteMatchingPredicate

func (c WebPubSubClient) HubsListCompleteMatchingPredicate(ctx context.Context, id WebPubSubId, predicate WebPubSubHubOperationPredicate) (result HubsListCompleteResult, err error)

HubsListCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (WebPubSubClient) ListByResourceGroup

ListByResourceGroup ...

func (WebPubSubClient) ListByResourceGroupComplete

ListByResourceGroupComplete retrieves all the results into a single object

func (WebPubSubClient) ListByResourceGroupCompleteMatchingPredicate

func (c WebPubSubClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate WebPubSubResourceOperationPredicate) (result ListByResourceGroupCompleteResult, err error)

ListByResourceGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (WebPubSubClient) ListBySubscription

ListBySubscription ...

func (WebPubSubClient) ListBySubscriptionComplete

ListBySubscriptionComplete retrieves all the results into a single object

func (WebPubSubClient) ListBySubscriptionCompleteMatchingPredicate

func (c WebPubSubClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate WebPubSubResourceOperationPredicate) (result ListBySubscriptionCompleteResult, err error)

ListBySubscriptionCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (WebPubSubClient) ListKeys

func (c WebPubSubClient) ListKeys(ctx context.Context, id WebPubSubId) (result ListKeysOperationResponse, err error)

ListKeys ...

func (WebPubSubClient) ListSkus

func (c WebPubSubClient) ListSkus(ctx context.Context, id WebPubSubId) (result ListSkusOperationResponse, err error)

ListSkus ...

func (WebPubSubClient) ListSkusComplete added in v0.20240226.1173038

func (c WebPubSubClient) ListSkusComplete(ctx context.Context, id WebPubSubId) (ListSkusCompleteResult, error)

ListSkusComplete retrieves all the results into a single object

func (WebPubSubClient) ListSkusCompleteMatchingPredicate added in v0.20240226.1173038

func (c WebPubSubClient) ListSkusCompleteMatchingPredicate(ctx context.Context, id WebPubSubId, predicate SkuOperationPredicate) (result ListSkusCompleteResult, err error)

ListSkusCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (WebPubSubClient) PrivateEndpointConnectionsDelete

PrivateEndpointConnectionsDelete ...

func (WebPubSubClient) PrivateEndpointConnectionsDeleteThenPoll

func (c WebPubSubClient) PrivateEndpointConnectionsDeleteThenPoll(ctx context.Context, id PrivateEndpointConnectionId) error

PrivateEndpointConnectionsDeleteThenPoll performs PrivateEndpointConnectionsDelete then polls until it's completed

func (WebPubSubClient) PrivateEndpointConnectionsGet

PrivateEndpointConnectionsGet ...

func (WebPubSubClient) PrivateEndpointConnectionsList

func (c WebPubSubClient) PrivateEndpointConnectionsList(ctx context.Context, id WebPubSubId) (result PrivateEndpointConnectionsListOperationResponse, err error)

PrivateEndpointConnectionsList ...

func (WebPubSubClient) PrivateEndpointConnectionsListComplete

func (c WebPubSubClient) PrivateEndpointConnectionsListComplete(ctx context.Context, id WebPubSubId) (PrivateEndpointConnectionsListCompleteResult, error)

PrivateEndpointConnectionsListComplete retrieves all the results into a single object

func (WebPubSubClient) PrivateEndpointConnectionsListCompleteMatchingPredicate

func (c WebPubSubClient) PrivateEndpointConnectionsListCompleteMatchingPredicate(ctx context.Context, id WebPubSubId, predicate PrivateEndpointConnectionOperationPredicate) (result PrivateEndpointConnectionsListCompleteResult, err error)

PrivateEndpointConnectionsListCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (WebPubSubClient) PrivateEndpointConnectionsUpdate

PrivateEndpointConnectionsUpdate ...

func (WebPubSubClient) PrivateLinkResourcesList

func (c WebPubSubClient) PrivateLinkResourcesList(ctx context.Context, id WebPubSubId) (result PrivateLinkResourcesListOperationResponse, err error)

PrivateLinkResourcesList ...

func (WebPubSubClient) PrivateLinkResourcesListComplete

func (c WebPubSubClient) PrivateLinkResourcesListComplete(ctx context.Context, id WebPubSubId) (PrivateLinkResourcesListCompleteResult, error)

PrivateLinkResourcesListComplete retrieves all the results into a single object

func (WebPubSubClient) PrivateLinkResourcesListCompleteMatchingPredicate

func (c WebPubSubClient) PrivateLinkResourcesListCompleteMatchingPredicate(ctx context.Context, id WebPubSubId, predicate PrivateLinkResourceOperationPredicate) (result PrivateLinkResourcesListCompleteResult, err error)

PrivateLinkResourcesListCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (WebPubSubClient) RegenerateKey

RegenerateKey ...

func (WebPubSubClient) RegenerateKeyThenPoll

func (c WebPubSubClient) RegenerateKeyThenPoll(ctx context.Context, id WebPubSubId, input RegenerateKeyParameters) error

RegenerateKeyThenPoll performs RegenerateKey then polls until it's completed

func (WebPubSubClient) Restart

func (c WebPubSubClient) Restart(ctx context.Context, id WebPubSubId) (result RestartOperationResponse, err error)

Restart ...

func (WebPubSubClient) RestartThenPoll

func (c WebPubSubClient) RestartThenPoll(ctx context.Context, id WebPubSubId) error

RestartThenPoll performs Restart then polls until it's completed

func (WebPubSubClient) SharedPrivateLinkResourcesCreateOrUpdate

SharedPrivateLinkResourcesCreateOrUpdate ...

func (WebPubSubClient) SharedPrivateLinkResourcesCreateOrUpdateThenPoll

func (c WebPubSubClient) SharedPrivateLinkResourcesCreateOrUpdateThenPoll(ctx context.Context, id SharedPrivateLinkResourceId, input SharedPrivateLinkResource) error

SharedPrivateLinkResourcesCreateOrUpdateThenPoll performs SharedPrivateLinkResourcesCreateOrUpdate then polls until it's completed

func (WebPubSubClient) SharedPrivateLinkResourcesDelete

SharedPrivateLinkResourcesDelete ...

func (WebPubSubClient) SharedPrivateLinkResourcesDeleteThenPoll

func (c WebPubSubClient) SharedPrivateLinkResourcesDeleteThenPoll(ctx context.Context, id SharedPrivateLinkResourceId) error

SharedPrivateLinkResourcesDeleteThenPoll performs SharedPrivateLinkResourcesDelete then polls until it's completed

func (WebPubSubClient) SharedPrivateLinkResourcesGet

SharedPrivateLinkResourcesGet ...

func (WebPubSubClient) SharedPrivateLinkResourcesList

func (c WebPubSubClient) SharedPrivateLinkResourcesList(ctx context.Context, id WebPubSubId) (result SharedPrivateLinkResourcesListOperationResponse, err error)

SharedPrivateLinkResourcesList ...

func (WebPubSubClient) SharedPrivateLinkResourcesListComplete

func (c WebPubSubClient) SharedPrivateLinkResourcesListComplete(ctx context.Context, id WebPubSubId) (SharedPrivateLinkResourcesListCompleteResult, error)

SharedPrivateLinkResourcesListComplete retrieves all the results into a single object

func (WebPubSubClient) SharedPrivateLinkResourcesListCompleteMatchingPredicate

func (c WebPubSubClient) SharedPrivateLinkResourcesListCompleteMatchingPredicate(ctx context.Context, id WebPubSubId, predicate SharedPrivateLinkResourceOperationPredicate) (result SharedPrivateLinkResourcesListCompleteResult, err error)

SharedPrivateLinkResourcesListCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (WebPubSubClient) Update

Update ...

func (WebPubSubClient) UpdateThenPoll

func (c WebPubSubClient) UpdateThenPoll(ctx context.Context, id WebPubSubId, input WebPubSubResource) error

UpdateThenPoll performs Update then polls until it's completed

func (WebPubSubClient) UsagesList

func (c WebPubSubClient) UsagesList(ctx context.Context, id LocationId) (result UsagesListOperationResponse, err error)

UsagesList ...

func (WebPubSubClient) UsagesListComplete

func (c WebPubSubClient) UsagesListComplete(ctx context.Context, id LocationId) (UsagesListCompleteResult, error)

UsagesListComplete retrieves all the results into a single object

func (WebPubSubClient) UsagesListCompleteMatchingPredicate

func (c WebPubSubClient) UsagesListCompleteMatchingPredicate(ctx context.Context, id LocationId, predicate SignalRServiceUsageOperationPredicate) (result UsagesListCompleteResult, err error)

UsagesListCompleteMatchingPredicate retrieves all the results and then applies the predicate

type WebPubSubHub

type WebPubSubHub struct {
	Id         *string                `json:"id,omitempty"`
	Name       *string                `json:"name,omitempty"`
	Properties WebPubSubHubProperties `json:"properties"`
	SystemData *systemdata.SystemData `json:"systemData,omitempty"`
	Type       *string                `json:"type,omitempty"`
}

type WebPubSubHubOperationPredicate

type WebPubSubHubOperationPredicate struct {
	Id   *string
	Name *string
	Type *string
}

func (WebPubSubHubOperationPredicate) Matches

type WebPubSubHubProperties

type WebPubSubHubProperties struct {
	AnonymousConnectPolicy *string          `json:"anonymousConnectPolicy,omitempty"`
	EventHandlers          *[]EventHandler  `json:"eventHandlers,omitempty"`
	EventListeners         *[]EventListener `json:"eventListeners,omitempty"`
}

type WebPubSubId

type WebPubSubId struct {
	SubscriptionId    string
	ResourceGroupName string
	WebPubSubName     string
}

WebPubSubId is a struct representing the Resource ID for a Web Pub Sub

func NewWebPubSubID

func NewWebPubSubID(subscriptionId string, resourceGroupName string, webPubSubName string) WebPubSubId

NewWebPubSubID returns a new WebPubSubId struct

func ParseWebPubSubID

func ParseWebPubSubID(input string) (*WebPubSubId, error)

ParseWebPubSubID parses 'input' into a WebPubSubId

func ParseWebPubSubIDInsensitively

func ParseWebPubSubIDInsensitively(input string) (*WebPubSubId, error)

ParseWebPubSubIDInsensitively parses 'input' case-insensitively into a WebPubSubId note: this method should only be used for API response data and not user input

func (*WebPubSubId) FromParseResult

func (id *WebPubSubId) FromParseResult(input resourceids.ParseResult) error

func (WebPubSubId) ID

func (id WebPubSubId) ID() string

ID returns the formatted Web Pub Sub ID

func (WebPubSubId) Segments

func (id WebPubSubId) Segments() []resourceids.Segment

Segments returns a slice of Resource ID Segments which comprise this Web Pub Sub ID

func (WebPubSubId) String

func (id WebPubSubId) String() string

String returns a human-readable description of this Web Pub Sub ID

type WebPubSubKeys

type WebPubSubKeys struct {
	PrimaryConnectionString   *string `json:"primaryConnectionString,omitempty"`
	PrimaryKey                *string `json:"primaryKey,omitempty"`
	SecondaryConnectionString *string `json:"secondaryConnectionString,omitempty"`
	SecondaryKey              *string `json:"secondaryKey,omitempty"`
}

type WebPubSubNetworkACLs

type WebPubSubNetworkACLs struct {
	DefaultAction    *ACLAction            `json:"defaultAction,omitempty"`
	PrivateEndpoints *[]PrivateEndpointACL `json:"privateEndpoints,omitempty"`
	PublicNetwork    *NetworkACL           `json:"publicNetwork,omitempty"`
}

type WebPubSubProperties

type WebPubSubProperties struct {
	DisableAadAuth             *bool                        `json:"disableAadAuth,omitempty"`
	DisableLocalAuth           *bool                        `json:"disableLocalAuth,omitempty"`
	ExternalIP                 *string                      `json:"externalIP,omitempty"`
	HostName                   *string                      `json:"hostName,omitempty"`
	HostNamePrefix             *string                      `json:"hostNamePrefix,omitempty"`
	LiveTraceConfiguration     *LiveTraceConfiguration      `json:"liveTraceConfiguration,omitempty"`
	NetworkACLs                *WebPubSubNetworkACLs        `json:"networkACLs,omitempty"`
	PrivateEndpointConnections *[]PrivateEndpointConnection `json:"privateEndpointConnections,omitempty"`
	ProvisioningState          *ProvisioningState           `json:"provisioningState,omitempty"`
	PublicNetworkAccess        *string                      `json:"publicNetworkAccess,omitempty"`
	PublicPort                 *int64                       `json:"publicPort,omitempty"`
	ResourceLogConfiguration   *ResourceLogConfiguration    `json:"resourceLogConfiguration,omitempty"`
	ServerPort                 *int64                       `json:"serverPort,omitempty"`
	SharedPrivateLinkResources *[]SharedPrivateLinkResource `json:"sharedPrivateLinkResources,omitempty"`
	Tls                        *WebPubSubTlsSettings        `json:"tls,omitempty"`
	Version                    *string                      `json:"version,omitempty"`
}

type WebPubSubRequestType

type WebPubSubRequestType string
const (
	WebPubSubRequestTypeClientConnection WebPubSubRequestType = "ClientConnection"
	WebPubSubRequestTypeRESTAPI          WebPubSubRequestType = "RESTAPI"
	WebPubSubRequestTypeServerConnection WebPubSubRequestType = "ServerConnection"
	WebPubSubRequestTypeTrace            WebPubSubRequestType = "Trace"
)

func (*WebPubSubRequestType) UnmarshalJSON

func (s *WebPubSubRequestType) UnmarshalJSON(bytes []byte) error

type WebPubSubResource

type WebPubSubResource struct {
	Id         *string                           `json:"id,omitempty"`
	Identity   *identity.SystemOrUserAssignedMap `json:"identity,omitempty"`
	Location   *string                           `json:"location,omitempty"`
	Name       *string                           `json:"name,omitempty"`
	Properties *WebPubSubProperties              `json:"properties,omitempty"`
	Sku        *ResourceSku                      `json:"sku,omitempty"`
	SystemData *systemdata.SystemData            `json:"systemData,omitempty"`
	Tags       *map[string]string                `json:"tags,omitempty"`
	Type       *string                           `json:"type,omitempty"`
}

type WebPubSubResourceOperationPredicate

type WebPubSubResourceOperationPredicate struct {
	Id       *string
	Location *string
	Name     *string
	Type     *string
}

func (WebPubSubResourceOperationPredicate) Matches

type WebPubSubSkuTier

type WebPubSubSkuTier string
const (
	WebPubSubSkuTierBasic    WebPubSubSkuTier = "Basic"
	WebPubSubSkuTierFree     WebPubSubSkuTier = "Free"
	WebPubSubSkuTierPremium  WebPubSubSkuTier = "Premium"
	WebPubSubSkuTierStandard WebPubSubSkuTier = "Standard"
)

func (*WebPubSubSkuTier) UnmarshalJSON

func (s *WebPubSubSkuTier) UnmarshalJSON(bytes []byte) error

type WebPubSubTlsSettings

type WebPubSubTlsSettings struct {
	ClientCertEnabled *bool `json:"clientCertEnabled,omitempty"`
}

Source Files

Jump to

Keyboard shortcuts

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