Documentation ¶
Index ¶
- func PossibleValuesForAlertNotifications() []string
- func PossibleValuesForAlertsToAdmins() []string
- func ValidateSecurityContactID(input interface{}, key string) (warnings []string, errors []error)
- type AlertNotifications
- type AlertsToAdmins
- type CreateOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type ListCompleteResult
- type ListOperationResponse
- type SecurityContact
- type SecurityContactId
- type SecurityContactOperationPredicate
- type SecurityContactProperties
- type SecurityContactsClient
- func (c SecurityContactsClient) Create(ctx context.Context, id SecurityContactId, input SecurityContact) (result CreateOperationResponse, err error)
- func (c SecurityContactsClient) Delete(ctx context.Context, id SecurityContactId) (result DeleteOperationResponse, err error)
- func (c SecurityContactsClient) Get(ctx context.Context, id SecurityContactId) (result GetOperationResponse, err error)
- func (c SecurityContactsClient) List(ctx context.Context, id commonids.SubscriptionId) (resp ListOperationResponse, err error)
- func (c SecurityContactsClient) ListComplete(ctx context.Context, id commonids.SubscriptionId) (ListCompleteResult, error)
- func (c SecurityContactsClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (resp ListCompleteResult, err error)
- func (c SecurityContactsClient) Update(ctx context.Context, id SecurityContactId, input SecurityContact) (result UpdateOperationResponse, err error)
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForAlertNotifications ¶
func PossibleValuesForAlertNotifications() []string
func PossibleValuesForAlertsToAdmins ¶
func PossibleValuesForAlertsToAdmins() []string
func ValidateSecurityContactID ¶
ValidateSecurityContactID checks that 'input' can be parsed as a Security Contact ID
Types ¶
type AlertNotifications ¶
type AlertNotifications string
const ( AlertNotificationsOff AlertNotifications = "Off" AlertNotificationsOn AlertNotifications = "On" )
type AlertsToAdmins ¶
type AlertsToAdmins string
const ( AlertsToAdminsOff AlertsToAdmins = "Off" AlertsToAdminsOn AlertsToAdmins = "On" )
type CreateOperationResponse ¶ added in v0.20230906.1160501
type CreateOperationResponse struct { HttpResponse *http.Response Model *SecurityContact }
type DeleteOperationResponse ¶ added in v0.20230906.1160501
type GetOperationResponse ¶ added in v0.20230906.1160501
type GetOperationResponse struct { HttpResponse *http.Response Model *SecurityContact }
type ListCompleteResult ¶ added in v0.20230906.1160501
type ListCompleteResult struct {
Items []SecurityContact
}
type ListOperationResponse ¶ added in v0.20230906.1160501
type ListOperationResponse struct { HttpResponse *http.Response Model *[]SecurityContact // contains filtered or unexported fields }
func (ListOperationResponse) HasMore ¶ added in v0.20230906.1160501
func (r ListOperationResponse) HasMore() bool
func (ListOperationResponse) LoadMore ¶ added in v0.20230906.1160501
func (r ListOperationResponse) LoadMore(ctx context.Context) (resp ListOperationResponse, err error)
type SecurityContact ¶
type SecurityContact struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *SecurityContactProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type SecurityContactId ¶
SecurityContactId is a struct representing the Resource ID for a Security Contact
func NewSecurityContactID ¶
func NewSecurityContactID(subscriptionId string, securityContactName string) SecurityContactId
NewSecurityContactID returns a new SecurityContactId struct
func ParseSecurityContactID ¶
func ParseSecurityContactID(input string) (*SecurityContactId, error)
ParseSecurityContactID parses 'input' into a SecurityContactId
func ParseSecurityContactIDInsensitively ¶
func ParseSecurityContactIDInsensitively(input string) (*SecurityContactId, error)
ParseSecurityContactIDInsensitively parses 'input' case-insensitively into a SecurityContactId note: this method should only be used for API response data and not user input
func (SecurityContactId) ID ¶
func (id SecurityContactId) ID() string
ID returns the formatted Security Contact ID
func (SecurityContactId) Segments ¶
func (id SecurityContactId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Security Contact ID
func (SecurityContactId) String ¶
func (id SecurityContactId) String() string
String returns a human-readable description of this Security Contact ID
type SecurityContactOperationPredicate ¶
func (SecurityContactOperationPredicate) Matches ¶
func (p SecurityContactOperationPredicate) Matches(input SecurityContact) bool
type SecurityContactProperties ¶
type SecurityContactProperties struct { AlertNotifications AlertNotifications `json:"alertNotifications"` AlertsToAdmins AlertsToAdmins `json:"alertsToAdmins"` Email string `json:"email"` Phone *string `json:"phone,omitempty"` }
type SecurityContactsClient ¶
type SecurityContactsClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewSecurityContactsClientWithBaseURI ¶
func NewSecurityContactsClientWithBaseURI(endpoint string) SecurityContactsClient
func (SecurityContactsClient) Create ¶ added in v0.20230906.1160501
func (c SecurityContactsClient) Create(ctx context.Context, id SecurityContactId, input SecurityContact) (result CreateOperationResponse, err error)
Create ...
func (SecurityContactsClient) Delete ¶ added in v0.20230906.1160501
func (c SecurityContactsClient) Delete(ctx context.Context, id SecurityContactId) (result DeleteOperationResponse, err error)
Delete ...
func (SecurityContactsClient) Get ¶ added in v0.20230906.1160501
func (c SecurityContactsClient) Get(ctx context.Context, id SecurityContactId) (result GetOperationResponse, err error)
Get ...
func (SecurityContactsClient) List ¶ added in v0.20230906.1160501
func (c SecurityContactsClient) List(ctx context.Context, id commonids.SubscriptionId) (resp ListOperationResponse, err error)
List ...
func (SecurityContactsClient) ListComplete ¶ added in v0.20230906.1160501
func (c SecurityContactsClient) ListComplete(ctx context.Context, id commonids.SubscriptionId) (ListCompleteResult, error)
ListComplete retrieves all of the results into a single object
func (SecurityContactsClient) ListCompleteMatchingPredicate ¶ added in v0.20230906.1160501
func (c SecurityContactsClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate SecurityContactOperationPredicate) (resp ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (SecurityContactsClient) Update ¶ added in v0.20230906.1160501
func (c SecurityContactsClient) Update(ctx context.Context, id SecurityContactId, input SecurityContact) (result UpdateOperationResponse, err error)
Update ...
type UpdateOperationResponse ¶ added in v0.20230906.1160501
type UpdateOperationResponse struct { HttpResponse *http.Response Model *SecurityContact }