Microsoft.Network (stable:2020-01-01)

2025/09/05 • 17 new, 17 deleted methods

PrivateZones_CreateOrUpdate (new)
Description Creates or updates a Private DNS zone. Does not modify Links to virtual networks or DNS records within the zone.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateDnsZones/{privateZoneName}
{
resourceGroupName: string ,
privateZoneName: string ,
parameters:
{
etag: string ,
properties:
{
maxNumberOfRecordSets: integer ,
numberOfRecordSets: integer ,
maxNumberOfVirtualNetworkLinks: integer ,
numberOfVirtualNetworkLinks: integer ,
maxNumberOfVirtualNetworkLinksWithRegistration: integer ,
numberOfVirtualNetworkLinksWithRegistration: integer ,
provisioningState: enum ,
internalId: string ,
}
,
}
,
If-Match: string ,
If-None-Match: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (201)

{
etag: string ,
properties:
{
maxNumberOfRecordSets: integer ,
numberOfRecordSets: integer ,
maxNumberOfVirtualNetworkLinks: integer ,
numberOfVirtualNetworkLinks: integer ,
maxNumberOfVirtualNetworkLinksWithRegistration: integer ,
numberOfVirtualNetworkLinksWithRegistration: integer ,
provisioningState: enum ,
internalId: string ,
}
,
}

⚐ Response (200)

{
etag: string ,
properties:
{
maxNumberOfRecordSets: integer ,
numberOfRecordSets: integer ,
maxNumberOfVirtualNetworkLinks: integer ,
numberOfVirtualNetworkLinks: integer ,
maxNumberOfVirtualNetworkLinksWithRegistration: integer ,
numberOfVirtualNetworkLinksWithRegistration: integer ,
provisioningState: enum ,
internalId: string ,
}
,
}

⚐ Response (202)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
PrivateZones_Update (new)
Description Updates a Private DNS zone. Does not modify virtual network links or DNS records within the zone.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateDnsZones/{privateZoneName}
{
resourceGroupName: string ,
privateZoneName: string ,
parameters:
{
etag: string ,
properties:
{
maxNumberOfRecordSets: integer ,
numberOfRecordSets: integer ,
maxNumberOfVirtualNetworkLinks: integer ,
numberOfVirtualNetworkLinks: integer ,
maxNumberOfVirtualNetworkLinksWithRegistration: integer ,
numberOfVirtualNetworkLinksWithRegistration: integer ,
provisioningState: enum ,
internalId: string ,
}
,
}
,
If-Match: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
etag: string ,
properties:
{
maxNumberOfRecordSets: integer ,
numberOfRecordSets: integer ,
maxNumberOfVirtualNetworkLinks: integer ,
numberOfVirtualNetworkLinks: integer ,
maxNumberOfVirtualNetworkLinksWithRegistration: integer ,
numberOfVirtualNetworkLinksWithRegistration: integer ,
provisioningState: enum ,
internalId: string ,
}
,
}

⚐ Response (202)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
PrivateZones_Delete (new)
Description Deletes a Private DNS zone. WARNING: All DNS records in the zone will also be deleted. This operation cannot be undone. Private DNS zone cannot be deleted unless all virtual network links to it are removed.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateDnsZones/{privateZoneName}
{
resourceGroupName: string ,
privateZoneName: string ,
If-Match: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
PrivateZones_Get (new)
Description Gets a Private DNS zone. Retrieves the zone properties, but not the virtual networks links or the record sets within the zone.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateDnsZones/{privateZoneName}
{
resourceGroupName: string ,
privateZoneName: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
etag: string ,
properties:
{
maxNumberOfRecordSets: integer ,
numberOfRecordSets: integer ,
maxNumberOfVirtualNetworkLinks: integer ,
numberOfVirtualNetworkLinks: integer ,
maxNumberOfVirtualNetworkLinksWithRegistration: integer ,
numberOfVirtualNetworkLinksWithRegistration: integer ,
provisioningState: enum ,
internalId: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
PrivateZones_List (new)
Description Lists the Private DNS zones in all resource groups in a subscription.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.Network/privateDnsZones
{
$top: integer ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
value:
[
{
etag: string ,
properties:
{
maxNumberOfRecordSets: integer ,
numberOfRecordSets: integer ,
maxNumberOfVirtualNetworkLinks: integer ,
numberOfVirtualNetworkLinks: integer ,
maxNumberOfVirtualNetworkLinksWithRegistration: integer ,
numberOfVirtualNetworkLinksWithRegistration: integer ,
provisioningState: enum ,
internalId: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
PrivateZones_ListByResourceGroup (new)
Description Lists the Private DNS zones within a resource group.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateDnsZones
{
resourceGroupName: string ,
$top: integer ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
value:
[
{
etag: string ,
properties:
{
maxNumberOfRecordSets: integer ,
numberOfRecordSets: integer ,
maxNumberOfVirtualNetworkLinks: integer ,
numberOfVirtualNetworkLinks: integer ,
maxNumberOfVirtualNetworkLinksWithRegistration: integer ,
numberOfVirtualNetworkLinksWithRegistration: integer ,
provisioningState: enum ,
internalId: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
RecordSets_CreateOrUpdate (new)
Description Creates or updates a record set within a Private DNS zone.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateDnsZones/{privateZoneName}/{recordType}/{relativeRecordSetName}
{
resourceGroupName: string ,
privateZoneName: string ,
recordType: string ,
relativeRecordSetName: string ,
parameters:
{
id: string ,
name: string ,
type: string ,
etag: string ,
properties:
{
metadata: object ,
ttl: integer ,
fqdn: string ,
isAutoRegistered: boolean ,
aRecords:
[
{
ipv4Address: string ,
}
,
]
,
aaaaRecords:
[
{
ipv6Address: string ,
}
,
]
,
cnameRecord:
{
cname: string ,
}
,
mxRecords:
[
{
preference: integer ,
exchange: string ,
}
,
]
,
ptrRecords:
[
{
ptrdname: string ,
}
,
]
,
soaRecord:
{
host: string ,
email: string ,
serialNumber: integer ,
refreshTime: integer ,
retryTime: integer ,
expireTime: integer ,
minimumTtl: integer ,
}
,
srvRecords:
[
{
priority: integer ,
weight: integer ,
port: integer ,
target: string ,
}
,
]
,
txtRecords:
[
{
value:
[
string ,
]
,
}
,
]
,
}
,
}
,
If-Match: string ,
If-None-Match: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (201)

{
id: string ,
name: string ,
type: string ,
etag: string ,
properties:
{
metadata: object ,
ttl: integer ,
fqdn: string ,
isAutoRegistered: boolean ,
aRecords:
[
{
ipv4Address: string ,
}
,
]
,
aaaaRecords:
[
{
ipv6Address: string ,
}
,
]
,
cnameRecord:
{
cname: string ,
}
,
mxRecords:
[
{
preference: integer ,
exchange: string ,
}
,
]
,
ptrRecords:
[
{
ptrdname: string ,
}
,
]
,
soaRecord:
{
host: string ,
email: string ,
serialNumber: integer ,
refreshTime: integer ,
retryTime: integer ,
expireTime: integer ,
minimumTtl: integer ,
}
,
srvRecords:
[
{
priority: integer ,
weight: integer ,
port: integer ,
target: string ,
}
,
]
,
txtRecords:
[
{
value:
[
string ,
]
,
}
,
]
,
}
,
}

⚐ Response (200)

{
id: string ,
name: string ,
type: string ,
etag: string ,
properties:
{
metadata: object ,
ttl: integer ,
fqdn: string ,
isAutoRegistered: boolean ,
aRecords:
[
{
ipv4Address: string ,
}
,
]
,
aaaaRecords:
[
{
ipv6Address: string ,
}
,
]
,
cnameRecord:
{
cname: string ,
}
,
mxRecords:
[
{
preference: integer ,
exchange: string ,
}
,
]
,
ptrRecords:
[
{
ptrdname: string ,
}
,
]
,
soaRecord:
{
host: string ,
email: string ,
serialNumber: integer ,
refreshTime: integer ,
retryTime: integer ,
expireTime: integer ,
minimumTtl: integer ,
}
,
srvRecords:
[
{
priority: integer ,
weight: integer ,
port: integer ,
target: string ,
}
,
]
,
txtRecords:
[
{
value:
[
string ,
]
,
}
,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
RecordSets_Update (new)
Description Updates a record set within a Private DNS zone.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateDnsZones/{privateZoneName}/{recordType}/{relativeRecordSetName}
{
resourceGroupName: string ,
privateZoneName: string ,
recordType: string ,
relativeRecordSetName: string ,
parameters:
{
id: string ,
name: string ,
type: string ,
etag: string ,
properties:
{
metadata: object ,
ttl: integer ,
fqdn: string ,
isAutoRegistered: boolean ,
aRecords:
[
{
ipv4Address: string ,
}
,
]
,
aaaaRecords:
[
{
ipv6Address: string ,
}
,
]
,
cnameRecord:
{
cname: string ,
}
,
mxRecords:
[
{
preference: integer ,
exchange: string ,
}
,
]
,
ptrRecords:
[
{
ptrdname: string ,
}
,
]
,
soaRecord:
{
host: string ,
email: string ,
serialNumber: integer ,
refreshTime: integer ,
retryTime: integer ,
expireTime: integer ,
minimumTtl: integer ,
}
,
srvRecords:
[
{
priority: integer ,
weight: integer ,
port: integer ,
target: string ,
}
,
]
,
txtRecords:
[
{
value:
[
string ,
]
,
}
,
]
,
}
,
}
,
If-Match: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
id: string ,
name: string ,
type: string ,
etag: string ,
properties:
{
metadata: object ,
ttl: integer ,
fqdn: string ,
isAutoRegistered: boolean ,
aRecords:
[
{
ipv4Address: string ,
}
,
]
,
aaaaRecords:
[
{
ipv6Address: string ,
}
,
]
,
cnameRecord:
{
cname: string ,
}
,
mxRecords:
[
{
preference: integer ,
exchange: string ,
}
,
]
,
ptrRecords:
[
{
ptrdname: string ,
}
,
]
,
soaRecord:
{
host: string ,
email: string ,
serialNumber: integer ,
refreshTime: integer ,
retryTime: integer ,
expireTime: integer ,
minimumTtl: integer ,
}
,
srvRecords:
[
{
priority: integer ,
weight: integer ,
port: integer ,
target: string ,
}
,
]
,
txtRecords:
[
{
value:
[
string ,
]
,
}
,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
RecordSets_Delete (new)
Description Deletes a record set from a Private DNS zone. This operation cannot be undone.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateDnsZones/{privateZoneName}/{recordType}/{relativeRecordSetName}
{
resourceGroupName: string ,
privateZoneName: string ,
recordType: string ,
relativeRecordSetName: string ,
If-Match: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
RecordSets_Get (new)
Description Gets a record set.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateDnsZones/{privateZoneName}/{recordType}/{relativeRecordSetName}
{
resourceGroupName: string ,
privateZoneName: string ,
recordType: string ,
relativeRecordSetName: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
id: string ,
name: string ,
type: string ,
etag: string ,
properties:
{
metadata: object ,
ttl: integer ,
fqdn: string ,
isAutoRegistered: boolean ,
aRecords:
[
{
ipv4Address: string ,
}
,
]
,
aaaaRecords:
[
{
ipv6Address: string ,
}
,
]
,
cnameRecord:
{
cname: string ,
}
,
mxRecords:
[
{
preference: integer ,
exchange: string ,
}
,
]
,
ptrRecords:
[
{
ptrdname: string ,
}
,
]
,
soaRecord:
{
host: string ,
email: string ,
serialNumber: integer ,
refreshTime: integer ,
retryTime: integer ,
expireTime: integer ,
minimumTtl: integer ,
}
,
srvRecords:
[
{
priority: integer ,
weight: integer ,
port: integer ,
target: string ,
}
,
]
,
txtRecords:
[
{
value:
[
string ,
]
,
}
,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
RecordSets_ListByType (new)
Description Lists the record sets of a specified type in a Private DNS zone.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateDnsZones/{privateZoneName}/{recordType}
{
resourceGroupName: string ,
privateZoneName: string ,
recordType: string ,
$top: integer ,
$recordsetnamesuffix: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
value:
[
{
id: string ,
name: string ,
type: string ,
etag: string ,
properties:
{
metadata: object ,
ttl: integer ,
fqdn: string ,
isAutoRegistered: boolean ,
aRecords:
[
{
ipv4Address: string ,
}
,
]
,
aaaaRecords:
[
{
ipv6Address: string ,
}
,
]
,
cnameRecord:
{
cname: string ,
}
,
mxRecords:
[
{
preference: integer ,
exchange: string ,
}
,
]
,
ptrRecords:
[
{
ptrdname: string ,
}
,
]
,
soaRecord:
{
host: string ,
email: string ,
serialNumber: integer ,
refreshTime: integer ,
retryTime: integer ,
expireTime: integer ,
minimumTtl: integer ,
}
,
srvRecords:
[
{
priority: integer ,
weight: integer ,
port: integer ,
target: string ,
}
,
]
,
txtRecords:
[
{
value:
[
string ,
]
,
}
,
]
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
RecordSets_List (new)
Description Lists all record sets in a Private DNS zone.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateDnsZones/{privateZoneName}/ALL
{
resourceGroupName: string ,
privateZoneName: string ,
$top: integer ,
$recordsetnamesuffix: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
value:
[
{
id: string ,
name: string ,
type: string ,
etag: string ,
properties:
{
metadata: object ,
ttl: integer ,
fqdn: string ,
isAutoRegistered: boolean ,
aRecords:
[
{
ipv4Address: string ,
}
,
]
,
aaaaRecords:
[
{
ipv6Address: string ,
}
,
]
,
cnameRecord:
{
cname: string ,
}
,
mxRecords:
[
{
preference: integer ,
exchange: string ,
}
,
]
,
ptrRecords:
[
{
ptrdname: string ,
}
,
]
,
soaRecord:
{
host: string ,
email: string ,
serialNumber: integer ,
refreshTime: integer ,
retryTime: integer ,
expireTime: integer ,
minimumTtl: integer ,
}
,
srvRecords:
[
{
priority: integer ,
weight: integer ,
port: integer ,
target: string ,
}
,
]
,
txtRecords:
[
{
value:
[
string ,
]
,
}
,
]
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
PrivateZones_CreateOrUpdate (removed)
Description Creates or updates a Private DNS zone. Does not modify Links to virtual networks or DNS records within the zone.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateDnsZones/{privateZoneName}
{
resourceGroupName: string ,
privateZoneName: string ,
parameters:
{
etag: string ,
properties:
{
maxNumberOfRecordSets: integer ,
numberOfRecordSets: integer ,
maxNumberOfVirtualNetworkLinks: integer ,
numberOfVirtualNetworkLinks: integer ,
maxNumberOfVirtualNetworkLinksWithRegistration: integer ,
numberOfVirtualNetworkLinksWithRegistration: integer ,
provisioningState: enum ,
internalId: string ,
}
,
}
,
If-Match: string ,
If-None-Match: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (201)

{
etag: string ,
properties:
{
maxNumberOfRecordSets: integer ,
numberOfRecordSets: integer ,
maxNumberOfVirtualNetworkLinks: integer ,
numberOfVirtualNetworkLinks: integer ,
maxNumberOfVirtualNetworkLinksWithRegistration: integer ,
numberOfVirtualNetworkLinksWithRegistration: integer ,
provisioningState: enum ,
internalId: string ,
}
,
}

⚐ Response (200)

{
etag: string ,
properties:
{
maxNumberOfRecordSets: integer ,
numberOfRecordSets: integer ,
maxNumberOfVirtualNetworkLinks: integer ,
numberOfVirtualNetworkLinks: integer ,
maxNumberOfVirtualNetworkLinksWithRegistration: integer ,
numberOfVirtualNetworkLinksWithRegistration: integer ,
provisioningState: enum ,
internalId: string ,
}
,
}

⚐ Response (202)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
PrivateZones_Update (removed)
Description Updates a Private DNS zone. Does not modify virtual network links or DNS records within the zone.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateDnsZones/{privateZoneName}
{
resourceGroupName: string ,
privateZoneName: string ,
parameters:
{
etag: string ,
properties:
{
maxNumberOfRecordSets: integer ,
numberOfRecordSets: integer ,
maxNumberOfVirtualNetworkLinks: integer ,
numberOfVirtualNetworkLinks: integer ,
maxNumberOfVirtualNetworkLinksWithRegistration: integer ,
numberOfVirtualNetworkLinksWithRegistration: integer ,
provisioningState: enum ,
internalId: string ,
}
,
}
,
If-Match: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
etag: string ,
properties:
{
maxNumberOfRecordSets: integer ,
numberOfRecordSets: integer ,
maxNumberOfVirtualNetworkLinks: integer ,
numberOfVirtualNetworkLinks: integer ,
maxNumberOfVirtualNetworkLinksWithRegistration: integer ,
numberOfVirtualNetworkLinksWithRegistration: integer ,
provisioningState: enum ,
internalId: string ,
}
,
}

⚐ Response (202)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
PrivateZones_Delete (removed)
Description Deletes a Private DNS zone. WARNING: All DNS records in the zone will also be deleted. This operation cannot be undone. Private DNS zone cannot be deleted unless all virtual network links to it are removed.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateDnsZones/{privateZoneName}
{
resourceGroupName: string ,
privateZoneName: string ,
If-Match: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
PrivateZones_Get (removed)
Description Gets a Private DNS zone. Retrieves the zone properties, but not the virtual networks links or the record sets within the zone.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateDnsZones/{privateZoneName}
{
resourceGroupName: string ,
privateZoneName: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
etag: string ,
properties:
{
maxNumberOfRecordSets: integer ,
numberOfRecordSets: integer ,
maxNumberOfVirtualNetworkLinks: integer ,
numberOfVirtualNetworkLinks: integer ,
maxNumberOfVirtualNetworkLinksWithRegistration: integer ,
numberOfVirtualNetworkLinksWithRegistration: integer ,
provisioningState: enum ,
internalId: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
PrivateZones_List (removed)
Description Lists the Private DNS zones in all resource groups in a subscription.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.Network/privateDnsZones
{
$top: integer ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
value:
[
{
etag: string ,
properties:
{
maxNumberOfRecordSets: integer ,
numberOfRecordSets: integer ,
maxNumberOfVirtualNetworkLinks: integer ,
numberOfVirtualNetworkLinks: integer ,
maxNumberOfVirtualNetworkLinksWithRegistration: integer ,
numberOfVirtualNetworkLinksWithRegistration: integer ,
provisioningState: enum ,
internalId: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
PrivateZones_ListByResourceGroup (removed)
Description Lists the Private DNS zones within a resource group.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateDnsZones
{
resourceGroupName: string ,
$top: integer ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
value:
[
{
etag: string ,
properties:
{
maxNumberOfRecordSets: integer ,
numberOfRecordSets: integer ,
maxNumberOfVirtualNetworkLinks: integer ,
numberOfVirtualNetworkLinks: integer ,
maxNumberOfVirtualNetworkLinksWithRegistration: integer ,
numberOfVirtualNetworkLinksWithRegistration: integer ,
provisioningState: enum ,
internalId: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
RecordSets_CreateOrUpdate (removed)
Description Creates or updates a record set within a Private DNS zone.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateDnsZones/{privateZoneName}/{recordType}/{relativeRecordSetName}
{
resourceGroupName: string ,
privateZoneName: string ,
recordType: string ,
relativeRecordSetName: string ,
parameters:
{
id: string ,
name: string ,
type: string ,
etag: string ,
properties:
{
metadata: object ,
ttl: integer ,
fqdn: string ,
isAutoRegistered: boolean ,
aRecords:
[
{
ipv4Address: string ,
}
,
]
,
aaaaRecords:
[
{
ipv6Address: string ,
}
,
]
,
cnameRecord:
{
cname: string ,
}
,
mxRecords:
[
{
preference: integer ,
exchange: string ,
}
,
]
,
ptrRecords:
[
{
ptrdname: string ,
}
,
]
,
soaRecord:
{
host: string ,
email: string ,
serialNumber: integer ,
refreshTime: integer ,
retryTime: integer ,
expireTime: integer ,
minimumTtl: integer ,
}
,
srvRecords:
[
{
priority: integer ,
weight: integer ,
port: integer ,
target: string ,
}
,
]
,
txtRecords:
[
{
value:
[
string ,
]
,
}
,
]
,
}
,
}
,
If-Match: string ,
If-None-Match: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (201)

{
id: string ,
name: string ,
type: string ,
etag: string ,
properties:
{
metadata: object ,
ttl: integer ,
fqdn: string ,
isAutoRegistered: boolean ,
aRecords:
[
{
ipv4Address: string ,
}
,
]
,
aaaaRecords:
[
{
ipv6Address: string ,
}
,
]
,
cnameRecord:
{
cname: string ,
}
,
mxRecords:
[
{
preference: integer ,
exchange: string ,
}
,
]
,
ptrRecords:
[
{
ptrdname: string ,
}
,
]
,
soaRecord:
{
host: string ,
email: string ,
serialNumber: integer ,
refreshTime: integer ,
retryTime: integer ,
expireTime: integer ,
minimumTtl: integer ,
}
,
srvRecords:
[
{
priority: integer ,
weight: integer ,
port: integer ,
target: string ,
}
,
]
,
txtRecords:
[
{
value:
[
string ,
]
,
}
,
]
,
}
,
}

⚐ Response (200)

{
id: string ,
name: string ,
type: string ,
etag: string ,
properties:
{
metadata: object ,
ttl: integer ,
fqdn: string ,
isAutoRegistered: boolean ,
aRecords:
[
{
ipv4Address: string ,
}
,
]
,
aaaaRecords:
[
{
ipv6Address: string ,
}
,
]
,
cnameRecord:
{
cname: string ,
}
,
mxRecords:
[
{
preference: integer ,
exchange: string ,
}
,
]
,
ptrRecords:
[
{
ptrdname: string ,
}
,
]
,
soaRecord:
{
host: string ,
email: string ,
serialNumber: integer ,
refreshTime: integer ,
retryTime: integer ,
expireTime: integer ,
minimumTtl: integer ,
}
,
srvRecords:
[
{
priority: integer ,
weight: integer ,
port: integer ,
target: string ,
}
,
]
,
txtRecords:
[
{
value:
[
string ,
]
,
}
,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
RecordSets_Update (removed)
Description Updates a record set within a Private DNS zone.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateDnsZones/{privateZoneName}/{recordType}/{relativeRecordSetName}
{
resourceGroupName: string ,
privateZoneName: string ,
recordType: string ,
relativeRecordSetName: string ,
parameters:
{
id: string ,
name: string ,
type: string ,
etag: string ,
properties:
{
metadata: object ,
ttl: integer ,
fqdn: string ,
isAutoRegistered: boolean ,
aRecords:
[
{
ipv4Address: string ,
}
,
]
,
aaaaRecords:
[
{
ipv6Address: string ,
}
,
]
,
cnameRecord:
{
cname: string ,
}
,
mxRecords:
[
{
preference: integer ,
exchange: string ,
}
,
]
,
ptrRecords:
[
{
ptrdname: string ,
}
,
]
,
soaRecord:
{
host: string ,
email: string ,
serialNumber: integer ,
refreshTime: integer ,
retryTime: integer ,
expireTime: integer ,
minimumTtl: integer ,
}
,
srvRecords:
[
{
priority: integer ,
weight: integer ,
port: integer ,
target: string ,
}
,
]
,
txtRecords:
[
{
value:
[
string ,
]
,
}
,
]
,
}
,
}
,
If-Match: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
id: string ,
name: string ,
type: string ,
etag: string ,
properties:
{
metadata: object ,
ttl: integer ,
fqdn: string ,
isAutoRegistered: boolean ,
aRecords:
[
{
ipv4Address: string ,
}
,
]
,
aaaaRecords:
[
{
ipv6Address: string ,
}
,
]
,
cnameRecord:
{
cname: string ,
}
,
mxRecords:
[
{
preference: integer ,
exchange: string ,
}
,
]
,
ptrRecords:
[
{
ptrdname: string ,
}
,
]
,
soaRecord:
{
host: string ,
email: string ,
serialNumber: integer ,
refreshTime: integer ,
retryTime: integer ,
expireTime: integer ,
minimumTtl: integer ,
}
,
srvRecords:
[
{
priority: integer ,
weight: integer ,
port: integer ,
target: string ,
}
,
]
,
txtRecords:
[
{
value:
[
string ,
]
,
}
,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
RecordSets_Delete (removed)
Description Deletes a record set from a Private DNS zone. This operation cannot be undone.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateDnsZones/{privateZoneName}/{recordType}/{relativeRecordSetName}
{
resourceGroupName: string ,
privateZoneName: string ,
recordType: string ,
relativeRecordSetName: string ,
If-Match: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
RecordSets_Get (removed)
Description Gets a record set.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateDnsZones/{privateZoneName}/{recordType}/{relativeRecordSetName}
{
resourceGroupName: string ,
privateZoneName: string ,
recordType: string ,
relativeRecordSetName: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
id: string ,
name: string ,
type: string ,
etag: string ,
properties:
{
metadata: object ,
ttl: integer ,
fqdn: string ,
isAutoRegistered: boolean ,
aRecords:
[
{
ipv4Address: string ,
}
,
]
,
aaaaRecords:
[
{
ipv6Address: string ,
}
,
]
,
cnameRecord:
{
cname: string ,
}
,
mxRecords:
[
{
preference: integer ,
exchange: string ,
}
,
]
,
ptrRecords:
[
{
ptrdname: string ,
}
,
]
,
soaRecord:
{
host: string ,
email: string ,
serialNumber: integer ,
refreshTime: integer ,
retryTime: integer ,
expireTime: integer ,
minimumTtl: integer ,
}
,
srvRecords:
[
{
priority: integer ,
weight: integer ,
port: integer ,
target: string ,
}
,
]
,
txtRecords:
[
{
value:
[
string ,
]
,
}
,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
RecordSets_ListByType (removed)
Description Lists the record sets of a specified type in a Private DNS zone.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateDnsZones/{privateZoneName}/{recordType}
{
resourceGroupName: string ,
privateZoneName: string ,
recordType: string ,
$top: integer ,
$recordsetnamesuffix: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
value:
[
{
id: string ,
name: string ,
type: string ,
etag: string ,
properties:
{
metadata: object ,
ttl: integer ,
fqdn: string ,
isAutoRegistered: boolean ,
aRecords:
[
{
ipv4Address: string ,
}
,
]
,
aaaaRecords:
[
{
ipv6Address: string ,
}
,
]
,
cnameRecord:
{
cname: string ,
}
,
mxRecords:
[
{
preference: integer ,
exchange: string ,
}
,
]
,
ptrRecords:
[
{
ptrdname: string ,
}
,
]
,
soaRecord:
{
host: string ,
email: string ,
serialNumber: integer ,
refreshTime: integer ,
retryTime: integer ,
expireTime: integer ,
minimumTtl: integer ,
}
,
srvRecords:
[
{
priority: integer ,
weight: integer ,
port: integer ,
target: string ,
}
,
]
,
txtRecords:
[
{
value:
[
string ,
]
,
}
,
]
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
RecordSets_List (removed)
Description Lists all record sets in a Private DNS zone.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateDnsZones/{privateZoneName}/ALL
{
resourceGroupName: string ,
privateZoneName: string ,
$top: integer ,
$recordsetnamesuffix: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
value:
[
{
id: string ,
name: string ,
type: string ,
etag: string ,
properties:
{
metadata: object ,
ttl: integer ,
fqdn: string ,
isAutoRegistered: boolean ,
aRecords:
[
{
ipv4Address: string ,
}
,
]
,
aaaaRecords:
[
{
ipv6Address: string ,
}
,
]
,
cnameRecord:
{
cname: string ,
}
,
mxRecords:
[
{
preference: integer ,
exchange: string ,
}
,
]
,
ptrRecords:
[
{
ptrdname: string ,
}
,
]
,
soaRecord:
{
host: string ,
email: string ,
serialNumber: integer ,
refreshTime: integer ,
retryTime: integer ,
expireTime: integer ,
minimumTtl: integer ,
}
,
srvRecords:
[
{
priority: integer ,
weight: integer ,
port: integer ,
target: string ,
}
,
]
,
txtRecords:
[
{
value:
[
string ,
]
,
}
,
]
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}