v4

latestSwagger 2.0raw.githubusercontent.com2020-11-18172362.8 KB
PrivateZones

Creates or updates a Private DNS zone. Does not modify Links to virtual networks or DNS records within the zone.

put/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateDnsZones/{privateZoneName}

Path parameters

resourceGroupNamestring required

The name of the resource group.

privateZoneNamestring required

The name of the Private DNS zone (without a terminating dot).

subscriptionIdstring required

Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.

Query parameters

api-versionstring required

Client Api Version.

Headers

If-Matchstring

The ETag of the Private DNS zone. Omit this value to always overwrite the current zone. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes.

If-None-Matchstring

Set to '*' to allow a new Private DNS zone to be created, but to prevent updating an existing zone. Other values will be ignored.

Request body

idstring

Fully qualified resource Id for the resource. Example - '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateDnsZones/{privateDnsZoneName}'.

namestring

The name of the resource

typestring

The type of the resource. Example - 'Microsoft.Network/privateDnsZones'.

Response

The Private DNS zone has been updated.

idstring

Fully qualified resource Id for the resource. Example - '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateDnsZones/{privateDnsZoneName}'.

namestring

The name of the resource

typestring

The type of the resource. Example - 'Microsoft.Network/privateDnsZones'.