共用方式為


ArmApiManagementModelFactory.ApiManagementCacheData Method

Definition

Initializes a new instance of ApiManagementCacheData.

public static Azure.ResourceManager.ApiManagement.ApiManagementCacheData ApiManagementCacheData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string description = default, string connectionString = default, string useFromLocation = default, Uri resourceUri = default);
static member ApiManagementCacheData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * string * string * Uri -> Azure.ResourceManager.ApiManagement.ApiManagementCacheData
Public Shared Function ApiManagementCacheData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional description As String = Nothing, Optional connectionString As String = Nothing, Optional useFromLocation As String = Nothing, Optional resourceUri As Uri = Nothing) As ApiManagementCacheData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

description
String

Cache description.

connectionString
String

Runtime connection string to cache.

useFromLocation
String

Location identifier to use cache from (should be either 'default' or valid Azure region identifier).

resourceUri
Uri

Original uri of entity in external system cache points to.

Returns

A new ApiManagementCacheData instance for mocking.

Applies to