Documentation ¶
Index ¶
- func PossibleValuesForAlertSeverity() []string
- func PossibleValuesForAlertStatus() []string
- func PossibleValuesForIntent() []string
- func PossibleValuesForResourceIdentifierType() []string
- func ValidateAlertID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateLocationAlertID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateLocationID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateProviderLocationID(input interface{}, key string) (warnings []string, errors []error)
- type Alert
- type AlertEntity
- type AlertId
- type AlertOperationPredicate
- type AlertProperties
- func (o *AlertProperties) GetEndTimeUtcAsTime() (*time.Time, error)
- func (o *AlertProperties) GetProcessingEndTimeUtcAsTime() (*time.Time, error)
- func (o *AlertProperties) GetStartTimeUtcAsTime() (*time.Time, error)
- func (o *AlertProperties) GetTimeGeneratedUtcAsTime() (*time.Time, error)
- func (o *AlertProperties) SetEndTimeUtcAsTime(input time.Time)
- func (o *AlertProperties) SetProcessingEndTimeUtcAsTime(input time.Time)
- func (o *AlertProperties) SetStartTimeUtcAsTime(input time.Time)
- func (o *AlertProperties) SetTimeGeneratedUtcAsTime(input time.Time)
- func (s *AlertProperties) UnmarshalJSON(bytes []byte) error
- type AlertSeverity
- type AlertStatus
- type AlertsClient
- func (c AlertsClient) GetResourceGroupLevelAlerts(ctx context.Context, id LocationAlertId) (result GetResourceGroupLevelAlertsOperationResponse, err error)
- func (c AlertsClient) GetSubscriptionLevelAlert(ctx context.Context, id AlertId) (result GetSubscriptionLevelAlertOperationResponse, err error)
- func (c AlertsClient) List(ctx context.Context, id commonids.SubscriptionId) (resp ListOperationResponse, err error)
- func (c AlertsClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (resp ListByResourceGroupOperationResponse, err error)
- func (c AlertsClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
- func (c AlertsClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, ...) (resp ListByResourceGroupCompleteResult, err error)
- func (c AlertsClient) ListComplete(ctx context.Context, id commonids.SubscriptionId) (ListCompleteResult, error)
- func (c AlertsClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (resp ListCompleteResult, err error)
- func (c AlertsClient) ListResourceGroupLevelAlertsByRegion(ctx context.Context, id ProviderLocationId) (resp ListResourceGroupLevelAlertsByRegionOperationResponse, err error)
- func (c AlertsClient) ListResourceGroupLevelAlertsByRegionComplete(ctx context.Context, id ProviderLocationId) (ListResourceGroupLevelAlertsByRegionCompleteResult, error)
- func (c AlertsClient) ListResourceGroupLevelAlertsByRegionCompleteMatchingPredicate(ctx context.Context, id ProviderLocationId, predicate AlertOperationPredicate) (resp ListResourceGroupLevelAlertsByRegionCompleteResult, err error)
- func (c AlertsClient) ListSubscriptionLevelAlertsByRegion(ctx context.Context, id LocationId) (resp ListSubscriptionLevelAlertsByRegionOperationResponse, err error)
- func (c AlertsClient) ListSubscriptionLevelAlertsByRegionComplete(ctx context.Context, id LocationId) (ListSubscriptionLevelAlertsByRegionCompleteResult, error)
- func (c AlertsClient) ListSubscriptionLevelAlertsByRegionCompleteMatchingPredicate(ctx context.Context, id LocationId, predicate AlertOperationPredicate) (resp ListSubscriptionLevelAlertsByRegionCompleteResult, err error)
- func (c AlertsClient) UpdateResourceGroupLevelAlertStateToDismiss(ctx context.Context, id LocationAlertId) (result UpdateResourceGroupLevelAlertStateToDismissOperationResponse, err error)
- func (c AlertsClient) UpdateResourceGroupLevelAlertStateToReactivate(ctx context.Context, id LocationAlertId) (result UpdateResourceGroupLevelAlertStateToReactivateOperationResponse, ...)
- func (c AlertsClient) UpdateResourceGroupLevelStateToResolve(ctx context.Context, id LocationAlertId) (result UpdateResourceGroupLevelStateToResolveOperationResponse, err error)
- func (c AlertsClient) UpdateSubscriptionLevelAlertStateToDismiss(ctx context.Context, id AlertId) (result UpdateSubscriptionLevelAlertStateToDismissOperationResponse, err error)
- func (c AlertsClient) UpdateSubscriptionLevelAlertStateToReactivate(ctx context.Context, id AlertId) (result UpdateSubscriptionLevelAlertStateToReactivateOperationResponse, ...)
- func (c AlertsClient) UpdateSubscriptionLevelStateToResolve(ctx context.Context, id AlertId) (result UpdateSubscriptionLevelStateToResolveOperationResponse, err error)
- type AzureResourceIdentifier
- type GetResourceGroupLevelAlertsOperationResponse
- type GetSubscriptionLevelAlertOperationResponse
- type Intent
- type ListByResourceGroupCompleteResult
- type ListByResourceGroupOperationResponse
- type ListCompleteResult
- type ListOperationResponse
- type ListResourceGroupLevelAlertsByRegionCompleteResult
- type ListResourceGroupLevelAlertsByRegionOperationResponse
- type ListSubscriptionLevelAlertsByRegionCompleteResult
- type ListSubscriptionLevelAlertsByRegionOperationResponse
- type LocationAlertId
- type LocationId
- type LogAnalyticsIdentifier
- type ProviderLocationId
- type RawResourceIdentifierImpl
- type ResourceIdentifier
- type ResourceIdentifierType
- type UpdateResourceGroupLevelAlertStateToDismissOperationResponse
- type UpdateResourceGroupLevelAlertStateToReactivateOperationResponse
- type UpdateResourceGroupLevelStateToResolveOperationResponse
- type UpdateSubscriptionLevelAlertStateToDismissOperationResponse
- type UpdateSubscriptionLevelAlertStateToReactivateOperationResponse
- type UpdateSubscriptionLevelStateToResolveOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForAlertSeverity ¶
func PossibleValuesForAlertSeverity() []string
func PossibleValuesForAlertStatus ¶
func PossibleValuesForAlertStatus() []string
func PossibleValuesForIntent ¶
func PossibleValuesForIntent() []string
func PossibleValuesForResourceIdentifierType ¶
func PossibleValuesForResourceIdentifierType() []string
func ValidateAlertID ¶
ValidateAlertID checks that 'input' can be parsed as a Alert ID
func ValidateLocationAlertID ¶
ValidateLocationAlertID checks that 'input' can be parsed as a Location Alert ID
func ValidateLocationID ¶
ValidateLocationID checks that 'input' can be parsed as a Location ID
func ValidateProviderLocationID ¶
ValidateProviderLocationID checks that 'input' can be parsed as a Provider Location ID
Types ¶
type Alert ¶
type Alert struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *AlertProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type AlertEntity ¶
type AlertEntity struct {
Type *string `json:"type,omitempty"`
}
type AlertId ¶
AlertId is a struct representing the Resource ID for a Alert
func NewAlertID ¶
NewAlertID returns a new AlertId struct
func ParseAlertID ¶
ParseAlertID parses 'input' into a AlertId
func ParseAlertIDInsensitively ¶
ParseAlertIDInsensitively parses 'input' case-insensitively into a AlertId note: this method should only be used for API response data and not user input
func (AlertId) Segments ¶
func (id AlertId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Alert ID
type AlertOperationPredicate ¶
func (AlertOperationPredicate) Matches ¶
func (p AlertOperationPredicate) Matches(input Alert) bool
type AlertProperties ¶
type AlertProperties struct { AlertDisplayName *string `json:"alertDisplayName,omitempty"` AlertType *string `json:"alertType,omitempty"` AlertUri *string `json:"alertUri,omitempty"` CompromisedEntity *string `json:"compromisedEntity,omitempty"` CorrelationKey *string `json:"correlationKey,omitempty"` Description *string `json:"description,omitempty"` EndTimeUtc *string `json:"endTimeUtc,omitempty"` Entities *[]AlertEntity `json:"entities,omitempty"` ExtendedLinks *[]map[string]string `json:"extendedLinks,omitempty"` ExtendedProperties *map[string]string `json:"extendedProperties,omitempty"` Intent *Intent `json:"intent,omitempty"` IsIncident *bool `json:"isIncident,omitempty"` ProcessingEndTimeUtc *string `json:"processingEndTimeUtc,omitempty"` ProductComponentName *string `json:"productComponentName,omitempty"` ProductName *string `json:"productName,omitempty"` RemediationSteps *[]string `json:"remediationSteps,omitempty"` ResourceIdentifiers *[]ResourceIdentifier `json:"resourceIdentifiers,omitempty"` Severity *AlertSeverity `json:"severity,omitempty"` StartTimeUtc *string `json:"startTimeUtc,omitempty"` Status *AlertStatus `json:"status,omitempty"` SystemAlertId *string `json:"systemAlertId,omitempty"` TimeGeneratedUtc *string `json:"timeGeneratedUtc,omitempty"` VendorName *string `json:"vendorName,omitempty"` }
func (*AlertProperties) GetEndTimeUtcAsTime ¶
func (o *AlertProperties) GetEndTimeUtcAsTime() (*time.Time, error)
func (*AlertProperties) GetProcessingEndTimeUtcAsTime ¶
func (o *AlertProperties) GetProcessingEndTimeUtcAsTime() (*time.Time, error)
func (*AlertProperties) GetStartTimeUtcAsTime ¶
func (o *AlertProperties) GetStartTimeUtcAsTime() (*time.Time, error)
func (*AlertProperties) GetTimeGeneratedUtcAsTime ¶
func (o *AlertProperties) GetTimeGeneratedUtcAsTime() (*time.Time, error)
func (*AlertProperties) SetEndTimeUtcAsTime ¶
func (o *AlertProperties) SetEndTimeUtcAsTime(input time.Time)
func (*AlertProperties) SetProcessingEndTimeUtcAsTime ¶
func (o *AlertProperties) SetProcessingEndTimeUtcAsTime(input time.Time)
func (*AlertProperties) SetStartTimeUtcAsTime ¶
func (o *AlertProperties) SetStartTimeUtcAsTime(input time.Time)
func (*AlertProperties) SetTimeGeneratedUtcAsTime ¶
func (o *AlertProperties) SetTimeGeneratedUtcAsTime(input time.Time)
func (*AlertProperties) UnmarshalJSON ¶
func (s *AlertProperties) UnmarshalJSON(bytes []byte) error
type AlertSeverity ¶
type AlertSeverity string
const ( AlertSeverityHigh AlertSeverity = "High" AlertSeverityInformational AlertSeverity = "Informational" AlertSeverityLow AlertSeverity = "Low" AlertSeverityMedium AlertSeverity = "Medium" )
type AlertStatus ¶
type AlertStatus string
const ( AlertStatusActive AlertStatus = "Active" AlertStatusDismissed AlertStatus = "Dismissed" AlertStatusResolved AlertStatus = "Resolved" )
type AlertsClient ¶
func NewAlertsClientWithBaseURI ¶
func NewAlertsClientWithBaseURI(endpoint string) AlertsClient
func (AlertsClient) GetResourceGroupLevelAlerts ¶
func (c AlertsClient) GetResourceGroupLevelAlerts(ctx context.Context, id LocationAlertId) (result GetResourceGroupLevelAlertsOperationResponse, err error)
GetResourceGroupLevelAlerts ...
func (AlertsClient) GetSubscriptionLevelAlert ¶
func (c AlertsClient) GetSubscriptionLevelAlert(ctx context.Context, id AlertId) (result GetSubscriptionLevelAlertOperationResponse, err error)
GetSubscriptionLevelAlert ...
func (AlertsClient) List ¶
func (c AlertsClient) List(ctx context.Context, id commonids.SubscriptionId) (resp ListOperationResponse, err error)
List ...
func (AlertsClient) ListByResourceGroup ¶
func (c AlertsClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (resp ListByResourceGroupOperationResponse, err error)
ListByResourceGroup ...
func (AlertsClient) ListByResourceGroupComplete ¶
func (c AlertsClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
ListByResourceGroupComplete retrieves all of the results into a single object
func (AlertsClient) ListByResourceGroupCompleteMatchingPredicate ¶
func (c AlertsClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate AlertOperationPredicate) (resp ListByResourceGroupCompleteResult, err error)
ListByResourceGroupCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (AlertsClient) ListComplete ¶
func (c AlertsClient) ListComplete(ctx context.Context, id commonids.SubscriptionId) (ListCompleteResult, error)
ListComplete retrieves all of the results into a single object
func (AlertsClient) ListCompleteMatchingPredicate ¶
func (c AlertsClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate AlertOperationPredicate) (resp ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (AlertsClient) ListResourceGroupLevelAlertsByRegion ¶
func (c AlertsClient) ListResourceGroupLevelAlertsByRegion(ctx context.Context, id ProviderLocationId) (resp ListResourceGroupLevelAlertsByRegionOperationResponse, err error)
ListResourceGroupLevelAlertsByRegion ...
func (AlertsClient) ListResourceGroupLevelAlertsByRegionComplete ¶
func (c AlertsClient) ListResourceGroupLevelAlertsByRegionComplete(ctx context.Context, id ProviderLocationId) (ListResourceGroupLevelAlertsByRegionCompleteResult, error)
ListResourceGroupLevelAlertsByRegionComplete retrieves all of the results into a single object
func (AlertsClient) ListResourceGroupLevelAlertsByRegionCompleteMatchingPredicate ¶
func (c AlertsClient) ListResourceGroupLevelAlertsByRegionCompleteMatchingPredicate(ctx context.Context, id ProviderLocationId, predicate AlertOperationPredicate) (resp ListResourceGroupLevelAlertsByRegionCompleteResult, err error)
ListResourceGroupLevelAlertsByRegionCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (AlertsClient) ListSubscriptionLevelAlertsByRegion ¶
func (c AlertsClient) ListSubscriptionLevelAlertsByRegion(ctx context.Context, id LocationId) (resp ListSubscriptionLevelAlertsByRegionOperationResponse, err error)
ListSubscriptionLevelAlertsByRegion ...
func (AlertsClient) ListSubscriptionLevelAlertsByRegionComplete ¶
func (c AlertsClient) ListSubscriptionLevelAlertsByRegionComplete(ctx context.Context, id LocationId) (ListSubscriptionLevelAlertsByRegionCompleteResult, error)
ListSubscriptionLevelAlertsByRegionComplete retrieves all of the results into a single object
func (AlertsClient) ListSubscriptionLevelAlertsByRegionCompleteMatchingPredicate ¶
func (c AlertsClient) ListSubscriptionLevelAlertsByRegionCompleteMatchingPredicate(ctx context.Context, id LocationId, predicate AlertOperationPredicate) (resp ListSubscriptionLevelAlertsByRegionCompleteResult, err error)
ListSubscriptionLevelAlertsByRegionCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (AlertsClient) UpdateResourceGroupLevelAlertStateToDismiss ¶
func (c AlertsClient) UpdateResourceGroupLevelAlertStateToDismiss(ctx context.Context, id LocationAlertId) (result UpdateResourceGroupLevelAlertStateToDismissOperationResponse, err error)
UpdateResourceGroupLevelAlertStateToDismiss ...
func (AlertsClient) UpdateResourceGroupLevelAlertStateToReactivate ¶
func (c AlertsClient) UpdateResourceGroupLevelAlertStateToReactivate(ctx context.Context, id LocationAlertId) (result UpdateResourceGroupLevelAlertStateToReactivateOperationResponse, err error)
UpdateResourceGroupLevelAlertStateToReactivate ...
func (AlertsClient) UpdateResourceGroupLevelStateToResolve ¶
func (c AlertsClient) UpdateResourceGroupLevelStateToResolve(ctx context.Context, id LocationAlertId) (result UpdateResourceGroupLevelStateToResolveOperationResponse, err error)
UpdateResourceGroupLevelStateToResolve ...
func (AlertsClient) UpdateSubscriptionLevelAlertStateToDismiss ¶
func (c AlertsClient) UpdateSubscriptionLevelAlertStateToDismiss(ctx context.Context, id AlertId) (result UpdateSubscriptionLevelAlertStateToDismissOperationResponse, err error)
UpdateSubscriptionLevelAlertStateToDismiss ...
func (AlertsClient) UpdateSubscriptionLevelAlertStateToReactivate ¶
func (c AlertsClient) UpdateSubscriptionLevelAlertStateToReactivate(ctx context.Context, id AlertId) (result UpdateSubscriptionLevelAlertStateToReactivateOperationResponse, err error)
UpdateSubscriptionLevelAlertStateToReactivate ...
func (AlertsClient) UpdateSubscriptionLevelStateToResolve ¶
func (c AlertsClient) UpdateSubscriptionLevelStateToResolve(ctx context.Context, id AlertId) (result UpdateSubscriptionLevelStateToResolveOperationResponse, err error)
UpdateSubscriptionLevelStateToResolve ...
type AzureResourceIdentifier ¶
type AzureResourceIdentifier struct {
AzureResourceId *string `json:"azureResourceId,omitempty"`
}
func (AzureResourceIdentifier) MarshalJSON ¶
func (s AzureResourceIdentifier) MarshalJSON() ([]byte, error)
type Intent ¶
type Intent string
const ( IntentCollection Intent = "Collection" IntentCommandAndControl Intent = "CommandAndControl" IntentCredentialAccess Intent = "CredentialAccess" IntentDefenseEvasion Intent = "DefenseEvasion" IntentDiscovery Intent = "Discovery" IntentExecution Intent = "Execution" IntentExfiltration Intent = "Exfiltration" IntentExploitation Intent = "Exploitation" IntentImpact Intent = "Impact" IntentInitialAccess Intent = "InitialAccess" IntentLateralMovement Intent = "LateralMovement" IntentPersistence Intent = "Persistence" IntentPreAttack Intent = "PreAttack" IntentPrivilegeEscalation Intent = "PrivilegeEscalation" IntentProbing Intent = "Probing" IntentUnknown Intent = "Unknown" )
type ListByResourceGroupCompleteResult ¶
type ListByResourceGroupCompleteResult struct {
Items []Alert
}
type ListByResourceGroupOperationResponse ¶
type ListByResourceGroupOperationResponse struct { HttpResponse *http.Response Model *[]Alert // contains filtered or unexported fields }
func (ListByResourceGroupOperationResponse) HasMore ¶
func (r ListByResourceGroupOperationResponse) HasMore() bool
func (ListByResourceGroupOperationResponse) LoadMore ¶
func (r ListByResourceGroupOperationResponse) LoadMore(ctx context.Context) (resp ListByResourceGroupOperationResponse, err error)
type ListCompleteResult ¶
type ListCompleteResult struct {
Items []Alert
}
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response Model *[]Alert // contains filtered or unexported fields }
func (ListOperationResponse) HasMore ¶
func (r ListOperationResponse) HasMore() bool
func (ListOperationResponse) LoadMore ¶
func (r ListOperationResponse) LoadMore(ctx context.Context) (resp ListOperationResponse, err error)
type ListResourceGroupLevelAlertsByRegionCompleteResult ¶
type ListResourceGroupLevelAlertsByRegionCompleteResult struct {
Items []Alert
}
type ListResourceGroupLevelAlertsByRegionOperationResponse ¶
type ListResourceGroupLevelAlertsByRegionOperationResponse struct { HttpResponse *http.Response Model *[]Alert // contains filtered or unexported fields }
func (ListResourceGroupLevelAlertsByRegionOperationResponse) HasMore ¶
func (r ListResourceGroupLevelAlertsByRegionOperationResponse) HasMore() bool
func (ListResourceGroupLevelAlertsByRegionOperationResponse) LoadMore ¶
func (r ListResourceGroupLevelAlertsByRegionOperationResponse) LoadMore(ctx context.Context) (resp ListResourceGroupLevelAlertsByRegionOperationResponse, err error)
type ListSubscriptionLevelAlertsByRegionCompleteResult ¶
type ListSubscriptionLevelAlertsByRegionCompleteResult struct {
Items []Alert
}
type ListSubscriptionLevelAlertsByRegionOperationResponse ¶
type ListSubscriptionLevelAlertsByRegionOperationResponse struct { HttpResponse *http.Response Model *[]Alert // contains filtered or unexported fields }
func (ListSubscriptionLevelAlertsByRegionOperationResponse) HasMore ¶
func (r ListSubscriptionLevelAlertsByRegionOperationResponse) HasMore() bool
func (ListSubscriptionLevelAlertsByRegionOperationResponse) LoadMore ¶
func (r ListSubscriptionLevelAlertsByRegionOperationResponse) LoadMore(ctx context.Context) (resp ListSubscriptionLevelAlertsByRegionOperationResponse, err error)
type LocationAlertId ¶
type LocationAlertId struct { SubscriptionId string ResourceGroupName string LocationName string AlertName string }
LocationAlertId is a struct representing the Resource ID for a Location Alert
func NewLocationAlertID ¶
func NewLocationAlertID(subscriptionId string, resourceGroupName string, locationName string, alertName string) LocationAlertId
NewLocationAlertID returns a new LocationAlertId struct
func ParseLocationAlertID ¶
func ParseLocationAlertID(input string) (*LocationAlertId, error)
ParseLocationAlertID parses 'input' into a LocationAlertId
func ParseLocationAlertIDInsensitively ¶
func ParseLocationAlertIDInsensitively(input string) (*LocationAlertId, error)
ParseLocationAlertIDInsensitively parses 'input' case-insensitively into a LocationAlertId note: this method should only be used for API response data and not user input
func (LocationAlertId) ID ¶
func (id LocationAlertId) ID() string
ID returns the formatted Location Alert ID
func (LocationAlertId) Segments ¶
func (id LocationAlertId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Location Alert ID
func (LocationAlertId) String ¶
func (id LocationAlertId) String() string
String returns a human-readable description of this Location Alert ID
type LocationId ¶
LocationId is a struct representing the Resource ID for a Location
func NewLocationID ¶
func NewLocationID(subscriptionId string, locationName string) LocationId
NewLocationID returns a new LocationId struct
func ParseLocationID ¶
func ParseLocationID(input string) (*LocationId, error)
ParseLocationID parses 'input' into a LocationId
func ParseLocationIDInsensitively ¶
func ParseLocationIDInsensitively(input string) (*LocationId, error)
ParseLocationIDInsensitively parses 'input' case-insensitively into a LocationId note: this method should only be used for API response data and not user input
func (LocationId) Segments ¶
func (id LocationId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Location ID
func (LocationId) String ¶
func (id LocationId) String() string
String returns a human-readable description of this Location ID
type LogAnalyticsIdentifier ¶
type LogAnalyticsIdentifier struct { AgentId *string `json:"agentId,omitempty"` WorkspaceId *string `json:"workspaceId,omitempty"` WorkspaceResourceGroup *string `json:"workspaceResourceGroup,omitempty"` WorkspaceSubscriptionId *string `json:"workspaceSubscriptionId,omitempty"` }
func (LogAnalyticsIdentifier) MarshalJSON ¶
func (s LogAnalyticsIdentifier) MarshalJSON() ([]byte, error)
type ProviderLocationId ¶
type ProviderLocationId struct { SubscriptionId string ResourceGroupName string LocationName string }
ProviderLocationId is a struct representing the Resource ID for a Provider Location
func NewProviderLocationID ¶
func NewProviderLocationID(subscriptionId string, resourceGroupName string, locationName string) ProviderLocationId
NewProviderLocationID returns a new ProviderLocationId struct
func ParseProviderLocationID ¶
func ParseProviderLocationID(input string) (*ProviderLocationId, error)
ParseProviderLocationID parses 'input' into a ProviderLocationId
func ParseProviderLocationIDInsensitively ¶
func ParseProviderLocationIDInsensitively(input string) (*ProviderLocationId, error)
ParseProviderLocationIDInsensitively parses 'input' case-insensitively into a ProviderLocationId note: this method should only be used for API response data and not user input
func (ProviderLocationId) ID ¶
func (id ProviderLocationId) ID() string
ID returns the formatted Provider Location ID
func (ProviderLocationId) Segments ¶
func (id ProviderLocationId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Provider Location ID
func (ProviderLocationId) String ¶
func (id ProviderLocationId) String() string
String returns a human-readable description of this Provider Location ID
type RawResourceIdentifierImpl ¶ added in v0.20230807.1063129
RawResourceIdentifierImpl is returned when the Discriminated Value doesn't match any of the defined types NOTE: this should only be used when a type isn't defined for this type of Object (as a workaround) and is used only for Deserialization (e.g. this cannot be used as a Request Payload).
type ResourceIdentifier ¶
type ResourceIdentifier interface { }
type ResourceIdentifierType ¶
type ResourceIdentifierType string
const ( ResourceIdentifierTypeAzureResource ResourceIdentifierType = "AzureResource" ResourceIdentifierTypeLogAnalytics ResourceIdentifierType = "LogAnalytics" )
Source Files ¶
- client.go
- constants.go
- id_alert.go
- id_location.go
- id_locationalert.go
- id_providerlocation.go
- method_getresourcegrouplevelalerts_autorest.go
- method_getsubscriptionlevelalert_autorest.go
- method_list_autorest.go
- method_listbyresourcegroup_autorest.go
- method_listresourcegrouplevelalertsbyregion_autorest.go
- method_listsubscriptionlevelalertsbyregion_autorest.go
- method_updateresourcegrouplevelalertstatetodismiss_autorest.go
- method_updateresourcegrouplevelalertstatetoreactivate_autorest.go
- method_updateresourcegrouplevelstatetoresolve_autorest.go
- method_updatesubscriptionlevelalertstatetodismiss_autorest.go
- method_updatesubscriptionlevelalertstatetoreactivate_autorest.go
- method_updatesubscriptionlevelstatetoresolve_autorest.go
- model_alert.go
- model_alertentity.go
- model_alertproperties.go
- model_azureresourceidentifier.go
- model_loganalyticsidentifier.go
- model_resourceidentifier.go
- predicates.go
- version.go