Documentation ¶
Index ¶
- func PossibleValuesForTopicSpaceProvisioningState() []string
- func ValidateNamespaceID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateTopicSpaceID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type ListByNamespaceCompleteResult
- type ListByNamespaceCustomPager
- type ListByNamespaceOperationOptions
- type ListByNamespaceOperationResponse
- type NamespaceId
- type TopicSpace
- type TopicSpaceId
- type TopicSpaceOperationPredicate
- type TopicSpaceProperties
- type TopicSpaceProvisioningState
- type TopicSpacesClient
- func (c TopicSpacesClient) CreateOrUpdate(ctx context.Context, id TopicSpaceId, input TopicSpace) (result CreateOrUpdateOperationResponse, err error)
- func (c TopicSpacesClient) CreateOrUpdateThenPoll(ctx context.Context, id TopicSpaceId, input TopicSpace) error
- func (c TopicSpacesClient) Delete(ctx context.Context, id TopicSpaceId) (result DeleteOperationResponse, err error)
- func (c TopicSpacesClient) DeleteThenPoll(ctx context.Context, id TopicSpaceId) error
- func (c TopicSpacesClient) Get(ctx context.Context, id TopicSpaceId) (result GetOperationResponse, err error)
- func (c TopicSpacesClient) ListByNamespace(ctx context.Context, id NamespaceId, options ListByNamespaceOperationOptions) (result ListByNamespaceOperationResponse, err error)
- func (c TopicSpacesClient) ListByNamespaceComplete(ctx context.Context, id NamespaceId, options ListByNamespaceOperationOptions) (ListByNamespaceCompleteResult, error)
- func (c TopicSpacesClient) ListByNamespaceCompleteMatchingPredicate(ctx context.Context, id NamespaceId, options ListByNamespaceOperationOptions, ...) (result ListByNamespaceCompleteResult, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForTopicSpaceProvisioningState ¶
func PossibleValuesForTopicSpaceProvisioningState() []string
func ValidateNamespaceID ¶
ValidateNamespaceID checks that 'input' can be parsed as a Namespace ID
func ValidateTopicSpaceID ¶
ValidateTopicSpaceID checks that 'input' can be parsed as a Topic Space ID
Types ¶
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *TopicSpace }
type ListByNamespaceCompleteResult ¶
type ListByNamespaceCompleteResult struct { LatestHttpResponse *http.Response Items []TopicSpace }
type ListByNamespaceCustomPager ¶
func (*ListByNamespaceCustomPager) NextPageLink ¶
func (p *ListByNamespaceCustomPager) NextPageLink() *odata.Link
type ListByNamespaceOperationOptions ¶
func DefaultListByNamespaceOperationOptions ¶
func DefaultListByNamespaceOperationOptions() ListByNamespaceOperationOptions
func (ListByNamespaceOperationOptions) ToHeaders ¶
func (o ListByNamespaceOperationOptions) ToHeaders() *client.Headers
func (ListByNamespaceOperationOptions) ToOData ¶
func (o ListByNamespaceOperationOptions) ToOData() *odata.Query
func (ListByNamespaceOperationOptions) ToQuery ¶
func (o ListByNamespaceOperationOptions) ToQuery() *client.QueryParams
type ListByNamespaceOperationResponse ¶
type ListByNamespaceOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]TopicSpace }
type NamespaceId ¶
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) 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 TopicSpace ¶
type TopicSpace struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *TopicSpaceProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type TopicSpaceId ¶
type TopicSpaceId struct { SubscriptionId string ResourceGroupName string NamespaceName string TopicSpaceName string }
TopicSpaceId is a struct representing the Resource ID for a Topic Space
func NewTopicSpaceID ¶
func NewTopicSpaceID(subscriptionId string, resourceGroupName string, namespaceName string, topicSpaceName string) TopicSpaceId
NewTopicSpaceID returns a new TopicSpaceId struct
func ParseTopicSpaceID ¶
func ParseTopicSpaceID(input string) (*TopicSpaceId, error)
ParseTopicSpaceID parses 'input' into a TopicSpaceId
func ParseTopicSpaceIDInsensitively ¶
func ParseTopicSpaceIDInsensitively(input string) (*TopicSpaceId, error)
ParseTopicSpaceIDInsensitively parses 'input' case-insensitively into a TopicSpaceId note: this method should only be used for API response data and not user input
func (*TopicSpaceId) FromParseResult ¶
func (id *TopicSpaceId) FromParseResult(input resourceids.ParseResult) error
func (TopicSpaceId) Segments ¶
func (id TopicSpaceId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Topic Space ID
func (TopicSpaceId) String ¶
func (id TopicSpaceId) String() string
String returns a human-readable description of this Topic Space ID
type TopicSpaceOperationPredicate ¶
func (TopicSpaceOperationPredicate) Matches ¶
func (p TopicSpaceOperationPredicate) Matches(input TopicSpace) bool
type TopicSpaceProperties ¶
type TopicSpaceProperties struct { Description *string `json:"description,omitempty"` ProvisioningState *TopicSpaceProvisioningState `json:"provisioningState,omitempty"` TopicTemplates *[]string `json:"topicTemplates,omitempty"` }
type TopicSpaceProvisioningState ¶
type TopicSpaceProvisioningState string
const ( TopicSpaceProvisioningStateCanceled TopicSpaceProvisioningState = "Canceled" TopicSpaceProvisioningStateCreating TopicSpaceProvisioningState = "Creating" TopicSpaceProvisioningStateDeleted TopicSpaceProvisioningState = "Deleted" TopicSpaceProvisioningStateDeleting TopicSpaceProvisioningState = "Deleting" TopicSpaceProvisioningStateFailed TopicSpaceProvisioningState = "Failed" TopicSpaceProvisioningStateSucceeded TopicSpaceProvisioningState = "Succeeded" TopicSpaceProvisioningStateUpdating TopicSpaceProvisioningState = "Updating" )
func (*TopicSpaceProvisioningState) UnmarshalJSON ¶
func (s *TopicSpaceProvisioningState) UnmarshalJSON(bytes []byte) error
type TopicSpacesClient ¶
type TopicSpacesClient struct {
Client *resourcemanager.Client
}
func NewTopicSpacesClientWithBaseURI ¶
func NewTopicSpacesClientWithBaseURI(sdkApi sdkEnv.Api) (*TopicSpacesClient, error)
func (TopicSpacesClient) CreateOrUpdate ¶
func (c TopicSpacesClient) CreateOrUpdate(ctx context.Context, id TopicSpaceId, input TopicSpace) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (TopicSpacesClient) CreateOrUpdateThenPoll ¶
func (c TopicSpacesClient) CreateOrUpdateThenPoll(ctx context.Context, id TopicSpaceId, input TopicSpace) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (TopicSpacesClient) Delete ¶
func (c TopicSpacesClient) Delete(ctx context.Context, id TopicSpaceId) (result DeleteOperationResponse, err error)
Delete ...
func (TopicSpacesClient) DeleteThenPoll ¶
func (c TopicSpacesClient) DeleteThenPoll(ctx context.Context, id TopicSpaceId) error
DeleteThenPoll performs Delete then polls until it's completed
func (TopicSpacesClient) Get ¶
func (c TopicSpacesClient) Get(ctx context.Context, id TopicSpaceId) (result GetOperationResponse, err error)
Get ...
func (TopicSpacesClient) ListByNamespace ¶
func (c TopicSpacesClient) ListByNamespace(ctx context.Context, id NamespaceId, options ListByNamespaceOperationOptions) (result ListByNamespaceOperationResponse, err error)
ListByNamespace ...
func (TopicSpacesClient) ListByNamespaceComplete ¶
func (c TopicSpacesClient) ListByNamespaceComplete(ctx context.Context, id NamespaceId, options ListByNamespaceOperationOptions) (ListByNamespaceCompleteResult, error)
ListByNamespaceComplete retrieves all the results into a single object
func (TopicSpacesClient) ListByNamespaceCompleteMatchingPredicate ¶
func (c TopicSpacesClient) ListByNamespaceCompleteMatchingPredicate(ctx context.Context, id NamespaceId, options ListByNamespaceOperationOptions, predicate TopicSpaceOperationPredicate) (result ListByNamespaceCompleteResult, err error)
ListByNamespaceCompleteMatchingPredicate retrieves all the results and then applies the predicate