FrontDoorNetworkExperimentProfileCollection.CreateOrUpdateAsync Método
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Crea un perfil networkExperiment
- Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/NetworkExperimentProfiles/{profileName}
- IdNetworkExperimentProfiles_CreateOrUpdate de operaciones
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.FrontDoor.FrontDoorNetworkExperimentProfileResource>> CreateOrUpdateAsync (Azure.WaitUntil waitUntil, string profileName, Azure.ResourceManager.FrontDoor.FrontDoorNetworkExperimentProfileData data, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateOrUpdateAsync : Azure.WaitUntil * string * Azure.ResourceManager.FrontDoor.FrontDoorNetworkExperimentProfileData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.FrontDoor.FrontDoorNetworkExperimentProfileResource>>
override this.CreateOrUpdateAsync : Azure.WaitUntil * string * Azure.ResourceManager.FrontDoor.FrontDoorNetworkExperimentProfileData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.FrontDoor.FrontDoorNetworkExperimentProfileResource>>
Public Overridable Function CreateOrUpdateAsync (waitUntil As WaitUntil, profileName As String, data As FrontDoorNetworkExperimentProfileData, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation(Of FrontDoorNetworkExperimentProfileResource))
Parámetros
- waitUntil
- WaitUntil
Completed si el método debe esperar a que se devuelva hasta que se haya completado la operación de ejecución prolongada en el servicio; Started si debe devolverse después de iniciar la operación. Para más información sobre las operaciones de larga duración, consulte Ejemplos de operaciones de azure.Core Long-Running.
- profileName
- String
Identificador de perfil asociado al inquilino y al asociado.
Un perfil de experimento de red.
- cancellationToken
- CancellationToken
Token de cancelación que se va a usar.
Devoluciones
Excepciones
profileName
es una cadena vacía y se esperaba que no estuviera vacía.
profileName
o data
es null.
Se aplica a
Azure SDK for .NET