-
Notifications
You must be signed in to change notification settings - Fork 4.6k
/
MapsAccountPatch.cs
54 lines (49 loc) · 2.76 KB
/
MapsAccountPatch.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
52
53
54
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using System.Collections.Generic;
using Azure.Core;
using Azure.ResourceManager.Models;
namespace Azure.ResourceManager.Maps.Models
{
/// <summary> Parameters used to update an existing Maps Account. </summary>
public partial class MapsAccountPatch
{
/// <summary> Initializes a new instance of <see cref="MapsAccountPatch"/>. </summary>
public MapsAccountPatch()
{
Tags = new ChangeTrackingDictionary<string, string>();
LinkedResources = new ChangeTrackingList<MapsLinkedResource>();
}
/// <summary> Gets or sets a list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. </summary>
public IDictionary<string, string> Tags { get; }
/// <summary> Get or Set Kind property. </summary>
public MapsAccountKind? Kind { get; set; }
/// <summary> The SKU of this account. </summary>
public MapsSku Sku { get; set; }
/// <summary> Sets the identity property for maps account. </summary>
public ManagedServiceIdentity Identity { get; set; }
/// <summary> A unique identifier for the maps account. </summary>
public Guid? UniqueId { get; }
/// <summary> Allows toggle functionality on Azure Policy to disable Azure Maps local authentication support. This will disable Shared Keys authentication from any usage. </summary>
public bool? DisableLocalAuth { get; set; }
/// <summary> The provisioning state of the Map account resource. </summary>
public string ProvisioningState { get; }
/// <summary> Sets the resources to be used for Managed Identities based operations for the Map account resource. </summary>
public IList<MapsLinkedResource> LinkedResources { get; }
/// <summary> Specifies CORS rules for the Blob service. You can include up to five CorsRule elements in the request. If no CorsRule elements are included in the request body, all CORS rules will be deleted, and CORS will be disabled for the Blob service. </summary>
internal CorsRules Cors { get; set; }
/// <summary> The list of CORS rules. You can include up to five CorsRule elements in the request. </summary>
public IList<MapsCorsRule> CorsRulesValue
{
get
{
if (Cors is null)
Cors = new CorsRules();
return Cors.CorsRulesValue;
}
}
}
}