Share via


CacheContract Constructors

Definition

Overloads

CacheContract()

Initializes a new instance of the CacheContract class.

CacheContract(String, String, String, String, String, String, String)

Initializes a new instance of the CacheContract class.

CacheContract()

Initializes a new instance of the CacheContract class.

public CacheContract ();
Public Sub New ()

Applies to

CacheContract(String, String, String, String, String, String, String)

Initializes a new instance of the CacheContract class.

public CacheContract (string connectionString, string useFromLocation, string id = default, string name = default, string type = default, string description = default, string resourceId = default);
new Microsoft.Azure.Management.ApiManagement.Models.CacheContract : string * string * string * string * string * string * string -> Microsoft.Azure.Management.ApiManagement.Models.CacheContract
Public Sub New (connectionString As String, useFromLocation As String, Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional description As String = Nothing, Optional resourceId As String = Nothing)

Parameters

connectionString
String

Runtime connection string to cache

useFromLocation
String

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

id
String

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

name
String

The name of the resource

type
String

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

description
String

Cache description

resourceId
String

Original uri of entity in external system cache points to

Applies to