namespaces

package
v0.20241111.1164443 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2024 License: MPL-2.0 Imports: 15 Imported by: 0

README

github.com/hashicorp/go-azure-sdk/resource-manager/eventgrid/2023-12-15-preview/namespaces Documentation

The namespaces SDK allows for interaction with Azure Resource Manager eventgrid (API Version 2023-12-15-preview).

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/eventgrid/2023-12-15-preview/namespaces"

Client Initialization

client := namespaces.NewNamespacesClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: NamespacesClient.CreateOrUpdate

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

payload := namespaces.Namespace{
	// ...
}


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

Example Usage: NamespacesClient.Delete

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

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

Example Usage: NamespacesClient.Get

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

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: NamespacesClient.ListByResourceGroup

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

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

Example Usage: NamespacesClient.ListBySubscription

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

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

Example Usage: NamespacesClient.ListSharedAccessKeys

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

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

Example Usage: NamespacesClient.RegenerateKey

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

payload := namespaces.NamespaceRegenerateKeyRequest{
	// ...
}


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

Example Usage: NamespacesClient.Update

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

payload := namespaces.NamespaceUpdateParameters{
	// ...
}


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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PossibleValuesForAlternativeAuthenticationNameSource

func PossibleValuesForAlternativeAuthenticationNameSource() []string

func PossibleValuesForIPActionType

func PossibleValuesForIPActionType() []string

func PossibleValuesForNamespaceProvisioningState

func PossibleValuesForNamespaceProvisioningState() []string

func PossibleValuesForPersistedConnectionStatus

func PossibleValuesForPersistedConnectionStatus() []string

func PossibleValuesForPublicNetworkAccess

func PossibleValuesForPublicNetworkAccess() []string

func PossibleValuesForResourceProvisioningState

func PossibleValuesForResourceProvisioningState() []string

func PossibleValuesForRoutingIdentityType

func PossibleValuesForRoutingIdentityType() []string

func PossibleValuesForSkuName

func PossibleValuesForSkuName() []string

func PossibleValuesForStaticRoutingEnrichmentType

func PossibleValuesForStaticRoutingEnrichmentType() []string

func PossibleValuesForTlsVersion

func PossibleValuesForTlsVersion() []string

func PossibleValuesForTopicSpacesConfigurationState

func PossibleValuesForTopicSpacesConfigurationState() []string

func ValidateNamespaceID

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

ValidateNamespaceID checks that 'input' can be parsed as a Namespace ID

Types

type AlternativeAuthenticationNameSource

type AlternativeAuthenticationNameSource string
const (
	AlternativeAuthenticationNameSourceClientCertificateDns     AlternativeAuthenticationNameSource = "ClientCertificateDns"
	AlternativeAuthenticationNameSourceClientCertificateEmail   AlternativeAuthenticationNameSource = "ClientCertificateEmail"
	AlternativeAuthenticationNameSourceClientCertificateIP      AlternativeAuthenticationNameSource = "ClientCertificateIp"
	AlternativeAuthenticationNameSourceClientCertificateSubject AlternativeAuthenticationNameSource = "ClientCertificateSubject"
	AlternativeAuthenticationNameSourceClientCertificateUri     AlternativeAuthenticationNameSource = "ClientCertificateUri"
)

func (*AlternativeAuthenticationNameSource) UnmarshalJSON

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

type BaseStaticRoutingEnrichmentImpl added in v0.20240920.1135249

type BaseStaticRoutingEnrichmentImpl struct {
	Key       *string                     `json:"key,omitempty"`
	ValueType StaticRoutingEnrichmentType `json:"valueType"`
}

func (BaseStaticRoutingEnrichmentImpl) StaticRoutingEnrichment added in v0.20240920.1135249

type ClientAuthenticationSettings

type ClientAuthenticationSettings struct {
	AlternativeAuthenticationNameSources *[]AlternativeAuthenticationNameSource `json:"alternativeAuthenticationNameSources,omitempty"`
}

type ConnectionState

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

type CreateOrUpdateOperationResponse

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

type DeleteOperationResponse

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

type DynamicRoutingEnrichment

