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) (result ListOperationResponse, err error)
- func (c AlertsClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result 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, ...) (result 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, ...) (result ListCompleteResult, err error)
- func (c AlertsClient) ListResourceGroupLevelAlertsByRegion(ctx context.Context, id ProviderLocationId) (result 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) (result ListResourceGroupLevelAlertsByRegionCompleteResult, err error)
- func (c AlertsClient) ListSubscriptionLevelAlertsByRegion(ctx context.Context, id LocationId) (result 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) (result 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 BaseResourceIdentifierImpl
- type GetResourceGroupLevelAlertsOperationResponse
- type GetSubscriptionLevelAlertOperationResponse
- type Intent
- type ListByResourceGroupCompleteResult
- type ListByResourceGroupCustomPager
- type ListByResourceGroupOperationResponse
- type ListCompleteResult
- type ListCustomPager
- type ListOperationResponse
- type ListResourceGroupLevelAlertsByRegionCompleteResult
- type ListResourceGroupLevelAlertsByRegionCustomPager
- type ListResourceGroupLevelAlertsByRegionOperationResponse
- type ListSubscriptionLevelAlertsByRegionCompleteResult
- type ListSubscriptionLevelAlertsByRegionCustomPager
- 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) FromParseResult ¶
func (id *AlertId) FromParseResult(input resourceids.ParseResult) error
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" )
func (*AlertSeverity) UnmarshalJSON ¶ added in v0.20240228.1142829
func (s *AlertSeverity) UnmarshalJSON(bytes []byte) error
type AlertStatus ¶
type AlertStatus string
const ( AlertStatusActive AlertStatus = "Active" AlertStatusDismissed AlertStatus = "Dismissed" AlertStatusResolved AlertStatus = "Resolved" )
func (*AlertStatus) UnmarshalJSON ¶ added in v0.20240228.1142829
func (s *AlertStatus) UnmarshalJSON(bytes []byte) error
type AlertsClient ¶
type AlertsClient struct {
Client *resourcemanager.Client
}
func NewAlertsClientWithBaseURI ¶
func NewAlertsClientWithBaseURI(sdkApi sdkEnv.Api) (*AlertsClient, error)
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) (result ListOperationResponse, err error)
List ...
func (AlertsClient) ListByResourceGroup ¶
func (c AlertsClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result ListByResourceGroupOperationResponse, err error)
ListByResourceGroup ...
func (AlertsClient) ListByResourceGroupComplete ¶
func (c AlertsClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
ListByResourceGroupComplete retrieves all the results into a single object
func (AlertsClient) ListByResourceGroupCompleteMatchingPredicate ¶
func (c AlertsClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate AlertOperationPredicate) (result ListByResourceGroupCompleteResult, err error)
ListByResourceGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (AlertsClient) ListComplete ¶
func (c AlertsClient) ListComplete(ctx context.Context, id commonids.SubscriptionId) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (AlertsClient) ListCompleteMatchingPredicate ¶
func (c AlertsClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate AlertOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (AlertsClient) ListResourceGroupLevelAlertsByRegion ¶
func (c AlertsClient) ListResourceGroupLevelAlertsByRegion(ctx context.Context, id ProviderLocationId) (result ListResourceGroupLevelAlertsByRegionOperationResponse, err error)
ListResourceGroupLevelAlertsByRegion ...
func (AlertsClient) ListResourceGroupLevelAlertsByRegionComplete ¶
func (c AlertsClient) ListResourceGroupLevelAlertsByRegionComplete(ctx context.Context, id ProviderLocationId) (ListResourceGroupLevelAlertsByRegionCompleteResult, error)
ListResourceGroupLevelAlertsByRegionComplete retrieves all the results into a single object
func (AlertsClient) ListResourceGroupLevelAlertsByRegionCompleteMatchingPredicate ¶
func (c AlertsClient) ListResourceGroupLevelAlertsByRegionCompleteMatchingPredicate(ctx context.Context, id ProviderLocationId, predicate AlertOperationPredicate) (result ListResourceGroupLevelAlertsByRegionCompleteResult, err error)
ListResourceGroupLevelAlertsByRegionCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (AlertsClient) ListSubscriptionLevelAlertsByRegion ¶
func (c AlertsClient) ListSubscriptionLevelAlertsByRegion(ctx context.Context, id LocationId) (result ListSubscriptionLevelAlertsByRegionOperationResponse, err error)
ListSubscriptionLevelAlertsByRegion ...
func (AlertsClient) ListSubscriptionLevelAlertsByRegionComplete ¶
func (c AlertsClient) ListSubscriptionLevelAlertsByRegionComplete(ctx context.Context, id LocationId) (ListSubscriptionLevelAlertsByRegionCompleteResult, error)
ListSubscriptionLevelAlertsByRegionComplete retrieves all the results into a single object
func (AlertsClient) ListSubscriptionLevelAlertsByRegionCompleteMatchingPredicate ¶
func (c AlertsClient) ListSubscriptionLevelAlertsByRegionCompleteMatchingPredicate(ctx context.Context, id LocationId, predicate AlertOperationPredicate) (result ListSubscriptionLevelAlertsByRegionCompleteResult, err error)
ListSubscriptionLevelAlertsByRegionCompleteMatchingPredicate retrieves all the results and then applies 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"` Type ResourceIdentifierType `json:"type"` }
func (AzureResourceIdentifier) MarshalJSON ¶
func (s AzureResourceIdentifier) MarshalJSON() ([]byte, error)
func (AzureResourceIdentifier) ResourceIdentifier ¶ added in v0.20240920.1135249
func (s AzureResourceIdentifier) ResourceIdentifier() BaseResourceIdentifierImpl
type BaseResourceIdentifierImpl ¶ added in v0.20240920.1135249
type BaseResourceIdentifierImpl struct {
Type ResourceIdentifierType `json:"type"`
}
func (BaseResourceIdentifierImpl) ResourceIdentifier ¶ added in v0.20240920.1135249
func (s BaseResourceIdentifierImpl) ResourceIdentifier() BaseResourceIdentifierImpl
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" )
func (*Intent) UnmarshalJSON ¶ added in v0.20240228.1142829
type ListByResourceGroupCustomPager ¶ added in v0.20240628.1153531
func (*ListByResourceGroupCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListByResourceGroupCustomPager) NextPageLink() *odata.Link
type ListCompleteResult ¶
type ListCustomPager ¶ added in v0.20240628.1153531
func (*ListCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListCustomPager) NextPageLink() *odata.Link
type ListOperationResponse ¶
type ListResourceGroupLevelAlertsByRegionCustomPager ¶ added in v0.20240628.1153531
type ListResourceGroupLevelAlertsByRegionCustomPager struct {
NextLink *odata.Link `json:"nextLink"`
}
func (*ListResourceGroupLevelAlertsByRegionCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListResourceGroupLevelAlertsByRegionCustomPager) NextPageLink() *odata.Link
type ListSubscriptionLevelAlertsByRegionCustomPager ¶ added in v0.20240628.1153531
type ListSubscriptionLevelAlertsByRegionCustomPager struct {
NextLink *odata.Link `json:"nextLink"`
}
func (*ListSubscriptionLevelAlertsByRegionCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListSubscriptionLevelAlertsByRegionCustomPager) NextPageLink() *odata.Link
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) FromParseResult ¶
func (id *LocationAlertId) FromParseResult(input resourceids.ParseResult) error
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) FromParseResult ¶
func (id *LocationId) FromParseResult(input resourceids.ParseResult) error
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"` Type ResourceIdentifierType `json:"type"` }
func (LogAnalyticsIdentifier) MarshalJSON ¶
func (s LogAnalyticsIdentifier) MarshalJSON() ([]byte, error)
func (LogAnalyticsIdentifier) ResourceIdentifier ¶ added in v0.20240920.1135249
func (s LogAnalyticsIdentifier) ResourceIdentifier() BaseResourceIdentifierImpl
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) FromParseResult ¶
func (id *ProviderLocationId) FromParseResult(input resourceids.ParseResult) error
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 ¶
type RawResourceIdentifierImpl struct { Type string Values map[string]interface{} // contains filtered or unexported fields }
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).
func (RawResourceIdentifierImpl) ResourceIdentifier ¶ added in v0.20240920.1135249
func (s RawResourceIdentifierImpl) ResourceIdentifier() BaseResourceIdentifierImpl
type ResourceIdentifier ¶
type ResourceIdentifier interface {
ResourceIdentifier() BaseResourceIdentifierImpl
}
func UnmarshalResourceIdentifierImplementation ¶ added in v0.20240920.1135249
func UnmarshalResourceIdentifierImplementation(input []byte) (ResourceIdentifier, error)
type ResourceIdentifierType ¶
type ResourceIdentifierType string
const ( ResourceIdentifierTypeAzureResource ResourceIdentifierType = "AzureResource" ResourceIdentifierTypeLogAnalytics ResourceIdentifierType = "LogAnalytics" )
func (*ResourceIdentifierType) UnmarshalJSON ¶ added in v0.20240228.1142829
func (s *ResourceIdentifierType) UnmarshalJSON(bytes []byte) error
Source Files ¶
- client.go
- constants.go
- id_alert.go
- id_location.go
- id_locationalert.go
- id_providerlocation.go
- method_getresourcegrouplevelalerts.go
- method_getsubscriptionlevelalert.go
- method_list.go
- method_listbyresourcegroup.go
- method_listresourcegrouplevelalertsbyregion.go
- method_listsubscriptionlevelalertsbyregion.go
- method_updateresourcegrouplevelalertstatetodismiss.go
- method_updateresourcegrouplevelalertstatetoreactivate.go
- method_updateresourcegrouplevelstatetoresolve.go
- method_updatesubscriptionlevelalertstatetodismiss.go
- method_updatesubscriptionlevelalertstatetoreactivate.go
- method_updatesubscriptionlevelstatetoresolve.go
- model_alert.go
- model_alertentity.go
- model_alertproperties.go
- model_azureresourceidentifier.go
- model_loganalyticsidentifier.go
- model_resourceidentifier.go
- predicates.go
- version.go