EventGridModelFactory.AvsClusterFailedEventData Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of AvsClusterFailedEventData.
public static Azure.Messaging.EventGrid.SystemEvents.AvsClusterFailedEventData AvsClusterFailedEventData (string operationId = default, System.Collections.Generic.IEnumerable<string> addedHostNames = default, System.Collections.Generic.IEnumerable<string> removedHostNames = default, System.Collections.Generic.IEnumerable<string> inMaintenanceHostNames = default, string failureMessage = default);
static member AvsClusterFailedEventData : string * seq<string> * seq<string> * seq<string> * string -> Azure.Messaging.EventGrid.SystemEvents.AvsClusterFailedEventData
Public Shared Function AvsClusterFailedEventData (Optional operationId As String = Nothing, Optional addedHostNames As IEnumerable(Of String) = Nothing, Optional removedHostNames As IEnumerable(Of String) = Nothing, Optional inMaintenanceHostNames As IEnumerable(Of String) = Nothing, Optional failureMessage As String = Nothing) As AvsClusterFailedEventData
Parameters
- operationId
- String
Id of the operation that caused this event.
- addedHostNames
- IEnumerable<String>
Hosts added to the cluster in this event, if any.
- removedHostNames
- IEnumerable<String>
Hosts removed to the cluster in this event, if any.
- inMaintenanceHostNames
- IEnumerable<String>
Hosts in Maintenance mode in the cluster, if any.
- failureMessage
- String
Failure reason of an event.
Returns
A new AvsClusterFailedEventData instance for mocking.
Applies to
Azure SDK for .NET
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for