README ¶
github.com/hashicorp/go-azure-sdk/resource-manager/insights/2021-09-01/actiongroupsapis
Documentation
The actiongroupsapis
SDK allows for interaction with the Azure Resource Manager Service insights
(API Version 2021-09-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-sdk/resource-manager/insights/2021-09-01/actiongroupsapis"
Client Initialization
client := actiongroupsapis.NewActionGroupsAPIsClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer
Example Usage: ActionGroupsAPIsClient.ActionGroupsCreateNotificationsAtActionGroupResourceLevel
ctx := context.TODO()
id := actiongroupsapis.NewActionGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group", "actionGroupValue")
payload := actiongroupsapis.NotificationRequestBody{
// ...
}
if err := client.ActionGroupsCreateNotificationsAtActionGroupResourceLevelThenPoll(ctx, id, payload); err != nil {
// handle the error
}
Example Usage: ActionGroupsAPIsClient.ActionGroupsCreateNotificationsAtResourceGroupLevel
ctx := context.TODO()
id := actiongroupsapis.NewResourceGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group")
payload := actiongroupsapis.NotificationRequestBody{
// ...
}
if err := client.ActionGroupsCreateNotificationsAtResourceGroupLevelThenPoll(ctx, id, payload); err != nil {
// handle the error
}
Example Usage: ActionGroupsAPIsClient.ActionGroupsCreateOrUpdate
ctx := context.TODO()
id := actiongroupsapis.NewActionGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group", "actionGroupValue")
payload := actiongroupsapis.ActionGroupResource{
// ...
}
read, err := client.ActionGroupsCreateOrUpdate(ctx, id, payload)
if err != nil {
// handle the error
}
if model := read.Model; model != nil {
// do something with the model/response object
}
Example Usage: ActionGroupsAPIsClient.ActionGroupsDelete
ctx := context.TODO()
id := actiongroupsapis.NewActionGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group", "actionGroupValue")
read, err := client.ActionGroupsDelete(ctx, id)
if err != nil {
// handle the error
}
if model := read.Model; model != nil {
// do something with the model/response object
}
Example Usage: ActionGroupsAPIsClient.ActionGroupsEnableReceiver
ctx := context.TODO()
id := actiongroupsapis.NewActionGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group", "actionGroupValue")
payload := actiongroupsapis.EnableRequest{
// ...
}
read, err := client.ActionGroupsEnableReceiver(ctx, id, payload)
if err != nil {
// handle the error
}
if model := read.Model; model != nil {
// do something with the model/response object
}
Example Usage: ActionGroupsAPIsClient.ActionGroupsGet
ctx := context.TODO()
id := actiongroupsapis.NewActionGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group", "actionGroupValue")
read, err := client.ActionGroupsGet(ctx, id)
if err != nil {
// handle the error
}
if model := read.Model; model != nil {
// do something with the model/response object
}
Example Usage: ActionGroupsAPIsClient.ActionGroupsGetTestNotifications
ctx := context.TODO()
id := actiongroupsapis.NewNotificationStatusID("12345678-1234-9876-4563-123456789012", "notificationIdValue")
read, err := client.ActionGroupsGetTestNotifications(ctx, id)
if err != nil {
// handle the error
}
if model := read.Model; model != nil {
// do something with the model/response object
}
Example Usage: ActionGroupsAPIsClient.ActionGroupsGetTestNotificationsAtActionGroupResourceLevel
ctx := context.TODO()
id := actiongroupsapis.NewActionGroupNotificationStatusID("12345678-1234-9876-4563-123456789012", "example-resource-group", "actionGroupValue", "notificationIdValue")
read, err := client.ActionGroupsGetTestNotificationsAtActionGroupResourceLevel(ctx, id)
if err != nil {
// handle the error
}
if model := read.Model; model != nil {
// do something with the model/response object
}
Example Usage: ActionGroupsAPIsClient.ActionGroupsGetTestNotificationsAtResourceGroupLevel
ctx := context.TODO()
id := actiongroupsapis.NewProviderNotificationStatusID("12345678-1234-9876-4563-123456789012", "example-resource-group", "notificationIdValue")
read, err := client.ActionGroupsGetTestNotificationsAtResourceGroupLevel(ctx, id)
if err != nil {
// handle the error
}
if model := read.Model; model != nil {
// do something with the model/response object
}
Example Usage: ActionGroupsAPIsClient.ActionGroupsListByResourceGroup
ctx := context.TODO()
id := actiongroupsapis.NewResourceGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group")
read, err := client.ActionGroupsListByResourceGroup(ctx, id)
if err != nil {
// handle the error
}
if model := read.Model; model != nil {
// do something with the model/response object
}
Example Usage: ActionGroupsAPIsClient.ActionGroupsListBySubscriptionId
ctx := context.TODO()
id := actiongroupsapis.NewSubscriptionID("12345678-1234-9876-4563-123456789012")
read, err := client.ActionGroupsListBySubscriptionId(ctx, id)
if err != nil {
// handle the error
}
if model := read.Model; model != nil {
// do something with the model/response object
}
Example Usage: ActionGroupsAPIsClient.ActionGroupsPostTestNotifications
ctx := context.TODO()
id := actiongroupsapis.NewSubscriptionID("12345678-1234-9876-4563-123456789012")
payload := actiongroupsapis.NotificationRequestBody{
// ...
}
if err := client.ActionGroupsPostTestNotificationsThenPoll(ctx, id, payload); err != nil {
// handle the error
}
Example Usage: ActionGroupsAPIsClient.ActionGroupsUpdate
ctx := context.TODO()
id := actiongroupsapis.NewActionGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group", "actionGroupValue")
payload := actiongroupsapis.ActionGroupPatchBody{
// ...
}
read, err := client.ActionGroupsUpdate(ctx, id, payload)
if err != nil {
// handle the error
}
if model := read.Model; model != nil {
// do something with the model/response object
}
Documentation ¶
Index ¶
- func PossibleValuesForReceiverStatus() []string
- func ValidateActionGroupID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateActionGroupNotificationStatusID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateNotificationStatusID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateProviderNotificationStatusID(input interface{}, key string) (warnings []string, errors []error)
- type ActionDetail
- type ActionGroup
- type ActionGroupId
- type ActionGroupList
- type ActionGroupNotificationStatusId
- func NewActionGroupNotificationStatusID(subscriptionId string, resourceGroupName string, actionGroupName string, ...) ActionGroupNotificationStatusId
- func ParseActionGroupNotificationStatusID(input string) (*ActionGroupNotificationStatusId, error)
- func ParseActionGroupNotificationStatusIDInsensitively(input string) (*ActionGroupNotificationStatusId, error)
- type ActionGroupPatch
- type ActionGroupPatchBody
- type ActionGroupResource
- type ActionGroupsAPIsClient
- func (c ActionGroupsAPIsClient) ActionGroupsCreateNotificationsAtActionGroupResourceLevel(ctx context.Context, id ActionGroupId, input NotificationRequestBody) (...)
- func (c ActionGroupsAPIsClient) ActionGroupsCreateNotificationsAtActionGroupResourceLevelThenPoll(ctx context.Context, id ActionGroupId, input NotificationRequestBody) error
- func (c ActionGroupsAPIsClient) ActionGroupsCreateNotificationsAtResourceGroupLevel(ctx context.Context, id commonids.ResourceGroupId, ...) (result ActionGroupsCreateNotificationsAtResourceGroupLevelOperationResponse, ...)
- func (c ActionGroupsAPIsClient) ActionGroupsCreateNotificationsAtResourceGroupLevelThenPoll(ctx context.Context, id commonids.ResourceGroupId, ...) error
- func (c ActionGroupsAPIsClient) ActionGroupsCreateOrUpdate(ctx context.Context, id ActionGroupId, input ActionGroupResource) (result ActionGroupsCreateOrUpdateOperationResponse, err error)
- func (c ActionGroupsAPIsClient) ActionGroupsDelete(ctx context.Context, id ActionGroupId) (result ActionGroupsDeleteOperationResponse, err error)
- func (c ActionGroupsAPIsClient) ActionGroupsEnableReceiver(ctx context.Context, id ActionGroupId, input EnableRequest) (result ActionGroupsEnableReceiverOperationResponse, err error)
- func (c ActionGroupsAPIsClient) ActionGroupsGet(ctx context.Context, id ActionGroupId) (result ActionGroupsGetOperationResponse, err error)
- func (c ActionGroupsAPIsClient) ActionGroupsGetTestNotifications(ctx context.Context, id NotificationStatusId) (result ActionGroupsGetTestNotificationsOperationResponse, err error)
- func (c ActionGroupsAPIsClient) ActionGroupsGetTestNotificationsAtActionGroupResourceLevel(ctx context.Context, id ActionGroupNotificationStatusId) (...)
- func (c ActionGroupsAPIsClient) ActionGroupsGetTestNotificationsAtResourceGroupLevel(ctx context.Context, id ProviderNotificationStatusId) (result ActionGroupsGetTestNotificationsAtResourceGroupLevelOperationResponse, ...)
- func (c ActionGroupsAPIsClient) ActionGroupsListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result ActionGroupsListByResourceGroupOperationResponse, err error)
- func (c ActionGroupsAPIsClient) ActionGroupsListBySubscriptionId(ctx context.Context, id commonids.SubscriptionId) (result ActionGroupsListBySubscriptionIdOperationResponse, err error)
- func (c ActionGroupsAPIsClient) ActionGroupsPostTestNotifications(ctx context.Context, id commonids.SubscriptionId, ...) (result ActionGroupsPostTestNotificationsOperationResponse, err error)
- func (c ActionGroupsAPIsClient) ActionGroupsPostTestNotificationsThenPoll(ctx context.Context, id commonids.SubscriptionId, ...) error
- func (c ActionGroupsAPIsClient) ActionGroupsUpdate(ctx context.Context, id ActionGroupId, input ActionGroupPatchBody) (result ActionGroupsUpdateOperationResponse, err error)
- type ActionGroupsCreateNotificationsAtActionGroupResourceLevelOperationResponse
- type ActionGroupsCreateNotificationsAtResourceGroupLevelOperationResponse
- type ActionGroupsCreateOrUpdateOperationResponse
- type ActionGroupsDeleteOperationResponse
- type ActionGroupsEnableReceiverOperationResponse
- type ActionGroupsGetOperationResponse
- type ActionGroupsGetTestNotificationsAtActionGroupResourceLevelOperationResponse
- type ActionGroupsGetTestNotificationsAtResourceGroupLevelOperationResponse
- type ActionGroupsGetTestNotificationsOperationResponse
- type ActionGroupsListByResourceGroupOperationResponse
- type ActionGroupsListBySubscriptionIdOperationResponse
- type ActionGroupsPostTestNotificationsOperationResponse
- type ActionGroupsUpdateOperationResponse
- type ArmRoleReceiver
- type AutomationRunbookReceiver
- type AzureAppPushReceiver
- type AzureFunctionReceiver
- type Context
- type EmailReceiver
- type EnableRequest
- type EventHubReceiver
- type ItsmReceiver
- type LogicAppReceiver
- type NotificationRequestBody
- type NotificationStatusId
- type ProviderNotificationStatusId
- func NewProviderNotificationStatusID(subscriptionId string, resourceGroupName string, notificationId string) ProviderNotificationStatusId
- func ParseProviderNotificationStatusID(input string) (*ProviderNotificationStatusId, error)
- func ParseProviderNotificationStatusIDInsensitively(input string) (*ProviderNotificationStatusId, error)
- type ReceiverStatus
- type SmsReceiver
- type TestNotificationDetailsResponse
- type VoiceReceiver
- type WebhookReceiver
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForReceiverStatus ¶
func PossibleValuesForReceiverStatus() []string
func ValidateActionGroupID ¶
ValidateActionGroupID checks that 'input' can be parsed as a Action Group ID
func ValidateActionGroupNotificationStatusID ¶
func ValidateActionGroupNotificationStatusID(input interface{}, key string) (warnings []string, errors []error)
ValidateActionGroupNotificationStatusID checks that 'input' can be parsed as a Action Group Notification Status ID
func ValidateNotificationStatusID ¶
func ValidateNotificationStatusID(input interface{}, key string) (warnings []string, errors []error)
ValidateNotificationStatusID checks that 'input' can be parsed as a Notification Status ID
func ValidateProviderNotificationStatusID ¶
func ValidateProviderNotificationStatusID(input interface{}, key string) (warnings []string, errors []error)
ValidateProviderNotificationStatusID checks that 'input' can be parsed as a Provider Notification Status ID
Types ¶
type ActionDetail ¶
type ActionGroup ¶
type ActionGroup struct { ArmRoleReceivers *[]ArmRoleReceiver `json:"armRoleReceivers,omitempty"` AutomationRunbookReceivers *[]AutomationRunbookReceiver `json:"automationRunbookReceivers,omitempty"` AzureAppPushReceivers *[]AzureAppPushReceiver `json:"azureAppPushReceivers,omitempty"` AzureFunctionReceivers *[]AzureFunctionReceiver `json:"azureFunctionReceivers,omitempty"` EmailReceivers *[]EmailReceiver `json:"emailReceivers,omitempty"` Enabled bool `json:"enabled"` EventHubReceivers *[]EventHubReceiver `json:"eventHubReceivers,omitempty"` GroupShortName string `json:"groupShortName"` ItsmReceivers *[]ItsmReceiver `json:"itsmReceivers,omitempty"` LogicAppReceivers *[]LogicAppReceiver `json:"logicAppReceivers,omitempty"` SmsReceivers *[]SmsReceiver `json:"smsReceivers,omitempty"` VoiceReceivers *[]VoiceReceiver `json:"voiceReceivers,omitempty"` WebhookReceivers *[]WebhookReceiver `json:"webhookReceivers,omitempty"` }
type ActionGroupId ¶
ActionGroupId is a struct representing the Resource ID for a Action Group
func NewActionGroupID ¶
func NewActionGroupID(subscriptionId string, resourceGroupName string, actionGroupName string) ActionGroupId
NewActionGroupID returns a new ActionGroupId struct
func ParseActionGroupID ¶
func ParseActionGroupID(input string) (*ActionGroupId, error)
ParseActionGroupID parses 'input' into a ActionGroupId
func ParseActionGroupIDInsensitively ¶
func ParseActionGroupIDInsensitively(input string) (*ActionGroupId, error)
ParseActionGroupIDInsensitively parses 'input' case-insensitively into a ActionGroupId note: this method should only be used for API response data and not user input
func (ActionGroupId) ID ¶
func (id ActionGroupId) ID() string
ID returns the formatted Action Group ID
func (ActionGroupId) Segments ¶
func (id ActionGroupId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Action Group ID
func (ActionGroupId) String ¶
func (id ActionGroupId) String() string
String returns a human-readable description of this Action Group ID
type ActionGroupList ¶
type ActionGroupList struct { NextLink *string `json:"nextLink,omitempty"` Value *[]ActionGroupResource `json:"value,omitempty"` }
type ActionGroupNotificationStatusId ¶
type ActionGroupNotificationStatusId struct { SubscriptionId string ResourceGroupName string ActionGroupName string NotificationId string }
ActionGroupNotificationStatusId is a struct representing the Resource ID for a Action Group Notification Status
func NewActionGroupNotificationStatusID ¶
func NewActionGroupNotificationStatusID(subscriptionId string, resourceGroupName string, actionGroupName string, notificationId string) ActionGroupNotificationStatusId
NewActionGroupNotificationStatusID returns a new ActionGroupNotificationStatusId struct
func ParseActionGroupNotificationStatusID ¶
func ParseActionGroupNotificationStatusID(input string) (*ActionGroupNotificationStatusId, error)
ParseActionGroupNotificationStatusID parses 'input' into a ActionGroupNotificationStatusId
func ParseActionGroupNotificationStatusIDInsensitively ¶
func ParseActionGroupNotificationStatusIDInsensitively(input string) (*ActionGroupNotificationStatusId, error)
ParseActionGroupNotificationStatusIDInsensitively parses 'input' case-insensitively into a ActionGroupNotificationStatusId note: this method should only be used for API response data and not user input
func (ActionGroupNotificationStatusId) ID ¶
func (id ActionGroupNotificationStatusId) ID() string
ID returns the formatted Action Group Notification Status ID
func (ActionGroupNotificationStatusId) Segments ¶
func (id ActionGroupNotificationStatusId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Action Group Notification Status ID
func (ActionGroupNotificationStatusId) String ¶
func (id ActionGroupNotificationStatusId) String() string
String returns a human-readable description of this Action Group Notification Status ID
type ActionGroupPatch ¶
type ActionGroupPatch struct {
Enabled *bool `json:"enabled,omitempty"`
}
type ActionGroupPatchBody ¶
type ActionGroupPatchBody struct { Properties *ActionGroupPatch `json:"properties,omitempty"` Tags *map[string]string `json:"tags,omitempty"` }
type ActionGroupResource ¶
type ActionGroupsAPIsClient ¶
type ActionGroupsAPIsClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewActionGroupsAPIsClientWithBaseURI ¶
func NewActionGroupsAPIsClientWithBaseURI(endpoint string) ActionGroupsAPIsClient
func (ActionGroupsAPIsClient) ActionGroupsCreateNotificationsAtActionGroupResourceLevel ¶
func (c ActionGroupsAPIsClient) ActionGroupsCreateNotificationsAtActionGroupResourceLevel(ctx context.Context, id ActionGroupId, input NotificationRequestBody) (result ActionGroupsCreateNotificationsAtActionGroupResourceLevelOperationResponse, err error)
ActionGroupsCreateNotificationsAtActionGroupResourceLevel ...
func (ActionGroupsAPIsClient) ActionGroupsCreateNotificationsAtActionGroupResourceLevelThenPoll ¶
func (c ActionGroupsAPIsClient) ActionGroupsCreateNotificationsAtActionGroupResourceLevelThenPoll(ctx context.Context, id ActionGroupId, input NotificationRequestBody) error
ActionGroupsCreateNotificationsAtActionGroupResourceLevelThenPoll performs ActionGroupsCreateNotificationsAtActionGroupResourceLevel then polls until it's completed
func (ActionGroupsAPIsClient) ActionGroupsCreateNotificationsAtResourceGroupLevel ¶
func (c ActionGroupsAPIsClient) ActionGroupsCreateNotificationsAtResourceGroupLevel(ctx context.Context, id commonids.ResourceGroupId, input NotificationRequestBody) (result ActionGroupsCreateNotificationsAtResourceGroupLevelOperationResponse, err error)
ActionGroupsCreateNotificationsAtResourceGroupLevel ...
func (ActionGroupsAPIsClient) ActionGroupsCreateNotificationsAtResourceGroupLevelThenPoll ¶
func (c ActionGroupsAPIsClient) ActionGroupsCreateNotificationsAtResourceGroupLevelThenPoll(ctx context.Context, id commonids.ResourceGroupId, input NotificationRequestBody) error
ActionGroupsCreateNotificationsAtResourceGroupLevelThenPoll performs ActionGroupsCreateNotificationsAtResourceGroupLevel then polls until it's completed
func (ActionGroupsAPIsClient) ActionGroupsCreateOrUpdate ¶
func (c ActionGroupsAPIsClient) ActionGroupsCreateOrUpdate(ctx context.Context, id ActionGroupId, input ActionGroupResource) (result ActionGroupsCreateOrUpdateOperationResponse, err error)
ActionGroupsCreateOrUpdate ...
func (ActionGroupsAPIsClient) ActionGroupsDelete ¶
func (c ActionGroupsAPIsClient) ActionGroupsDelete(ctx context.Context, id ActionGroupId) (result ActionGroupsDeleteOperationResponse, err error)
ActionGroupsDelete ...
func (ActionGroupsAPIsClient) ActionGroupsEnableReceiver ¶
func (c ActionGroupsAPIsClient) ActionGroupsEnableReceiver(ctx context.Context, id ActionGroupId, input EnableRequest) (result ActionGroupsEnableReceiverOperationResponse, err error)
ActionGroupsEnableReceiver ...
func (ActionGroupsAPIsClient) ActionGroupsGet ¶
func (c ActionGroupsAPIsClient) ActionGroupsGet(ctx context.Context, id ActionGroupId) (result ActionGroupsGetOperationResponse, err error)
ActionGroupsGet ...
func (ActionGroupsAPIsClient) ActionGroupsGetTestNotifications ¶
func (c ActionGroupsAPIsClient) ActionGroupsGetTestNotifications(ctx context.Context, id NotificationStatusId) (result ActionGroupsGetTestNotificationsOperationResponse, err error)
ActionGroupsGetTestNotifications ...
func (ActionGroupsAPIsClient) ActionGroupsGetTestNotificationsAtActionGroupResourceLevel ¶
func (c ActionGroupsAPIsClient) ActionGroupsGetTestNotificationsAtActionGroupResourceLevel(ctx context.Context, id ActionGroupNotificationStatusId) (result ActionGroupsGetTestNotificationsAtActionGroupResourceLevelOperationResponse, err error)
ActionGroupsGetTestNotificationsAtActionGroupResourceLevel ...
func (ActionGroupsAPIsClient) ActionGroupsGetTestNotificationsAtResourceGroupLevel ¶
func (c ActionGroupsAPIsClient) ActionGroupsGetTestNotificationsAtResourceGroupLevel(ctx context.Context, id ProviderNotificationStatusId) (result ActionGroupsGetTestNotificationsAtResourceGroupLevelOperationResponse, err error)
ActionGroupsGetTestNotificationsAtResourceGroupLevel ...
func (ActionGroupsAPIsClient) ActionGroupsListByResourceGroup ¶
func (c ActionGroupsAPIsClient) ActionGroupsListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result ActionGroupsListByResourceGroupOperationResponse, err error)
ActionGroupsListByResourceGroup ...
func (ActionGroupsAPIsClient) ActionGroupsListBySubscriptionId ¶
func (c ActionGroupsAPIsClient) ActionGroupsListBySubscriptionId(ctx context.Context, id commonids.SubscriptionId) (result ActionGroupsListBySubscriptionIdOperationResponse, err error)
ActionGroupsListBySubscriptionId ...
func (ActionGroupsAPIsClient) ActionGroupsPostTestNotifications ¶
func (c ActionGroupsAPIsClient) ActionGroupsPostTestNotifications(ctx context.Context, id commonids.SubscriptionId, input NotificationRequestBody) (result ActionGroupsPostTestNotificationsOperationResponse, err error)
ActionGroupsPostTestNotifications ...
func (ActionGroupsAPIsClient) ActionGroupsPostTestNotificationsThenPoll ¶
func (c ActionGroupsAPIsClient) ActionGroupsPostTestNotificationsThenPoll(ctx context.Context, id commonids.SubscriptionId, input NotificationRequestBody) error
ActionGroupsPostTestNotificationsThenPoll performs ActionGroupsPostTestNotifications then polls until it's completed
func (ActionGroupsAPIsClient) ActionGroupsUpdate ¶
func (c ActionGroupsAPIsClient) ActionGroupsUpdate(ctx context.Context, id ActionGroupId, input ActionGroupPatchBody) (result ActionGroupsUpdateOperationResponse, err error)
ActionGroupsUpdate ...
type ActionGroupsCreateNotificationsAtActionGroupResourceLevelOperationResponse ¶
type ActionGroupsCreateNotificationsAtActionGroupResourceLevelOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type ActionGroupsCreateNotificationsAtResourceGroupLevelOperationResponse ¶
type ActionGroupsCreateNotificationsAtResourceGroupLevelOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type ActionGroupsCreateOrUpdateOperationResponse ¶
type ActionGroupsCreateOrUpdateOperationResponse struct { HttpResponse *http.Response Model *ActionGroupResource }
type ActionGroupsGetOperationResponse ¶
type ActionGroupsGetOperationResponse struct { HttpResponse *http.Response Model *ActionGroupResource }
type ActionGroupsGetTestNotificationsAtActionGroupResourceLevelOperationResponse ¶
type ActionGroupsGetTestNotificationsAtActionGroupResourceLevelOperationResponse struct { HttpResponse *http.Response Model *TestNotificationDetailsResponse }
type ActionGroupsGetTestNotificationsAtResourceGroupLevelOperationResponse ¶
type ActionGroupsGetTestNotificationsAtResourceGroupLevelOperationResponse struct { HttpResponse *http.Response Model *TestNotificationDetailsResponse }
type ActionGroupsGetTestNotificationsOperationResponse ¶
type ActionGroupsGetTestNotificationsOperationResponse struct { HttpResponse *http.Response Model *TestNotificationDetailsResponse }
type ActionGroupsListByResourceGroupOperationResponse ¶
type ActionGroupsListByResourceGroupOperationResponse struct { HttpResponse *http.Response Model *ActionGroupList }
type ActionGroupsListBySubscriptionIdOperationResponse ¶
type ActionGroupsListBySubscriptionIdOperationResponse struct { HttpResponse *http.Response Model *ActionGroupList }
type ActionGroupsPostTestNotificationsOperationResponse ¶
type ActionGroupsPostTestNotificationsOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type ActionGroupsUpdateOperationResponse ¶
type ActionGroupsUpdateOperationResponse struct { HttpResponse *http.Response Model *ActionGroupResource }
type ArmRoleReceiver ¶
type AutomationRunbookReceiver ¶
type AutomationRunbookReceiver struct { AutomationAccountId string `json:"automationAccountId"` IsGlobalRunbook bool `json:"isGlobalRunbook"` Name *string `json:"name,omitempty"` RunbookName string `json:"runbookName"` ServiceUri *string `json:"serviceUri,omitempty"` UseCommonAlertSchema *bool `json:"useCommonAlertSchema,omitempty"` WebhookResourceId string `json:"webhookResourceId"` }
type AzureAppPushReceiver ¶
type AzureFunctionReceiver ¶
type EmailReceiver ¶
type EmailReceiver struct { EmailAddress string `json:"emailAddress"` Name string `json:"name"` Status *ReceiverStatus `json:"status,omitempty"` UseCommonAlertSchema *bool `json:"useCommonAlertSchema,omitempty"` }
type EnableRequest ¶
type EnableRequest struct {
ReceiverName string `json:"receiverName"`
}
type EventHubReceiver ¶
type EventHubReceiver struct { EventHubName string `json:"eventHubName"` EventHubNameSpace string `json:"eventHubNameSpace"` Name string `json:"name"` SubscriptionId string `json:"subscriptionId"` TenantId *string `json:"tenantId,omitempty"` UseCommonAlertSchema *bool `json:"useCommonAlertSchema,omitempty"` }
type ItsmReceiver ¶
type LogicAppReceiver ¶
type NotificationRequestBody ¶
type NotificationRequestBody struct { AlertType string `json:"alertType"` ArmRoleReceivers *[]ArmRoleReceiver `json:"armRoleReceivers,omitempty"` AutomationRunbookReceivers *[]AutomationRunbookReceiver `json:"automationRunbookReceivers,omitempty"` AzureAppPushReceivers *[]AzureAppPushReceiver `json:"azureAppPushReceivers,omitempty"` AzureFunctionReceivers *[]AzureFunctionReceiver `json:"azureFunctionReceivers,omitempty"` EmailReceivers *[]EmailReceiver `json:"emailReceivers,omitempty"` EventHubReceivers *[]EventHubReceiver `json:"eventHubReceivers,omitempty"` ItsmReceivers *[]ItsmReceiver `json:"itsmReceivers,omitempty"` LogicAppReceivers *[]LogicAppReceiver `json:"logicAppReceivers,omitempty"` SmsReceivers *[]SmsReceiver `json:"smsReceivers,omitempty"` VoiceReceivers *[]VoiceReceiver `json:"voiceReceivers,omitempty"` WebhookReceivers *[]WebhookReceiver `json:"webhookReceivers,omitempty"` }
type NotificationStatusId ¶
NotificationStatusId is a struct representing the Resource ID for a Notification Status
func NewNotificationStatusID ¶
func NewNotificationStatusID(subscriptionId string, notificationId string) NotificationStatusId
NewNotificationStatusID returns a new NotificationStatusId struct
func ParseNotificationStatusID ¶
func ParseNotificationStatusID(input string) (*NotificationStatusId, error)
ParseNotificationStatusID parses 'input' into a NotificationStatusId
func ParseNotificationStatusIDInsensitively ¶
func ParseNotificationStatusIDInsensitively(input string) (*NotificationStatusId, error)
ParseNotificationStatusIDInsensitively parses 'input' case-insensitively into a NotificationStatusId note: this method should only be used for API response data and not user input
func (NotificationStatusId) ID ¶
func (id NotificationStatusId) ID() string
ID returns the formatted Notification Status ID
func (NotificationStatusId) Segments ¶
func (id NotificationStatusId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Notification Status ID
func (NotificationStatusId) String ¶
func (id NotificationStatusId) String() string
String returns a human-readable description of this Notification Status ID
type ProviderNotificationStatusId ¶
type ProviderNotificationStatusId struct { SubscriptionId string ResourceGroupName string NotificationId string }
ProviderNotificationStatusId is a struct representing the Resource ID for a Provider Notification Status
func NewProviderNotificationStatusID ¶
func NewProviderNotificationStatusID(subscriptionId string, resourceGroupName string, notificationId string) ProviderNotificationStatusId
NewProviderNotificationStatusID returns a new ProviderNotificationStatusId struct
func ParseProviderNotificationStatusID ¶
func ParseProviderNotificationStatusID(input string) (*ProviderNotificationStatusId, error)
ParseProviderNotificationStatusID parses 'input' into a ProviderNotificationStatusId
func ParseProviderNotificationStatusIDInsensitively ¶
func ParseProviderNotificationStatusIDInsensitively(input string) (*ProviderNotificationStatusId, error)
ParseProviderNotificationStatusIDInsensitively parses 'input' case-insensitively into a ProviderNotificationStatusId note: this method should only be used for API response data and not user input
func (ProviderNotificationStatusId) ID ¶
func (id ProviderNotificationStatusId) ID() string
ID returns the formatted Provider Notification Status ID
func (ProviderNotificationStatusId) Segments ¶
func (id ProviderNotificationStatusId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Provider Notification Status ID
func (ProviderNotificationStatusId) String ¶
func (id ProviderNotificationStatusId) String() string
String returns a human-readable description of this Provider Notification Status ID
type ReceiverStatus ¶
type ReceiverStatus string
const ( ReceiverStatusDisabled ReceiverStatus = "Disabled" ReceiverStatusEnabled ReceiverStatus = "Enabled" ReceiverStatusNotSpecified ReceiverStatus = "NotSpecified" )
type SmsReceiver ¶
type SmsReceiver struct { CountryCode string `json:"countryCode"` Name string `json:"name"` PhoneNumber string `json:"phoneNumber"` Status *ReceiverStatus `json:"status,omitempty"` }
type TestNotificationDetailsResponse ¶
type TestNotificationDetailsResponse struct { ActionDetails *[]ActionDetail `json:"actionDetails,omitempty"` CompletedTime *string `json:"completedTime,omitempty"` Context *Context `json:"context,omitempty"` CreatedTime *string `json:"createdTime,omitempty"` State string `json:"state"` }
type VoiceReceiver ¶
type WebhookReceiver ¶
type WebhookReceiver struct { IdentifierUri *string `json:"identifierUri,omitempty"` Name string `json:"name"` ObjectId *string `json:"objectId,omitempty"` ServiceUri string `json:"serviceUri"` TenantId *string `json:"tenantId,omitempty"` UseAadAuth *bool `json:"useAadAuth,omitempty"` UseCommonAlertSchema *bool `json:"useCommonAlertSchema,omitempty"` }
Source Files ¶
- client.go
- constants.go
- id_actiongroup.go
- id_actiongroupnotificationstatus.go
- id_notificationstatus.go
- id_providernotificationstatus.go
- method_actiongroupscreatenotificationsatactiongroupresourcelevel_autorest.go
- method_actiongroupscreatenotificationsatresourcegrouplevel_autorest.go
- method_actiongroupscreateorupdate_autorest.go
- method_actiongroupsdelete_autorest.go
- method_actiongroupsenablereceiver_autorest.go
- method_actiongroupsget_autorest.go
- method_actiongroupsgettestnotifications_autorest.go
- method_actiongroupsgettestnotificationsatactiongroupresourcelevel_autorest.go
- method_actiongroupsgettestnotificationsatresourcegrouplevel_autorest.go
- method_actiongroupslistbyresourcegroup_autorest.go
- method_actiongroupslistbysubscriptionid_autorest.go
- method_actiongroupsposttestnotifications_autorest.go
- method_actiongroupsupdate_autorest.go
- model_actiondetail.go
- model_actiongroup.go
- model_actiongrouplist.go
- model_actiongrouppatch.go
- model_actiongrouppatchbody.go
- model_actiongroupresource.go
- model_armrolereceiver.go
- model_automationrunbookreceiver.go
- model_azureapppushreceiver.go
- model_azurefunctionreceiver.go
- model_context.go
- model_emailreceiver.go
- model_enablerequest.go
- model_eventhubreceiver.go
- model_itsmreceiver.go
- model_logicappreceiver.go
- model_notificationrequestbody.go
- model_smsreceiver.go
- model_testnotificationdetailsresponse.go
- model_voicereceiver.go
- model_webhookreceiver.go
- version.go