1 //go:build go1.18
2 // +build go1.18
3 4 // Copyright (c) Microsoft Corporation. All rights reserved.
5 // Licensed under the MIT License. See License.txt in the project root for license information.
6 // Code generated by Microsoft (R) AutoRest Code Generator. DO NOT EDIT.
7 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
8 9 package armdns
10 11 // RecordSetsClientCreateOrUpdateOptions contains the optional parameters for the RecordSetsClient.CreateOrUpdate method.
12 type RecordSetsClientCreateOrUpdateOptions struct {
13 // The etag of the record set. Omit this value to always overwrite the current record set. Specify the last-seen etag value
14 // to prevent accidentally overwriting any concurrent changes.
15 IfMatch *string
16 17 // Set to '*' to allow a new record set to be created, but to prevent updating an existing record set. Other values will be
18 // ignored.
19 IfNoneMatch *string
20 }
21 22 // RecordSetsClientDeleteOptions contains the optional parameters for the RecordSetsClient.Delete method.
23 type RecordSetsClientDeleteOptions struct {
24 // The etag of the record set. Omit this value to always delete the current record set. Specify the last-seen etag value to
25 // prevent accidentally deleting any concurrent changes.
26 IfMatch *string
27 }
28 29 // RecordSetsClientGetOptions contains the optional parameters for the RecordSetsClient.Get method.
30 type RecordSetsClientGetOptions struct {
31 // placeholder for future optional parameters
32 }
33 34 // RecordSetsClientListAllByDNSZoneOptions contains the optional parameters for the RecordSetsClient.NewListAllByDNSZonePager
35 // method.
36 type RecordSetsClientListAllByDNSZoneOptions struct {
37 // The suffix label of the record set name that has to be used to filter the record set enumerations. If this parameter is
38 // specified, Enumeration will return only records that end with .
39 RecordSetNameSuffix *string
40 41 // The maximum number of record sets to return. If not specified, returns up to 100 record sets.
42 Top *int32
43 }
44 45 // RecordSetsClientListByDNSZoneOptions contains the optional parameters for the RecordSetsClient.NewListByDNSZonePager method.
46 type RecordSetsClientListByDNSZoneOptions struct {
47 // The suffix label of the record set name that has to be used to filter the record set enumerations. If this parameter is
48 // specified, Enumeration will return only records that end with .
49 Recordsetnamesuffix *string
50 51 // The maximum number of record sets to return. If not specified, returns up to 100 record sets.
52 Top *int32
53 }
54 55 // RecordSetsClientListByTypeOptions contains the optional parameters for the RecordSetsClient.NewListByTypePager method.
56 type RecordSetsClientListByTypeOptions struct {
57 // The suffix label of the record set name that has to be used to filter the record set enumerations. If this parameter is
58 // specified, Enumeration will return only records that end with .
59 Recordsetnamesuffix *string
60 61 // The maximum number of record sets to return. If not specified, returns up to 100 record sets.
62 Top *int32
63 }
64 65 // RecordSetsClientUpdateOptions contains the optional parameters for the RecordSetsClient.Update method.
66 type RecordSetsClientUpdateOptions struct {
67 // The etag of the record set. Omit this value to always overwrite the current record set. Specify the last-seen etag value
68 // to prevent accidentally overwriting concurrent changes.
69 IfMatch *string
70 }
71 72 // ResourceReferenceClientGetByTargetResourcesOptions contains the optional parameters for the ResourceReferenceClient.GetByTargetResources
73 // method.
74 type ResourceReferenceClientGetByTargetResourcesOptions struct {
75 // placeholder for future optional parameters
76 }
77 78 // ZonesClientBeginDeleteOptions contains the optional parameters for the ZonesClient.BeginDelete method.
79 type ZonesClientBeginDeleteOptions struct {
80 // The etag of the DNS zone. Omit this value to always delete the current zone. Specify the last-seen etag value to prevent
81 // accidentally deleting any concurrent changes.
82 IfMatch *string
83 84 // Resumes the LRO from the provided token.
85 ResumeToken string
86 }
87 88 // ZonesClientCreateOrUpdateOptions contains the optional parameters for the ZonesClient.CreateOrUpdate method.
89 type ZonesClientCreateOrUpdateOptions struct {
90 // The etag of the DNS zone. Omit this value to always overwrite the current zone. Specify the last-seen etag value to prevent
91 // accidentally overwriting any concurrent changes.
92 IfMatch *string
93 94 // Set to '*' to allow a new DNS zone to be created, but to prevent updating an existing zone. Other values will be ignored.
95 IfNoneMatch *string
96 }
97 98 // ZonesClientGetOptions contains the optional parameters for the ZonesClient.Get method.
99 type ZonesClientGetOptions struct {
100 // placeholder for future optional parameters
101 }
102 103 // ZonesClientListByResourceGroupOptions contains the optional parameters for the ZonesClient.NewListByResourceGroupPager
104 // method.
105 type ZonesClientListByResourceGroupOptions struct {
106 // The maximum number of record sets to return. If not specified, returns up to 100 record sets.
107 Top *int32
108 }
109 110 // ZonesClientListOptions contains the optional parameters for the ZonesClient.NewListPager method.
111 type ZonesClientListOptions struct {
112 // The maximum number of DNS zones to return. If not specified, returns up to 100 zones.
113 Top *int32
114 }
115 116 // ZonesClientUpdateOptions contains the optional parameters for the ZonesClient.Update method.
117 type ZonesClientUpdateOptions struct {
118 // The etag of the DNS zone. Omit this value to always overwrite the current zone. Specify the last-seen etag value to prevent
119 // accidentally overwriting any concurrent changes.
120 IfMatch *string
121 }
122