/
ApiManagementCacheData.cs
51 lines (45 loc) · 2.28 KB
/
ApiManagementCacheData.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using Azure.Core;
using Azure.ResourceManager.Models;
namespace Azure.ResourceManager.ApiManagement
{
/// <summary>
/// A class representing the ApiManagementCache data model.
/// Cache details.
/// </summary>
public partial class ApiManagementCacheData : ResourceData
{
/// <summary> Initializes a new instance of ApiManagementCacheData. </summary>
public ApiManagementCacheData()
{
}
/// <summary> Initializes a new instance of ApiManagementCacheData. </summary>
/// <param name="id"> The id. </param>
/// <param name="name"> The name. </param>
/// <param name="resourceType"> The resourceType. </param>
/// <param name="systemData"> The systemData. </param>
/// <param name="description"> Cache description. </param>
/// <param name="connectionString"> Runtime connection string to cache. </param>
/// <param name="useFromLocation"> Location identifier to use cache from (should be either 'default' or valid Azure region identifier). </param>
/// <param name="resourceUri"> Original uri of entity in external system cache points to. </param>
internal ApiManagementCacheData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string description, string connectionString, string useFromLocation, Uri resourceUri) : base(id, name, resourceType, systemData)
{
Description = description;
ConnectionString = connectionString;
UseFromLocation = useFromLocation;
ResourceUri = resourceUri;
}
/// <summary> Cache description. </summary>
public string Description { get; set; }
/// <summary> Runtime connection string to cache. </summary>
public string ConnectionString { get; set; }
/// <summary> Location identifier to use cache from (should be either 'default' or valid Azure region identifier). </summary>
public string UseFromLocation { get; set; }
/// <summary> Original uri of entity in external system cache points to. </summary>
public Uri ResourceUri { get; set; }
}
}