Partager via


MyWorkbookCollection.CreateOrUpdate Méthode

Définition

Créez un classeur privé.

  • Chemin/abonnements de la demande/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/myWorkbooks/{resourceName}
  • IdMyWorkbooks_CreateOrUpdate d’opération
public virtual Azure.ResourceManager.ArmOperation<Azure.ResourceManager.ApplicationInsights.MyWorkbookResource> CreateOrUpdate (Azure.WaitUntil waitUntil, string resourceName, Azure.ResourceManager.ApplicationInsights.MyWorkbookData data, string sourceId = default, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateOrUpdate : Azure.WaitUntil * string * Azure.ResourceManager.ApplicationInsights.MyWorkbookData * string * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.ApplicationInsights.MyWorkbookResource>
override this.CreateOrUpdate : Azure.WaitUntil * string * Azure.ResourceManager.ApplicationInsights.MyWorkbookData * string * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.ApplicationInsights.MyWorkbookResource>
Public Overridable Function CreateOrUpdate (waitUntil As WaitUntil, resourceName As String, data As MyWorkbookData, Optional sourceId As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As ArmOperation(Of MyWorkbookResource)

Paramètres

waitUntil
WaitUntil

Completed si la méthode doit attendre pour retourner jusqu’à ce que l’opération de longue durée soit terminée sur le service ; Started si elle doit être retournée après le démarrage de l’opération. Pour plus d’informations sur les opérations de longue durée, consultez Exemples d’opérations de Long-Running Azure.Core.

resourceName
String

Nom de la ressource du composant Application Insights.

data
MyWorkbookData

Propriétés qui doivent être spécifiées pour créer un classeur privé.

sourceId
String

ID de ressource Azure qui récupère tous les classeurs liés.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

resourceName est une chaîne vide et devait être non vide.

resourceName ou data est null.

S’applique à