type DynamicRoutingEnrichment struct {
	Key   *string `json:"key,omitempty"`
	Value *string `json:"value,omitempty"`
}

type GetOperationResponse

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

type IPActionType

type IPActionType string
const (
	IPActionTypeAllow IPActionType = "Allow"
)

func (*IPActionType) UnmarshalJSON

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

type InboundIPRule

type InboundIPRule struct {
	Action *IPActionType `json:"action,omitempty"`
	IPMask *string       `json:"ipMask,omitempty"`
}

type ListByResourceGroupCompleteResult

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

type ListByResourceGroupCustomPager added in v0.20240628.1153531

type ListByResourceGroupCustomPager struct {
	NextLink *odata.Link `json:"nextLink"`
}
func (p *ListByResourceGroupCustomPager) NextPageLink() *odata.Link

type ListByResourceGroupOperationOptions

type ListByResourceGroupOperationOptions struct {
	Filter *string
	Top    *int64
}

func DefaultListByResourceGroupOperationOptions

func DefaultListByResourceGroupOperationOptions() ListByResourceGroupOperationOptions

func (ListByResourceGroupOperationOptions) ToHeaders

func (ListByResourceGroupOperationOptions) ToOData

func (ListByResourceGroupOperationOptions) ToQuery

type ListByResourceGroupOperationResponse

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

type ListBySubscriptionCompleteResult

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

type ListBySubscriptionCustomPager added in v0.20240628.1153531

type ListBySubscriptionCustomPager struct {
	NextLink *odata.Link `json:"nextLink"`
}
func (p *ListBySubscriptionCustomPager) NextPageLink() *odata.Link

type ListBySubscriptionOperationOptions

type ListBySubscriptionOperationOptions struct {
	Filter *string
	Top    *int64
}

func DefaultListBySubscriptionOperationOptions

func DefaultListBySubscriptionOperationOptions() ListBySubscriptionOperationOptions

func (ListBySubscriptionOperationOptions) ToHeaders

func (ListBySubscriptionOperationOptions) ToOData

func (ListBySubscriptionOperationOptions) ToQuery

type ListBySubscriptionOperationResponse

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

type ListSharedAccessKeysOperationResponse

type ListSharedAccessKeysOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *NamespaceSharedAccessKeys
}

type Namespace

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

type NamespaceId

type NamespaceId struct {
	SubscriptionId    string
	ResourceGroupName string
	NamespaceName     string
}

NamespaceId is a struct representing the Resource ID for a Namespace

func NewNamespaceID

func NewNamespaceID(subscriptionId string, resourceGroupName string, namespaceName string) NamespaceId

NewNamespaceID returns a new NamespaceId struct

func ParseNamespaceID

func ParseNamespaceID(input string) (*NamespaceId, error)

ParseNamespaceID parses 'input' into a NamespaceId

func ParseNamespaceIDInsensitively

func ParseNamespaceIDInsensitively(input string) (*NamespaceId, error)

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

func (*NamespaceId) FromParseResult

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

func (NamespaceId) ID

func (id NamespaceId) ID() string

ID returns the formatted Namespace ID

func (NamespaceId) Segments

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

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

func (NamespaceId) String

func (id NamespaceId) String() string

String returns a human-readable description of this Namespace ID

type NamespaceOperationPredicate

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

func (NamespaceOperationPredicate) Matches

func (p NamespaceOperationPredicate) Matches(input Namespace) bool

type NamespaceProperties

type NamespaceProperties struct {
	InboundIPRules             *[]InboundIPRule             `json:"inboundIpRules,omitempty"`
	IsZoneRedundant            *bool                        `json:"isZoneRedundant,omitempty"`
	MinimumTlsVersionAllowed   *TlsVersion                  `json:"minimumTlsVersionAllowed,omitempty"`
	PrivateEndpointConnections *[]PrivateEndpointConnection `json:"privateEndpointConnections,omitempty"`
	ProvisioningState          *NamespaceProvisioningState  `json:"provisioningState,omitempty"`
	PublicNetworkAccess        *PublicNetworkAccess         `json:"publicNetworkAccess,omitempty"`
	TopicSpacesConfiguration   *TopicSpacesConfiguration    `json:"topicSpacesConfiguration,omitempty"`
	TopicsConfiguration        *TopicsConfiguration         `json:"topicsConfiguration,omitempty"`
}

