@azure/arm-privatedns 2.1.1 → 3.0.0-alpha.20220124.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (139) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/LICENSE +21 -0
  3. package/README.md +69 -83
  4. package/dist/index.js +2295 -0
  5. package/dist/index.js.map +1 -0
  6. package/dist/index.min.js +1 -0
  7. package/dist/index.min.js.map +1 -0
  8. package/dist-esm/src/index.d.ts +5 -0
  9. package/dist-esm/src/index.d.ts.map +1 -0
  10. package/dist-esm/src/index.js +12 -0
  11. package/dist-esm/src/index.js.map +1 -0
  12. package/dist-esm/src/lroImpl.d.ts +16 -0
  13. package/dist-esm/src/lroImpl.d.ts.map +1 -0
  14. package/dist-esm/src/lroImpl.js +29 -0
  15. package/dist-esm/src/lroImpl.js.map +1 -0
  16. package/dist-esm/src/models/index.d.ts +470 -0
  17. package/dist-esm/src/models/index.d.ts.map +1 -0
  18. package/dist-esm/src/models/index.js +24 -0
  19. package/dist-esm/src/models/index.js.map +1 -0
  20. package/dist-esm/src/models/mappers.d.ts +22 -0
  21. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  22. package/{esm → dist-esm/src}/models/mappers.js +234 -205
  23. package/dist-esm/src/models/mappers.js.map +1 -0
  24. package/dist-esm/src/models/parameters.d.ts +20 -0
  25. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  26. package/{esm → dist-esm/src}/models/parameters.js +91 -77
  27. package/dist-esm/src/models/parameters.js.map +1 -0
  28. package/{esm → dist-esm/src}/operations/index.d.ts +0 -0
  29. package/dist-esm/src/operations/index.d.ts.map +1 -0
  30. package/{esm → dist-esm/src}/operations/index.js +3 -5
  31. package/dist-esm/src/operations/index.js.map +1 -0
  32. package/dist-esm/src/operations/privateZones.d.ts +114 -0
  33. package/dist-esm/src/operations/privateZones.d.ts.map +1 -0
  34. package/dist-esm/src/operations/privateZones.js +516 -0
  35. package/dist-esm/src/operations/privateZones.js.map +1 -0
  36. package/dist-esm/src/operations/recordSets.d.ts +105 -0
  37. package/dist-esm/src/operations/recordSets.d.ts.map +1 -0
  38. package/dist-esm/src/operations/recordSets.js +451 -0
  39. package/dist-esm/src/operations/recordSets.js.map +1 -0
  40. package/dist-esm/src/operations/virtualNetworkLinks.d.ts +103 -0
  41. package/dist-esm/src/operations/virtualNetworkLinks.d.ts.map +1 -0
  42. package/dist-esm/src/operations/virtualNetworkLinks.js +442 -0
  43. package/dist-esm/src/operations/virtualNetworkLinks.js.map +1 -0
  44. package/dist-esm/src/operationsInterfaces/index.d.ts +4 -0
  45. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  46. package/dist-esm/src/operationsInterfaces/index.js +11 -0
  47. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  48. package/dist-esm/src/operationsInterfaces/privateZones.d.ts +78 -0
  49. package/dist-esm/src/operationsInterfaces/privateZones.d.ts.map +1 -0
  50. package/dist-esm/src/operationsInterfaces/privateZones.js +9 -0
  51. package/dist-esm/src/operationsInterfaces/privateZones.js.map +1 -0
  52. package/dist-esm/src/operationsInterfaces/recordSets.d.ts +61 -0
  53. package/dist-esm/src/operationsInterfaces/recordSets.d.ts.map +1 -0
  54. package/dist-esm/src/operationsInterfaces/recordSets.js +9 -0
  55. package/dist-esm/src/operationsInterfaces/recordSets.js.map +1 -0
  56. package/dist-esm/src/operationsInterfaces/virtualNetworkLinks.d.ts +78 -0
  57. package/dist-esm/src/operationsInterfaces/virtualNetworkLinks.d.ts.map +1 -0
  58. package/dist-esm/src/operationsInterfaces/virtualNetworkLinks.js +9 -0
  59. package/dist-esm/src/operationsInterfaces/virtualNetworkLinks.js.map +1 -0
  60. package/dist-esm/src/privateDnsManagementClient.d.ts +21 -0
  61. package/dist-esm/src/privateDnsManagementClient.d.ts.map +1 -0
  62. package/dist-esm/src/privateDnsManagementClient.js +54 -0
  63. package/dist-esm/src/privateDnsManagementClient.js.map +1 -0
  64. package/dist-esm/test/sampleTest.d.ts +2 -0
  65. package/dist-esm/test/sampleTest.d.ts.map +1 -0
  66. package/dist-esm/test/sampleTest.js +40 -0
  67. package/dist-esm/test/sampleTest.js.map +1 -0
  68. package/package.json +82 -23
  69. package/review/arm-privatedns.api.md +435 -0
  70. package/rollup.config.js +181 -30
  71. package/src/index.ts +12 -0
  72. package/src/lroImpl.ts +34 -0
  73. package/src/models/index.ts +400 -956
  74. package/src/models/mappers.ts +248 -214
  75. package/src/models/parameters.ts +117 -78
  76. package/src/operations/index.ts +3 -5
  77. package/src/operations/privateZones.ts +521 -325
  78. package/src/operations/recordSets.ts +382 -348
  79. package/src/operations/virtualNetworkLinks.ts +475 -261
  80. package/src/operationsInterfaces/index.ts +11 -0
  81. package/src/operationsInterfaces/privateZones.ts +145 -0
  82. package/src/operationsInterfaces/recordSets.ts +117 -0
  83. package/src/operationsInterfaces/virtualNetworkLinks.ts +150 -0
  84. package/src/privateDnsManagementClient.ts +75 -40
  85. package/tsconfig.json +20 -7
  86. package/types/arm-privatedns.d.ts +768 -0
  87. package/types/tsdoc-metadata.json +11 -0
  88. package/dist/arm-privatedns.js +0 -1948
  89. package/dist/arm-privatedns.js.map +0 -1
  90. package/dist/arm-privatedns.min.js +0 -1
  91. package/dist/arm-privatedns.min.js.map +0 -1
  92. package/esm/models/index.d.ts +0 -1031
  93. package/esm/models/index.d.ts.map +0 -1
  94. package/esm/models/index.js +0 -8
  95. package/esm/models/index.js.map +0 -1
  96. package/esm/models/mappers.d.ts +0 -22
  97. package/esm/models/mappers.d.ts.map +0 -1
  98. package/esm/models/mappers.js.map +0 -1
  99. package/esm/models/parameters.d.ts +0 -15
  100. package/esm/models/parameters.d.ts.map +0 -1
  101. package/esm/models/parameters.js.map +0 -1
  102. package/esm/models/privateZonesMappers.d.ts +0 -2
  103. package/esm/models/privateZonesMappers.d.ts.map +0 -1
  104. package/esm/models/privateZonesMappers.js +0 -9
  105. package/esm/models/privateZonesMappers.js.map +0 -1
  106. package/esm/models/recordSetsMappers.d.ts +0 -2
  107. package/esm/models/recordSetsMappers.d.ts.map +0 -1
  108. package/esm/models/recordSetsMappers.js +0 -9
  109. package/esm/models/recordSetsMappers.js.map +0 -1
  110. package/esm/models/virtualNetworkLinksMappers.d.ts +0 -2
  111. package/esm/models/virtualNetworkLinksMappers.d.ts.map +0 -1
  112. package/esm/models/virtualNetworkLinksMappers.js +0 -9
  113. package/esm/models/virtualNetworkLinksMappers.js.map +0 -1
  114. package/esm/operations/index.d.ts.map +0 -1
  115. package/esm/operations/index.js.map +0 -1
  116. package/esm/operations/privateZones.d.ts +0 -165
  117. package/esm/operations/privateZones.d.ts.map +0 -1
  118. package/esm/operations/privateZones.js +0 -347
  119. package/esm/operations/privateZones.js.map +0 -1
  120. package/esm/operations/recordSets.d.ts +0 -229
  121. package/esm/operations/recordSets.d.ts.map +0 -1
  122. package/esm/operations/recordSets.js +0 -304
  123. package/esm/operations/recordSets.js.map +0 -1
  124. package/esm/operations/virtualNetworkLinks.d.ts +0 -139
  125. package/esm/operations/virtualNetworkLinks.d.ts.map +0 -1
  126. package/esm/operations/virtualNetworkLinks.js +0 -305
  127. package/esm/operations/virtualNetworkLinks.js.map +0 -1
  128. package/esm/privateDnsManagementClient.d.ts +0 -27
  129. package/esm/privateDnsManagementClient.d.ts.map +0 -1
  130. package/esm/privateDnsManagementClient.js +0 -41
  131. package/esm/privateDnsManagementClient.js.map +0 -1
  132. package/esm/privateDnsManagementClientContext.d.ts +0 -23
  133. package/esm/privateDnsManagementClientContext.d.ts.map +0 -1
  134. package/esm/privateDnsManagementClientContext.js +0 -62
  135. package/esm/privateDnsManagementClientContext.js.map +0 -1
  136. package/src/models/privateZonesMappers.ts +0 -28
  137. package/src/models/recordSetsMappers.ts +0 -28
  138. package/src/models/virtualNetworkLinksMappers.ts +0 -28
  139. package/src/privateDnsManagementClientContext.ts +0 -69
