Documentation ¶
Index ¶
- func PossibleValuesForResourceRegionType() []string
- func PossibleValuesForTopicTypeProvisioningState() []string
- func PossibleValuesForTopicTypeSourceScope() []string
- func ValidateTopicTypeID(input interface{}, key string) (warnings []string, errors []error)
- type EventType
- type EventTypeProperties
- type EventTypesListResult
- type GetOperationResponse
- type ListEventTypesOperationResponse
- type ListOperationResponse
- type ResourceRegionType
- type TopicTypeAdditionalEnforcedPermission
- type TopicTypeId
- type TopicTypeInfo
- type TopicTypeProperties
- type TopicTypeProvisioningState
- type TopicTypeSourceScope
- type TopicTypesClient
- func (c TopicTypesClient) Get(ctx context.Context, id TopicTypeId) (result GetOperationResponse, err error)
- func (c TopicTypesClient) List(ctx context.Context) (result ListOperationResponse, err error)
- func (c TopicTypesClient) ListEventTypes(ctx context.Context, id TopicTypeId) (result ListEventTypesOperationResponse, err error)
- type TopicTypesListResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForResourceRegionType ¶
func PossibleValuesForResourceRegionType() []string
func PossibleValuesForTopicTypeProvisioningState ¶
func PossibleValuesForTopicTypeProvisioningState() []string
func PossibleValuesForTopicTypeSourceScope ¶
func PossibleValuesForTopicTypeSourceScope() []string
func ValidateTopicTypeID ¶
ValidateTopicTypeID checks that 'input' can be parsed as a Topic Type ID
Types ¶
type EventType ¶
type EventType struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *EventTypeProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type EventTypeProperties ¶
type EventTypesListResult ¶
type EventTypesListResult struct {
Value *[]EventType `json:"value,omitempty"`
}
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *TopicTypeInfo }
type ListEventTypesOperationResponse ¶
type ListEventTypesOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *EventTypesListResult }
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *TopicTypesListResult }
type ResourceRegionType ¶
type ResourceRegionType string
const ( ResourceRegionTypeGlobalResource ResourceRegionType = "GlobalResource" ResourceRegionTypeRegionalResource ResourceRegionType = "RegionalResource" )
func (*ResourceRegionType) UnmarshalJSON ¶
func (s *ResourceRegionType) UnmarshalJSON(bytes []byte) error
type TopicTypeId ¶
type TopicTypeId struct {
TopicTypeName string
}
TopicTypeId is a struct representing the Resource ID for a Topic Type
func NewTopicTypeID ¶
func NewTopicTypeID(topicTypeName string) TopicTypeId
NewTopicTypeID returns a new TopicTypeId struct
func ParseTopicTypeID ¶
func ParseTopicTypeID(input string) (*TopicTypeId, error)
ParseTopicTypeID parses 'input' into a TopicTypeId
func ParseTopicTypeIDInsensitively ¶
func ParseTopicTypeIDInsensitively(input string) (*TopicTypeId, error)
ParseTopicTypeIDInsensitively parses 'input' case-insensitively into a TopicTypeId note: this method should only be used for API response data and not user input
func (*TopicTypeId) FromParseResult ¶
func (id *TopicTypeId) FromParseResult(input resourceids.ParseResult) error
func (TopicTypeId) Segments ¶
func (id TopicTypeId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Topic Type ID
func (TopicTypeId) String ¶
func (id TopicTypeId) String() string
String returns a human-readable description of this Topic Type ID
type TopicTypeInfo ¶
type TopicTypeInfo struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *TopicTypeProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type TopicTypeProperties ¶
type TopicTypeProperties struct { AdditionalEnforcedPermissions *[]TopicTypeAdditionalEnforcedPermission `json:"additionalEnforcedPermissions,omitempty"` AreRegionalAndGlobalSourcesSupported *bool `json:"areRegionalAndGlobalSourcesSupported,omitempty"` Description *string `json:"description,omitempty"` DisplayName *string `json:"displayName,omitempty"` Provider *string `json:"provider,omitempty"` ProvisioningState *TopicTypeProvisioningState `json:"provisioningState,omitempty"` ResourceRegionType *ResourceRegionType `json:"resourceRegionType,omitempty"` SourceResourceFormat *string `json:"sourceResourceFormat,omitempty"` SupportedLocations *[]string `json:"supportedLocations,omitempty"` SupportedScopesForSource *[]TopicTypeSourceScope `json:"supportedScopesForSource,omitempty"` }
type TopicTypeProvisioningState ¶
type TopicTypeProvisioningState string
const ( TopicTypeProvisioningStateCanceled TopicTypeProvisioningState = "Canceled" TopicTypeProvisioningStateCreating TopicTypeProvisioningState = "Creating" TopicTypeProvisioningStateDeleting TopicTypeProvisioningState = "Deleting" TopicTypeProvisioningStateFailed TopicTypeProvisioningState = "Failed" TopicTypeProvisioningStateSucceeded TopicTypeProvisioningState = "Succeeded" TopicTypeProvisioningStateUpdating TopicTypeProvisioningState = "Updating" )
func (*TopicTypeProvisioningState) UnmarshalJSON ¶
func (s *TopicTypeProvisioningState) UnmarshalJSON(bytes []byte) error
type TopicTypeSourceScope ¶
type TopicTypeSourceScope string
const ( TopicTypeSourceScopeAzureSubscription TopicTypeSourceScope = "AzureSubscription" TopicTypeSourceScopeManagementGroup TopicTypeSourceScope = "ManagementGroup" TopicTypeSourceScopeResource TopicTypeSourceScope = "Resource" TopicTypeSourceScopeResourceGroup TopicTypeSourceScope = "ResourceGroup" )
func (*TopicTypeSourceScope) UnmarshalJSON ¶
func (s *TopicTypeSourceScope) UnmarshalJSON(bytes []byte) error
type TopicTypesClient ¶
type TopicTypesClient struct {
Client *resourcemanager.Client
}
func NewTopicTypesClientWithBaseURI ¶
func NewTopicTypesClientWithBaseURI(sdkApi sdkEnv.Api) (*TopicTypesClient, error)
func (TopicTypesClient) Get ¶
func (c TopicTypesClient) Get(ctx context.Context, id TopicTypeId) (result GetOperationResponse, err error)
Get ...
func (TopicTypesClient) List ¶
func (c TopicTypesClient) List(ctx context.Context) (result ListOperationResponse, err error)
List ...
func (TopicTypesClient) ListEventTypes ¶
func (c TopicTypesClient) ListEventTypes(ctx context.Context, id TopicTypeId) (result ListEventTypesOperationResponse, err error)
ListEventTypes ...
type TopicTypesListResult ¶
type TopicTypesListResult struct {
Value *[]TopicTypeInfo `json:"value,omitempty"`
}
Source Files ¶
- client.go
- constants.go
- id_topictype.go
- method_get.go
- method_list.go
- method_listeventtypes.go
- model_eventtype.go
- model_eventtypeproperties.go
- model_eventtypeslistresult.go
- model_topictypeadditionalenforcedpermission.go
- model_topictypeinfo.go
- model_topictypeproperties.go
- model_topictypeslistresult.go
- version.go
Click to show internal directories.
Click to hide internal directories.