type NamespaceProvisioningState

type NamespaceProvisioningState string
const (
	NamespaceProvisioningStateCanceled      NamespaceProvisioningState = "Canceled"
	NamespaceProvisioningStateCreateFailed  NamespaceProvisioningState = "CreateFailed"
	NamespaceProvisioningStateCreating      NamespaceProvisioningState = "Creating"
	NamespaceProvisioningStateDeleteFailed  NamespaceProvisioningState = "DeleteFailed"
	NamespaceProvisioningStateDeleted       NamespaceProvisioningState = "Deleted"
	NamespaceProvisioningStateDeleting      NamespaceProvisioningState = "Deleting"
	NamespaceProvisioningStateFailed        NamespaceProvisioningState = "Failed"
	NamespaceProvisioningStateSucceeded     NamespaceProvisioningState = "Succeeded"
	NamespaceProvisioningStateUpdatedFailed NamespaceProvisioningState = "UpdatedFailed"
	NamespaceProvisioningStateUpdating      NamespaceProvisioningState = "Updating"
)

func (*NamespaceProvisioningState) UnmarshalJSON

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

type NamespaceRegenerateKeyRequest

type NamespaceRegenerateKeyRequest struct {
	KeyName string `json:"keyName"`
}

type NamespaceSharedAccessKeys

type NamespaceSharedAccessKeys struct {
	Key1 *string `json:"key1,omitempty"`
	Key2 *string `json:"key2,omitempty"`
}

type NamespaceSku

type NamespaceSku struct {
	Capacity *int64   `json:"capacity,omitempty"`
	Name     *SkuName `json:"name,omitempty"`
}

type NamespaceUpdateParameterProperties

type NamespaceUpdateParameterProperties struct {
	InboundIPRules           *[]InboundIPRule                    `json:"inboundIpRules,omitempty"`
	PublicNetworkAccess      *PublicNetworkAccess                `json:"publicNetworkAccess,omitempty"`
	TopicSpacesConfiguration *UpdateTopicSpacesConfigurationInfo `json:"topicSpacesConfiguration,omitempty"`
}

type NamespaceUpdateParameters

type NamespaceUpdateParameters struct {
	Identity   *identity.SystemAndUserAssignedMap  `json:"identity,omitempty"`
	Properties *NamespaceUpdateParameterProperties `json:"properties,omitempty"`
	Sku        *NamespaceSku                       `json:"sku,omitempty"`
	Tags       *map[string]string                  `json:"tags,omitempty"`
}

type NamespacesClient

type NamespacesClient struct {
	Client *resourcemanager.Client
}

func NewNamespacesClientWithBaseURI

func NewNamespacesClientWithBaseURI(sdkApi sdkEnv.Api) (*NamespacesClient, error)

func (NamespacesClient) CreateOrUpdate

func (c NamespacesClient) CreateOrUpdate(ctx context.Context, id NamespaceId, input Namespace) (result CreateOrUpdateOperationResponse, err error)

CreateOrUpdate ...

func (NamespacesClient) CreateOrUpdateThenPoll

func (c NamespacesClient) CreateOrUpdateThenPoll(ctx context.Context, id NamespaceId, input Namespace) error

CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed

func (NamespacesClient) Delete

func (c NamespacesClient) Delete(ctx context.Context, id NamespaceId) (result DeleteOperationResponse, err error)

Delete ...

func (NamespacesClient) DeleteThenPoll

func (c NamespacesClient) DeleteThenPoll(ctx context.Context, id NamespaceId) error

DeleteThenPoll performs Delete then polls until it's completed

func (NamespacesClient) Get

Get ...

func (NamespacesClient) ListByResourceGroup

ListByResourceGroup ...

func (NamespacesClient) ListByResourceGroupComplete

ListByResourceGroupComplete retrieves all the results into a single object

func (NamespacesClient) ListByResourceGroupCompleteMatchingPredicate

func (c NamespacesClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, options ListByResourceGroupOperationOptions, predicate NamespaceOperationPredicate) (result ListByResourceGroupCompleteResult, err error)

ListByResourceGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (NamespacesClient) ListBySubscription

ListBySubscription ...

func (NamespacesClient) ListBySubscriptionComplete

ListBySubscriptionComplete retrieves all the results into a single object

func (NamespacesClient) ListBySubscriptionCompleteMatchingPredicate

func (c NamespacesClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, options ListBySubscriptionOperationOptions, predicate NamespaceOperationPredicate) (result ListBySubscriptionCompleteResult, err error)

ListBySubscriptionCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (NamespacesClient) ListSharedAccessKeys

func (c NamespacesClient) ListSharedAccessKeys(ctx context.Context, id NamespaceId) (result ListSharedAccessKeysOperationResponse, err error)

ListSharedAccessKeys ...

func (NamespacesClient) RegenerateKey

RegenerateKey ...

func (NamespacesClient) RegenerateKeyThenPoll

func (c NamespacesClient) RegenerateKeyThenPoll(ctx context.Context, id NamespaceId, input NamespaceRegenerateKeyRequest) error

RegenerateKeyThenPoll performs RegenerateKey then polls until it's completed

func (NamespacesClient) Update

Update ...

func (NamespacesClient) UpdateThenPoll

UpdateThenPoll performs Update then polls until it's completed

type PersistedConnectionStatus

type PersistedConnectionStatus string
const (
	PersistedConnectionStatusApproved     PersistedConnectionStatus = "Approved"
	PersistedConnectionStatusDisconnected PersistedConnectionStatus = "Disconnected"
	PersistedConnectionStatusPending      PersistedConnectionStatus = "Pending"
	PersistedConnectionStatusRejected     PersistedConnectionStatus = "Rejected"
)

func (*PersistedConnectionStatus) UnmarshalJSON

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

type PrivateEndpoint

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

type PrivateEndpointConnection

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

type PrivateEndpointConnectionProperties

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

type PublicNetworkAccess

type PublicNetworkAccess string
const (
	PublicNetworkAccessDisabled           PublicNetworkAccess = "Disabled"
	PublicNetworkAccessEnabled            PublicNetworkAccess = "Enabled"
	PublicNetworkAccessSecuredByPerimeter PublicNetworkAccess = "SecuredByPerimeter"
)

func (*PublicNetworkAccess) UnmarshalJSON

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

type RawStaticRoutingEnrichmentImpl

type RawStaticRoutingEnrichmentImpl struct {
	Type   string
	Values map[string]interface{}
	// contains filtered or unexported fields
}

RawStaticRoutingEnrichmentImpl 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).

func (RawStaticRoutingEnrichmentImpl) StaticRoutingEnrichment added in v0.20240920.1135249

type RegenerateKeyOperationResponse

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

type ResourceProvisioningState

type ResourceProvisioningState string
const (
	ResourceProvisioningStateCanceled  ResourceProvisioningState = "Canceled"
	ResourceProvisioningStateCreating  ResourceProvisioningState = "Creating"
	ResourceProvisioningStateDeleting  ResourceProvisioningState = "Deleting"
	ResourceProvisioningStateFailed    ResourceProvisioningState = "Failed"
	ResourceProvisioningStateSucceeded ResourceProvisioningState = "Succeeded"
	ResourceProvisioningStateUpdating  ResourceProvisioningState = "Updating"
)

func (*ResourceProvisioningState) UnmarshalJSON

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

type RoutingEnrichments

type RoutingEnrichments struct {
	Dynamic *[]DynamicRoutingEnrichment `json:"dynamic,omitempty"`
	Static  *[]StaticRoutingEnrichment  `json:"static,omitempty"`
}

func (*RoutingEnrichments) UnmarshalJSON

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

type RoutingIdentityInfo

type RoutingIdentityInfo struct {
	Type                 *RoutingIdentityType `json:"type,omitempty"`
	UserAssignedIdentity *string              `json:"userAssignedIdentity,omitempty"`
}

type RoutingIdentityType

