Documentation ¶
Index ¶
- func PossibleValuesForReceiverStatus() []string
- func ValidateActionGroupID(input interface{}, key string) (warnings []string, errors []error)
- type ActionGroup
- type ActionGroupId
- type ActionGroupList
- type ActionGroupPatch
- type ActionGroupPatchBody
- type ActionGroupResource
- type ActionGroupsAPIsClient
- 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) 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) ActionGroupsUpdate(ctx context.Context, id ActionGroupId, input ActionGroupPatchBody) (result ActionGroupsUpdateOperationResponse, err error)
- type ActionGroupsCreateOrUpdateOperationResponse
- type ActionGroupsDeleteOperationResponse
- type ActionGroupsEnableReceiverOperationResponse
- type ActionGroupsGetOperationResponse
- type ActionGroupsListByResourceGroupOperationResponse
- type ActionGroupsListBySubscriptionIdOperationResponse
- type ActionGroupsUpdateOperationResponse
- type AutomationRunbookReceiver
- type AzureAppPushReceiver
- type AzureFunctionReceiver
- type EmailReceiver
- type EnableRequest
- type ItsmReceiver
- type LogicAppReceiver
- type ReceiverStatus
- type SmsReceiver
- 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
Types ¶
type ActionGroup ¶
type ActionGroup struct { AutomationRunbookReceivers *[]AutomationRunbookReceiver `json:"automationRunbookReceivers,omitempty"` AzureAppPushReceivers *[]AzureAppPushReceiver `json:"azureAppPushReceivers,omitempty"` AzureFunctionReceivers *[]AzureFunctionReceiver `json:"azureFunctionReceivers,omitempty"` EmailReceivers *[]EmailReceiver `json:"emailReceivers,omitempty"` Enabled bool `json:"enabled"` 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) FromParseResult ¶ added in v0.20231127.1171502
func (id *ActionGroupId) FromParseResult(input resourceids.ParseResult) error
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 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) 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) 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) ActionGroupsUpdate ¶
func (c ActionGroupsAPIsClient) ActionGroupsUpdate(ctx context.Context, id ActionGroupId, input ActionGroupPatchBody) (result ActionGroupsUpdateOperationResponse, err error)
ActionGroupsUpdate ...
type ActionGroupsCreateOrUpdateOperationResponse ¶
type ActionGroupsCreateOrUpdateOperationResponse struct { HttpResponse *http.Response Model *ActionGroupResource }
type ActionGroupsGetOperationResponse ¶
type ActionGroupsGetOperationResponse struct { HttpResponse *http.Response Model *ActionGroupResource }
type ActionGroupsListByResourceGroupOperationResponse ¶
type ActionGroupsListByResourceGroupOperationResponse struct { HttpResponse *http.Response Model *ActionGroupList }
type ActionGroupsListBySubscriptionIdOperationResponse ¶
type ActionGroupsListBySubscriptionIdOperationResponse struct { HttpResponse *http.Response Model *ActionGroupList }
type ActionGroupsUpdateOperationResponse ¶
type ActionGroupsUpdateOperationResponse struct { HttpResponse *http.Response Model *ActionGroupResource }
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"` 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"` }
type EnableRequest ¶
type EnableRequest struct {
ReceiverName string `json:"receiverName"`
}
type ItsmReceiver ¶
type LogicAppReceiver ¶
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 VoiceReceiver ¶
type WebhookReceiver ¶
Source Files ¶
- client.go
- constants.go
- id_actiongroup.go
- method_actiongroupscreateorupdate_autorest.go
- method_actiongroupsdelete_autorest.go
- method_actiongroupsenablereceiver_autorest.go
- method_actiongroupsget_autorest.go
- method_actiongroupslistbyresourcegroup_autorest.go
- method_actiongroupslistbysubscriptionid_autorest.go
- method_actiongroupsupdate_autorest.go
- model_actiongroup.go
- model_actiongrouplist.go
- model_actiongrouppatch.go
- model_actiongrouppatchbody.go
- model_actiongroupresource.go
- model_automationrunbookreceiver.go
- model_azureapppushreceiver.go
- model_azurefunctionreceiver.go
- model_emailreceiver.go
- model_enablerequest.go
- model_itsmreceiver.go
- model_logicappreceiver.go
- model_smsreceiver.go
- model_voicereceiver.go
- model_webhookreceiver.go
- version.go