-
-
Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy pathAzMysqlFlexibleServerRestoreOptions.Generated.cs
More file actions
143 lines (119 loc) · 6.1 KB
/
AzMysqlFlexibleServerRestoreOptions.Generated.cs
File metadata and controls
143 lines (119 loc) · 6.1 KB
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
// <auto-generated>
// This file was generated by ModularPipelines.OptionsGenerator.
// Do not edit this file manually.
// </auto-generated>
#nullable enable
using System.CodeDom.Compiler;
using System.Diagnostics.CodeAnalysis;
using ModularPipelines.Attributes;
using ModularPipelines.Azure.Options;
namespace ModularPipelines.Azure.Options;
/// <summary>
/// Restore a flexible server from backup.
/// </summary>
[GeneratedCode("ModularPipelines.OptionsGenerator", "")]
[ExcludeFromCodeCoverage]
[CliSubCommand("mysql", "flexible-server", "restore")]
public record AzMysqlFlexibleServerRestoreOptions : AzOptions
{
/// <summary>
/// Enable or disable accelerated logs. Only support for Business Critical tier. Default value is Enabled. Allowed values: Disabled, Enabled.
/// </summary>
[CliFlag("--accelerated-logs")]
public bool? AcceleratedLogs { get; set; }
/// <summary>
/// The IP address prefix to use when creating a new virtual network in CIDR format. Default value is 10.0.0.0/16.
/// </summary>
[CliFlag("--address-prefixes")]
public bool? AddressPrefixes { get; set; }
/// <summary>
/// The number of days a backup is retained. Range of 1 to 35 days. Default is 7 days.
/// </summary>
[CliFlag("--backup-retention")]
public bool? BackupRetention { get; set; }
/// <summary>
/// The port of the database. Default value is 3306.
/// </summary>
[CliFlag("--database-port")]
public bool? DatabasePort { get; set; }
/// <summary>
/// Enable or disable Auto scale IOPS configuration for both the source and the newly restored server to enable faster restore. Allowed values: Disabled, Enabled.
/// </summary>
[CliFlag("--faster-restore")]
public bool? FasterRestore { get; set; }
/// <summary>
/// Whether or not geo redundant backup is enabled. Allowed values: Disabled, Enabled.
/// </summary>
[CliFlag("--geo-redundant-backup")]
public bool? GeoRedundantBackup { get; set; }
/// <summary>
/// Do not wait for the long-running operation to finish.
/// </summary>
[CliFlag("--no-wait")]
public bool? NoWait { get; set; }
/// <summary>
/// This parameter only applies if you are creating cross region replica server with private access. For in-region read replica with private access, source server settings are carried over and this parameter is ignored. The name or id of new or existing private dns zone. You can use the private dns zone from same resource group, different resource group, or different subscription. If you want to use a zone from different resource group or subscription, please provide resource Id. CLI creates a new private dns zone within the same resource group as virtual network if not provided by users.
/// </summary>
[CliFlag("--private-dns-zone")]
public bool? PrivateDnsZone { get; set; }
/// <summary>
/// Determines the public access. Allowed values: Disabled,
/// </summary>
[CliFlag("--public-access")]
public bool? PublicAccess { get; set; }
/// <summary>
/// The point in time in UTC to restore from (ISO8601 format), e.g., 2017-04-26T02:10:00+00:00The default value is set to current time. Default: 2026-04-26T03:26:32+00:00.
/// </summary>
[CliFlag("--restore-time")]
public bool? RestoreTime { get; set; }
/// <summary>
/// The name of the compute SKU. Follows the convention Standard_{VM name}. Examples: Standard_B1ms.
/// </summary>
[CliFlag("--sku-name")]
public bool? SkuName { get; set; }
/// <summary>
/// Enable or disable autogrow of the storage. Default value is Enabled. Allowed values: Disabled, Enabled.
/// </summary>
[CliFlag("--storage-auto-grow")]
public bool? StorageAutoGrow { get; set; }
/// <summary>
/// The storage capacity of the server. Minimum is 32 GiB and max is 16 TiB.
/// </summary>
[CliFlag("--storage-size")]
public bool? StorageSize { get; set; }
/// <summary>
/// Name or resource ID of a new or existing subnet. This parameter only applies if you are creating cross region replica server with private access. For in-region read replica with private access, source server settings are carried over and this parameter is ignored. If you want to use a subnet from different resource group or subscription, please provide resource ID instead of name. Please note that the subnet will be delegated to flexibleServers. After delegation, this subnet cannot be used for any other type of
/// </summary>
[CliFlag("--subnet")]
public bool? Subnet { get; set; }
/// <summary>
/// The subnet IP address prefix to use when creating a new subnet in CIDR format. Default value is 10.0.0.0/24.
/// </summary>
[CliFlag("--subnet-prefixes")]
public bool? SubnetPrefixes { get; set; }
/// <summary>
/// Space-separated tags: key[=value] [key[=value] ...]. Use '' to clear existing tags.
/// </summary>
[CliFlag("--tags")]
public bool? Tags { get; set; }
/// <summary>
/// Compute tier of the server. Accepted values: Burstable,
/// </summary>
[CliFlag("--tier")]
public bool? Tier { get; set; }
/// <summary>
/// Name or ID of a new or existing virtual network. This parameter only applies if you are creating cross region replica server with private access. For in-region read replica with private access, source server settings are carried over and this parameter is ignored. If you want to use a vnet from different resource group or subscription, please provide a resource ID. The name must be between 2 to 64 characters. The name must begin with a letter or number, end with a letter, number or underscore, and may contain only letters, numbers, underscores, periods, or hyphens.
/// </summary>
[CliFlag("--vnet")]
public bool? Vnet { get; set; }
/// <summary>
/// Do not prompt for confirmation.
/// </summary>
[CliFlag("--yes", ShortForm = "-y")]
public bool? Yes { get; set; }
/// <summary>
/// Availability zone into which to provision the resource.
/// </summary>
[CliFlag("--zone", ShortForm = "-z")]
public bool? Zone { get; set; }
}