Freigeben über


ResourceGraph.GraphQueryCreateOrUpdateWithResult Method

Definition

public System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.ResourceGraph.Models.IGraphQueryResource> GraphQueryCreateOrUpdateWithResult(string subscriptionId, string resourceGroupName, string resourceName, Microsoft.Azure.PowerShell.Cmdlets.ResourceGraph.Models.IGraphQueryResource body, Microsoft.Azure.PowerShell.Cmdlets.ResourceGraph.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ResourceGraph.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ResourceGraph.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ResourceGraph.Runtime.SerializationMode.IncludeCreateOrUpdate);
member this.GraphQueryCreateOrUpdateWithResult : string * string * string * Microsoft.Azure.PowerShell.Cmdlets.ResourceGraph.Models.IGraphQueryResource * Microsoft.Azure.PowerShell.Cmdlets.ResourceGraph.Runtime.IEventListener * Microsoft.Azure.PowerShell.Cmdlets.ResourceGraph.Runtime.ISendAsync * Microsoft.Azure.PowerShell.Cmdlets.ResourceGraph.Runtime.SerializationMode -> System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.ResourceGraph.Models.IGraphQueryResource>
Public Function GraphQueryCreateOrUpdateWithResult (subscriptionId As String, resourceGroupName As String, resourceName As String, body As IGraphQueryResource, eventListener As IEventListener, sender As ISendAsync, Optional serializationMode As SerializationMode = Microsoft.Azure.PowerShell.Cmdlets.ResourceGraph.Runtime.SerializationMode.IncludeCreateOrUpdate) As Task(Of IGraphQueryResource)

Parameters

subscriptionId
String
resourceGroupName
String
resourceName
String
eventListener
IEventListener
sender
ISendAsync
serializationMode
SerializationMode

Returns

Applies to