Compartir a través de


CacheOperationsExtensions.CreateOrUpdate Método

Definición

Crea o actualiza una memoria caché externa para su uso en la instancia de API Management https://docs.microsoft.com/en-us/azure/api-management/api-management-howto-cache-external

public static Microsoft.Azure.Management.ApiManagement.Models.CacheContract CreateOrUpdate (this Microsoft.Azure.Management.ApiManagement.ICacheOperations operations, string resourceGroupName, string serviceName, string cacheId, Microsoft.Azure.Management.ApiManagement.Models.CacheContract parameters, string ifMatch = default);
static member CreateOrUpdate : Microsoft.Azure.Management.ApiManagement.ICacheOperations * string * string * string * Microsoft.Azure.Management.ApiManagement.Models.CacheContract * string -> Microsoft.Azure.Management.ApiManagement.Models.CacheContract
<Extension()>
Public Function CreateOrUpdate (operations As ICacheOperations, resourceGroupName As String, serviceName As String, cacheId As String, parameters As CacheContract, Optional ifMatch As String = Nothing) As CacheContract

Parámetros

operations
ICacheOperations

El grupo de operaciones de este método de extensión.

resourceGroupName
String

Nombre del grupo de recursos.

serviceName
String

Nombre del servicio API Management.

cacheId
String

Identificador de la entidad Caché. Identificador de caché (debe ser "predeterminado" o un identificador de región de Azure válido).

parameters
CacheContract

Crear o actualizar parámetros.

ifMatch
String

ETag de la entidad. No es necesario al crear una entidad, pero es necesario al actualizar una entidad.

Devoluciones

Se aplica a