Documentation ¶
Index ¶
- func PossibleValuesForResourceProvisioningState() []string
- func ValidateSystemTopicID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type ListByResourceGroupCompleteResult
- type ListByResourceGroupOperationOptions
- type ListByResourceGroupOperationResponse
- type ListBySubscriptionCompleteResult
- type ListBySubscriptionOperationOptions
- type ListBySubscriptionOperationResponse
- type ResourceProvisioningState
- type SystemTopic
- type SystemTopicId
- type SystemTopicOperationPredicate
- type SystemTopicProperties
- type SystemTopicUpdateParameters
- type SystemTopicsClient
- func (c SystemTopicsClient) CreateOrUpdate(ctx context.Context, id SystemTopicId, input SystemTopic) (result CreateOrUpdateOperationResponse, err error)
- func (c SystemTopicsClient) CreateOrUpdateThenPoll(ctx context.Context, id SystemTopicId, input SystemTopic) error
- func (c SystemTopicsClient) Delete(ctx context.Context, id SystemTopicId) (result DeleteOperationResponse, err error)
- func (c SystemTopicsClient) DeleteThenPoll(ctx context.Context, id SystemTopicId) error
- func (c SystemTopicsClient) Get(ctx context.Context, id SystemTopicId) (result GetOperationResponse, err error)
- func (c SystemTopicsClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId, ...) (result ListByResourceGroupOperationResponse, err error)
- func (c SystemTopicsClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId, ...) (ListByResourceGroupCompleteResult, error)
- func (c SystemTopicsClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, ...) (result ListByResourceGroupCompleteResult, err error)
- func (c SystemTopicsClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId, ...) (result ListBySubscriptionOperationResponse, err error)
- func (c SystemTopicsClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId, ...) (ListBySubscriptionCompleteResult, error)
- func (c SystemTopicsClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (result ListBySubscriptionCompleteResult, err error)
- func (c SystemTopicsClient) Update(ctx context.Context, id SystemTopicId, input SystemTopicUpdateParameters) (result UpdateOperationResponse, err error)
- func (c SystemTopicsClient) UpdateThenPoll(ctx context.Context, id SystemTopicId, input SystemTopicUpdateParameters) error
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForResourceProvisioningState ¶
func PossibleValuesForResourceProvisioningState() []string
func ValidateSystemTopicID ¶
ValidateSystemTopicID checks that 'input' can be parsed as a System Topic ID
Types ¶
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *SystemTopic }
type ListByResourceGroupCompleteResult ¶
type ListByResourceGroupCompleteResult struct {
Items []SystemTopic
}
type ListByResourceGroupOperationOptions ¶
func DefaultListByResourceGroupOperationOptions ¶
func DefaultListByResourceGroupOperationOptions() ListByResourceGroupOperationOptions
func (ListByResourceGroupOperationOptions) ToHeaders ¶
func (o ListByResourceGroupOperationOptions) ToHeaders() *client.Headers
func (ListByResourceGroupOperationOptions) ToOData ¶
func (o ListByResourceGroupOperationOptions) ToOData() *odata.Query
func (ListByResourceGroupOperationOptions) ToQuery ¶
func (o ListByResourceGroupOperationOptions) ToQuery() *client.QueryParams
type ListByResourceGroupOperationResponse ¶
type ListByResourceGroupOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]SystemTopic }
type ListBySubscriptionCompleteResult ¶
type ListBySubscriptionCompleteResult struct {
Items []SystemTopic
}
type ListBySubscriptionOperationOptions ¶
func DefaultListBySubscriptionOperationOptions ¶
func DefaultListBySubscriptionOperationOptions() ListBySubscriptionOperationOptions
func (ListBySubscriptionOperationOptions) ToHeaders ¶
func (o ListBySubscriptionOperationOptions) ToHeaders() *client.Headers
func (ListBySubscriptionOperationOptions) ToOData ¶
func (o ListBySubscriptionOperationOptions) ToOData() *odata.Query
func (ListBySubscriptionOperationOptions) ToQuery ¶
func (o ListBySubscriptionOperationOptions) ToQuery() *client.QueryParams
type ListBySubscriptionOperationResponse ¶
type ListBySubscriptionOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]SystemTopic }
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 SystemTopic ¶
type SystemTopic struct { Id *string `json:"id,omitempty"` Identity *identity.SystemAndUserAssignedMap `json:"identity,omitempty"` Location string `json:"location"` Name *string `json:"name,omitempty"` Properties *SystemTopicProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type SystemTopicId ¶
SystemTopicId is a struct representing the Resource ID for a System Topic
func NewSystemTopicID ¶
func NewSystemTopicID(subscriptionId string, resourceGroupName string, systemTopicName string) SystemTopicId
NewSystemTopicID returns a new SystemTopicId struct
func ParseSystemTopicID ¶
func ParseSystemTopicID(input string) (*SystemTopicId, error)
ParseSystemTopicID parses 'input' into a SystemTopicId
func ParseSystemTopicIDInsensitively ¶
func ParseSystemTopicIDInsensitively(input string) (*SystemTopicId, error)
ParseSystemTopicIDInsensitively parses 'input' case-insensitively into a SystemTopicId note: this method should only be used for API response data and not user input
func (SystemTopicId) ID ¶
func (id SystemTopicId) ID() string
ID returns the formatted System Topic ID
func (SystemTopicId) Segments ¶
func (id SystemTopicId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this System Topic ID
func (SystemTopicId) String ¶
func (id SystemTopicId) String() string
String returns a human-readable description of this System Topic ID
type SystemTopicOperationPredicate ¶
func (SystemTopicOperationPredicate) Matches ¶
func (p SystemTopicOperationPredicate) Matches(input SystemTopic) bool
type SystemTopicProperties ¶
type SystemTopicProperties struct { MetricResourceId *string `json:"metricResourceId,omitempty"` ProvisioningState *ResourceProvisioningState `json:"provisioningState,omitempty"` Source *string `json:"source,omitempty"` TopicType *string `json:"topicType,omitempty"` }
type SystemTopicUpdateParameters ¶
type SystemTopicUpdateParameters struct { Identity *identity.SystemAndUserAssignedMap `json:"identity,omitempty"` Tags *map[string]string `json:"tags,omitempty"` }
type SystemTopicsClient ¶
type SystemTopicsClient struct {
Client *resourcemanager.Client
}
func NewSystemTopicsClientWithBaseURI ¶
func NewSystemTopicsClientWithBaseURI(api environments.Api) (*SystemTopicsClient, error)
func (SystemTopicsClient) CreateOrUpdate ¶
func (c SystemTopicsClient) CreateOrUpdate(ctx context.Context, id SystemTopicId, input SystemTopic) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (SystemTopicsClient) CreateOrUpdateThenPoll ¶
func (c SystemTopicsClient) CreateOrUpdateThenPoll(ctx context.Context, id SystemTopicId, input SystemTopic) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (SystemTopicsClient) Delete ¶
func (c SystemTopicsClient) Delete(ctx context.Context, id SystemTopicId) (result DeleteOperationResponse, err error)
Delete ...
func (SystemTopicsClient) DeleteThenPoll ¶
func (c SystemTopicsClient) DeleteThenPoll(ctx context.Context, id SystemTopicId) error
DeleteThenPoll performs Delete then polls until it's completed
func (SystemTopicsClient) Get ¶
func (c SystemTopicsClient) Get(ctx context.Context, id SystemTopicId) (result GetOperationResponse, err error)
Get ...
func (SystemTopicsClient) ListByResourceGroup ¶
func (c SystemTopicsClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId, options ListByResourceGroupOperationOptions) (result ListByResourceGroupOperationResponse, err error)
ListByResourceGroup ...
func (SystemTopicsClient) ListByResourceGroupComplete ¶
func (c SystemTopicsClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId, options ListByResourceGroupOperationOptions) (ListByResourceGroupCompleteResult, error)
ListByResourceGroupComplete retrieves all the results into a single object
func (SystemTopicsClient) ListByResourceGroupCompleteMatchingPredicate ¶
func (c SystemTopicsClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, options ListByResourceGroupOperationOptions, predicate SystemTopicOperationPredicate) (result ListByResourceGroupCompleteResult, err error)
ListByResourceGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (SystemTopicsClient) ListBySubscription ¶
func (c SystemTopicsClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId, options ListBySubscriptionOperationOptions) (result ListBySubscriptionOperationResponse, err error)
ListBySubscription ...
func (SystemTopicsClient) ListBySubscriptionComplete ¶
func (c SystemTopicsClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId, options ListBySubscriptionOperationOptions) (ListBySubscriptionCompleteResult, error)
ListBySubscriptionComplete retrieves all the results into a single object
func (SystemTopicsClient) ListBySubscriptionCompleteMatchingPredicate ¶
func (c SystemTopicsClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, options ListBySubscriptionOperationOptions, predicate SystemTopicOperationPredicate) (result ListBySubscriptionCompleteResult, err error)
ListBySubscriptionCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (SystemTopicsClient) Update ¶
func (c SystemTopicsClient) Update(ctx context.Context, id SystemTopicId, input SystemTopicUpdateParameters) (result UpdateOperationResponse, err error)
Update ...
func (SystemTopicsClient) UpdateThenPoll ¶
func (c SystemTopicsClient) UpdateThenPoll(ctx context.Context, id SystemTopicId, input SystemTopicUpdateParameters) error
UpdateThenPoll performs Update then polls until it's completed