@@ -1,157 +1,171 @@
1
1
  /*
2
- * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Licensed under the MIT License. See License.txt in the project root for
4
- * license information.
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
5
4
  *
6
5
  * Code generated by Microsoft (R) AutoRest Code Generator.
7
- * Changes may cause incorrect behavior and will be lost if the code is
8
- * regenerated.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
9
7
  */
10
- export var acceptLanguage = {
11
- parameterPath: "acceptLanguage",
8
+ import { PrivateZone as PrivateZoneMapper, VirtualNetworkLink as VirtualNetworkLinkMapper, RecordSet as RecordSetMapper } from "../models/mappers";
9
+ export const contentType = {
10
+ parameterPath: ["options", "contentType"],
12
11
  mapper: {
13
- serializedName: "accept-language",
14
- defaultValue: 'en-US',
12
+ defaultValue: "application/json",
13
+ isConstant: true,
14
+ serializedName: "Content-Type",
15
15
  type: {
16
16
  name: "String"
17
17
  }
18
18
  }
19
19
  };
20
- export var apiVersion = {
21
- parameterPath: "apiVersion",
20
+ export const parameters = {
21
+ parameterPath: "parameters",
22
+ mapper: PrivateZoneMapper
23
+ };
24
+ export const accept = {
25
+ parameterPath: "accept",
22
26
  mapper: {
23
- required: true,
24
- serializedName: "api-version",
27
+ defaultValue: "application/json",
28
+ isConstant: true,
29
+ serializedName: "Accept",
25
30
  type: {
26
31
  name: "String"
27
32
  }
28
33
  }
29
34
  };
30
- export var ifMatch = {
31
- parameterPath: [
32
- "options",
33
- "ifMatch"
34
- ],
35
+ export const $host = {
36
+ parameterPath: "$host",
35
37
  mapper: {
36
- serializedName: "If-Match",
38
+ serializedName: "$host",
39
+ required: true,
37
40
  type: {
38
41
  name: "String"
39
42
  }
40
- }
43
+ },
44
+ skipEncoding: true
41
45
  };
42
- export var ifNoneMatch = {
43
- parameterPath: [
44
- "options",
45
- "ifNoneMatch"
46
- ],
46
+ export const resourceGroupName = {
47
+ parameterPath: "resourceGroupName",
47
48
  mapper: {
48
- serializedName: "If-None-Match",
49
+ serializedName: "resourceGroupName",
50
+ required: true,
49
51
  type: {
50
52
  name: "String"
51
53
  }
52
54
  }
53
55
  };
54
- export var nextPageLink = {
55
- parameterPath: "nextPageLink",
56
+ export const privateZoneName = {
57
+ parameterPath: "privateZoneName",
56
58
  mapper: {
59
+ serializedName: "privateZoneName",
57
60
  required: true,
58
- serializedName: "nextLink",
59
61
  type: {
60
62
  name: "String"
61
63
  }
62
- },
63
- skipEncoding: true
64
+ }
64
65
  };
65
- export var privateZoneName = {
66
- parameterPath: "privateZoneName",
66
+ export const ifMatch = {
67
+ parameterPath: ["options", "ifMatch"],
67
68
  mapper: {
68
- required: true,
69
- serializedName: "privateZoneName",
69
+ serializedName: "If-Match",
70
70
  type: {
71
71
  name: "String"
72
72
  }
73
73
  }
74
74
  };
75
- export var recordsetnamesuffix = {
76
- parameterPath: [
77
- "options",
78
- "recordsetnamesuffix"
79
- ],
75
+ export const ifNoneMatch = {
76
+ parameterPath: ["options", "ifNoneMatch"],
80
77
  mapper: {
81
- serializedName: "$recordsetnamesuffix",
78
+ serializedName: "If-None-Match",
82
79
  type: {
83
80
  name: "String"
84
81
  }
85
82
  }
86
83
  };
87
- export var recordType = {
88
- parameterPath: "recordType",
84
+ export const apiVersion = {
85
+ parameterPath: "apiVersion",
86
+ mapper: {
87
+ defaultValue: "2020-06-01",
88
+ isConstant: true,
89
+ serializedName: "api-version",
90
+ type: {
91
+ name: "String"
92
+ }
93
+ }
94
+ };
95
+ export const subscriptionId = {
96
+ parameterPath: "subscriptionId",
89
97
  mapper: {
98
+ serializedName: "subscriptionId",
90
99
  required: true,
91
- serializedName: "recordType",
92
100
  type: {
93
- name: "Enum",
94
- allowedValues: [
95
- "A",
96
- "AAAA",
97
- "CNAME",
98
- "MX",
99
- "PTR",
100
- "SOA",
101
- "SRV",
102
- "TXT"
103
- ]
101
+ name: "String"
104
102
  }
105
103
  }
106
104
  };
107
- export var relativeRecordSetName = {
108
- parameterPath: "relativeRecordSetName",
105
+ export const top = {
106
+ parameterPath: ["options", "top"],
107
+ mapper: {
108
+ serializedName: "$top",
109
+ type: {
110
+ name: "Number"
111
+ }
112
+ }
113
+ };
114
+ export const nextLink = {
115
+ parameterPath: "nextLink",
109
116
  mapper: {
117
+ serializedName: "nextLink",
110
118
  required: true,
111
- serializedName: "relativeRecordSetName",
112
119
  type: {
113
120
  name: "String"
114
121
  }
115
122
  },
116
123
  skipEncoding: true
117
124
  };
118
- export var resourceGroupName = {
119
- parameterPath: "resourceGroupName",
125
+ export const parameters1 = {
126
+ parameterPath: "parameters",
127
+ mapper: VirtualNetworkLinkMapper
128
+ };
129
+ export const virtualNetworkLinkName = {
130
+ parameterPath: "virtualNetworkLinkName",
120
131
  mapper: {
132
+ serializedName: "virtualNetworkLinkName",
121
133
  required: true,
122
- serializedName: "resourceGroupName",
123
134
  type: {
124
135
  name: "String"
125
136
  }
126
137
  }
127
138
  };
128
- export var subscriptionId = {
129
- parameterPath: "subscriptionId",
139
+ export const parameters2 = {
140
+ parameterPath: "parameters",
141
+ mapper: RecordSetMapper
142
+ };
143
+ export const recordType = {
144
+ parameterPath: "recordType",
130
145
  mapper: {
146
+ serializedName: "recordType",
131
147
  required: true,
132
- serializedName: "subscriptionId",
133
148
  type: {
134
- name: "String"
149
+ name: "Enum",
150
+ allowedValues: ["A", "AAAA", "CNAME", "MX", "PTR", "SOA", "SRV", "TXT"]
135
151
  }
136
152
  }
137
153
  };
138
- export var top = {
139
- parameterPath: [
140
- "options",
141
- "top"
142
- ],
154
+ export const relativeRecordSetName = {
155
+ parameterPath: "relativeRecordSetName",
143
156
  mapper: {
144
- serializedName: "$top",
157
+ serializedName: "relativeRecordSetName",
158
+ required: true,
145
159
  type: {
146
- name: "Number"
160
+ name: "String"
147
161
  }
148
- }
162
+ },
163
+ skipEncoding: true
149
164
  };
150
- export var virtualNetworkLinkName = {
151
- parameterPath: "virtualNetworkLinkName",
165
+ export const recordsetnamesuffix = {
166
+ parameterPath: ["options", "recordsetnamesuffix"],
152
167
  mapper: {
153
- required: true,
154
- serializedName: "virtualNetworkLinkName",
168
+ serializedName: "$recordsetnamesuffix",
155
169
  type: {
156
170
  name: "String"
157
171
  }
@@ -0,0 +1 @@
1
+ {"version":3,"file":"parameters.js","sourceRoot":"","sources":["../../../src/models/parameters.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAOH,OAAO,EACL,WAAW,IAAI,iBAAiB,EAChC,kBAAkB,IAAI,wBAAwB,EAC9C,SAAS,IAAI,eAAe,EAC7B,MAAM,mBAAmB,CAAC;AAE3B,MAAM,CAAC,MAAM,WAAW,GAAuB;IAC7C,aAAa,EAAE,CAAC,SAAS,EAAE,aAAa,CAAC;IACzC,MAAM,EAAE;QACN,YAAY,EAAE,kBAAkB;QAChC,UAAU,EAAE,IAAI;QAChB,cAAc,EAAE,cAAc;QAC9B,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,UAAU,GAAuB;IAC5C,aAAa,EAAE,YAAY;IAC3B,MAAM,EAAE,iBAAiB;CAC1B,CAAC;AAEF,MAAM,CAAC,MAAM,MAAM,GAAuB;IACxC,aAAa,EAAE,QAAQ;IACvB,MAAM,EAAE;QACN,YAAY,EAAE,kBAAkB;QAChC,UAAU,EAAE,IAAI;QAChB,cAAc,EAAE,QAAQ;QACxB,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,KAAK,GAA0B;IAC1C,aAAa,EAAE,OAAO;IACtB,MAAM,EAAE;QACN,cAAc,EAAE,OAAO;QACvB,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;IACD,YAAY,EAAE,IAAI;CACnB,CAAC;AAEF,MAAM,CAAC,MAAM,iBAAiB,GAA0B;IACtD,aAAa,EAAE,mBAAmB;IAClC,MAAM,EAAE;QACN,cAAc,EAAE,mBAAmB;QACnC,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ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EAAE;QACN,cAAc,EAAE,sBAAsB;QACtC,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC"}
File without changes
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAQA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,uBAAuB,CAAC;AACtC,cAAc,cAAc,CAAC"}
@@ -1,11 +1,9 @@
1
1
  /*
2
- * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Licensed under the MIT License. See License.txt in the project root for
4
- * license information.
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
5
4
  *
6
5
  * Code generated by Microsoft (R) AutoRest Code Generator.
7
- * Changes may cause incorrect behavior and will be lost if the code is
8
- * regenerated.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
9
7
  */
10
8
  export * from "./privateZones";
11
9
  export * from "./virtualNetworkLinks";
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,gBAAgB,CAAC;AAC/B,cAAc,uBAAuB,CAAC;AACtC,cAAc,cAAc,CAAC"}
@@ -0,0 +1,114 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { PrivateZones } from "../operationsInterfaces";
3
+ import { PrivateDnsManagementClient } from "../privateDnsManagementClient";
4
+ import { PollerLike, PollOperationState } from "@azure/core-lro";
5
+ import { PrivateZone, PrivateZonesListOptionalParams, PrivateZonesListByResourceGroupOptionalParams, PrivateZonesCreateOrUpdateOptionalParams, PrivateZonesCreateOrUpdateResponse, PrivateZonesUpdateOptionalParams, PrivateZonesUpdateResponse, PrivateZonesDeleteOptionalParams, PrivateZonesGetOptionalParams, PrivateZonesGetResponse } from "../models";
6
+ /** Class containing PrivateZones operations. */
7
+ export declare class PrivateZonesImpl implements PrivateZones {
8
+ private readonly client;
9
+ /**
10
+ * Initialize a new instance of the class PrivateZones class.
11
+ * @param client Reference to the service client
12
+ */
13
+ constructor(client: PrivateDnsManagementClient);
14
+ /**
15
+ * Lists the Private DNS zones in all resource groups in a subscription.
16
+ * @param options The options parameters.
17
+ */
18
+ list(options?: PrivateZonesListOptionalParams): PagedAsyncIterableIterator<PrivateZone>;
19
+ private listPagingPage;
20
+ private listPagingAll;
21
+ /**
22
+ * Lists the Private DNS zones within a resource group.
23
+ * @param resourceGroupName The name of the resource group.
24
+ * @param options The options parameters.
25
+ */
26
+ listByResourceGroup(resourceGroupName: string, options?: PrivateZonesListByResourceGroupOptionalParams): PagedAsyncIterableIterator<PrivateZone>;
27
+ private listByResourceGroupPagingPage;
28
+ private listByResourceGroupPagingAll;
29
+ /**
30
+ * Creates or updates a Private DNS zone. Does not modify Links to virtual networks or DNS records
31
+ * within the zone.
32
+ * @param resourceGroupName The name of the resource group.
33
+ * @param privateZoneName The name of the Private DNS zone (without a terminating dot).
34
+ * @param parameters Parameters supplied to the CreateOrUpdate operation.
35
+ * @param options The options parameters.
36
+ */
37
+ beginCreateOrUpdate(resourceGroupName: string, privateZoneName: string, parameters: PrivateZone, options?: PrivateZonesCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<PrivateZonesCreateOrUpdateResponse>, PrivateZonesCreateOrUpdateResponse>>;
38
+ /**
39
+ * Creates or updates a Private DNS zone. Does not modify Links to virtual networks or DNS records
40
+ * within the zone.
41
+ * @param resourceGroupName The name of the resource group.
42
+ * @param privateZoneName The name of the Private DNS zone (without a terminating dot).
43
+ * @param parameters Parameters supplied to the CreateOrUpdate operation.
44
+ * @param options The options parameters.
45
+ */
46
+ beginCreateOrUpdateAndWait(resourceGroupName: string, privateZoneName: string, parameters: PrivateZone, options?: PrivateZonesCreateOrUpdateOptionalParams): Promise<PrivateZonesCreateOrUpdateResponse>;
47
+ /**
48
+ * Updates a Private DNS zone. Does not modify virtual network links or DNS records within the zone.
49
+ * @param resourceGroupName The name of the resource group.
50
+ * @param privateZoneName The name of the Private DNS zone (without a terminating dot).
51
+ * @param parameters Parameters supplied to the Update operation.
52
+ * @param options The options parameters.
53
+ */
54
+ beginUpdate(resourceGroupName: string, privateZoneName: string, parameters: PrivateZone, options?: PrivateZonesUpdateOptionalParams): Promise<PollerLike<PollOperationState<PrivateZonesUpdateResponse>, PrivateZonesUpdateResponse>>;
55
+ /**
56
+ * Updates a Private DNS zone. Does not modify virtual network links or DNS records within the zone.
57
+ * @param resourceGroupName The name of the resource group.
58
+ * @param privateZoneName The name of the Private DNS zone (without a terminating dot).
59
+ * @param parameters Parameters supplied to the Update operation.
60
+ * @param options The options parameters.
61
+ */
62
+ beginUpdateAndWait(resourceGroupName: string, privateZoneName: string, parameters: PrivateZone, options?: PrivateZonesUpdateOptionalParams): Promise<PrivateZonesUpdateResponse>;
63
+ /**
64
+ * Deletes a Private DNS zone. WARNING: All DNS records in the zone will also be deleted. This
65
+ * operation cannot be undone. Private DNS zone cannot be deleted unless all virtual network links to
66
+ * it are removed.
67
+ * @param resourceGroupName The name of the resource group.
68
+ * @param privateZoneName The name of the Private DNS zone (without a terminating dot).
69
+ * @param options The options parameters.
70
+ */
71
+ beginDelete(resourceGroupName: string, privateZoneName: string, options?: PrivateZonesDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
72
+ /**
73
+ * Deletes a Private DNS zone. WARNING: All DNS records in the zone will also be deleted. This
74
+ * operation cannot be undone. Private DNS zone cannot be deleted unless all virtual network links to
75
+ * it are removed.
76
+ * @param resourceGroupName The name of the resource group.
77
+ * @param privateZoneName The name of the Private DNS zone (without a terminating dot).
78
+ * @param options The options parameters.
79
+ */
80
+ beginDeleteAndWait(resourceGroupName: string, privateZoneName: string, options?: PrivateZonesDeleteOptionalParams): Promise<void>;
81
+ /**
82
+ * Gets a Private DNS zone. Retrieves the zone properties, but not the virtual networks links or the
83
+ * record sets within the zone.
84
+ * @param resourceGroupName The name of the resource group.
85
+ * @param privateZoneName The name of the Private DNS zone (without a terminating dot).
86
+ * @param options The options parameters.
87
+ */
88
+ get(resourceGroupName: string, privateZoneName: string, options?: PrivateZonesGetOptionalParams): Promise<PrivateZonesGetResponse>;
89
+ /**
90
+ * Lists the Private DNS zones in all resource groups in a subscription.
91
+ * @param options The options parameters.
92
+ */
93
+ private _list;
94
+ /**
95
+ * Lists the Private DNS zones within a resource group.
96
+ * @param resourceGroupName The name of the resource group.
97
+ * @param options The options parameters.
98
+ */
99
+ private _listByResourceGroup;
100
+ /**
101
+ * ListNext
102
+ * @param nextLink The nextLink from the previous successful call to the List method.
103
+ * @param options The options parameters.
104
+ */
105
+ private _listNext;
106
+ /**
107
+ * ListByResourceGroupNext
108
+ * @param resourceGroupName The name of the resource group.
109
+ * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
110
+ * @param options The options parameters.
111
+ */
112
+ private _listByResourceGroupNext;
113
+ }
114
+ //# sourceMappingURL=privateZones.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"privateZones.d.ts","sourceRoot":"","sources":["../../../src/operations/privateZones.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAIvD,OAAO,EAAE,0BAA0B,EAAE,MAAM,+BAA+B,CAAC;AAC3E,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAa,MAAM,iBAAiB,CAAC;AAE5E,OAAO,EACL,WAAW,EAEX,8BAA8B,EAE9B,6CAA6C,EAC7C,wCAAwC,EACxC,kCAAkC,EAClC,gCAAgC,EAChC,0BAA0B,EAC1B,gCAAgC,EAChC,6BAA6B,EAC7B,uBAAuB,EAKxB,MAAM,WAAW,CAAC;AAGnB,gDAAgD;AAChD,qBAAa,gBAAiB,YAAW,YAAY;IACnD,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA6B;IAEpD;;;OAGG;gBACS,MAAM,EAA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