type RoutingIdentityType string
const (
	RoutingIdentityTypeNone           RoutingIdentityType = "None"
	RoutingIdentityTypeSystemAssigned RoutingIdentityType = "SystemAssigned"
	RoutingIdentityTypeUserAssigned   RoutingIdentityType = "UserAssigned"
)

func (*RoutingIdentityType) UnmarshalJSON

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

type SkuName

type SkuName string
const (
	SkuNameStandard SkuName = "Standard"
)

func (*SkuName) UnmarshalJSON

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

type StaticRoutingEnrichment

type StaticRoutingEnrichment interface {
	StaticRoutingEnrichment() BaseStaticRoutingEnrichmentImpl
}

func UnmarshalStaticRoutingEnrichmentImplementation added in v0.20240920.1135249

func UnmarshalStaticRoutingEnrichmentImplementation(input []byte) (StaticRoutingEnrichment, error)

type StaticRoutingEnrichmentType

type StaticRoutingEnrichmentType string
const (
	StaticRoutingEnrichmentTypeString StaticRoutingEnrichmentType = "String"
)

func (*StaticRoutingEnrichmentType) UnmarshalJSON

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

type StaticStringRoutingEnrichment

type StaticStringRoutingEnrichment struct {
	Value *string `json:"value,omitempty"`

	Key       *string                     `json:"key,omitempty"`
	ValueType StaticRoutingEnrichmentType `json:"valueType"`
}

func (StaticStringRoutingEnrichment) MarshalJSON

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

func (StaticStringRoutingEnrichment) StaticRoutingEnrichment added in v0.20240920.1135249

type TlsVersion

type TlsVersion string
const (
	TlsVersionOnePointOne  TlsVersion = "1.1"
	TlsVersionOnePointTwo  TlsVersion = "1.2"
	TlsVersionOnePointZero TlsVersion = "1.0"
)

func (*TlsVersion) UnmarshalJSON

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

type TopicSpacesConfiguration

type TopicSpacesConfiguration struct {
	ClientAuthentication                       *ClientAuthenticationSettings  `json:"clientAuthentication,omitempty"`
	Hostname                                   *string                        `json:"hostname,omitempty"`
	MaximumClientSessionsPerAuthenticationName *int64                         `json:"maximumClientSessionsPerAuthenticationName,omitempty"`
	MaximumSessionExpiryInHours                *int64                         `json:"maximumSessionExpiryInHours,omitempty"`
	RouteTopicResourceId                       *string                        `json:"routeTopicResourceId,omitempty"`
	RoutingEnrichments                         *RoutingEnrichments            `json:"routingEnrichments,omitempty"`
	RoutingIdentityInfo                        *RoutingIdentityInfo           `json:"routingIdentityInfo,omitempty"`
	State                                      *TopicSpacesConfigurationState `json:"state,omitempty"`
}

type TopicSpacesConfigurationState

type TopicSpacesConfigurationState string
const (
	TopicSpacesConfigurationStateDisabled TopicSpacesConfigurationState = "Disabled"
	TopicSpacesConfigurationStateEnabled  TopicSpacesConfigurationState = "Enabled"
)

func (*TopicSpacesConfigurationState) UnmarshalJSON

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

type TopicsConfiguration

type TopicsConfiguration struct {
	Hostname *string `json:"hostname,omitempty"`
}

type UpdateOperationResponse

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

type UpdateTopicSpacesConfigurationInfo

type UpdateTopicSpacesConfigurationInfo struct {
	ClientAuthentication                       *ClientAuthenticationSettings  `json:"clientAuthentication,omitempty"`
	MaximumClientSessionsPerAuthenticationName *int64                         `json:"maximumClientSessionsPerAuthenticationName,omitempty"`
	MaximumSessionExpiryInHours                *int64                         `json:"maximumSessionExpiryInHours,omitempty"`
	RouteTopicResourceId                       *string                        `json:"routeTopicResourceId,omitempty"`
	RoutingEnrichments                         *RoutingEnrichments            `json:"routingEnrichments,omitempty"`
	RoutingIdentityInfo                        *RoutingIdentityInfo           `json:"routingIdentityInfo,omitempty"`
	State                                      *TopicSpacesConfigurationState `json:"state,omitempty"`
}

Jump to

Keyboard shortcuts

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