Documentation ¶
Index ¶
- func PossibleValuesForAlertNotifications() []string
- func PossibleValuesForAlertsToAdmins() []string
- func ValidateSecurityContactID(input interface{}, key string) (warnings []string, errors []error)
- type AlertNotifications
- type AlertsToAdmins
- type SecurityContact
- type SecurityContactId
- type SecurityContactOperationPredicate
- type SecurityContactProperties
- type SecurityContactsClient
- func (c SecurityContactsClient) SecurityContactsCreate(ctx context.Context, id SecurityContactId, input SecurityContact) (result SecurityContactsCreateOperationResponse, err error)
- func (c SecurityContactsClient) SecurityContactsDelete(ctx context.Context, id SecurityContactId) (result SecurityContactsDeleteOperationResponse, err error)
- func (c SecurityContactsClient) SecurityContactsGet(ctx context.Context, id SecurityContactId) (result SecurityContactsGetOperationResponse, err error)
- func (c SecurityContactsClient) SecurityContactsList(ctx context.Context, id commonids.SubscriptionId) (resp SecurityContactsListOperationResponse, err error)
- func (c SecurityContactsClient) SecurityContactsListComplete(ctx context.Context, id commonids.SubscriptionId) (SecurityContactsListCompleteResult, error)
- func (c SecurityContactsClient) SecurityContactsListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (resp SecurityContactsListCompleteResult, err error)
- func (c SecurityContactsClient) SecurityContactsUpdate(ctx context.Context, id SecurityContactId, input SecurityContact) (result SecurityContactsUpdateOperationResponse, err error)
- type SecurityContactsCreateOperationResponse
- type SecurityContactsDeleteOperationResponse
- type SecurityContactsGetOperationResponse
- type SecurityContactsListCompleteResult
- type SecurityContactsListOperationResponse
- type SecurityContactsUpdateOperationResponse
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 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) SecurityContactsCreate ¶
func (c SecurityContactsClient) SecurityContactsCreate(ctx context.Context, id SecurityContactId, input SecurityContact) (result SecurityContactsCreateOperationResponse, err error)
SecurityContactsCreate ...
func (SecurityContactsClient) SecurityContactsDelete ¶
func (c SecurityContactsClient) SecurityContactsDelete(ctx context.Context, id SecurityContactId) (result SecurityContactsDeleteOperationResponse, err error)
SecurityContactsDelete ...
func (SecurityContactsClient) SecurityContactsGet ¶
func (c SecurityContactsClient) SecurityContactsGet(ctx context.Context, id SecurityContactId) (result SecurityContactsGetOperationResponse, err error)
SecurityContactsGet ...
func (SecurityContactsClient) SecurityContactsList ¶
func (c SecurityContactsClient) SecurityContactsList(ctx context.Context, id commonids.SubscriptionId) (resp SecurityContactsListOperationResponse, err error)
SecurityContactsList ...
func (SecurityContactsClient) SecurityContactsListComplete ¶
func (c SecurityContactsClient) SecurityContactsListComplete(ctx context.Context, id commonids.SubscriptionId) (SecurityContactsListCompleteResult, error)
SecurityContactsListComplete retrieves all of the results into a single object
func (SecurityContactsClient) SecurityContactsListCompleteMatchingPredicate ¶
func (c SecurityContactsClient) SecurityContactsListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate SecurityContactOperationPredicate) (resp SecurityContactsListCompleteResult, err error)
SecurityContactsListCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (SecurityContactsClient) SecurityContactsUpdate ¶
func (c SecurityContactsClient) SecurityContactsUpdate(ctx context.Context, id SecurityContactId, input SecurityContact) (result SecurityContactsUpdateOperationResponse, err error)
SecurityContactsUpdate ...
type SecurityContactsCreateOperationResponse ¶
type SecurityContactsCreateOperationResponse struct { HttpResponse *http.Response Model *SecurityContact }
type SecurityContactsGetOperationResponse ¶
type SecurityContactsGetOperationResponse struct { HttpResponse *http.Response Model *SecurityContact }
type SecurityContactsListCompleteResult ¶
type SecurityContactsListCompleteResult struct {
Items []SecurityContact
}
type SecurityContactsListOperationResponse ¶
type SecurityContactsListOperationResponse struct { HttpResponse *http.Response Model *[]SecurityContact // contains filtered or unexported fields }
func (SecurityContactsListOperationResponse) HasMore ¶
func (r SecurityContactsListOperationResponse) HasMore() bool
func (SecurityContactsListOperationResponse) LoadMore ¶
func (r SecurityContactsListOperationResponse) LoadMore(ctx context.Context) (resp SecurityContactsListOperationResponse, err error)
type SecurityContactsUpdateOperationResponse ¶
type SecurityContactsUpdateOperationResponse struct { HttpResponse *http.Response Model *SecurityContact }
Source Files ¶
- client.go
- constants.go
- id_securitycontact.go
- method_securitycontactscreate_autorest.go
- method_securitycontactsdelete_autorest.go
- method_securitycontactsget_autorest.go
- method_securitycontactslist_autorest.go
- method_securitycontactsupdate_autorest.go
- model_securitycontact.go
- model_securitycontactproperties.go
- predicates.go
- version.go