diff --git a/specification/dnsresolver/Network.Management/DnsForwardingRuleset.tsp b/specification/dnsresolver/Network.Management/DnsForwardingRuleset.tsp new file mode 100644 index 000000000000..8197c5437900 --- /dev/null +++ b/specification/dnsresolver/Network.Management/DnsForwardingRuleset.tsp @@ -0,0 +1,138 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.Network; +/** + * Describes a DNS forwarding ruleset. + */ +model DnsForwardingRuleset + is Azure.ResourceManager.TrackedResource< + DnsForwardingRulesetProperties, + false + > { + ...ResourceNameParameter< + Resource = DnsForwardingRuleset, + KeyName = "dnsForwardingRulesetName", + SegmentName = "dnsForwardingRulesets", + NamePattern = "" + >; + ...Legacy.EntityTagProperty; +} + +@armResourceOperations +interface DnsForwardingRulesets { + /** + * Gets a DNS forwarding ruleset properties. + */ + get is ArmResourceRead; + + /** + * Creates or updates a DNS forwarding ruleset. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + createOrUpdate is ArmResourceCreateOrReplaceAsync< + DnsForwardingRuleset, + Parameters = { + /** + * ETag of the resource. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes. + */ + @header + ifMatch?: string; + + /** + * Set to '*' to allow a new resource to be created, but to prevent updating an existing resource. Other values will be ignored. + */ + @header + ifNoneMatch?: string; + }, + Response = ArmResourceUpdatedResponse | ArmResourceCreatedResponse< + DnsForwardingRuleset, + ArmLroLocationHeader & + Azure.Core.Foundations.RetryAfterHeader + > | ArmAcceptedLroResponse, + Error = CloudError + >; + + /** + * Updates a DNS forwarding ruleset. + */ + @patch(#{ implicitOptionality: false }) + update is ArmCustomPatchAsync< + DnsForwardingRuleset, + PatchModel = DnsForwardingRulesetPatch, + Parameters = { + /** + * ETag of the resource. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes. + */ + @header + ifMatch?: string; + }, + Error = CloudError + >; + + /** + * Deletes a DNS forwarding ruleset. WARNING: This operation cannot be undone. All forwarding rules within the ruleset will be deleted. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + delete is ArmResourceDeleteWithoutOkAsync< + DnsForwardingRuleset, + Parameters = { + /** + * ETag of the resource. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes. + */ + @header + ifMatch?: string; + }, + Response = ArmDeletedResponse | ArmDeleteAcceptedLroResponse | ArmDeletedNoContentResponse, + Error = CloudError + >; + + /** + * Lists DNS forwarding rulesets within a resource group. + */ + listByResourceGroup is ArmResourceListByParent< + DnsForwardingRuleset, + Parameters = { + /** + * The maximum number of results to return. If not specified, returns up to 100 results. + */ + @query("$top") + $top?: int32; + }, + Error = CloudError + >; + + /** + * Lists DNS forwarding rulesets in all resource groups of a subscription. + */ + list is ArmListBySubscription< + DnsForwardingRuleset, + Parameters = { + /** + * The maximum number of results to return. If not specified, returns up to 100 results. + */ + @query("$top") + $top?: int32; + }, + Error = CloudError + >; +} + +@@doc(DnsForwardingRuleset.name, "The name of the DNS forwarding ruleset."); +@@doc(DnsForwardingRuleset.properties, + "Properties of the DNS forwarding ruleset." +); +@@doc(DnsForwardingRulesets.createOrUpdate::parameters.resource, + "Parameters supplied to the CreateOrUpdate operation." +); +@@doc(DnsForwardingRulesets.update::parameters.properties, + "Parameters supplied to the Update operation." +); diff --git a/specification/dnsresolver/Network.Management/DnsResolver.tsp b/specification/dnsresolver/Network.Management/DnsResolver.tsp new file mode 100644 index 000000000000..e166717f1981 --- /dev/null +++ b/specification/dnsresolver/Network.Management/DnsResolver.tsp @@ -0,0 +1,133 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.Network; +/** + * Describes a DNS resolver. + */ +model DnsResolver + is Azure.ResourceManager.TrackedResource { + ...ResourceNameParameter< + Resource = DnsResolver, + KeyName = "dnsResolverName", + SegmentName = "dnsResolvers", + NamePattern = "" + >; + ...Legacy.EntityTagProperty; +} + +@armResourceOperations +interface DnsResolvers { + /** + * Gets properties of a DNS resolver. + */ + get is ArmResourceRead; + + /** + * Creates or updates a DNS resolver. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + createOrUpdate is ArmResourceCreateOrReplaceAsync< + DnsResolver, + Parameters = { + /** + * ETag of the resource. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes. + */ + @header + ifMatch?: string; + + /** + * Set to '*' to allow a new resource to be created, but to prevent updating an existing resource. Other values will be ignored. + */ + @header + ifNoneMatch?: string; + }, + Response = ArmResourceUpdatedResponse | ArmResourceCreatedResponse< + DnsResolver, + ArmLroLocationHeader & + Azure.Core.Foundations.RetryAfterHeader + > | ArmAcceptedLroResponse, + Error = CloudError + >; + + /** + * Updates a DNS resolver. + */ + @patch(#{ implicitOptionality: false }) + update is ArmCustomPatchAsync< + DnsResolver, + PatchModel = DnsResolverPatch, + Parameters = { + /** + * ETag of the resource. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes. + */ + @header + ifMatch?: string; + }, + Error = CloudError + >; + + /** + * Deletes a DNS resolver. WARNING: This operation cannot be undone. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + delete is ArmResourceDeleteWithoutOkAsync< + DnsResolver, + Parameters = { + /** + * ETag of the resource. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes. + */ + @header + ifMatch?: string; + }, + Response = ArmDeletedResponse | ArmDeleteAcceptedLroResponse | ArmDeletedNoContentResponse, + Error = CloudError + >; + + /** + * Lists DNS resolvers within a resource group. + */ + listByResourceGroup is ArmResourceListByParent< + DnsResolver, + Parameters = { + /** + * The maximum number of results to return. If not specified, returns up to 100 results. + */ + @query("$top") + $top?: int32; + }, + Error = CloudError + >; + + /** + * Lists DNS resolvers in all resource groups of a subscription. + */ + list is ArmListBySubscription< + DnsResolver, + Parameters = { + /** + * The maximum number of results to return. If not specified, returns up to 100 results. + */ + @query("$top") + $top?: int32; + }, + Error = CloudError + >; +} + +@@doc(DnsResolver.name, "The name of the DNS resolver."); +@@doc(DnsResolver.properties, "Properties of the DNS resolver."); +@@doc(DnsResolvers.createOrUpdate::parameters.resource, + "Parameters supplied to the CreateOrUpdate operation." +); +@@doc(DnsResolvers.update::parameters.properties, + "Parameters supplied to the Update operation." +); diff --git a/specification/dnsresolver/Network.Management/DnsResolverDomainList.tsp b/specification/dnsresolver/Network.Management/DnsResolverDomainList.tsp new file mode 100644 index 000000000000..3fcc2cde7298 --- /dev/null +++ b/specification/dnsresolver/Network.Management/DnsResolverDomainList.tsp @@ -0,0 +1,151 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.Network; +/** + * Describes a DNS resolver domain list. + */ +model DnsResolverDomainList + is Azure.ResourceManager.TrackedResource { + ...ResourceNameParameter< + Resource = DnsResolverDomainList, + KeyName = "dnsResolverDomainListName", + SegmentName = "dnsResolverDomainLists", + NamePattern = "^[a-zA-Z0-9]([a-zA-Z0-9_\\-]*[a-zA-Z0-9])?$" + >; + ...Legacy.EntityTagProperty; +} + +@armResourceOperations +interface DnsResolverDomainLists { + /** + * Gets properties of a DNS resolver domain list. + */ + get is ArmResourceRead; + + /** + * Creates or updates a DNS resolver domain list. + */ + createOrUpdate is ArmResourceCreateOrReplaceAsync< + DnsResolverDomainList, + Parameters = { + /** + * ETag of the resource. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes. + */ + @header + ifMatch?: string; + + /** + * Set to '*' to allow a new resource to be created, but to prevent updating an existing resource. Other values will be ignored. + */ + @header + ifNoneMatch?: string; + }, + LroHeaders = ArmLroLocationHeader & + Azure.Core.Foundations.RetryAfterHeader + >; + + /** + * Updates a DNS resolver domain list. + */ + @patch(#{ implicitOptionality: false }) + update is ArmCustomPatchAsync< + DnsResolverDomainList, + PatchModel = DnsResolverDomainListPatch, + Parameters = { + /** + * ETag of the resource. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes. + */ + @header + ifMatch?: string; + } + >; + + /** + * Deletes a DNS resolver domain list. WARNING: This operation cannot be undone. + */ + delete is ArmResourceDeleteWithoutOkAsync< + DnsResolverDomainList, + Parameters = { + /** + * ETag of the resource. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes. + */ + @header + ifMatch?: string; + } + >; + + /** + * Lists DNS resolver domain lists within a resource group. + */ + listByResourceGroup is ArmResourceListByParent< + DnsResolverDomainList, + Parameters = { + /** + * The maximum number of results to return. If not specified, returns up to 100 results. + */ + @query("$top") + $top?: int32; + } + >; + + /** + * Lists DNS resolver domain lists in all resource groups of a subscription. + */ + list is ArmListBySubscription< + DnsResolverDomainList, + Parameters = { + /** + * The maximum number of results to return. If not specified, returns up to 100 results. + */ + @query("$top") + $top?: int32; + } + >; + + /** + * Uploads or downloads the list of domains for a DNS Resolver Domain List from a storage link. + */ + bulk is ArmResourceActionAsync< + DnsResolverDomainList, + DnsResolverDomainListBulk, + DnsResolverDomainList, + Parameters = { + /** + * ETag of the resource. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes. + */ + @header + ifMatch?: string; + + /** + * Set to '*' to allow a new resource to be created, but to prevent updating an existing resource. Other values will be ignored. + */ + @header + ifNoneMatch?: string; + } + >; +} + +@@maxLength(DnsResolverDomainList.name, 80); +@@minLength(DnsResolverDomainList.name, 1); +@@doc(DnsResolverDomainList.name, "The name of the DNS resolver domain list."); +@@doc(DnsResolverDomainList.properties, + "Properties of the DNS resolver domain list." +); +@@doc(DnsResolverDomainLists.createOrUpdate::parameters.resource, + "Parameters supplied to the CreateOrUpdate operation." +); +@@doc(DnsResolverDomainLists.update::parameters.properties, + "Parameters supplied to the Update operation." +); +@@doc(DnsResolverDomainLists.bulk::parameters.body, + "Parameters supplied to the bulk domain list operation." +); diff --git a/specification/dnsresolver/Network.Management/DnsResolverPolicy.tsp b/specification/dnsresolver/Network.Management/DnsResolverPolicy.tsp new file mode 100644 index 000000000000..adbb29424a20 --- /dev/null +++ b/specification/dnsresolver/Network.Management/DnsResolverPolicy.tsp @@ -0,0 +1,124 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.Network; +/** + * Describes a DNS resolver policy. + */ +model DnsResolverPolicy + is Azure.ResourceManager.TrackedResource { + ...ResourceNameParameter< + Resource = DnsResolverPolicy, + KeyName = "dnsResolverPolicyName", + SegmentName = "dnsResolverPolicies", + NamePattern = "^[a-zA-Z0-9]([a-zA-Z0-9_\\-]*[a-zA-Z0-9])?$" + >; + ...Legacy.EntityTagProperty; +} + +@armResourceOperations +interface DnsResolverPolicies { + /** + * Gets properties of a DNS resolver policy. + */ + get is ArmResourceRead; + + /** + * Creates or updates a DNS resolver policy. + */ + createOrUpdate is ArmResourceCreateOrReplaceAsync< + DnsResolverPolicy, + Parameters = { + /** + * ETag of the resource. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes. + */ + @header + ifMatch?: string; + + /** + * Set to '*' to allow a new resource to be created, but to prevent updating an existing resource. Other values will be ignored. + */ + @header + ifNoneMatch?: string; + }, + LroHeaders = ArmLroLocationHeader & + Azure.Core.Foundations.RetryAfterHeader + >; + + /** + * Updates a DNS resolver policy. + */ + @patch(#{ implicitOptionality: false }) + update is ArmCustomPatchAsync< + DnsResolverPolicy, + PatchModel = DnsResolverPolicyPatch, + Parameters = { + /** + * ETag of the resource. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes. + */ + @header + ifMatch?: string; + } + >; + + /** + * Deletes a DNS resolver policy. WARNING: This operation cannot be undone. + */ + delete is ArmResourceDeleteWithoutOkAsync< + DnsResolverPolicy, + Parameters = { + /** + * ETag of the resource. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes. + */ + @header + ifMatch?: string; + } + >; + + /** + * Lists DNS resolver policies within a resource group. + */ + listByResourceGroup is ArmResourceListByParent< + DnsResolverPolicy, + Parameters = { + /** + * The maximum number of results to return. If not specified, returns up to 100 results. + */ + @query("$top") + $top?: int32; + } + >; + + /** + * Lists DNS resolver policies in all resource groups of a subscription. + */ + list is ArmListBySubscription< + DnsResolverPolicy, + Parameters = { + /** + * The maximum number of results to return. If not specified, returns up to 100 results. + */ + @query("$top") + $top?: int32; + } + >; +} + +@@maxLength(DnsResolverPolicy.name, 80); +@@minLength(DnsResolverPolicy.name, 1); +@@doc(DnsResolverPolicy.name, "The name of the DNS resolver policy."); +@@doc(DnsResolverPolicy.properties, "Properties of the DNS resolver policy."); +@@doc(DnsResolverPolicies.createOrUpdate::parameters.resource, + "Parameters supplied to the CreateOrUpdate operation." +); +@@doc(DnsResolverPolicies.update::parameters.properties, + "Parameters supplied to the Update operation." +); diff --git a/specification/dnsresolver/Network.Management/DnsResolverPolicyVirtualNetworkLink.tsp b/specification/dnsresolver/Network.Management/DnsResolverPolicyVirtualNetworkLink.tsp new file mode 100644 index 000000000000..79de93d224c0 --- /dev/null +++ b/specification/dnsresolver/Network.Management/DnsResolverPolicyVirtualNetworkLink.tsp @@ -0,0 +1,119 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./DnsResolverPolicy.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.Network; +/** + * Describes a DNS resolver policy virtual network link. + */ +@parentResource(DnsResolverPolicy) +model DnsResolverPolicyVirtualNetworkLink + is Azure.ResourceManager.TrackedResource< + DnsResolverPolicyVirtualNetworkLinkProperties, + false + > { + ...ResourceNameParameter< + Resource = DnsResolverPolicyVirtualNetworkLink, + KeyName = "dnsResolverPolicyVirtualNetworkLinkName", + SegmentName = "virtualNetworkLinks", + NamePattern = "^[a-zA-Z0-9]([a-zA-Z0-9_\\-]*[a-zA-Z0-9])?$" + >; + ...Legacy.EntityTagProperty; +} + +@armResourceOperations +interface DnsResolverPolicyVirtualNetworkLinks { + /** + * Gets properties of a DNS resolver policy virtual network link. + */ + get is ArmResourceRead; + + /** + * Creates or updates a DNS resolver policy virtual network link. + */ + createOrUpdate is ArmResourceCreateOrReplaceAsync< + DnsResolverPolicyVirtualNetworkLink, + Parameters = { + /** + * ETag of the resource. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes. + */ + @header + ifMatch?: string; + + /** + * Set to '*' to allow a new resource to be created, but to prevent updating an existing resource. Other values will be ignored. + */ + @header + ifNoneMatch?: string; + }, + LroHeaders = ArmLroLocationHeader & + Azure.Core.Foundations.RetryAfterHeader + >; + + /** + * Updates a DNS resolver policy virtual network link. + */ + @patch(#{ implicitOptionality: false }) + update is ArmCustomPatchAsync< + DnsResolverPolicyVirtualNetworkLink, + PatchModel = DnsResolverPolicyVirtualNetworkLinkPatch, + Parameters = { + /** + * ETag of the resource. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes. + */ + @header + ifMatch?: string; + } + >; + + /** + * Deletes a DNS resolver policy virtual network link. WARNING: This operation cannot be undone. + */ + delete is ArmResourceDeleteWithoutOkAsync< + DnsResolverPolicyVirtualNetworkLink, + Parameters = { + /** + * ETag of the resource. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes. + */ + @header + ifMatch?: string; + } + >; + + /** + * Lists DNS resolver policy virtual network links. + */ + list is ArmResourceListByParent< + DnsResolverPolicyVirtualNetworkLink, + Parameters = { + /** + * The maximum number of results to return. If not specified, returns up to 100 results. + */ + @query("$top") + $top?: int32; + } + >; +} + +@@maxLength(DnsResolverPolicyVirtualNetworkLink.name, 80); +@@minLength(DnsResolverPolicyVirtualNetworkLink.name, 1); +@@doc(DnsResolverPolicyVirtualNetworkLink.name, + "The name of the DNS resolver policy virtual network link for the DNS resolver policy." +); +@@doc(DnsResolverPolicyVirtualNetworkLink.properties, + "Properties of the DNS resolver policy virtual network link." +); +@@doc(DnsResolverPolicyVirtualNetworkLinks.createOrUpdate::parameters.resource, + "Parameters supplied to the CreateOrUpdate operation." +); +@@doc(DnsResolverPolicyVirtualNetworkLinks.update::parameters.properties, + "Parameters supplied to the Update operation." +); diff --git a/specification/dnsresolver/Network.Management/DnsSecurityRule.tsp b/specification/dnsresolver/Network.Management/DnsSecurityRule.tsp new file mode 100644 index 000000000000..7cb6c9ae7d35 --- /dev/null +++ b/specification/dnsresolver/Network.Management/DnsSecurityRule.tsp @@ -0,0 +1,112 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./DnsResolverPolicy.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.Network; +/** + * Describes a DNS security rule. + */ +@parentResource(DnsResolverPolicy) +model DnsSecurityRule + is Azure.ResourceManager.TrackedResource { + ...ResourceNameParameter< + Resource = DnsSecurityRule, + KeyName = "dnsSecurityRuleName", + SegmentName = "dnsSecurityRules", + NamePattern = "^[a-zA-Z0-9]([a-zA-Z0-9_\\-]*[a-zA-Z0-9])?$" + >; + ...Legacy.EntityTagProperty; +} + +@armResourceOperations +interface DnsSecurityRules { + /** + * Gets properties of a DNS security rule for a DNS resolver policy. + */ + get is ArmResourceRead; + + /** + * Creates or updates a DNS security rule for a DNS resolver policy. + */ + createOrUpdate is ArmResourceCreateOrReplaceAsync< + DnsSecurityRule, + Parameters = { + /** + * ETag of the resource. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes. + */ + @header + ifMatch?: string; + + /** + * Set to '*' to allow a new resource to be created, but to prevent updating an existing resource. Other values will be ignored. + */ + @header + ifNoneMatch?: string; + }, + LroHeaders = ArmLroLocationHeader & + Azure.Core.Foundations.RetryAfterHeader + >; + + /** + * Updates a DNS security rule. + */ + @patch(#{ implicitOptionality: false }) + update is ArmCustomPatchAsync< + DnsSecurityRule, + PatchModel = DnsSecurityRulePatch, + Parameters = { + /** + * ETag of the resource. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes. + */ + @header + ifMatch?: string; + } + >; + + /** + * Deletes a DNS security rule for a DNS resolver policy. WARNING: This operation cannot be undone. + */ + delete is ArmResourceDeleteWithoutOkAsync< + DnsSecurityRule, + Parameters = { + /** + * ETag of the resource. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes. + */ + @header + ifMatch?: string; + } + >; + + /** + * Lists DNS security rules for a DNS resolver policy. + */ + list is ArmResourceListByParent< + DnsSecurityRule, + Parameters = { + /** + * The maximum number of results to return. If not specified, returns up to 100 results. + */ + @query("$top") + $top?: int32; + } + >; +} + +@@maxLength(DnsSecurityRule.name, 80); +@@minLength(DnsSecurityRule.name, 1); +@@doc(DnsSecurityRule.name, "The name of the DNS security rule."); +@@doc(DnsSecurityRule.properties, "Properties of the DNS security rule."); +@@doc(DnsSecurityRules.createOrUpdate::parameters.resource, + "Parameters supplied to the CreateOrUpdate operation." +); +@@doc(DnsSecurityRules.update::parameters.properties, + "Parameters supplied to the Update operation." +); diff --git a/specification/dnsresolver/Network.Management/ForwardingRule.tsp b/specification/dnsresolver/Network.Management/ForwardingRule.tsp new file mode 100644 index 000000000000..440f1cdd8f6d --- /dev/null +++ b/specification/dnsresolver/Network.Management/ForwardingRule.tsp @@ -0,0 +1,112 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./DnsForwardingRuleset.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.Network; +/** + * Describes a forwarding rule within a DNS forwarding ruleset. + */ +@parentResource(DnsForwardingRuleset) +model ForwardingRule + is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = ForwardingRule, + KeyName = "forwardingRuleName", + SegmentName = "forwardingRules", + NamePattern = "" + >; + ...Legacy.EntityTagProperty; +} + +@armResourceOperations +interface ForwardingRules { + /** + * Gets properties of a forwarding rule in a DNS forwarding ruleset. + */ + get is ArmResourceRead; + + /** + * Creates or updates a forwarding rule in a DNS forwarding ruleset. + */ + createOrUpdate is ArmResourceCreateOrReplaceSync< + ForwardingRule, + Parameters = { + /** + * ETag of the resource. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes. + */ + @header + ifMatch?: string; + + /** + * Set to '*' to allow a new resource to be created, but to prevent updating an existing resource. Other values will be ignored. + */ + @header + ifNoneMatch?: string; + }, + Error = CloudError + >; + + /** + * Updates a forwarding rule in a DNS forwarding ruleset. + */ + @patch(#{ implicitOptionality: false }) + update is ArmCustomPatchSync< + ForwardingRule, + PatchModel = ForwardingRulePatch, + Parameters = { + /** + * ETag of the resource. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes. + */ + @header + ifMatch?: string; + }, + Error = CloudError + >; + + /** + * Deletes a forwarding rule in a DNS forwarding ruleset. WARNING: This operation cannot be undone. + */ + delete is ArmResourceDeleteSync< + ForwardingRule, + Parameters = { + /** + * ETag of the resource. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes. + */ + @header + ifMatch?: string; + }, + Error = CloudError + >; + + /** + * Lists forwarding rules in a DNS forwarding ruleset. + */ + list is ArmResourceListByParent< + ForwardingRule, + Parameters = { + /** + * The maximum number of results to return. If not specified, returns up to 100 results. + */ + @query("$top") + $top?: int32; + }, + Error = CloudError + >; +} + +@@doc(ForwardingRule.name, "The name of the forwarding rule."); +@@doc(ForwardingRule.properties, "Properties of the forwarding rule."); +@@doc(ForwardingRules.createOrUpdate::parameters.resource, + "Parameters supplied to the CreateOrUpdate operation." +); +@@doc(ForwardingRules.update::parameters.properties, + "Parameters supplied to the Update operation." +); diff --git a/specification/dnsresolver/Network.Management/InboundEndpoint.tsp b/specification/dnsresolver/Network.Management/InboundEndpoint.tsp new file mode 100644 index 000000000000..d59d721b5e21 --- /dev/null +++ b/specification/dnsresolver/Network.Management/InboundEndpoint.tsp @@ -0,0 +1,122 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./DnsResolver.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.Network; +/** + * Describes an inbound endpoint for a DNS resolver. + */ +@parentResource(DnsResolver) +model InboundEndpoint + is Azure.ResourceManager.TrackedResource { + ...ResourceNameParameter< + Resource = InboundEndpoint, + KeyName = "inboundEndpointName", + SegmentName = "inboundEndpoints", + NamePattern = "" + >; + ...Legacy.EntityTagProperty; +} + +@armResourceOperations +interface InboundEndpoints { + /** + * Gets properties of an inbound endpoint for a DNS resolver. + */ + get is ArmResourceRead; + + /** + * Creates or updates an inbound endpoint for a DNS resolver. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + createOrUpdate is ArmResourceCreateOrReplaceAsync< + InboundEndpoint, + Parameters = { + /** + * ETag of the resource. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes. + */ + @header + ifMatch?: string; + + /** + * Set to '*' to allow a new resource to be created, but to prevent updating an existing resource. Other values will be ignored. + */ + @header + ifNoneMatch?: string; + }, + Response = ArmResourceUpdatedResponse | ArmResourceCreatedResponse< + InboundEndpoint, + ArmLroLocationHeader & + Azure.Core.Foundations.RetryAfterHeader + > | ArmAcceptedLroResponse, + Error = CloudError + >; + + /** + * Updates an inbound endpoint for a DNS resolver. + */ + @patch(#{ implicitOptionality: false }) + update is ArmCustomPatchAsync< + InboundEndpoint, + PatchModel = InboundEndpointPatch, + Parameters = { + /** + * ETag of the resource. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes. + */ + @header + ifMatch?: string; + }, + Error = CloudError + >; + + /** + * Deletes an inbound endpoint for a DNS resolver. WARNING: This operation cannot be undone. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + delete is ArmResourceDeleteWithoutOkAsync< + InboundEndpoint, + Parameters = { + /** + * ETag of the resource. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes. + */ + @header + ifMatch?: string; + }, + Response = ArmDeletedResponse | ArmDeleteAcceptedLroResponse | ArmDeletedNoContentResponse, + Error = CloudError + >; + + /** + * Lists inbound endpoints for a DNS resolver. + */ + list is ArmResourceListByParent< + InboundEndpoint, + Parameters = { + /** + * The maximum number of results to return. If not specified, returns up to 100 results. + */ + @query("$top") + $top?: int32; + }, + Error = CloudError + >; +} + +@@doc(InboundEndpoint.name, + "The name of the inbound endpoint for the DNS resolver." +); +@@doc(InboundEndpoint.properties, "Properties of the inbound endpoint."); +@@doc(InboundEndpoints.createOrUpdate::parameters.resource, + "Parameters supplied to the CreateOrUpdate operation." +); +@@doc(InboundEndpoints.update::parameters.properties, + "Parameters supplied to the Update operation." +); diff --git a/specification/dnsresolver/Network.Management/OutboundEndpoint.tsp b/specification/dnsresolver/Network.Management/OutboundEndpoint.tsp new file mode 100644 index 000000000000..621db21d1e21 --- /dev/null +++ b/specification/dnsresolver/Network.Management/OutboundEndpoint.tsp @@ -0,0 +1,122 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./DnsResolver.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.Network; +/** + * Describes an outbound endpoint for a DNS resolver. + */ +@parentResource(DnsResolver) +model OutboundEndpoint + is Azure.ResourceManager.TrackedResource { + ...ResourceNameParameter< + Resource = OutboundEndpoint, + KeyName = "outboundEndpointName", + SegmentName = "outboundEndpoints", + NamePattern = "" + >; + ...Legacy.EntityTagProperty; +} + +@armResourceOperations +interface OutboundEndpoints { + /** + * Gets properties of an outbound endpoint for a DNS resolver. + */ + get is ArmResourceRead; + + /** + * Creates or updates an outbound endpoint for a DNS resolver. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + createOrUpdate is ArmResourceCreateOrReplaceAsync< + OutboundEndpoint, + Parameters = { + /** + * ETag of the resource. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes. + */ + @header + ifMatch?: string; + + /** + * Set to '*' to allow a new resource to be created, but to prevent updating an existing resource. Other values will be ignored. + */ + @header + ifNoneMatch?: string; + }, + Response = ArmResourceUpdatedResponse | ArmResourceCreatedResponse< + OutboundEndpoint, + ArmLroLocationHeader & + Azure.Core.Foundations.RetryAfterHeader + > | ArmAcceptedLroResponse, + Error = CloudError + >; + + /** + * Updates an outbound endpoint for a DNS resolver. + */ + @patch(#{ implicitOptionality: false }) + update is ArmCustomPatchAsync< + OutboundEndpoint, + PatchModel = OutboundEndpointPatch, + Parameters = { + /** + * ETag of the resource. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes. + */ + @header + ifMatch?: string; + }, + Error = CloudError + >; + + /** + * Deletes an outbound endpoint for a DNS resolver. WARNING: This operation cannot be undone. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + delete is ArmResourceDeleteWithoutOkAsync< + OutboundEndpoint, + Parameters = { + /** + * ETag of the resource. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes. + */ + @header + ifMatch?: string; + }, + Response = ArmDeletedResponse | ArmDeleteAcceptedLroResponse | ArmDeletedNoContentResponse, + Error = CloudError + >; + + /** + * Lists outbound endpoints for a DNS resolver. + */ + list is ArmResourceListByParent< + OutboundEndpoint, + Parameters = { + /** + * The maximum number of results to return. If not specified, returns up to 100 results. + */ + @query("$top") + $top?: int32; + }, + Error = CloudError + >; +} + +@@doc(OutboundEndpoint.name, + "The name of the outbound endpoint for the DNS resolver." +); +@@doc(OutboundEndpoint.properties, "Properties of the outbound endpoint."); +@@doc(OutboundEndpoints.createOrUpdate::parameters.resource, + "Parameters supplied to the CreateOrUpdate operation." +); +@@doc(OutboundEndpoints.update::parameters.properties, + "Parameters supplied to the Update operation." +); diff --git a/specification/dnsresolver/Network.Management/VirtualNetworkLink.tsp b/specification/dnsresolver/Network.Management/VirtualNetworkLink.tsp new file mode 100644 index 000000000000..b640cdd17438 --- /dev/null +++ b/specification/dnsresolver/Network.Management/VirtualNetworkLink.tsp @@ -0,0 +1,120 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./DnsForwardingRuleset.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.Network; +/** + * Describes a virtual network link. + */ +@parentResource(DnsForwardingRuleset) +model VirtualNetworkLink + is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = VirtualNetworkLink, + KeyName = "virtualNetworkLinkName", + SegmentName = "virtualNetworkLinks", + NamePattern = "" + >; + ...Legacy.EntityTagProperty; +} + +@armResourceOperations +interface VirtualNetworkLinks { + /** + * Gets properties of a virtual network link to a DNS forwarding ruleset. + */ + get is ArmResourceRead; + + /** + * Creates or updates a virtual network link to a DNS forwarding ruleset. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + createOrUpdate is ArmResourceCreateOrReplaceAsync< + VirtualNetworkLink, + Parameters = { + /** + * ETag of the resource. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes. + */ + @header + ifMatch?: string; + + /** + * Set to '*' to allow a new resource to be created, but to prevent updating an existing resource. Other values will be ignored. + */ + @header + ifNoneMatch?: string; + }, + Response = ArmResourceUpdatedResponse | ArmResourceCreatedResponse< + VirtualNetworkLink, + ArmLroLocationHeader & + Azure.Core.Foundations.RetryAfterHeader + > | ArmAcceptedLroResponse, + Error = CloudError + >; + + /** + * Updates a virtual network link to a DNS forwarding ruleset. + */ + @patch(#{ implicitOptionality: false }) + update is ArmCustomPatchAsync< + VirtualNetworkLink, + PatchModel = VirtualNetworkLinkPatch, + Parameters = { + /** + * ETag of the resource. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes. + */ + @header + ifMatch?: string; + }, + Error = CloudError + >; + + /** + * Deletes a virtual network link to a DNS forwarding ruleset. WARNING: This operation cannot be undone. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + delete is ArmResourceDeleteWithoutOkAsync< + VirtualNetworkLink, + Parameters = { + /** + * ETag of the resource. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes. + */ + @header + ifMatch?: string; + }, + Response = ArmDeletedResponse | ArmDeleteAcceptedLroResponse | ArmDeletedNoContentResponse, + Error = CloudError + >; + + /** + * Lists virtual network links to a DNS forwarding ruleset. + */ + list is ArmResourceListByParent< + VirtualNetworkLink, + Parameters = { + /** + * The maximum number of results to return. If not specified, returns up to 100 results. + */ + @query("$top") + $top?: int32; + }, + Error = CloudError + >; +} + +@@doc(VirtualNetworkLink.name, "The name of the virtual network link."); +@@doc(VirtualNetworkLink.properties, "Properties of the virtual network link."); +@@doc(VirtualNetworkLinks.createOrUpdate::parameters.resource, + "Parameters supplied to the CreateOrUpdate operation." +); +@@doc(VirtualNetworkLinks.update::parameters.properties, + "Parameters supplied to the Update operation." +); diff --git a/specification/dnsresolver/Network.Management/back-compatible.tsp b/specification/dnsresolver/Network.Management/back-compatible.tsp new file mode 100644 index 000000000000..43a2edcf69c0 --- /dev/null +++ b/specification/dnsresolver/Network.Management/back-compatible.tsp @@ -0,0 +1,101 @@ +import "@azure-tools/typespec-client-generator-core"; + +using Azure.ClientGenerator.Core; +using Microsoft.Network; + +#suppress "deprecated" "@flattenProperty decorator is not recommended to use." +@@flattenProperty(ForwardingRulePatch.properties); + +#suppress "deprecated" "@flattenProperty decorator is not recommended to use." +@@flattenProperty(VirtualNetworkLinkPatch.properties); + +#suppress "deprecated" "@flattenProperty decorator is not recommended to use." +@@flattenProperty(VirtualNetworkDnsForwardingRuleset.properties); + +#suppress "deprecated" "@flattenProperty decorator is not recommended to use." +@@flattenProperty(DnsSecurityRulePatch.properties); + +#suppress "deprecated" "@flattenProperty decorator is not recommended to use." +@@flattenProperty(DnsResolverDomainListPatch.properties); + +#suppress "deprecated" "@flattenProperty decorator is not recommended to use." +@@flattenProperty(DnsResolverDomainListBulk.properties); + +@@clientName(DnsResolvers.createOrUpdate::parameters.resource, "parameters"); +@@clientName(DnsResolvers.update::parameters.properties, "parameters"); +#suppress "deprecated" "@flattenProperty decorator is not recommended to use." +@@flattenProperty(DnsResolver.properties); + +@@clientName(InboundEndpoints.createOrUpdate::parameters.resource, + "parameters" +); +@@clientName(InboundEndpoints.update::parameters.properties, "parameters"); +#suppress "deprecated" "@flattenProperty decorator is not recommended to use." +@@flattenProperty(InboundEndpoint.properties); + +@@clientName(OutboundEndpoints.createOrUpdate::parameters.resource, + "parameters" +); +@@clientName(OutboundEndpoints.update::parameters.properties, "parameters"); +#suppress "deprecated" "@flattenProperty decorator is not recommended to use." +@@flattenProperty(OutboundEndpoint.properties); + +@@clientName(DnsForwardingRulesets.createOrUpdate::parameters.resource, + "parameters" +); +@@clientName(DnsForwardingRulesets.update::parameters.properties, "parameters"); +#suppress "deprecated" "@flattenProperty decorator is not recommended to use." +@@flattenProperty(DnsForwardingRuleset.properties); + +@@clientName(ForwardingRules.createOrUpdate::parameters.resource, "parameters"); +@@clientName(ForwardingRules.update::parameters.properties, "parameters"); +#suppress "deprecated" "@flattenProperty decorator is not recommended to use." +@@flattenProperty(ForwardingRule.properties); + +@@clientName(VirtualNetworkLinks.createOrUpdate::parameters.resource, + "parameters" +); +@@clientName(VirtualNetworkLinks.update::parameters.properties, "parameters"); +#suppress "deprecated" "@flattenProperty decorator is not recommended to use." +@@flattenProperty(VirtualNetworkLink.properties); + +@@clientName(DnsResolverPolicies.createOrUpdate::parameters.resource, + "parameters" +); +@@clientName(DnsResolverPolicies.update::parameters.properties, "parameters"); +#suppress "deprecated" "@flattenProperty decorator is not recommended to use." +@@flattenProperty(DnsResolverPolicy.properties); + +@@clientName(DnsSecurityRules.createOrUpdate::parameters.resource, + "parameters" +); +@@clientName(DnsSecurityRules.update::parameters.properties, "parameters"); +#suppress "deprecated" "@flattenProperty decorator is not recommended to use." +@@flattenProperty(DnsSecurityRule.properties); + +@@clientName(DnsResolverPolicyVirtualNetworkLinks.createOrUpdate::parameters.resource, + "parameters" +); +@@clientName(DnsResolverPolicyVirtualNetworkLinks.update::parameters.properties, + "parameters" +); +#suppress "deprecated" "@flattenProperty decorator is not recommended to use." +@@flattenProperty(DnsResolverPolicyVirtualNetworkLink.properties); + +@@clientName(DnsResolverDomainLists.createOrUpdate::parameters.resource, + "parameters" +); +@@clientName(DnsResolverDomainLists.update::parameters.properties, + "parameters" +); +@@clientName(DnsResolverDomainLists.bulk::parameters.body, "parameters"); +#suppress "deprecated" "@flattenProperty decorator is not recommended to use." +@@flattenProperty(DnsResolverDomainList.properties); + +@@clientLocation(DnsResolversOperationGroup.listByVirtualNetwork, DnsResolvers); +@@clientLocation(DnsForwardingRulesetsOperationGroup.listByVirtualNetwork, + DnsForwardingRulesets +); +@@clientLocation(DnsResolverPoliciesOperationGroup.listByVirtualNetwork, + DnsResolverPolicies +); diff --git a/specification/dnsresolver/Network.Management/client.tsp b/specification/dnsresolver/Network.Management/client.tsp new file mode 100644 index 000000000000..53e2d459ffd9 --- /dev/null +++ b/specification/dnsresolver/Network.Management/client.tsp @@ -0,0 +1,67 @@ +import "./main.tsp"; +import "@azure-tools/typespec-client-generator-core"; + +using Azure.ClientGenerator.Core; +using Microsoft.Network; + +@@clientName(Microsoft.Network, "DnsResolverManagementClient", "javascript"); + +@@clientName(ProvisioningState, "DnsResolverProvisioningState", "csharp"); +@@clientName(ForwardingRule, "DnsForwardingRule", "csharp"); +@@clientName(ForwardingRuleState, "DnsForwardingRuleState", "csharp"); +@@clientName(ForwardingRuleProperties.forwardingRuleState, + "DnsForwardingRuleState", + "csharp" +); +@@clientName(ForwardingRulePatchProperties.forwardingRuleState, + "DnsForwardingRuleState", + "csharp" +); +@@clientName(InboundEndpoint, "DnsResolverInboundEndpoint", "csharp"); +@@clientName(IpConfiguration, "InboundEndpointIpConfiguration", "csharp"); +@@clientName(IpAllocationMethod, "InboundEndpointIpAllocationMethod", "csharp"); +@@clientName(OutboundEndpoint, "DnsResolverOutboundEndpoint", "csharp"); +@@clientName(VirtualNetworkLink, + "DnsForwardingRulesetVirtualNetworkLink", + "csharp" +); +@@clientName(ActionType, "DnsSecurityRuleActionType", "csharp"); +@@clientName(Action, "DnsResolverDomainListBulkAction", "csharp"); +@@clientName(DnsForwardingRuleset.name, "rulesetName", "csharp"); + +@@alternateType(Azure.ResourceManager.Legacy.EntityTagProperty.etag, + Azure.Core.eTag, + "csharp" +); +@@alternateType(DnsResolverProperties.resourceGuid, Azure.Core.uuid, "csharp"); +@@alternateType(DnsForwardingRulesetProperties.resourceGuid, + Azure.Core.uuid, + "csharp" +); +@@alternateType(DnsResolverDomainListProperties.domainsUrl, url, "csharp"); +@@alternateType(DnsResolverDomainListProperties.resourceGuid, + Azure.Core.uuid, + "csharp" +); +@@alternateType(InboundEndpointProperties.resourceGuid, + Azure.Core.uuid, + "csharp" +); +@@alternateType(OutboundEndpointProperties.resourceGuid, + Azure.Core.uuid, + "csharp" +); +@@alternateType(DnsResolverPolicyProperties.resourceGuid, + Azure.Core.uuid, + "csharp" +); +@@alternateType(DnsResolverDomainListBulkProperties.storageUrl, url, "csharp"); +@@alternateType(IpConfiguration.privateIpAddress, + Azure.Core.ipV4Address, + "csharp" +); +@@alternateType(TargetDnsServer.ipAddress, Azure.Core.ipV4Address, "csharp"); +@@alternateType(VirtualNetworkDnsForwardingRuleset.id, + Azure.Core.armResourceIdentifier, + "csharp" +); diff --git a/specification/dnsresolver/Network.Management/examples/2025-05-01/DnsForwardingRuleset_Delete.json b/specification/dnsresolver/Network.Management/examples/2025-05-01/DnsForwardingRuleset_Delete.json new file mode 100644 index 000000000000..7c5e58c0faad --- /dev/null +++ b/specification/dnsresolver/Network.Management/examples/2025-05-01/DnsForwardingRuleset_Delete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2025-05-01", + "dnsForwardingRulesetName": "samplednsForwardingRulesetName", + "resourceGroupName": "sampleResourceGroup", + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2025-05-01", + "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2025-05-01" + } + }, + "204": {} + }, + "operationId": "DnsForwardingRulesets_Delete", + "title": "Delete DNS forwarding ruleset" +} diff --git a/specification/dnsresolver/Network.Management/examples/2025-05-01/DnsForwardingRuleset_Get.json b/specification/dnsresolver/Network.Management/examples/2025-05-01/DnsForwardingRuleset_Get.json new file mode 100644 index 000000000000..3fb5ad4f0800 --- /dev/null +++ b/specification/dnsresolver/Network.Management/examples/2025-05-01/DnsForwardingRuleset_Get.json @@ -0,0 +1,42 @@ +{ + "parameters": { + "api-version": "2025-05-01", + "dnsForwardingRulesetName": "sampleDnsForwardingRuleset", + "resourceGroupName": "sampleResourceGroup", + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e" + }, + "responses": { + "200": { + "body": { + "name": "sampleDnsForwardingRuleset", + "type": "Microsoft.Network/dnsForwardingRulesets", + "etag": "00000000-0000-0000-0000-000000000000", + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsForwardingRulesets/sampleDnsForwardingRuleset", + "location": "westus2", + "properties": { + "dnsResolverOutboundEndpoints": [ + { + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolvers/sampleDnsResolver/outboundEndpoints/sampleOutboundEndpoint0" + }, + { + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolvers/sampleDnsResolver/outboundEndpoints/sampleOutboundEndpoint1" + } + ], + "provisioningState": "Succeeded", + "resourceGuid": "a7e1a32c-498c-401c-a805-5bc3518257b8" + }, + "systemData": { + "createdAt": "2021-04-03T01:01:01.1075056Z", + "createdByType": "Application", + "lastModifiedAt": "2021-04-04T02:03:01.1974346Z", + "lastModifiedByType": "Application" + }, + "tags": { + "key1": "value1" + } + } + } + }, + "operationId": "DnsForwardingRulesets_Get", + "title": "Retrieve DNS forwarding ruleset" +} diff --git a/specification/dnsresolver/Network.Management/examples/2025-05-01/DnsForwardingRuleset_ListByResourceGroup.json b/specification/dnsresolver/Network.Management/examples/2025-05-01/DnsForwardingRuleset_ListByResourceGroup.json new file mode 100644 index 000000000000..f02046665a13 --- /dev/null +++ b/specification/dnsresolver/Network.Management/examples/2025-05-01/DnsForwardingRuleset_ListByResourceGroup.json @@ -0,0 +1,74 @@ +{ + "parameters": { + "api-version": "2025-05-01", + "resourceGroupName": "sampleResourceGroup", + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e" + }, + "responses": { + "200": { + "body": { + "nextLink": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsForwardingRulesets?$skipToken=skipToken&api-version=2025-05-01", + "value": [ + { + "name": "sampleDnsForwardingRuleset", + "type": "Microsoft.Network/dnsForwardingRulesets", + "etag": "00000000-0000-0000-0000-000000000000", + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsForwardingRulesets/sampleDnsForwardingRuleset", + "location": "westus2", + "properties": { + "dnsResolverOutboundEndpoints": [ + { + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolvers/sampleDnsResolver/outboundEndpoints/sampleOutboundEndpoint0" + }, + { + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolvers/sampleDnsResolver/outboundEndpoints/sampleOutboundEndpoint1" + } + ], + "provisioningState": "Succeeded", + "resourceGuid": "a7e1a32c-498c-401c-a805-5bc3518257b8" + }, + "systemData": { + "createdAt": "2021-04-03T01:01:01.1075056Z", + "createdByType": "Application", + "lastModifiedAt": "2021-04-04T02:03:01.1974346Z", + "lastModifiedByType": "Application" + }, + "tags": { + "key1": "value1" + } + }, + { + "name": "sampleDnsForwardingRuleset", + "type": "Microsoft.Network/dnsForwardingRulesets", + "etag": "00000000-0000-0000-0000-000000000000", + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsForwardingRulesets/sampleDnsForwardingRuleset1", + "location": "westus2", + "properties": { + "dnsResolverOutboundEndpoints": [ + { + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolvers/sampleDnsResolver/outboundEndpoints/sampleOutboundEndpoint2" + }, + { + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolvers/sampleDnsResolver/outboundEndpoints/sampleOutboundEndpoint3" + } + ], + "provisioningState": "Succeeded", + "resourceGuid": "c2aed17a-708d-48d1-89c3-d6a9b648d222" + }, + "systemData": { + "createdAt": "2021-04-04T01:01:01.1075056Z", + "createdByType": "Application", + "lastModifiedAt": "2021-04-05T02:03:01.1974346Z", + "lastModifiedByType": "Application" + }, + "tags": { + "key1": "value1" + } + } + ] + } + } + }, + "operationId": "DnsForwardingRulesets_ListByResourceGroup", + "title": "List DNS forwarding rulesets by resource group" +} diff --git a/specification/dnsresolver/Network.Management/examples/2025-05-01/DnsForwardingRuleset_ListBySubscription.json b/specification/dnsresolver/Network.Management/examples/2025-05-01/DnsForwardingRuleset_ListBySubscription.json new file mode 100644 index 000000000000..895b7867434e --- /dev/null +++ b/specification/dnsresolver/Network.Management/examples/2025-05-01/DnsForwardingRuleset_ListBySubscription.json @@ -0,0 +1,73 @@ +{ + "parameters": { + "api-version": "2025-05-01", + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e" + }, + "responses": { + "200": { + "body": { + "nextLink": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/providers/Microsoft.Network/dnsForwardingRulesets?$skipToken=skipToken&api-version=2025-05-01", + "value": [ + { + "name": "sampleDnsForwardingRuleset", + "type": "Microsoft.Network/dnsForwardingRulesets", + "etag": "00000000-0000-0000-0000-000000000000", + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsForwardingRulesets/sampleDnsForwardingRuleset", + "location": "westus2", + "properties": { + "dnsResolverOutboundEndpoints": [ + { + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolvers/sampleDnsResolver/outboundEndpoints/sampleOutboundEndpoint0" + }, + { + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolvers/sampleDnsResolver/outboundEndpoints/sampleOutboundEndpoint1" + } + ], + "provisioningState": "Succeeded", + "resourceGuid": "a7e1a32c-498c-401c-a805-5bc3518257b8" + }, + "systemData": { + "createdAt": "2021-04-03T01:01:01.1075056Z", + "createdByType": "Application", + "lastModifiedAt": "2021-04-04T02:03:01.1974346Z", + "lastModifiedByType": "Application" + }, + "tags": { + "key1": "value1" + } + }, + { + "name": "sampleDnsForwardingRuleset", + "type": "Microsoft.Network/dnsForwardingRulesets", + "etag": "00000000-0000-0000-0000-000000000000", + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsForwardingRulesets/sampleDnsForwardingRuleset1", + "location": "westus2", + "properties": { + "dnsResolverOutboundEndpoints": [ + { + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolvers/sampleDnsResolver/outboundEndpoints/sampleOutboundEndpoint2" + }, + { + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolvers/sampleDnsResolver/outboundEndpoints/sampleOutboundEndpoint3" + } + ], + "provisioningState": "Succeeded", + "resourceGuid": "a7e1a32c-498c-401c-a805-5bc3518257b8" + }, + "systemData": { + "createdAt": "2021-04-04T01:01:01.1075056Z", + "createdByType": "Application", + "lastModifiedAt": "2021-04-05T02:03:01.1974346Z", + "lastModifiedByType": "Application" + }, + "tags": { + "key1": "value1" + } + } + ] + } + } + }, + "operationId": "DnsForwardingRulesets_List", + "title": "List DNS forwarding rulesets by subscription" +} diff --git a/specification/dnsresolver/Network.Management/examples/2025-05-01/DnsForwardingRuleset_ListByVirtualNetwork.json b/specification/dnsresolver/Network.Management/examples/2025-05-01/DnsForwardingRuleset_ListByVirtualNetwork.json new file mode 100644 index 000000000000..1778012ee0f3 --- /dev/null +++ b/specification/dnsresolver/Network.Management/examples/2025-05-01/DnsForwardingRuleset_ListByVirtualNetwork.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "api-version": "2025-05-01", + "resourceGroupName": "sampleResourceGroup", + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", + "virtualNetworkName": "sampleVirtualNetwork" + }, + "responses": { + "200": { + "body": { + "nextLink": null, + "value": [ + { + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsForwardingRulesets/sampleDnsForwardingRuleset", + "properties": { + "virtualNetworkLink": { + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsForwardingRuleset/sampleDnsForwardingRuleset/virtualNetworkLinks/sampleVirtualNetworkLink" + } + } + } + ] + } + } + }, + "operationId": "DnsForwardingRulesets_ListByVirtualNetwork", + "title": "List DNS forwarding rulesets by virtual network" +} diff --git a/specification/dnsresolver/Network.Management/examples/2025-05-01/DnsForwardingRuleset_Patch.json b/specification/dnsresolver/Network.Management/examples/2025-05-01/DnsForwardingRuleset_Patch.json new file mode 100644 index 000000000000..9c6dc8ffb341 --- /dev/null +++ b/specification/dnsresolver/Network.Management/examples/2025-05-01/DnsForwardingRuleset_Patch.json @@ -0,0 +1,53 @@ +{ + "parameters": { + "api-version": "2025-05-01", + "dnsForwardingRulesetName": "sampleDnsForwardingRuleset", + "parameters": { + "tags": { + "key1": "value1" + } + }, + "resourceGroupName": "sampleResourceGroup", + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e" + }, + "responses": { + "200": { + "body": { + "name": "sampleDnsForwardingRuleset", + "type": "Microsoft.Network/dnsForwardingRulesets", + "etag": "00000000-0000-0000-0000-000000000000", + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsForwardingRulesets/sampleDnsForwardingRuleset", + "location": "westus2", + "properties": { + "dnsResolverOutboundEndpoints": [ + { + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolvers/sampleDnsResolver/outboundEndpoints/sampleOutboundEndpoint0" + }, + { + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolvers/sampleDnsResolver/outboundEndpoints/sampleOutboundEndpoint1" + } + ], + "provisioningState": "Succeeded", + "resourceGuid": "a7e1a32c-498c-401c-a805-5bc3518257b8" + }, + "systemData": { + "createdAt": "2021-04-03T01:01:01.1075056Z", + "createdByType": "Application", + "lastModifiedAt": "2021-04-04T02:03:01.1974346Z", + "lastModifiedByType": "Application" + }, + "tags": { + "key1": "value1" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2025-05-01", + "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2025-05-01" + } + } + }, + "operationId": "DnsForwardingRulesets_Update", + "title": "Update DNS forwarding ruleset" +} diff --git a/specification/dnsresolver/Network.Management/examples/2025-05-01/DnsForwardingRuleset_Put.json b/specification/dnsresolver/Network.Management/examples/2025-05-01/DnsForwardingRuleset_Put.json new file mode 100644 index 000000000000..4ba915690523 --- /dev/null +++ b/specification/dnsresolver/Network.Management/examples/2025-05-01/DnsForwardingRuleset_Put.json @@ -0,0 +1,94 @@ +{ + "parameters": { + "api-version": "2025-05-01", + "dnsForwardingRulesetName": "samplednsForwardingRuleset", + "parameters": { + "location": "westus2", + "properties": { + "dnsResolverOutboundEndpoints": [ + { + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolvers/sampleDnsResolver/outboundEndpoints/sampleOutboundEndpoint0" + }, + { + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolvers/sampleDnsResolver/outboundEndpoints/sampleOutboundEndpoint1" + } + ] + }, + "tags": { + "key1": "value1" + } + }, + "resourceGroupName": "sampleResourceGroup", + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e" + }, + "responses": { + "200": { + "body": { + "name": "sampleDnsForwardingRuleset", + "type": "Microsoft.Network/dnsForwardingRulesets", + "etag": "00000000-0000-0000-0000-000000000000", + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsForwardingRulesets/sampleDnsForwardingRuleset", + "location": "westus2", + "properties": { + "dnsResolverOutboundEndpoints": [ + { + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolvers/sampleDnsResolver/outboundEndpoints/sampleOutboundEndpoint0" + }, + { + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolvers/sampleDnsResolver/outboundEndpoints/sampleOutboundEndpoint1" + } + ], + "provisioningState": "Succeeded", + "resourceGuid": "a7e1a32c-498c-401c-a805-5bc3518257b8" + }, + "systemData": { + "createdAt": "2021-04-03T01:01:01.1075056Z", + "createdByType": "Application", + "lastModifiedAt": "2021-04-04T02:03:01.1974346Z", + "lastModifiedByType": "Application" + }, + "tags": { + "key1": "value1" + } + } + }, + "201": { + "body": { + "name": "sampleDnsForwardingRuleset", + "type": "Microsoft.Network/dnsForwardingRulesets", + "etag": "00000000-0000-0000-0000-000000000000", + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsForwardingRulesets/sampleDnsForwardingRuleset", + "location": "westus2", + "properties": { + "dnsResolverOutboundEndpoints": [ + { + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolvers/sampleDnsResolver/outboundEndpoints/sampleOutboundEndpoint0" + }, + { + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolvers/sampleDnsResolver/outboundEndpoints/sampleOutboundEndpoint1" + } + ], + "provisioningState": "Succeeded", + "resourceGuid": "a7e1a32c-498c-401c-a805-5bc3518257b8" + }, + "systemData": { + "createdAt": "2021-04-03T01:01:01.1075056Z", + "createdByType": "Application", + "lastModifiedAt": "2021-04-04T02:03:01.1974346Z", + "lastModifiedByType": "Application" + }, + "tags": { + "key1": "value1" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2025-05-01", + "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2025-05-01" + } + } + }, + "operationId": "DnsForwardingRulesets_CreateOrUpdate", + "title": "Upsert DNS forwarding ruleset" +} diff --git a/specification/dnsresolver/Network.Management/examples/2025-05-01/DnsResolverDomainList_BulkDomains_Get.json b/specification/dnsresolver/Network.Management/examples/2025-05-01/DnsResolverDomainList_BulkDomains_Get.json new file mode 100644 index 000000000000..a6b8a3927ed8 --- /dev/null +++ b/specification/dnsresolver/Network.Management/examples/2025-05-01/DnsResolverDomainList_BulkDomains_Get.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "api-version": "2025-05-01", + "dnsResolverDomainListName": "sampleDnsResolverDomainList", + "resourceGroupName": "sampleResourceGroup", + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e" + }, + "responses": { + "200": { + "body": { + "name": "sampleDnsResolverDomainList", + "type": "Microsoft.Network/dnsResolverDomainLists", + "etag": "00000000-0000-0000-0000-000000000000", + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolverDomainLists/sampleDnsResolverDomainList", + "location": "westus2", + "properties": { + "domainsUrl": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolverDomainLists/sampleDnsResolverDomainList/bulk", + "provisioningState": "Succeeded", + "resourceGuid": "a7e1a32c-498c-401c-a805-5bc3518257b8" + }, + "systemData": { + "createdAt": "2021-04-03T01:01:01.1075056Z", + "createdByType": "Application", + "lastModifiedAt": "2021-04-04T02:03:01.1974346Z", + "lastModifiedByType": "Application" + }, + "tags": { + "key1": "value1" + } + } + } + }, + "operationId": "DnsResolverDomainLists_Get", + "title": "Retrieve DNS resolver domain list with bulk number of domains" +} diff --git a/specification/dnsresolver/Network.Management/examples/2025-05-01/DnsResolverDomainList_BulkDomains_Put.json b/specification/dnsresolver/Network.Management/examples/2025-05-01/DnsResolverDomainList_BulkDomains_Put.json new file mode 100644 index 000000000000..116cfdc9d581 --- /dev/null +++ b/specification/dnsresolver/Network.Management/examples/2025-05-01/DnsResolverDomainList_BulkDomains_Put.json @@ -0,0 +1,65 @@ +{ + "parameters": { + "api-version": "2025-05-01", + "dnsResolverDomainListName": "sampleDnsResolverDomainList", + "parameters": { + "location": "westus2", + "properties": {}, + "tags": { + "key1": "value1" + } + }, + "resourceGroupName": "sampleResourceGroup", + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e" + }, + "responses": { + "200": { + "body": { + "name": "sampleDnsResolverDomainList", + "type": "Microsoft.Network/dnsResolverDomainLists", + "etag": "00000000-0000-0000-0000-000000000000", + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolverDomainLists/sampleDnsResolverDomainList", + "location": "westus2", + "properties": { + "domainsUrl": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolverDomainLists/sampleDnsResolverDomainList/bulk", + "provisioningState": "Succeeded", + "resourceGuid": "b6b2d964-8588-4e3a-a7fe-8a5b7fe8eca5" + }, + "systemData": { + "createdAt": "2021-04-01T01:01:01.1075056Z", + "createdByType": "Application", + "lastModifiedAt": "2021-04-02T02:03:01.1974346Z", + "lastModifiedByType": "Application" + }, + "tags": { + "key1": "value1" + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2025-05-01" + } + }, + "201": { + "body": { + "name": "sampleDnsResolverDomainList", + "type": "Microsoft.Network/dnsResolverDomainLists", + "etag": "00000000-0000-0000-0000-000000000000", + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolverDomainLists/sampleDnsResolverDomainList", + "location": "westus2", + "properties": { + "domainsUrl": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolverDomainLists/sampleDnsResolverDomainList/bulk", + "provisioningState": "Succeeded", + "resourceGuid": "b6b2d964-8588-4e3a-a7fe-8a5b7fe8eca5" + }, + "tags": { + "key1": "value1" + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2025-05-01" + } + } + }, + "operationId": "DnsResolverDomainLists_CreateOrUpdate", + "title": "Upsert DNS resolver domain list with bulk number of domains" +} diff --git a/specification/dnsresolver/Network.Management/examples/2025-05-01/DnsResolverDomainList_BulkDownload.json b/specification/dnsresolver/Network.Management/examples/2025-05-01/DnsResolverDomainList_BulkDownload.json new file mode 100644 index 000000000000..32e479079beb --- /dev/null +++ b/specification/dnsresolver/Network.Management/examples/2025-05-01/DnsResolverDomainList_BulkDownload.json @@ -0,0 +1,49 @@ +{ + "parameters": { + "api-version": "2025-05-01", + "dnsResolverDomainListName": "sampleDnsResolverDomainList", + "parameters": { + "properties": { + "action": "Download", + "storageUrl": "https://sampleStorageAccount.blob.core.windows.net/sample-container/sampleBlob.txt?sv=2022-11-02&sr=b&sig=39Up9jzHkxhUIhFEjEh9594DJxe7w6cIRCgOV6ICGS0%3A377&sp=rcw" + } + }, + "resourceGroupName": "sampleResourceGroup", + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e" + }, + "responses": { + "200": { + "body": { + "name": "sampleDnsResolverDomainList", + "type": "Microsoft.Network/dnsResolverDomainLists", + "etag": "00000000-0000-0000-0000-000000000000", + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolverDomainLists/sampleDnsResolverDomainList", + "location": "westus2", + "properties": { + "domains": [], + "provisioningState": "Succeeded", + "resourceGuid": "b6b2d964-8588-4e3a-a7fe-8a5b7fe8eca5" + }, + "systemData": { + "createdAt": "2025-04-01T01:01:01.1075056Z", + "createdByType": "Application", + "lastModifiedAt": "2025-04-02T02:03:01.1974346Z", + "lastModifiedByType": "Application" + }, + "tags": { + "key1": "value1" + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2025-05-01" + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2025-05-01" + } + } + }, + "operationId": "DnsResolverDomainLists_Bulk", + "title": "Download DNS resolver domain list domains" +} diff --git a/specification/dnsresolver/Network.Management/examples/2025-05-01/DnsResolverDomainList_BulkUpload.json b/specification/dnsresolver/Network.Management/examples/2025-05-01/DnsResolverDomainList_BulkUpload.json new file mode 100644 index 000000000000..aea215791ca5 --- /dev/null +++ b/specification/dnsresolver/Network.Management/examples/2025-05-01/DnsResolverDomainList_BulkUpload.json @@ -0,0 +1,49 @@ +{ + "parameters": { + "api-version": "2025-05-01", + "dnsResolverDomainListName": "sampleDnsResolverDomainList", + "parameters": { + "properties": { + "action": "Upload", + "storageUrl": "https://sampleStorageAccount.blob.core.windows.net/sample-container/sampleBlob.txt?sv=2022-11-02&sr=b&sig=39Up9jzHkxhUIhFEjEh9594DJxe7w6cIRCgOV6ICGS0%3A377&sp=rcw" + } + }, + "resourceGroupName": "sampleResourceGroup", + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e" + }, + "responses": { + "200": { + "body": { + "name": "sampleDnsResolverDomainList", + "type": "Microsoft.Network/dnsResolverDomainLists", + "etag": "00000000-0000-0000-0000-000000000000", + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolverDomainLists/sampleDnsResolverDomainList", + "location": "westus2", + "properties": { + "domains": [], + "provisioningState": "Succeeded", + "resourceGuid": "b6b2d964-8588-4e3a-a7fe-8a5b7fe8eca5" + }, + "systemData": { + "createdAt": "2025-05-01T01:01:01.1075056Z", + "createdByType": "Application", + "lastModifiedAt": "2025-05-02T02:03:01.1974346Z", + "lastModifiedByType": "Application" + }, + "tags": { + "key1": "value1" + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2025-05-01" + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2025-05-01" + } + } + }, + "operationId": "DnsResolverDomainLists_Bulk", + "title": "Upload DNS resolver domain list domains" +} diff --git a/specification/dnsresolver/Network.Management/examples/2025-05-01/DnsResolverDomainList_Delete.json b/specification/dnsresolver/Network.Management/examples/2025-05-01/DnsResolverDomainList_Delete.json new file mode 100644 index 000000000000..aeab21abcca6 --- /dev/null +++ b/specification/dnsresolver/Network.Management/examples/2025-05-01/DnsResolverDomainList_Delete.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2025-05-01", + "dnsResolverDomainListName": "sampleDnsResolverDomainList", + "resourceGroupName": "sampleResourceGroup", + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2025-05-01", + "Location": "https://management.azure.com/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2025-05-01" + } + }, + "204": {} + }, + "operationId": "DnsResolverDomainLists_Delete", + "title": "Delete DNS resolver domain list" +} diff --git a/specification/dnsresolver/Network.Management/examples/2025-05-01/DnsResolverDomainList_Get.json b/specification/dnsresolver/Network.Management/examples/2025-05-01/DnsResolverDomainList_Get.json new file mode 100644 index 000000000000..029dae7888d2 --- /dev/null +++ b/specification/dnsresolver/Network.Management/examples/2025-05-01/DnsResolverDomainList_Get.json @@ -0,0 +1,37 @@ +{ + "parameters": { + "api-version": "2025-05-01", + "dnsResolverDomainListName": "sampleDnsResolverDomainList", + "resourceGroupName": "sampleResourceGroup", + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e" + }, + "responses": { + "200": { + "body": { + "name": "sampleDnsResolverDomainList", + "type": "Microsoft.Network/dnsResolverDomainLists", + "etag": "00000000-0000-0000-0000-000000000000", + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolverDomainLists/sampleDnsResolverDomainList", + "location": "westus2", + "properties": { + "domains": [ + "contoso.com" + ], + "provisioningState": "Succeeded", + "resourceGuid": "a7e1a32c-498c-401c-a805-5bc3518257b8" + }, + "systemData": { + "createdAt": "2021-04-03T01:01:01.1075056Z", + "createdByType": "Application", + "lastModifiedAt": "2021-04-04T02:03:01.1974346Z", + "lastModifiedByType": "Application" + }, + "tags": { + "key1": "value1" + } + } + } + }, + "operationId": "DnsResolverDomainLists_Get", + "title": "Retrieve DNS resolver domain list with less than 1000 domains" +} diff --git a/specification/dnsresolver/Network.Management/examples/2025-05-01/DnsResolverDomainList_ListByResourceGroup.json b/specification/dnsresolver/Network.Management/examples/2025-05-01/DnsResolverDomainList_ListByResourceGroup.json new file mode 100644 index 000000000000..4453183e6d96 --- /dev/null +++ b/specification/dnsresolver/Network.Management/examples/2025-05-01/DnsResolverDomainList_ListByResourceGroup.json @@ -0,0 +1,62 @@ +{ + "parameters": { + "api-version": "2025-05-01", + "resourceGroupName": "sampleResourceGroup", + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e" + }, + "responses": { + "200": { + "body": { + "nextLink": "https://management.azure.com/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolverDomainLists?$skipToken=skipToken&api-version=2025-05-01", + "value": [ + { + "name": "sampleDnsResolverDomainList1", + "type": "Microsoft.Network/dnsResolverDomainLists", + "etag": "00000000-0000-0000-0000-000000000000", + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolverDomainLists/sampleDnsResolverDomainList1", + "location": "westus2", + "properties": { + "domains": [ + "contoso.com" + ], + "provisioningState": "Succeeded", + "resourceGuid": "ad9c8da4-3bb2-4821-a878-c2cb07b01fb6" + }, + "systemData": { + "createdAt": "2021-04-01T01:01:01.1075056Z", + "createdByType": "Application", + "lastModifiedAt": "2021-04-02T02:03:01.1974346Z", + "lastModifiedByType": "Application" + }, + "tags": { + "key1": "value1" + } + }, + { + "name": "sampleDnsResolverDomainList2", + "type": "Microsoft.Network/dnsResolverDomainLists", + "etag": "00000000-0000-0000-0000-000000000000", + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolverDomainLists/sampleDnsResolverDomainList2", + "location": "westus2", + "properties": { + "domainsUrl": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolverDomainLists/sampleDnsResolverDomainList2/bulk", + "provisioningState": "Succeeded", + "resourceGuid": "b6b2d964-8588-4e3a-a7fe-8a5b7fe8eca5" + }, + "systemData": { + "createdAt": "2021-04-03T01:01:01.1075056Z", + "createdByType": "Application", + "lastModifiedAt": "2021-04-04T02:03:01.1974346Z", + "lastModifiedByType": "Application" + }, + "tags": { + "key1": "value1" + } + } + ] + } + } + }, + "operationId": "DnsResolverDomainLists_ListByResourceGroup", + "title": "List DNS resolver domain lists by resource group" +} diff --git a/specification/dnsresolver/Network.Management/examples/2025-05-01/DnsResolverDomainList_ListBySubscription.json b/specification/dnsresolver/Network.Management/examples/2025-05-01/DnsResolverDomainList_ListBySubscription.json new file mode 100644 index 000000000000..092058162606 --- /dev/null +++ b/specification/dnsresolver/Network.Management/examples/2025-05-01/DnsResolverDomainList_ListBySubscription.json @@ -0,0 +1,61 @@ +{ + "parameters": { + "api-version": "2025-05-01", + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e" + }, + "responses": { + "200": { + "body": { + "nextLink": "https://management.azure.com/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/providers/Microsoft.Network/dnsResolverDomainLists?$skipToken=skipToken&api-version=2025-05-01", + "value": [ + { + "name": "sampleDnsResolverDomainList1", + "type": "Microsoft.Network/dnsResolverDomainLists", + "etag": "00000000-0000-0000-0000-000000000000", + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolverDomainLists/sampleDnsResolverDomainList1", + "location": "westus2", + "properties": { + "domains": [ + "contoso.com" + ], + "provisioningState": "Succeeded", + "resourceGuid": "ad9c8da4-3bb2-4821-a878-c2cb07b01fb6" + }, + "systemData": { + "createdAt": "2021-04-01T01:01:01.1075056Z", + "createdByType": "Application", + "lastModifiedAt": "2021-04-02T02:03:01.1974346Z", + "lastModifiedByType": "Application" + }, + "tags": { + "key1": "value1" + } + }, + { + "name": "sampleDnsResolverDomainList2", + "type": "Microsoft.Network/dnsResolverDomainLists", + "etag": "00000000-0000-0000-0000-000000000000", + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolverDomainLists/sampleDnsResolverDomainList2", + "location": "westus2", + "properties": { + "domainsUrl": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolverDomainLists/sampleDnsResolverDomainList2/bulk", + "provisioningState": "Succeeded", + "resourceGuid": "b6b2d964-8588-4e3a-a7fe-8a5b7fe8eca5" + }, + "systemData": { + "createdAt": "2021-04-01T01:01:01.1075056Z", + "createdByType": "Application", + "lastModifiedAt": "2021-04-02T02:03:01.1974346Z", + "lastModifiedByType": "Application" + }, + "tags": { + "key1": "value1" + } + } + ] + } + } + }, + "operationId": "DnsResolverDomainLists_List", + "title": "List DNS resolver domain lists by subscription" +} diff --git a/specification/dnsresolver/Network.Management/examples/2025-05-01/DnsResolverDomainList_Patch.json b/specification/dnsresolver/Network.Management/examples/2025-05-01/DnsResolverDomainList_Patch.json new file mode 100644 index 000000000000..b47400a5d76b --- /dev/null +++ b/specification/dnsresolver/Network.Management/examples/2025-05-01/DnsResolverDomainList_Patch.json @@ -0,0 +1,53 @@ +{ + "parameters": { + "api-version": "2025-05-01", + "dnsResolverDomainListName": "sampleDnsResolverDomainList", + "parameters": { + "properties": { + "domains": [ + "contoso.com" + ] + }, + "tags": { + "key1": "value1" + } + }, + "resourceGroupName": "sampleResourceGroup", + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e" + }, + "responses": { + "200": { + "body": { + "name": "sampleDnsResolverDomainList", + "type": "Microsoft.Network/dnsResolverDomainLists", + "etag": "00000000-0000-0000-0000-000000000000", + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolverDomainLists/sampleDnsResolverDomainList", + "location": "westus2", + "properties": { + "domains": [ + "contoso.com" + ], + "provisioningState": "Succeeded", + "resourceGuid": "b6b2d964-8588-4e3a-a7fe-8a5b7fe8eca5" + }, + "systemData": { + "createdAt": "2021-04-01T01:01:01.1075056Z", + "createdByType": "Application", + "lastModifiedAt": "2021-04-02T02:03:01.1974346Z", + "lastModifiedByType": "Application" + }, + "tags": { + "key1": "value1" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2025-05-01", + "Location": "https://management.azure.com/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2025-05-01" + } + } + }, + "operationId": "DnsResolverDomainLists_Update", + "title": "Update DNS resolver domain list" +} diff --git a/specification/dnsresolver/Network.Management/examples/2025-05-01/DnsResolverDomainList_Put.json b/specification/dnsresolver/Network.Management/examples/2025-05-01/DnsResolverDomainList_Put.json new file mode 100644 index 000000000000..066ebee5ef7f --- /dev/null +++ b/specification/dnsresolver/Network.Management/examples/2025-05-01/DnsResolverDomainList_Put.json @@ -0,0 +1,73 @@ +{ + "parameters": { + "api-version": "2025-05-01", + "dnsResolverDomainListName": "sampleDnsResolverDomainList", + "parameters": { + "location": "westus2", + "properties": { + "domains": [ + "contoso.com" + ] + }, + "tags": { + "key1": "value1" + } + }, + "resourceGroupName": "sampleResourceGroup", + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e" + }, + "responses": { + "200": { + "body": { + "name": "sampleDnsResolverDomainList", + "type": "Microsoft.Network/dnsResolverDomainLists", + "etag": "00000000-0000-0000-0000-000000000000", + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolverDomainLists/sampleDnsResolverDomainList", + "location": "westus2", + "properties": { + "domains": [ + "contoso.com" + ], + "provisioningState": "Succeeded", + "resourceGuid": "b6b2d964-8588-4e3a-a7fe-8a5b7fe8eca5" + }, + "systemData": { + "createdAt": "2021-04-01T01:01:01.1075056Z", + "createdByType": "Application", + "lastModifiedAt": "2021-04-02T02:03:01.1974346Z", + "lastModifiedByType": "Application" + }, + "tags": { + "key1": "value1" + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2025-05-01" + } + }, + "201": { + "body": { + "name": "sampleDnsResolverDomainList", + "type": "Microsoft.Network/dnsResolverDomainLists", + "etag": "00000000-0000-0000-0000-000000000000", + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolverDomainLists/sampleDnsResolverDomainList", + "location": "westus2", + "properties": { + "domains": [ + "contoso.com" + ], + "provisioningState": "Succeeded", + "resourceGuid": "b6b2d964-8588-4e3a-a7fe-8a5b7fe8eca5" + }, + "tags": { + "key1": "value1" + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2025-05-01" + } + } + }, + "operationId": "DnsResolverDomainLists_CreateOrUpdate", + "title": "Upsert DNS resolver domain list with less than 1000 domains" +} diff --git a/specification/dnsresolver/Network.Management/examples/2025-05-01/DnsResolverPolicyVirtualNetworkLink_Delete.json b/specification/dnsresolver/Network.Management/examples/2025-05-01/DnsResolverPolicyVirtualNetworkLink_Delete.json new file mode 100644 index 000000000000..ff2370a374a0 --- /dev/null +++ b/specification/dnsresolver/Network.Management/examples/2025-05-01/DnsResolverPolicyVirtualNetworkLink_Delete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2025-05-01", + "dnsResolverPolicyName": "sampleDnsResolverPolicy", + "dnsResolverPolicyVirtualNetworkLinkName": "sampleVirtualNetworkLink", + "resourceGroupName": "sampleResourceGroup", + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2025-05-01", + "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2025-05-01" + } + }, + "204": {} + }, + "operationId": "DnsResolverPolicyVirtualNetworkLinks_Delete", + "title": "Delete DNS resolver policy virtual network link" +} diff --git a/specification/dnsresolver/Network.Management/examples/2025-05-01/DnsResolverPolicyVirtualNetworkLink_Get.json b/specification/dnsresolver/Network.Management/examples/2025-05-01/DnsResolverPolicyVirtualNetworkLink_Get.json new file mode 100644 index 000000000000..770c12e983cb --- /dev/null +++ b/specification/dnsresolver/Network.Management/examples/2025-05-01/DnsResolverPolicyVirtualNetworkLink_Get.json @@ -0,0 +1,37 @@ +{ + "parameters": { + "api-version": "2025-05-01", + "dnsResolverPolicyName": "sampleDnsResolverPolicy", + "dnsResolverPolicyVirtualNetworkLinkName": "sampleVirtualNetworkLink", + "resourceGroupName": "sampleResourceGroup", + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e" + }, + "responses": { + "200": { + "body": { + "name": "sampleVirtualNetworkLink", + "type": "Microsoft.Network/dnsResolverPolicies/virtualNetworkLinks", + "etag": "00000000-0000-0000-0000-000000000000", + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolverPolicies/sampleDnsResolverPolicy/virtualNetworkLinks/sampleVirtualNetworkLink", + "location": "westus2", + "properties": { + "provisioningState": "Succeeded", + "virtualNetwork": { + "id": "/subscriptions/0403cfa9-9659-4f33-9f30-1f191c51d111/resourceGroups/sampleVnetResourceGroupName/providers/Microsoft.Network/virtualNetworks/sampleVirtualNetwork" + } + }, + "systemData": { + "createdAt": "2021-04-01T01:01:01.1075056Z", + "createdByType": "Application", + "lastModifiedAt": "2021-04-02T02:03:01.1974346Z", + "lastModifiedByType": "Application" + }, + "tags": { + "key1": "value1" + } + } + } + }, + "operationId": "DnsResolverPolicyVirtualNetworkLinks_Get", + "title": "Retrieve DNS resolver policy virtual network link" +} diff --git a/specification/dnsresolver/Network.Management/examples/2025-05-01/DnsResolverPolicyVirtualNetworkLink_List.json b/specification/dnsresolver/Network.Management/examples/2025-05-01/DnsResolverPolicyVirtualNetworkLink_List.json new file mode 100644 index 000000000000..21b724a5cb4f --- /dev/null +++ b/specification/dnsresolver/Network.Management/examples/2025-05-01/DnsResolverPolicyVirtualNetworkLink_List.json @@ -0,0 +1,41 @@ +{ + "parameters": { + "api-version": "2025-05-01", + "dnsResolverPolicyName": "sampleDnsResolverPolicy", + "resourceGroupName": "sampleResourceGroup", + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e" + }, + "responses": { + "200": { + "body": { + "nextLink": null, + "value": [ + { + "name": "sampleVirtualNetworkLink", + "type": "Microsoft.Network/dnsResolverPolicies/virtualNetworkLinks", + "etag": "00000000-0000-0000-0000-000000000000", + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolverPolicies/sampleDnsResolverPolicy/virtualNetworkLinks/sampleVirtualNetworkLink", + "location": "westus2", + "properties": { + "provisioningState": "Succeeded", + "virtualNetwork": { + "id": "/subscriptions/0403cfa9-9659-4f33-9f30-1f191c51d111/resourceGroups/sampleVnetResourceGroupName/providers/Microsoft.Network/virtualNetworks/sampleVirtualNetwork" + } + }, + "systemData": { + "createdAt": "2021-04-01T01:01:01.1075056Z", + "createdByType": "Application", + "lastModifiedAt": "2021-04-02T02:03:01.1974346Z", + "lastModifiedByType": "Application" + }, + "tags": { + "key1": "value1" + } + } + ] + } + } + }, + "operationId": "DnsResolverPolicyVirtualNetworkLinks_List", + "title": "List DNS resolver policy virtual network links by DNS resolver policy" +} diff --git a/specification/dnsresolver/Network.Management/examples/2025-05-01/DnsResolverPolicyVirtualNetworkLink_Patch.json b/specification/dnsresolver/Network.Management/examples/2025-05-01/DnsResolverPolicyVirtualNetworkLink_Patch.json new file mode 100644 index 000000000000..0080a211da53 --- /dev/null +++ b/specification/dnsresolver/Network.Management/examples/2025-05-01/DnsResolverPolicyVirtualNetworkLink_Patch.json @@ -0,0 +1,48 @@ +{ + "parameters": { + "api-version": "2025-05-01", + "dnsResolverPolicyName": "sampleDnsResolverPolicy", + "dnsResolverPolicyVirtualNetworkLinkName": "sampleVirtualNetworkLink", + "parameters": { + "tags": { + "key1": "value1" + } + }, + "resourceGroupName": "sampleResourceGroup", + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e" + }, + "responses": { + "200": { + "body": { + "name": "sampleVirtualNetworkLink", + "type": "Microsoft.Network/dnsResolverPolicies/virtualNetworkLinks", + "etag": "00000000-0000-0000-0000-000000000000", + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolverPolicies/sampleDnsResolverPolicy/virtualNetworkLinks/sampleVirtualNetworkLink", + "location": "westus2", + "properties": { + "provisioningState": "Succeeded", + "virtualNetwork": { + "id": "/subscriptions/0403cfa9-9659-4f33-9f30-1f191c51d111/resourceGroups/sampleVnetResourceGroupName/providers/Microsoft.Network/virtualNetworks/sampleVirtualNetwork" + } + }, + "systemData": { + "createdAt": "2021-04-01T01:01:01.1075056Z", + "createdByType": "Application", + "lastModifiedAt": "2021-04-02T02:03:01.1974346Z", + "lastModifiedByType": "Application" + }, + "tags": { + "key1": "value1" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2025-05-01", + "Location": "https://management.azure.com/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2025-05-01" + } + } + }, + "operationId": "DnsResolverPolicyVirtualNetworkLinks_Update", + "title": "Update DNS resolver policy virtual network link" +} diff --git a/specification/dnsresolver/Network.Management/examples/2025-05-01/DnsResolverPolicyVirtualNetworkLink_Put.json b/specification/dnsresolver/Network.Management/examples/2025-05-01/DnsResolverPolicyVirtualNetworkLink_Put.json new file mode 100644 index 000000000000..d95f62773094 --- /dev/null +++ b/specification/dnsresolver/Network.Management/examples/2025-05-01/DnsResolverPolicyVirtualNetworkLink_Put.json @@ -0,0 +1,78 @@ +{ + "parameters": { + "api-version": "2025-05-01", + "dnsResolverPolicyName": "sampleDnsResolverPolicy", + "dnsResolverPolicyVirtualNetworkLinkName": "sampleVirtualNetworkLink", + "parameters": { + "location": "westus2", + "properties": { + "virtualNetwork": { + "id": "/subscriptions/0403cfa9-9659-4f33-9f30-1f191c51d111/resourceGroups/sampleVnetResourceGroupName/providers/Microsoft.Network/virtualNetworks/sampleVirtualNetwork" + } + }, + "tags": { + "key1": "value1" + } + }, + "resourceGroupName": "sampleResourceGroup", + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e" + }, + "responses": { + "200": { + "body": { + "name": "sampleVirtualNetworkLink", + "type": "Microsoft.Network/dnsResolverPolicies/virtualNetworkLinks", + "etag": "00000000-0000-0000-0000-000000000000", + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolverPolicy/sampleDnsResolverPolicy/virtualNetworkLinks/sampleVirtualNetworkLink", + "location": "westus2", + "properties": { + "provisioningState": "Succeeded", + "virtualNetwork": { + "id": "/subscriptions/0403cfa9-9659-4f33-9f30-1f191c51d111/resourceGroups/sampleVnetResourceGroupName/providers/Microsoft.Network/virtualNetworks/sampleVirtualNetwork" + } + }, + "systemData": { + "createdAt": "2021-04-01T01:01:01.1075056Z", + "createdByType": "Application", + "lastModifiedAt": "2021-04-02T02:03:01.1974346Z", + "lastModifiedByType": "Application" + }, + "tags": { + "key1": "value1" + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2025-05-01" + } + }, + "201": { + "body": { + "name": "sampleVirtualNetworkLink", + "type": "Microsoft.Network/dnsResolverPolicies/virtualNetworkLinks", + "etag": "00000000-0000-0000-0000-000000000000", + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolverPolicy/sampleDnsResolverPolicy/virtualNetworkLinks/sampleVirtualNetworkLink", + "location": "westus2", + "properties": { + "provisioningState": "Succeeded", + "virtualNetwork": { + "id": "/subscriptions/0403cfa9-9659-4f33-9f30-1f191c51d111/resourceGroups/sampleVnetResourceGroupName/providers/Microsoft.Network/virtualNetworks/sampleVirtualNetwork" + } + }, + "systemData": { + "createdAt": "2021-04-01T01:01:01.1075056Z", + "createdByType": "Application", + "lastModifiedAt": "2021-04-02T02:03:01.1974346Z", + "lastModifiedByType": "Application" + }, + "tags": { + "key1": "value1" + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2025-05-01" + } + } + }, + "operationId": "DnsResolverPolicyVirtualNetworkLinks_CreateOrUpdate", + "title": "Upsert DNS resolver policy virtual network link" +} diff --git a/specification/dnsresolver/Network.Management/examples/2025-05-01/DnsResolverPolicy_Delete.json b/specification/dnsresolver/Network.Management/examples/2025-05-01/DnsResolverPolicy_Delete.json new file mode 100644 index 000000000000..cc9923ea3baa --- /dev/null +++ b/specification/dnsresolver/Network.Management/examples/2025-05-01/DnsResolverPolicy_Delete.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2025-05-01", + "dnsResolverPolicyName": "sampleDnsResolverPolicy", + "resourceGroupName": "sampleResourceGroup", + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2025-05-01", + "Location": "https://management.azure.com/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2025-05-01" + } + }, + "204": {} + }, + "operationId": "DnsResolverPolicies_Delete", + "title": "Delete DNS resolver policy" +} diff --git a/specification/dnsresolver/Network.Management/examples/2025-05-01/DnsResolverPolicy_Get.json b/specification/dnsresolver/Network.Management/examples/2025-05-01/DnsResolverPolicy_Get.json new file mode 100644 index 000000000000..87613582d44f --- /dev/null +++ b/specification/dnsresolver/Network.Management/examples/2025-05-01/DnsResolverPolicy_Get.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "api-version": "2025-05-01", + "dnsResolverPolicyName": "sampleDnsResolverPolicy", + "resourceGroupName": "sampleResourceGroup", + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e" + }, + "responses": { + "200": { + "body": { + "name": "sampleDnsResolverPolicy", + "type": "Microsoft.Network/dnsResolverPolicies", + "etag": "00000000-0000-0000-0000-000000000000", + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolverPolicies/sampleDnsResolverPolicy", + "location": "westus2", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "a7e1a32c-498c-401c-a805-5bc3518257b8" + }, + "systemData": { + "createdAt": "2023-07-03T01:01:01.1075056Z", + "createdByType": "Application", + "lastModifiedAt": "2023-07-04T02:03:01.1974346Z", + "lastModifiedByType": "Application" + }, + "tags": { + "key1": "value1" + } + } + } + }, + "operationId": "DnsResolverPolicies_Get", + "title": "Retrieve DNS resolver policy" +} diff --git a/specification/dnsresolver/Network.Management/examples/2025-05-01/DnsResolverPolicy_ListByResourceGroup.json b/specification/dnsresolver/Network.Management/examples/2025-05-01/DnsResolverPolicy_ListByResourceGroup.json new file mode 100644 index 000000000000..f008abfadf9a --- /dev/null +++ b/specification/dnsresolver/Network.Management/examples/2025-05-01/DnsResolverPolicy_ListByResourceGroup.json @@ -0,0 +1,58 @@ +{ + "parameters": { + "api-version": "2025-05-01", + "resourceGroupName": "sampleResourceGroup", + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e" + }, + "responses": { + "200": { + "body": { + "nextLink": "https://management.azure.com/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolverPolicies?$skipToken=skipToken&api-version=2025-05-01", + "value": [ + { + "name": "sampleDnsResolverPolicy1", + "type": "Microsoft.Network/dnsResolverPolicies", + "etag": "00000000-0000-0000-0000-000000000000", + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolverPolicies/sampleDnsResolverPolicy1", + "location": "westus2", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "ad9c8da4-3bb2-4821-a878-c2cb07b01fb6" + }, + "systemData": { + "createdAt": "2021-04-01T01:01:01.1075056Z", + "createdByType": "Application", + "lastModifiedAt": "2021-04-02T02:03:01.1974346Z", + "lastModifiedByType": "Application" + }, + "tags": { + "key1": "value1" + } + }, + { + "name": "sampleDnsResolverPolicy2", + "type": "Microsoft.Network/dnsResolverPolicies", + "etag": "00000000-0000-0000-0000-000000000000", + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolverPolicies/sampleDnsResolverPolicy2", + "location": "westus2", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "b6b2d964-8588-4e3a-a7fe-8a5b7fe8eca5" + }, + "systemData": { + "createdAt": "2021-04-03T01:01:01.1075056Z", + "createdByType": "Application", + "lastModifiedAt": "2021-04-04T02:03:01.1974346Z", + "lastModifiedByType": "Application" + }, + "tags": { + "key1": "value1" + } + } + ] + } + } + }, + "operationId": "DnsResolverPolicies_ListByResourceGroup", + "title": "List DNS resolver policies by resource group" +} diff --git a/specification/dnsresolver/Network.Management/examples/2025-05-01/DnsResolverPolicy_ListBySubscription.json b/specification/dnsresolver/Network.Management/examples/2025-05-01/DnsResolverPolicy_ListBySubscription.json new file mode 100644 index 000000000000..724f686516e4 --- /dev/null +++ b/specification/dnsresolver/Network.Management/examples/2025-05-01/DnsResolverPolicy_ListBySubscription.json @@ -0,0 +1,57 @@ +{ + "parameters": { + "api-version": "2025-05-01", + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e" + }, + "responses": { + "200": { + "body": { + "nextLink": "https://management.azure.com/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/providers/Microsoft.Network/dnsResolverPolicies?$skipToken=skipToken&api-version=2025-05-01", + "value": [ + { + "name": "sampleDnsResolverPolicy1", + "type": "Microsoft.Network/dnsResolverPolicies", + "etag": "00000000-0000-0000-0000-000000000000", + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolverPolicies/sampleDnsResolverPolicy1", + "location": "westus2", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "ad9c8da4-3bb2-4821-a878-c2cb07b01fb6" + }, + "systemData": { + "createdAt": "2021-04-01T01:01:01.1075056Z", + "createdByType": "Application", + "lastModifiedAt": "2021-04-02T02:03:01.1974346Z", + "lastModifiedByType": "Application" + }, + "tags": { + "key1": "value1" + } + }, + { + "name": "sampleDnsResolverPolicy2", + "type": "Microsoft.Network/dnsResolverPolicies", + "etag": "00000000-0000-0000-0000-000000000000", + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolverPolicies/sampleDnsResolverPolicy2", + "location": "westus2", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "b6b2d964-8588-4e3a-a7fe-8a5b7fe8eca5" + }, + "systemData": { + "createdAt": "2021-04-01T01:01:01.1075056Z", + "createdByType": "Application", + "lastModifiedAt": "2021-04-02T02:03:01.1974346Z", + "lastModifiedByType": "Application" + }, + "tags": { + "key1": "value1" + } + } + ] + } + } + }, + "operationId": "DnsResolverPolicies_List", + "title": "List DNS resolver policies by subscription" +} diff --git a/specification/dnsresolver/Network.Management/examples/2025-05-01/DnsResolverPolicy_ListByVirtualNetwork.json b/specification/dnsresolver/Network.Management/examples/2025-05-01/DnsResolverPolicy_ListByVirtualNetwork.json new file mode 100644 index 000000000000..b843d87c052a --- /dev/null +++ b/specification/dnsresolver/Network.Management/examples/2025-05-01/DnsResolverPolicy_ListByVirtualNetwork.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "api-version": "2025-05-01", + "resourceGroupName": "sampleResourceGroup", + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", + "virtualNetworkName": "sampleVirtualNetwork" + }, + "responses": { + "200": { + "body": { + "nextLink": null, + "value": [ + { + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolverPolicies/sampleDnsResolverPolicy1" + } + ] + } + } + }, + "operationId": "DnsResolverPolicies_ListByVirtualNetwork", + "title": "List DNS resolver policies by virtual network" +} diff --git a/specification/dnsresolver/Network.Management/examples/2025-05-01/DnsResolverPolicy_Patch.json b/specification/dnsresolver/Network.Management/examples/2025-05-01/DnsResolverPolicy_Patch.json new file mode 100644 index 000000000000..5be96dfe5cd9 --- /dev/null +++ b/specification/dnsresolver/Network.Management/examples/2025-05-01/DnsResolverPolicy_Patch.json @@ -0,0 +1,45 @@ +{ + "parameters": { + "api-version": "2025-05-01", + "dnsResolverPolicyName": "sampleDnsResolverPolicy", + "parameters": { + "tags": { + "key1": "value1" + } + }, + "resourceGroupName": "sampleResourceGroup", + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e" + }, + "responses": { + "200": { + "body": { + "name": "sampleDnsResolverPolicy", + "type": "Microsoft.Network/dnsResolverPolicies", + "etag": "00000000-0000-0000-0000-000000000000", + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolverPolicies/sampleDnsResolverPolicy", + "location": "westus2", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "b6b2d964-8588-4e3a-a7fe-8a5b7fe8eca5" + }, + "systemData": { + "createdAt": "2021-04-01T01:01:01.1075056Z", + "createdByType": "Application", + "lastModifiedAt": "2021-04-02T02:03:01.1974346Z", + "lastModifiedByType": "Application" + }, + "tags": { + "key1": "value1" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2025-05-01", + "Location": "https://management.azure.com/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2025-05-01" + } + } + }, + "operationId": "DnsResolverPolicies_Update", + "title": "Update DNS resolver policy" +} diff --git a/specification/dnsresolver/Network.Management/examples/2025-05-01/DnsResolverPolicy_Put.json b/specification/dnsresolver/Network.Management/examples/2025-05-01/DnsResolverPolicy_Put.json new file mode 100644 index 000000000000..af2a04781537 --- /dev/null +++ b/specification/dnsresolver/Network.Management/examples/2025-05-01/DnsResolverPolicy_Put.json @@ -0,0 +1,62 @@ +{ + "parameters": { + "api-version": "2025-05-01", + "dnsResolverPolicyName": "sampleDnsResolverPolicy", + "parameters": { + "location": "westus2", + "tags": { + "key1": "value1" + } + }, + "resourceGroupName": "sampleResourceGroup", + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e" + }, + "responses": { + "200": { + "body": { + "name": "sampleDnsResolverPolicy", + "type": "Microsoft.Network/dnsResolverPolicies", + "etag": "00000000-0000-0000-0000-000000000000", + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolverPolicies/sampleDnsResolverPolicy", + "location": "westus2", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "b6b2d964-8588-4e3a-a7fe-8a5b7fe8eca5" + }, + "systemData": { + "createdAt": "2021-04-01T01:01:01.1075056Z", + "createdByType": "Application", + "lastModifiedAt": "2021-04-02T02:03:01.1974346Z", + "lastModifiedByType": "Application" + }, + "tags": { + "key1": "value1" + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2025-05-01" + } + }, + "201": { + "body": { + "name": "sampleDnsResolverPolicy", + "type": "Microsoft.Network/dnsResolverPolicies", + "etag": "00000000-0000-0000-0000-000000000000", + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolverPolicies/sampleDnsResolverPolicy", + "location": "westus2", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "b6b2d964-8588-4e3a-a7fe-8a5b7fe8eca5" + }, + "tags": { + "key1": "value1" + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2025-05-01" + } + } + }, + "operationId": "DnsResolverPolicies_CreateOrUpdate", + "title": "Upsert DNS resolver policy" +} diff --git a/specification/dnsresolver/Network.Management/examples/2025-05-01/DnsResolver_Delete.json b/specification/dnsresolver/Network.Management/examples/2025-05-01/DnsResolver_Delete.json new file mode 100644 index 000000000000..034333c82882 --- /dev/null +++ b/specification/dnsresolver/Network.Management/examples/2025-05-01/DnsResolver_Delete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2025-05-01", + "dnsResolverName": "sampleDnsResolver", + "resourceGroupName": "sampleResourceGroup", + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2025-05-01", + "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2025-05-01" + } + }, + "204": {} + }, + "operationId": "DnsResolvers_Delete", + "title": "Delete DNS resolver" +} diff --git a/specification/dnsresolver/Network.Management/examples/2025-05-01/DnsResolver_Get.json b/specification/dnsresolver/Network.Management/examples/2025-05-01/DnsResolver_Get.json new file mode 100644 index 000000000000..c4b3eea3e8c5 --- /dev/null +++ b/specification/dnsresolver/Network.Management/examples/2025-05-01/DnsResolver_Get.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "api-version": "2025-05-01", + "dnsResolverName": "sampleDnsResolver", + "resourceGroupName": "sampleResourceGroup", + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e" + }, + "responses": { + "200": { + "body": { + "name": "sampleDnsResolver", + "type": "Microsoft.Network/dnsResolvers", + "etag": "00000000-0000-0000-0000-000000000000", + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolvers/sampleDnsResolver", + "location": "westus2", + "properties": { + "dnsResolverState": "Connected", + "provisioningState": "Succeeded", + "resourceGuid": "a7e1a32c-498c-401c-a805-5bc3518257b8", + "virtualNetwork": { + "id": "/subscriptions/cbb1387e-4b03-44f2-ad41-58d4677b9873/resourceGroups/virtualNetworkResourceGroup/providers/Microsoft.Network/virtualNetworks/sampleVirtualNetwork" + } + }, + "systemData": { + "createdAt": "2021-04-03T01:01:01.1075056Z", + "createdByType": "Application", + "lastModifiedAt": "2021-04-04T02:03:01.1974346Z", + "lastModifiedByType": "Application" + }, + "tags": { + "key1": "value1" + } + } + } + }, + "operationId": "DnsResolvers_Get", + "title": "Retrieve DNS resolver" +} diff --git a/specification/dnsresolver/Network.Management/examples/2025-05-01/DnsResolver_ListByResourceGroup.json b/specification/dnsresolver/Network.Management/examples/2025-05-01/DnsResolver_ListByResourceGroup.json new file mode 100644 index 000000000000..8b6507a62ac2 --- /dev/null +++ b/specification/dnsresolver/Network.Management/examples/2025-05-01/DnsResolver_ListByResourceGroup.json @@ -0,0 +1,66 @@ +{ + "parameters": { + "api-version": "2025-05-01", + "resourceGroupName": "sampleResourceGroup", + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e" + }, + "responses": { + "200": { + "body": { + "nextLink": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolvers?$skipToken=skipToken&api-version=2025-05-01", + "value": [ + { + "name": "sampleDnsResolver1", + "type": "Microsoft.Network/dnsResolvers", + "etag": "00000000-0000-0000-0000-000000000000", + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolvers/sampleDnsResolver1", + "location": "westus2", + "properties": { + "dnsResolverState": "Connected", + "provisioningState": "Succeeded", + "resourceGuid": "ad9c8da4-3bb2-4821-a878-c2cb07b01fb6", + "virtualNetwork": { + "id": "/subscriptions/cbb1387e-4b03-44f2-ad41-58d4677b9873/resourceGroups/virtualNetworkResourceGroup/providers/Microsoft.Network/virtualNetworks/sampleVirtualNetwork1" + } + }, + "systemData": { + "createdAt": "2021-04-01T01:01:01.1075056Z", + "createdByType": "Application", + "lastModifiedAt": "2021-04-02T02:03:01.1974346Z", + "lastModifiedByType": "Application" + }, + "tags": { + "key1": "value1" + } + }, + { + "name": "sampleDnsResolver2", + "type": "Microsoft.Network/dnsResolvers", + "etag": "00000000-0000-0000-0000-000000000000", + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolvers/sampleDnsResolver2", + "location": "westus2", + "properties": { + "dnsResolverState": "Connected", + "provisioningState": "Succeeded", + "resourceGuid": "b6b2d964-8588-4e3a-a7fe-8a5b7fe8eca5", + "virtualNetwork": { + "id": "/subscriptions/cbb1387e-4b03-44f2-ad41-58d4677b9873/resourceGroups/virtualNetworkResourceGroup/providers/Microsoft.Network/virtualNetworks/sampleVirtualNetwork2" + } + }, + "systemData": { + "createdAt": "2021-04-03T01:01:01.1075056Z", + "createdByType": "Application", + "lastModifiedAt": "2021-04-04T02:03:01.1974346Z", + "lastModifiedByType": "Application" + }, + "tags": { + "key1": "value1" + } + } + ] + } + } + }, + "operationId": "DnsResolvers_ListByResourceGroup", + "title": "List DNS resolvers by resource group" +} diff --git a/specification/dnsresolver/Network.Management/examples/2025-05-01/DnsResolver_ListBySubscription.json b/specification/dnsresolver/Network.Management/examples/2025-05-01/DnsResolver_ListBySubscription.json new file mode 100644 index 000000000000..3b3446fe404f --- /dev/null +++ b/specification/dnsresolver/Network.Management/examples/2025-05-01/DnsResolver_ListBySubscription.json @@ -0,0 +1,65 @@ +{ + "parameters": { + "api-version": "2025-05-01", + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e" + }, + "responses": { + "200": { + "body": { + "nextLink": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/providers/Microsoft.Network/dnsResolvers?$skipToken=skipToken&api-version=2025-05-01", + "value": [ + { + "name": "sampleDnsResolver1", + "type": "Microsoft.Network/dnsResolvers", + "etag": "00000000-0000-0000-0000-000000000000", + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolvers/sampleDnsResolver1", + "location": "westus2", + "properties": { + "dnsResolverState": "Connected", + "provisioningState": "Succeeded", + "resourceGuid": "ad9c8da4-3bb2-4821-a878-c2cb07b01fb6", + "virtualNetwork": { + "id": "/subscriptions/cbb1387e-4b03-44f2-ad41-58d4677b9873/resourceGroups/virtualNetworkResourceGroup/providers/Microsoft.Network/virtualNetworks/sampleVirtualNetwork1" + } + }, + "systemData": { + "createdAt": "2021-04-01T01:01:01.1075056Z", + "createdByType": "Application", + "lastModifiedAt": "2021-04-02T02:03:01.1974346Z", + "lastModifiedByType": "Application" + }, + "tags": { + "key1": "value1" + } + }, + { + "name": "sampleDnsResolver2", + "type": "Microsoft.Network/dnsResolvers", + "etag": "00000000-0000-0000-0000-000000000000", + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolvers/sampleDnsResolver2", + "location": "westus2", + "properties": { + "dnsResolverState": "Connected", + "provisioningState": "Succeeded", + "resourceGuid": "b6b2d964-8588-4e3a-a7fe-8a5b7fe8eca5", + "virtualNetwork": { + "id": "/subscriptions/cbb1387e-4b03-44f2-ad41-58d4677b9873/resourceGroups/virtualNetworkResourceGroup/providers/Microsoft.Network/virtualNetworks/sampleVirtualNetwork2" + } + }, + "systemData": { + "createdAt": "2021-04-01T01:01:01.1075056Z", + "createdByType": "Application", + "lastModifiedAt": "2021-04-02T02:03:01.1974346Z", + "lastModifiedByType": "Application" + }, + "tags": { + "key1": "value1" + } + } + ] + } + } + }, + "operationId": "DnsResolvers_List", + "title": "List DNS resolvers by subscription" +} diff --git a/specification/dnsresolver/Network.Management/examples/2025-05-01/DnsResolver_ListByVirtualNetwork.json b/specification/dnsresolver/Network.Management/examples/2025-05-01/DnsResolver_ListByVirtualNetwork.json new file mode 100644 index 000000000000..38ce3f4f7a89 --- /dev/null +++ b/specification/dnsresolver/Network.Management/examples/2025-05-01/DnsResolver_ListByVirtualNetwork.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "api-version": "2025-05-01", + "resourceGroupName": "sampleResourceGroup", + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", + "virtualNetworkName": "sampleVirtualNetwork" + }, + "responses": { + "200": { + "body": { + "nextLink": null, + "value": [ + { + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolvers/sampleDnsResolver1" + } + ] + } + } + }, + "operationId": "DnsResolvers_ListByVirtualNetwork", + "title": "List DNS resolvers by virtual network" +} diff --git a/specification/dnsresolver/Network.Management/examples/2025-05-01/DnsResolver_Patch.json b/specification/dnsresolver/Network.Management/examples/2025-05-01/DnsResolver_Patch.json new file mode 100644 index 000000000000..a4e72c1a1f21 --- /dev/null +++ b/specification/dnsresolver/Network.Management/examples/2025-05-01/DnsResolver_Patch.json @@ -0,0 +1,49 @@ +{ + "parameters": { + "api-version": "2025-05-01", + "dnsResolverName": "sampleDnsResolver", + "parameters": { + "tags": { + "key1": "value1" + } + }, + "resourceGroupName": "sampleResourceGroup", + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e" + }, + "responses": { + "200": { + "body": { + "name": "sampleDnsResolver", + "type": "Microsoft.Network/dnsResolvers", + "etag": "00000000-0000-0000-0000-000000000000", + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolvers/sampleDnsResolver", + "location": "westus2", + "properties": { + "dnsResolverState": "Connected", + "provisioningState": "Succeeded", + "resourceGuid": "b6b2d964-8588-4e3a-a7fe-8a5b7fe8eca5", + "virtualNetwork": { + "id": "/subscriptions/cbb1387e-4b03-44f2-ad41-58d4677b9873/resourceGroups/virtualNetworkResourceGroup/providers/Microsoft.Network/virtualNetworks/sampleVirtualNetwork" + } + }, + "systemData": { + "createdAt": "2021-04-01T01:01:01.1075056Z", + "createdByType": "Application", + "lastModifiedAt": "2021-04-02T02:03:01.1974346Z", + "lastModifiedByType": "Application" + }, + "tags": { + "key1": "value1" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2025-05-01", + "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2025-05-01" + } + } + }, + "operationId": "DnsResolvers_Update", + "title": "Update DNS resolver" +} diff --git a/specification/dnsresolver/Network.Management/examples/2025-05-01/DnsResolver_Put.json b/specification/dnsresolver/Network.Management/examples/2025-05-01/DnsResolver_Put.json new file mode 100644 index 000000000000..0b8333b8a42b --- /dev/null +++ b/specification/dnsresolver/Network.Management/examples/2025-05-01/DnsResolver_Put.json @@ -0,0 +1,75 @@ +{ + "parameters": { + "api-version": "2025-05-01", + "dnsResolverName": "sampleDnsResolver", + "parameters": { + "location": "westus2", + "properties": { + "virtualNetwork": { + "id": "/subscriptions/cbb1387e-4b03-44f2-ad41-58d4677b9873/resourceGroups/virtualNetworkResourceGroup/providers/Microsoft.Network/virtualNetworks/sampleVirtualNetwork" + } + }, + "tags": { + "key1": "value1" + } + }, + "resourceGroupName": "sampleResourceGroup", + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e" + }, + "responses": { + "200": { + "body": { + "name": "sampleDnsResolver", + "type": "Microsoft.Network/dnsResolvers", + "etag": "00000000-0000-0000-0000-000000000000", + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolvers/sampleDnsResolver", + "location": "westus2", + "properties": { + "dnsResolverState": "Connected", + "provisioningState": "Succeeded", + "resourceGuid": "b6b2d964-8588-4e3a-a7fe-8a5b7fe8eca5", + "virtualNetwork": { + "id": "/subscriptions/cbb1387e-4b03-44f2-ad41-58d4677b9873/resourceGroups/virtualNetworkResourceGroup/providers/Microsoft.Network/virtualNetworks/sampleVirtualNetwork" + } + }, + "systemData": { + "createdAt": "2021-04-01T01:01:01.1075056Z", + "createdByType": "Application", + "lastModifiedAt": "2021-04-02T02:03:01.1974346Z", + "lastModifiedByType": "Application" + }, + "tags": { + "key1": "value1" + } + } + }, + "201": { + "body": { + "name": "sampleDnsResolver", + "type": "Microsoft.Network/dnsResolvers", + "etag": "00000000-0000-0000-0000-000000000000", + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolvers/sampleDnsResolver", + "location": "westus2", + "properties": { + "dnsResolverState": "Connected", + "provisioningState": "Succeeded", + "resourceGuid": "b6b2d964-8588-4e3a-a7fe-8a5b7fe8eca5", + "virtualNetwork": { + "id": "/subscriptions/cbb1387e-4b03-44f2-ad41-58d4677b9873/resourceGroups/virtualNetworkResourceGroup/providers/Microsoft.Network/virtualNetworks/sampleVirtualNetwork" + } + }, + "tags": { + "key1": "value1" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2025-05-01", + "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2025-05-01" + } + } + }, + "operationId": "DnsResolvers_CreateOrUpdate", + "title": "Upsert DNS resolver" +} diff --git a/specification/dnsresolver/Network.Management/examples/2025-05-01/DnsSecurityRule_Delete.json b/specification/dnsresolver/Network.Management/examples/2025-05-01/DnsSecurityRule_Delete.json new file mode 100644 index 000000000000..5d9c0d7eb8a0 --- /dev/null +++ b/specification/dnsresolver/Network.Management/examples/2025-05-01/DnsSecurityRule_Delete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2025-05-01", + "dnsResolverPolicyName": "sampleDnsDnsResolverPolicy", + "dnsSecurityRuleName": "sampleDnsSecurityRule", + "resourceGroupName": "sampleResourceGroup", + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2025-05-01", + "Location": "https://management.azure.com/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2025-05-01" + } + }, + "204": {} + }, + "operationId": "DnsSecurityRules_Delete", + "title": "Delete DNS security rule for DNS resolver policy" +} diff --git a/specification/dnsresolver/Network.Management/examples/2025-05-01/DnsSecurityRule_Get.json b/specification/dnsresolver/Network.Management/examples/2025-05-01/DnsSecurityRule_Get.json new file mode 100644 index 000000000000..0012d8bdbc01 --- /dev/null +++ b/specification/dnsresolver/Network.Management/examples/2025-05-01/DnsSecurityRule_Get.json @@ -0,0 +1,44 @@ +{ + "parameters": { + "api-version": "2025-05-01", + "dnsResolverPolicyName": "sampleDnsResolverPolicy", + "dnsSecurityRuleName": "sampleDnsSecurityRule", + "resourceGroupName": "sampleResourceGroup", + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e" + }, + "responses": { + "200": { + "body": { + "name": "sampleDnsSecurityRule", + "type": "Microsoft.Network/dnsResolverPolicies/dnsSecurityRules", + "etag": "00000000-0000-0000-0000-000000000000", + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolverPolicies/sampleDnsResolverPolicy/dnsSecurityRules/sampleDnsSecurityRule", + "location": "westus2", + "properties": { + "action": { + "actionType": "Block" + }, + "dnsResolverDomainLists": [ + { + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolverDomainLists/sampleDnsResolverDomainList" + } + ], + "dnsSecurityRuleState": "Enabled", + "priority": 100, + "provisioningState": "Succeeded" + }, + "systemData": { + "createdAt": "2021-04-01T01:01:01.1075056Z", + "createdByType": "Application", + "lastModifiedAt": "2021-04-02T02:03:01.1974346Z", + "lastModifiedByType": "Application" + }, + "tags": { + "key1": "value1" + } + } + } + }, + "operationId": "DnsSecurityRules_Get", + "title": "Retrieve DNS security rule for DNS resolver policy" +} diff --git a/specification/dnsresolver/Network.Management/examples/2025-05-01/DnsSecurityRule_List.json b/specification/dnsresolver/Network.Management/examples/2025-05-01/DnsSecurityRule_List.json new file mode 100644 index 000000000000..f93842f23f57 --- /dev/null +++ b/specification/dnsresolver/Network.Management/examples/2025-05-01/DnsSecurityRule_List.json @@ -0,0 +1,77 @@ +{ + "parameters": { + "api-version": "2025-05-01", + "dnsResolverPolicyName": "sampleDnsResolverPolicy", + "resourceGroupName": "sampleResourceGroup", + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e" + }, + "responses": { + "200": { + "body": { + "nextLink": "https://management.azure.com/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsSecurityRules?$skipToken=skipToken&api-version=2025-05-01", + "value": [ + { + "name": "sampleDnsSecurityRule", + "type": "Microsoft.Network/dnsResolverPolicies/dnsSecurityRules", + "etag": "00000000-0000-0000-0000-000000000000", + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolverPolicies/sampleDnsResolverPolicy/dnsSecurityRules/sampleDnsSecurityRule", + "location": "westus2", + "properties": { + "action": { + "actionType": "Block" + }, + "dnsResolverDomainLists": [ + { + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolverDomainLists/sampleDnsResolverDomainList" + } + ], + "dnsSecurityRuleState": "Enabled", + "priority": 100, + "provisioningState": "Succeeded" + }, + "systemData": { + "createdAt": "2021-04-01T01:01:01.1075056Z", + "createdByType": "Application", + "lastModifiedAt": "2021-04-02T02:03:01.1974346Z", + "lastModifiedByType": "Application" + }, + "tags": { + "key1": "value1" + } + }, + { + "name": "sampleDnsSecurityRule1", + "type": "Microsoft.Network/dnsResolverPolicies/dnsSecurityRules", + "etag": "00000000-0000-0000-0000-000000000000", + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolverPolicies/sampleDnsResolverPolicy/dnsSecurityRules/sampleDnsSecurityRule1", + "location": "westus2", + "properties": { + "action": { + "actionType": "Block" + }, + "dnsResolverDomainLists": [ + { + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolverDomainLists/sampleDnsResolverDomainList1" + } + ], + "dnsSecurityRuleState": "Enabled", + "priority": 101, + "provisioningState": "Succeeded" + }, + "systemData": { + "createdAt": "2021-04-01T01:01:01.1075056Z", + "createdByType": "Application", + "lastModifiedAt": "2021-04-02T02:03:01.1974346Z", + "lastModifiedByType": "Application" + }, + "tags": { + "key1": "value1" + } + } + ] + } + } + }, + "operationId": "DnsSecurityRules_List", + "title": "List DNS security rules by DNS resolver policy" +} diff --git a/specification/dnsresolver/Network.Management/examples/2025-05-01/DnsSecurityRule_Patch.json b/specification/dnsresolver/Network.Management/examples/2025-05-01/DnsSecurityRule_Patch.json new file mode 100644 index 000000000000..cdf05e598450 --- /dev/null +++ b/specification/dnsresolver/Network.Management/examples/2025-05-01/DnsSecurityRule_Patch.json @@ -0,0 +1,58 @@ +{ + "parameters": { + "api-version": "2025-05-01", + "dnsResolverPolicyName": "sampleDnsResolverPolicy", + "dnsSecurityRuleName": "sampleDnsSecurityRule", + "parameters": { + "properties": { + "dnsSecurityRuleState": "Disabled" + }, + "tags": { + "key1": "value1" + } + }, + "resourceGroupName": "sampleResourceGroup", + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e" + }, + "responses": { + "200": { + "body": { + "name": "sampleDnsSecurityRule", + "type": "Microsoft.Network/dnsResolverPolicies/dnsSecurityRules", + "etag": "00000000-0000-0000-0000-000000000000", + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolverPolicies/sampleDnsResolverPolicy/dnsSecurityRules/sampleDnsSecurityRule", + "location": "westus2", + "properties": { + "action": { + "actionType": "Allow" + }, + "dnsResolverDomainLists": [ + { + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolverDomainLists/sampleDnsResolverDomainList2" + } + ], + "dnsSecurityRuleState": "Disabled", + "priority": 100, + "provisioningState": "Succeeded" + }, + "systemData": { + "createdAt": "2021-04-01T01:01:01.1075056Z", + "createdByType": "Application", + "lastModifiedAt": "2021-04-02T02:03:01.1974346Z", + "lastModifiedByType": "Application" + }, + "tags": { + "key1": "value1" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2025-05-01", + "Location": "https://management.azure.com/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2025-05-01" + } + } + }, + "operationId": "DnsSecurityRules_Update", + "title": "Update DNS security rule for DNS resolver policy" +} diff --git a/specification/dnsresolver/Network.Management/examples/2025-05-01/DnsSecurityRule_Put.json b/specification/dnsresolver/Network.Management/examples/2025-05-01/DnsSecurityRule_Put.json new file mode 100644 index 000000000000..601ff319e32a --- /dev/null +++ b/specification/dnsresolver/Network.Management/examples/2025-05-01/DnsSecurityRule_Put.json @@ -0,0 +1,99 @@ +{ + "parameters": { + "api-version": "2025-05-01", + "dnsResolverPolicyName": "sampleDnsResolverPolicy", + "dnsSecurityRuleName": "sampleDnsSecurityRule", + "parameters": { + "location": "westus2", + "properties": { + "action": { + "actionType": "Block" + }, + "dnsResolverDomainLists": [ + { + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolverDomainLists/sampleDnsResolverDomainList" + } + ], + "dnsSecurityRuleState": "Enabled", + "priority": 100 + }, + "tags": { + "key1": "value1" + } + }, + "resourceGroupName": "sampleResourceGroup", + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e" + }, + "responses": { + "200": { + "body": { + "name": "sampleDnsSecurityRule", + "type": "Microsoft.Network/dnsResolverPolicies/dnsSecurityRules", + "etag": "00000000-0000-0000-0000-000000000000", + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolverPolicies/sampleDnsResolverPolicy/dnsSecurityRules/sampleDnsSecurityRule", + "location": "westus2", + "properties": { + "action": { + "actionType": "Block" + }, + "dnsResolverDomainLists": [ + { + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolverDomainLists/sampleDnsResolverDomainList" + } + ], + "dnsSecurityRuleState": "Enabled", + "priority": 100, + "provisioningState": "Succeeded" + }, + "systemData": { + "createdAt": "2021-04-01T01:01:01.1075056Z", + "createdByType": "Application", + "lastModifiedAt": "2021-04-02T02:03:01.1974346Z", + "lastModifiedByType": "Application" + }, + "tags": { + "key1": "value1" + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2025-05-01" + } + }, + "201": { + "body": { + "name": "sampleDnsSecurityRule", + "type": "Microsoft.Network/dnsResolverPolicies/dnsSecurityRules", + "etag": "00000000-0000-0000-0000-000000000000", + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolverPolicies/sampleDnsResolverPolicy/dnsSecurityRules/sampleDnsSecurityRule", + "location": "westus2", + "properties": { + "action": { + "actionType": "Block" + }, + "dnsResolverDomainLists": [ + { + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolverDomainLists/sampleDnsResolverDomainList" + } + ], + "dnsSecurityRuleState": "Enabled", + "priority": 100, + "provisioningState": "Succeeded" + }, + "systemData": { + "createdAt": "2021-04-01T01:01:01.1075056Z", + "createdByType": "Application", + "lastModifiedAt": "2021-04-02T02:03:01.1974346Z", + "lastModifiedByType": "Application" + }, + "tags": { + "key1": "value1" + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2025-05-01" + } + } + }, + "operationId": "DnsSecurityRules_CreateOrUpdate", + "title": "Upsert DNS security rule" +} diff --git a/specification/dnsresolver/Network.Management/examples/2025-05-01/ForwardingRule_Delete.json b/specification/dnsresolver/Network.Management/examples/2025-05-01/ForwardingRule_Delete.json new file mode 100644 index 000000000000..d722ef65344f --- /dev/null +++ b/specification/dnsresolver/Network.Management/examples/2025-05-01/ForwardingRule_Delete.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "api-version": "2025-05-01", + "dnsForwardingRulesetName": "sampleDnsForwardingRuleset", + "forwardingRuleName": "sampleForwardingRule", + "resourceGroupName": "sampleResourceGroup", + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e" + }, + "responses": { + "200": {}, + "204": {} + }, + "operationId": "ForwardingRules_Delete", + "title": "Delete forwarding rule in a DNS forwarding ruleset" +} diff --git a/specification/dnsresolver/Network.Management/examples/2025-05-01/ForwardingRule_Get.json b/specification/dnsresolver/Network.Management/examples/2025-05-01/ForwardingRule_Get.json new file mode 100644 index 000000000000..59c57651e435 --- /dev/null +++ b/specification/dnsresolver/Network.Management/examples/2025-05-01/ForwardingRule_Get.json @@ -0,0 +1,45 @@ +{ + "parameters": { + "api-version": "2025-05-01", + "dnsForwardingRulesetName": "sampleDnsForwardingRuleset", + "forwardingRuleName": "sampleForwardingRule", + "resourceGroupName": "sampleResourceGroup", + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e" + }, + "responses": { + "200": { + "body": { + "name": "sampleForwardingRule", + "type": "Microsoft.Network/dnsForwardingRulesets/forwardingRules", + "etag": "00000000-0000-0000-0000-000000000000", + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsForwardingRulesets/sampleDnsForwardingRuleset/forwardingRules/sampleForwardingRule", + "properties": { + "domainName": "contoso.com.", + "forwardingRuleState": "Enabled", + "metadata": { + "additionalProp1": "value1" + }, + "provisioningState": "Succecced", + "targetDnsServers": [ + { + "ipAddress": "10.0.0.1", + "port": 53 + }, + { + "ipAddress": "10.0.0.2", + "port": 53 + } + ] + }, + "systemData": { + "createdAt": "2021-04-01T01:01:01.1075056Z", + "createdByType": "Application", + "lastModifiedAt": "2021-04-02T02:03:01.1974346Z", + "lastModifiedByType": "Application" + } + } + } + }, + "operationId": "ForwardingRules_Get", + "title": "Retrieve forwarding rule in a DNS forwarding ruleset" +} diff --git a/specification/dnsresolver/Network.Management/examples/2025-05-01/ForwardingRule_List.json b/specification/dnsresolver/Network.Management/examples/2025-05-01/ForwardingRule_List.json new file mode 100644 index 000000000000..791bc73d0265 --- /dev/null +++ b/specification/dnsresolver/Network.Management/examples/2025-05-01/ForwardingRule_List.json @@ -0,0 +1,79 @@ +{ + "parameters": { + "api-version": "2025-05-01", + "dnsForwardingRulesetName": "sampleDnsForwardingRuleset", + "resourceGroupName": "sampleResourceGroup", + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e" + }, + "responses": { + "200": { + "body": { + "nextLink": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/forwardingRules?$skipToken=skipToken&api-version=2025-05-01", + "value": [ + { + "name": "sampleForwardingRule", + "type": "Microsoft.Network/dnsForwardingRulesets/forwardingRules", + "etag": "00000000-0000-0000-0000-000000000000", + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsForwardingRulesets/sampleDnsForwardingRuleset/forwardingRules/sampleForwardingRule", + "properties": { + "domainName": "contoso.com.", + "forwardingRuleState": "Enabled", + "metadata": { + "additionalProp1": "value1" + }, + "provisioningState": "Succecced", + "targetDnsServers": [ + { + "ipAddress": "10.0.0.1", + "port": 53 + }, + { + "ipAddress": "10.0.0.2", + "port": 53 + } + ] + }, + "systemData": { + "createdAt": "2021-04-01T01:01:01.1075056Z", + "createdByType": "Application", + "lastModifiedAt": "2021-04-02T02:03:01.1974346Z", + "lastModifiedByType": "Application" + } + }, + { + "name": "sampleForwardingRule1", + "type": "Microsoft.Network/dnsForwardingRulesets/forwardingRules", + "etag": "00000000-0000-0000-0000-000000000000", + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsForwardingRulesets/sampleDnsForwardingRuleset/forwardingRules/sampleForwardingRule1", + "properties": { + "domainName": "foobar.com.", + "forwardingRuleState": "Enabled", + "metadata": { + "additionalProp1": "value1" + }, + "provisioningState": "Succecced", + "targetDnsServers": [ + { + "ipAddress": "10.0.0.3", + "port": 53 + }, + { + "ipAddress": "10.0.0.4", + "port": 53 + } + ] + }, + "systemData": { + "createdAt": "2021-04-01T01:01:01.1075056Z", + "createdByType": "Application", + "lastModifiedAt": "2021-04-02T02:03:01.1974346Z", + "lastModifiedByType": "Application" + } + } + ] + } + } + }, + "operationId": "ForwardingRules_List", + "title": "List forwarding rules in a DNS forwarding ruleset" +} diff --git a/specification/dnsresolver/Network.Management/examples/2025-05-01/ForwardingRule_Patch.json b/specification/dnsresolver/Network.Management/examples/2025-05-01/ForwardingRule_Patch.json new file mode 100644 index 000000000000..108bbf3328ac --- /dev/null +++ b/specification/dnsresolver/Network.Management/examples/2025-05-01/ForwardingRule_Patch.json @@ -0,0 +1,53 @@ +{ + "parameters": { + "api-version": "2025-05-01", + "dnsForwardingRulesetName": "sampleDnsForwardingRuleset", + "forwardingRuleName": "sampleForwardingRule", + "parameters": { + "properties": { + "forwardingRuleState": "Disabled", + "metadata": { + "additionalProp2": "value2" + } + } + }, + "resourceGroupName": "sampleResourceGroup", + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e" + }, + "responses": { + "200": { + "body": { + "name": "sampleForwardingRule", + "type": "Microsoft.Network/dnsForwardingRulesets/forwardingRules", + "etag": "00000000-0000-0000-0000-000000000000", + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsForwardingRulesets/sampleDnsForwardingRuleset/forwardingRules/sampleForwardingRule", + "properties": { + "domainName": "contoso.com.", + "forwardingRuleState": "Disabled", + "metadata": { + "additionalProp2": "value2" + }, + "provisioningState": "Succecced", + "targetDnsServers": [ + { + "ipAddress": "10.0.0.1", + "port": 53 + }, + { + "ipAddress": "10.0.0.2", + "port": 53 + } + ] + }, + "systemData": { + "createdAt": "2021-04-01T01:01:01.1075056Z", + "createdByType": "Application", + "lastModifiedAt": "2021-04-02T02:03:01.1974346Z", + "lastModifiedByType": "Application" + } + } + } + }, + "operationId": "ForwardingRules_Update", + "title": "Update forwarding rule in a DNS forwarding ruleset" +} diff --git a/specification/dnsresolver/Network.Management/examples/2025-05-01/ForwardingRule_Put.json b/specification/dnsresolver/Network.Management/examples/2025-05-01/ForwardingRule_Put.json new file mode 100644 index 000000000000..31a01b79a0d4 --- /dev/null +++ b/specification/dnsresolver/Network.Management/examples/2025-05-01/ForwardingRule_Put.json @@ -0,0 +1,96 @@ +{ + "parameters": { + "api-version": "2025-05-01", + "dnsForwardingRulesetName": "sampleDnsForwardingRuleset", + "forwardingRuleName": "sampleForwardingRule", + "parameters": { + "properties": { + "domainName": "contoso.com.", + "forwardingRuleState": "Enabled", + "metadata": { + "additionalProp1": "value1" + }, + "targetDnsServers": [ + { + "ipAddress": "10.0.0.1", + "port": 53 + }, + { + "ipAddress": "10.0.0.2", + "port": 53 + } + ] + } + }, + "resourceGroupName": "sampleResourceGroup", + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e" + }, + "responses": { + "200": { + "body": { + "name": "sampleForwardingRule", + "type": "Microsoft.Network/dnsForwardingRulesets/forwardingRules", + "etag": "00000000-0000-0000-0000-000000000000", + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsForwardingRulesets/sampleDnsForwardingRuleset/forwardingRules/sampleForwardingRule", + "properties": { + "domainName": "contoso.com.", + "forwardingRuleState": "Enabled", + "metadata": { + "additionalProp1": "value1" + }, + "provisioningState": "Succecced", + "targetDnsServers": [ + { + "ipAddress": "10.0.0.1", + "port": 53 + }, + { + "ipAddress": "10.0.0.2", + "port": 53 + } + ] + }, + "systemData": { + "createdAt": "2021-04-01T01:01:01.1075056Z", + "createdByType": "Application", + "lastModifiedAt": "2021-04-02T02:03:01.1974346Z", + "lastModifiedByType": "Application" + } + } + }, + "201": { + "body": { + "name": "sampleForwardingRule", + "type": "Microsoft.Network/dnsForwardingRulesets/forwardingRules", + "etag": "00000000-0000-0000-0000-000000000000", + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsForwardingRulesets/sampleDnsForwardingRuleset/forwardingRules/sampleForwardingRule", + "properties": { + "domainName": "contoso.com.", + "forwardingRuleState": "Enabled", + "metadata": { + "additionalProp1": "value1" + }, + "provisioningState": "Succecced", + "targetDnsServers": [ + { + "ipAddress": "10.0.0.1", + "port": 53 + }, + { + "ipAddress": "10.0.0.2", + "port": 53 + } + ] + }, + "systemData": { + "createdAt": "2021-04-01T01:01:01.1075056Z", + "createdByType": "Application", + "lastModifiedAt": "2021-04-02T02:03:01.1974346Z", + "lastModifiedByType": "Application" + } + } + } + }, + "operationId": "ForwardingRules_CreateOrUpdate", + "title": "Upsert forwarding rule in a DNS forwarding ruleset" +} diff --git a/specification/dnsresolver/Network.Management/examples/2025-05-01/InboundEndpoint_Delete.json b/specification/dnsresolver/Network.Management/examples/2025-05-01/InboundEndpoint_Delete.json new file mode 100644 index 000000000000..bebd0f844da0 --- /dev/null +++ b/specification/dnsresolver/Network.Management/examples/2025-05-01/InboundEndpoint_Delete.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "api-version": "2025-05-01", + "dnsResolverName": "sampleDnsResolver", + "inboundEndpointName": "sampleInboundEndpoint", + "resourceGroupName": "sampleResourceGroup", + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2025-05-01", + "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2025-05-01" + } + }, + "204": {} + }, + "operationId": "InboundEndpoints_Delete", + "title": "Delete inbound endpoint for DNS resolver" +} diff --git a/specification/dnsresolver/Network.Management/examples/2025-05-01/InboundEndpoint_Get.json b/specification/dnsresolver/Network.Management/examples/2025-05-01/InboundEndpoint_Get.json new file mode 100644 index 000000000000..4ff08a822e46 --- /dev/null +++ b/specification/dnsresolver/Network.Management/examples/2025-05-01/InboundEndpoint_Get.json @@ -0,0 +1,44 @@ +{ + "parameters": { + "api-version": "2025-05-01", + "dnsResolverName": "sampleDnsResolver", + "inboundEndpointName": "sampleInboundEndpoint", + "resourceGroupName": "sampleResourceGroup", + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e" + }, + "responses": { + "200": { + "body": { + "name": "sampleInboundEndpoint", + "type": "Microsoft.Network/dnsResolvers/inboundEndpoints", + "etag": "00000000-0000-0000-0000-000000000000", + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/inboundEndpoints/sampleInboundEndpoint", + "location": "westus2", + "properties": { + "ipConfigurations": [ + { + "privateIpAddress": "255.255.255.255", + "privateIpAllocationMethod": "Dynamic", + "subnet": { + "id": "/subscriptions/0403cfa9-9659-4f33-9f30-1f191c51d111/resourceGroups/sampleVnetResourceGroupName/providers/Microsoft.Network/virtualNetworks/sampleVirtualNetwork/subnets/sampleSubnet" + } + } + ], + "provisioningState": "Succeeded", + "resourceGuid": "b6b2d964-8588-4e3a-a7fe-8a5b7fe8eca5" + }, + "systemData": { + "createdAt": "2021-04-01T01:01:01.1075056Z", + "createdByType": "Application", + "lastModifiedAt": "2021-04-02T02:03:01.1974346Z", + "lastModifiedByType": "Application" + }, + "tags": { + "key1": "value1" + } + } + } + }, + "operationId": "InboundEndpoints_Get", + "title": "Retrieve inbound endpoint for DNS resolver" +} diff --git a/specification/dnsresolver/Network.Management/examples/2025-05-01/InboundEndpoint_List.json b/specification/dnsresolver/Network.Management/examples/2025-05-01/InboundEndpoint_List.json new file mode 100644 index 000000000000..b971bfdb5209 --- /dev/null +++ b/specification/dnsresolver/Network.Management/examples/2025-05-01/InboundEndpoint_List.json @@ -0,0 +1,77 @@ +{ + "parameters": { + "api-version": "2025-05-01", + "dnsResolverName": "sampleDnsResolver", + "resourceGroupName": "sampleResourceGroup", + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e" + }, + "responses": { + "200": { + "body": { + "nextLink": null, + "value": [ + { + "name": "sampleInboundEndpoint1", + "type": "Microsoft.Network/dnsResolvers/inboundEndpoints", + "etag": "00000000-0000-0000-0000-000000000000", + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/inboundEndpoints/sampleInboundEndpoint1", + "location": "westus2", + "properties": { + "ipConfigurations": [ + { + "privateIpAddress": "255.1.255.1", + "privateIpAllocationMethod": "Dynamic", + "subnet": { + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleVnetResourceGroupName/providers/Microsoft.Network/virtualNetworks/sampleVirtualNetwork/subnets/sampleSubnet1" + } + } + ], + "provisioningState": "Succeeded", + "resourceGuid": "b6b2d964-8588-4e3a-a7fe-8a5b7fe8eca5" + }, + "systemData": { + "createdAt": "2021-04-01T01:01:01.1075056Z", + "createdByType": "Application", + "lastModifiedAt": "2021-04-02T02:03:01.1974346Z", + "lastModifiedByType": "Application" + }, + "tags": { + "key1": "value1" + } + }, + { + "name": "sampleInboundEndpoint2", + "type": "Microsoft.Network/dnsResolvers/inboundEndpoints", + "etag": "00000000-0000-0000-0000-000000000000", + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/inboundEndpoints/sampleInboundEndpoint2", + "location": "westus2", + "properties": { + "ipConfigurations": [ + { + "privateIpAddress": "1.1.255.1", + "privateIpAllocationMethod": "Dynamic", + "subnet": { + "id": "/subscriptions/0403cfa9-9659-4f33-9f30-1f191c51d111/resourceGroups/sampleVnetResourceGroupName/providers/Microsoft.Network/virtualNetworks/sampleVirtualNetwork/subnets/sampleSubnet1" + } + } + ], + "provisioningState": "Succeeded", + "resourceGuid": "87b3e20a-5833-4c40-8ad7-c5160bb1c5bd" + }, + "systemData": { + "createdAt": "2021-04-02T01:01:01.1075056Z", + "createdByType": "Application", + "lastModifiedAt": "2021-04-03T02:03:01.1974346Z", + "lastModifiedByType": "Application" + }, + "tags": { + "key1": "value1" + } + } + ] + } + } + }, + "operationId": "InboundEndpoints_List", + "title": "List inbound endpoints by DNS resolver" +} diff --git a/specification/dnsresolver/Network.Management/examples/2025-05-01/InboundEndpoint_Patch.json b/specification/dnsresolver/Network.Management/examples/2025-05-01/InboundEndpoint_Patch.json new file mode 100644 index 000000000000..d828d2014018 --- /dev/null +++ b/specification/dnsresolver/Network.Management/examples/2025-05-01/InboundEndpoint_Patch.json @@ -0,0 +1,55 @@ +{ + "parameters": { + "api-version": "2025-05-01", + "dnsResolverName": "sampleDnsResolver", + "inboundEndpointName": "sampleInboundEndpoint", + "parameters": { + "tags": { + "key1": "value1" + } + }, + "resourceGroupName": "sampleResourceGroup", + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e" + }, + "responses": { + "200": { + "body": { + "name": "sampleInboundEndpoint", + "type": "Microsoft.Network/dnsResolvers/inboundEndpoints", + "etag": "00000000-0000-0000-0000-000000000000", + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/inboundEndpoints/sampleInboundEndpoint", + "location": "westus2", + "properties": { + "ipConfigurations": [ + { + "privateIpAddress": "255.255.255.255", + "privateIpAllocationMethod": "Dynamic", + "subnet": { + "id": "/subscriptions/0403cfa9-9659-4f33-9f30-1f191c51d111/resourceGroups/sampleVnetResourceGroupName/providers/Microsoft.Network/virtualNetworks/sampleVirtualNetwork/subnets/sampleSubnet" + } + } + ], + "provisioningState": "Succeeded", + "resourceGuid": "87b3e20a-5833-4c40-8ad7-c5160bb1c5bd" + }, + "systemData": { + "createdAt": "2021-04-01T01:01:01.1075056Z", + "createdByType": "Application", + "lastModifiedAt": "2021-04-02T02:03:01.1974346Z", + "lastModifiedByType": "Application" + }, + "tags": { + "key1": "value1" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2025-05-01", + "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2025-05-01" + } + } + }, + "operationId": "InboundEndpoints_Update", + "title": "Update inbound endpoint for DNS resolver" +} diff --git a/specification/dnsresolver/Network.Management/examples/2025-05-01/InboundEndpoint_Put.json b/specification/dnsresolver/Network.Management/examples/2025-05-01/InboundEndpoint_Put.json new file mode 100644 index 000000000000..93f451c8d672 --- /dev/null +++ b/specification/dnsresolver/Network.Management/examples/2025-05-01/InboundEndpoint_Put.json @@ -0,0 +1,97 @@ +{ + "parameters": { + "api-version": "2025-05-01", + "dnsResolverName": "sampleDnsResolver", + "inboundEndpointName": "sampleInboundEndpoint", + "parameters": { + "location": "westus2", + "properties": { + "ipConfigurations": [ + { + "privateIpAllocationMethod": "Dynamic", + "subnet": { + "id": "/subscriptions/0403cfa9-9659-4f33-9f30-1f191c51d111/resourceGroups/sampleVnetResourceGroupName/providers/Microsoft.Network/virtualNetworks/sampleVirtualNetwork/subnets/sampleSubnet" + } + } + ] + }, + "tags": { + "key1": "value1" + } + }, + "resourceGroupName": "sampleResourceGroup", + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e" + }, + "responses": { + "200": { + "body": { + "name": "sampleInboundEndpoint", + "type": "Microsoft.Network/dnsResolvers/inboundEndpoints", + "etag": "00000000-0000-0000-0000-000000000000", + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/inboundEndpoints/sampleInboundEndpoint", + "location": "westus2", + "properties": { + "ipConfigurations": [ + { + "privateIpAddress": "255.255.255.255", + "privateIpAllocationMethod": "Dynamic", + "subnet": { + "id": "/subscriptions/0403cfa9-9659-4f33-9f30-1f191c51d111/resourceGroups/sampleVnetResourceGroupName/providers/Microsoft.Network/virtualNetworks/sampleVirtualNetwork/subnets/sampleSubnet" + } + } + ], + "provisioningState": "Succeeded", + "resourceGuid": "87b3e20a-5833-4c40-8ad7-c5160bb1c5bd" + }, + "systemData": { + "createdAt": "2021-04-01T01:01:01.1075056Z", + "createdByType": "Application", + "lastModifiedAt": "2021-04-02T02:03:01.1974346Z", + "lastModifiedByType": "Application" + }, + "tags": { + "key1": "value1" + } + } + }, + "201": { + "body": { + "name": "sampleInboundEndpoint", + "type": "Microsoft.Network/dnsResolvers/inboundEndpoints", + "etag": "00000000-0000-0000-0000-000000000000", + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/inboundEndpoints/sampleInboundEndpoint", + "location": "westus2", + "properties": { + "ipConfigurations": [ + { + "privateIpAddress": "255.255.255.255", + "privateIpAllocationMethod": "Dynamic", + "subnet": { + "id": "/subscriptions/0403cfa9-9659-4f33-9f30-1f191c51d111/resourceGroups/sampleVnetResourceGroupName/providers/Microsoft.Network/virtualNetworks/sampleVirtualNetwork/subnets/sampleSubnet" + } + } + ], + "provisioningState": "Succeeded", + "resourceGuid": "b6b2d964-8588-4e3a-a7fe-8a5b7fe8eca5" + }, + "systemData": { + "createdAt": "2021-04-01T01:01:01.1075056Z", + "createdByType": "Application", + "lastModifiedAt": "2021-04-02T02:03:01.1974346Z", + "lastModifiedByType": "Application" + }, + "tags": { + "key1": "value1" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2025-05-01", + "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2025-05-01" + } + } + }, + "operationId": "InboundEndpoints_CreateOrUpdate", + "title": "Upsert inbound endpoint for DNS resolver" +} diff --git a/specification/dnsresolver/Network.Management/examples/2025-05-01/OutboundEndpoint_Delete.json b/specification/dnsresolver/Network.Management/examples/2025-05-01/OutboundEndpoint_Delete.json new file mode 100644 index 000000000000..90bd67b6d778 --- /dev/null +++ b/specification/dnsresolver/Network.Management/examples/2025-05-01/OutboundEndpoint_Delete.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "api-version": "2025-05-01", + "dnsResolverName": "sampleDnsResolver", + "outboundEndpointName": "sampleOutboundEndpoint", + "resourceGroupName": "sampleResourceGroup", + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2025-05-01", + "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2025-05-01" + } + }, + "204": {} + }, + "operationId": "OutboundEndpoints_Delete", + "title": "Delete outbound endpoint for DNS resolver" +} diff --git a/specification/dnsresolver/Network.Management/examples/2025-05-01/OutboundEndpoint_Get.json b/specification/dnsresolver/Network.Management/examples/2025-05-01/OutboundEndpoint_Get.json new file mode 100644 index 000000000000..ec5d5020df78 --- /dev/null +++ b/specification/dnsresolver/Network.Management/examples/2025-05-01/OutboundEndpoint_Get.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "api-version": "2025-05-01", + "dnsResolverName": "sampleDnsResolver", + "outboundEndpointName": "sampleOutboundEndpoint", + "resourceGroupName": "sampleResourceGroup", + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e" + }, + "responses": { + "200": { + "body": { + "name": "sampleOutboundEndpoint", + "type": "Microsoft.Network/dnsResolvers/outboundEndpoints", + "etag": "00000000-0000-0000-0000-000000000000", + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/outboundEndpoints/sampleOutboundEndpoint", + "location": "westus2", + "properties": { + "provisioningState": "Succecced", + "resourceGuid": "b4d35f41-0c70-4ec7-bb3e-0cd9f8b7e4be", + "subnet": { + "id": "/subscriptions/0403cfa9-9659-4f33-9f30-1f191c51d111/resourceGroups/sampleVnetResourceGroupName/providers/Microsoft.Network/virtualNetworks/sampleVirtualNetwork/subnets/sampleSubnet" + } + }, + "systemData": { + "createdAt": "2021-04-01T01:01:01.1075056Z", + "createdByType": "Application", + "lastModifiedAt": "2021-04-02T02:03:01.1974346Z", + "lastModifiedByType": "Application" + }, + "tags": { + "key1": "value1" + } + } + } + }, + "operationId": "OutboundEndpoints_Get", + "title": "Retrieve outbound endpoint for DNS resolver" +} diff --git a/specification/dnsresolver/Network.Management/examples/2025-05-01/OutboundEndpoint_List.json b/specification/dnsresolver/Network.Management/examples/2025-05-01/OutboundEndpoint_List.json new file mode 100644 index 000000000000..03a0495071bd --- /dev/null +++ b/specification/dnsresolver/Network.Management/examples/2025-05-01/OutboundEndpoint_List.json @@ -0,0 +1,65 @@ +{ + "parameters": { + "api-version": "2025-05-01", + "dnsResolverName": "sampleDnsResolver", + "resourceGroupName": "sampleResourceGroup", + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e" + }, + "responses": { + "200": { + "body": { + "nextLink": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/outboundEndpoints?$skipToken=skipToken&api-version=2025-05-01", + "value": [ + { + "name": "sampleOutboundEndpoint", + "type": "Microsoft.Network/dnsResolvers/outboundEndpoints", + "etag": "00000000-0000-0000-0000-000000000000", + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/outboundEndpoints/sampleOutboundEndpoint", + "location": "westus2", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "b4d35f41-0c70-4ec7-bb3e-0cd9f8b7e4be", + "subnet": { + "id": "/subscriptions/0403cfa9-9659-4f33-9f30-1f191c51d111/resourceGroups/sampleVnetResourceGroupName/providers/Microsoft.Network/virtualNetworks/sampleVirtualNetwork/subnets/sampleSubnet" + } + }, + "systemData": { + "createdAt": "2021-04-01T01:01:01.1075056Z", + "createdByType": "Application", + "lastModifiedAt": "2021-04-02T02:03:01.1974346Z", + "lastModifiedByType": "Application" + }, + "tags": { + "key1": "value1" + } + }, + { + "name": "sampleOutboundEndpoint1", + "type": "Microsoft.Network/dnsResolvers/outboundEndpoints", + "etag": "00000000-0000-0000-0000-000000000000", + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/outboundEndpoints/sampleOutboundEndpoint1", + "location": "westus2", + "properties": { + "provisioningState": "Succecced", + "resourceGuid": "b4d35f41-0c70-4ec7-bb3e-0cd9f8b7e4be", + "subnet": { + "id": "/subscriptions/0403cfa9-9659-4f33-9f30-1f191c51d111/resourceGroups/sampleVnetResourceGroupName/providers/Microsoft.Network/virtualNetworks/sampleVirtualNetwork/subnets/sampleSubnet1" + } + }, + "systemData": { + "createdAt": "2021-04-01T01:01:01.1075056Z", + "createdByType": "Application", + "lastModifiedAt": "2021-04-02T02:03:01.1974346Z", + "lastModifiedByType": "Application" + }, + "tags": { + "key1": "value1" + } + } + ] + } + } + }, + "operationId": "OutboundEndpoints_List", + "title": "List outbound endpoints by DNS resolver" +} diff --git a/specification/dnsresolver/Network.Management/examples/2025-05-01/OutboundEndpoint_Patch.json b/specification/dnsresolver/Network.Management/examples/2025-05-01/OutboundEndpoint_Patch.json new file mode 100644 index 000000000000..5a65fe2004bf --- /dev/null +++ b/specification/dnsresolver/Network.Management/examples/2025-05-01/OutboundEndpoint_Patch.json @@ -0,0 +1,49 @@ +{ + "parameters": { + "api-version": "2025-05-01", + "dnsResolverName": "sampleDnsResolver", + "outboundEndpointName": "sampleOutboundEndpoint", + "parameters": { + "tags": { + "key1": "value1" + } + }, + "resourceGroupName": "sampleResourceGroup", + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e" + }, + "responses": { + "200": { + "body": { + "name": "sampleOutboundEndpoint", + "type": "Microsoft.Network/dnsResolvers/outboundEndpoints", + "etag": "00000000-0000-0000-0000-000000000000", + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/outboundEndpoints/sampleOutboundEndpoint", + "location": "westus2", + "properties": { + "provisioningState": "Succecced", + "resourceGuid": "b4d35f41-0c70-4ec7-bb3e-0cd9f8b7e4be", + "subnet": { + "id": "/subscriptions/0403cfa9-9659-4f33-9f30-1f191c51d111/resourceGroups/sampleVnetResourceGroupName/providers/Microsoft.Network/virtualNetworks/sampleVirtualNetwork/subnets/sampleSubnet" + } + }, + "systemData": { + "createdAt": "2021-04-01T01:01:01.1075056Z", + "createdByType": "Application", + "lastModifiedAt": "2021-04-02T02:03:01.1974346Z", + "lastModifiedByType": "Application" + }, + "tags": { + "key1": "value1" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2025-05-01", + "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2025-05-01" + } + } + }, + "operationId": "OutboundEndpoints_Update", + "title": "Update outbound endpoint for DNS resolver" +} diff --git a/specification/dnsresolver/Network.Management/examples/2025-05-01/OutboundEndpoint_Put.json b/specification/dnsresolver/Network.Management/examples/2025-05-01/OutboundEndpoint_Put.json new file mode 100644 index 000000000000..703ded498abc --- /dev/null +++ b/specification/dnsresolver/Network.Management/examples/2025-05-01/OutboundEndpoint_Put.json @@ -0,0 +1,79 @@ +{ + "parameters": { + "api-version": "2025-05-01", + "dnsResolverName": "sampleDnsResolver", + "outboundEndpointName": "sampleOutboundEndpoint", + "parameters": { + "location": "westus2", + "properties": { + "subnet": { + "id": "/subscriptions/0403cfa9-9659-4f33-9f30-1f191c51d111/resourceGroups/sampleVnetResourceGroupName/providers/Microsoft.Network/virtualNetworks/sampleVirtualNetwork/subnets/sampleSubnet" + } + }, + "tags": { + "key1": "value1" + } + }, + "resourceGroupName": "sampleResourceGroup", + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e" + }, + "responses": { + "200": { + "body": { + "name": "sampleOutboundEndpoint", + "type": "Microsoft.Network/dnsResolvers/outboundEndpoints", + "etag": "00000000-0000-0000-0000-000000000000", + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/outboundEndpoints/sampleOutboundEndpoint", + "location": "westus2", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "87b3e20a-5833-4c40-8ad7-c5160bb1c5bd", + "subnet": { + "id": "/subscriptions/0403cfa9-9659-4f33-9f30-1f191c51d111/resourceGroups/sampleVnetResourceGroupName/providers/Microsoft.Network/virtualNetworks/sampleVirtualNetwork/subnets/sampleSubnet" + } + }, + "systemData": { + "createdAt": "2021-04-01T01:01:01.1075056Z", + "createdByType": "Application", + "lastModifiedAt": "2021-04-02T02:03:01.1974346Z", + "lastModifiedByType": "Application" + }, + "tags": { + "key1": "value1" + } + } + }, + "201": { + "body": { + "name": "sampleOutboundEndpoint", + "type": "Microsoft.Network/dnsResolvers/outboundEndpoints", + "etag": "00000000-0000-0000-0000-000000000000", + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/outboundEndpoints/sampleOutboundEndpoint", + "location": "westus2", + "properties": { + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/0403cfa9-9659-4f33-9f30-1f191c51d111/resourceGroups/sampleVnetResourceGroupName/providers/Microsoft.Network/virtualNetworks/sampleVirtualNetwork/subnets/sampleSubnet" + } + }, + "systemData": { + "createdAt": "2021-04-01T01:01:01.1075056Z", + "createdByType": "Application", + "lastModifiedAt": "2021-04-02T02:03:01.1974346Z", + "lastModifiedByType": "Application" + }, + "tags": { + "key1": "value1" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2025-05-01", + "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2025-05-01" + } + } + }, + "operationId": "OutboundEndpoints_CreateOrUpdate", + "title": "Upsert outbound endpoint for DNS resolver" +} diff --git a/specification/dnsresolver/Network.Management/examples/2025-05-01/VirtualNetworkLink_Delete.json b/specification/dnsresolver/Network.Management/examples/2025-05-01/VirtualNetworkLink_Delete.json new file mode 100644 index 000000000000..5588b1ddcc2e --- /dev/null +++ b/specification/dnsresolver/Network.Management/examples/2025-05-01/VirtualNetworkLink_Delete.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "api-version": "2025-05-01", + "dnsForwardingRulesetName": "sampleDnsForwardingRuleset", + "resourceGroupName": "sampleResourceGroup", + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", + "virtualNetworkLinkName": "sampleVirtualNetworkLink" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2025-05-01", + "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2025-05-01" + } + }, + "204": {} + }, + "operationId": "VirtualNetworkLinks_Delete", + "title": "Delete virtual network link to a DNS forwarding ruleset" +} diff --git a/specification/dnsresolver/Network.Management/examples/2025-05-01/VirtualNetworkLink_Get.json b/specification/dnsresolver/Network.Management/examples/2025-05-01/VirtualNetworkLink_Get.json new file mode 100644 index 000000000000..7f85cf875c9b --- /dev/null +++ b/specification/dnsresolver/Network.Management/examples/2025-05-01/VirtualNetworkLink_Get.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "api-version": "2025-05-01", + "dnsForwardingRulesetName": "sampleDnsForwardingRuleset", + "resourceGroupName": "sampleResourceGroup", + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", + "virtualNetworkLinkName": "sampleVirtualNetworkLink" + }, + "responses": { + "200": { + "body": { + "name": "sampleVirtualNetworkLink", + "type": "Microsoft.Network/dnsForwardingRulesets/virtualNetworkLinks", + "etag": "00000000-0000-0000-0000-000000000000", + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsForwardingRuleset/sampleDnsForwardingRuleset/virtualNetworkLinks/sampleVirtualNetworkLink", + "properties": { + "metadata": { + "additionalProp1": "value1" + }, + "provisioningState": "Succecced", + "virtualNetwork": { + "id": "/subscriptions/0403cfa9-9659-4f33-9f30-1f191c51d111/resourceGroups/sampleVnetResourceGroupName/providers/Microsoft.Network/virtualNetworks/sampleVirtualNetwork" + } + }, + "systemData": { + "createdAt": "2021-04-01T01:01:01.1075056Z", + "createdByType": "Application", + "lastModifiedAt": "2021-04-02T02:03:01.1974346Z", + "lastModifiedByType": "Application" + } + } + } + }, + "operationId": "VirtualNetworkLinks_Get", + "title": "Retrieve virtual network link to a DNS forwarding ruleset" +} diff --git a/specification/dnsresolver/Network.Management/examples/2025-05-01/VirtualNetworkLink_List.json b/specification/dnsresolver/Network.Management/examples/2025-05-01/VirtualNetworkLink_List.json new file mode 100644 index 000000000000..71657dc58151 --- /dev/null +++ b/specification/dnsresolver/Network.Management/examples/2025-05-01/VirtualNetworkLink_List.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "api-version": "2025-05-01", + "dnsForwardingRulesetName": "sampleDnsForwardingRuleset", + "resourceGroupName": "sampleResourceGroup", + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e" + }, + "responses": { + "200": { + "body": { + "nextLink": null, + "value": [ + { + "name": "sampleVirtualNetworkLink", + "type": "Microsoft.Network/dnsForwardingRulesets/virtualNetworkLinks", + "etag": "00000000-0000-0000-0000-000000000000", + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsForwardingRuleset/sampleDnsForwardingRuleset/virtualNetworkLinks/sampleVirtualNetworkLink", + "properties": { + "metadata": { + "additionalProp1": "value1" + }, + "provisioningState": "Succecced", + "virtualNetwork": { + "id": "/subscriptions/0403cfa9-9659-4f33-9f30-1f191c51d111/resourceGroups/sampleVnetResourceGroupName/providers/Microsoft.Network/virtualNetworks/sampleVirtualNetwork" + } + }, + "systemData": { + "createdAt": "2021-04-01T01:01:01.1075056Z", + "createdByType": "Application", + "lastModifiedAt": "2021-04-02T02:03:01.1974346Z", + "lastModifiedByType": "Application" + } + } + ] + } + } + }, + "operationId": "VirtualNetworkLinks_List", + "title": "List virtual network links to a DNS forwarding ruleset" +} diff --git a/specification/dnsresolver/Network.Management/examples/2025-05-01/VirtualNetworkLink_Patch.json b/specification/dnsresolver/Network.Management/examples/2025-05-01/VirtualNetworkLink_Patch.json new file mode 100644 index 000000000000..edaeb3735769 --- /dev/null +++ b/specification/dnsresolver/Network.Management/examples/2025-05-01/VirtualNetworkLink_Patch.json @@ -0,0 +1,49 @@ +{ + "parameters": { + "api-version": "2025-05-01", + "dnsForwardingRulesetName": "sampleDnsForwardingRuleset", + "parameters": { + "properties": { + "metadata": { + "additionalProp1": "value1" + } + } + }, + "resourceGroupName": "sampleResourceGroup", + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", + "virtualNetworkLinkName": "sampleVirtualNetworkLink" + }, + "responses": { + "200": { + "body": { + "name": "sampleVirtualNetworkLink", + "type": "Microsoft.Network/dnsForwardingRulesets/virtualNetworkLinks", + "etag": "00000000-0000-0000-0000-000000000000", + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsForwardingRuleset/sampleDnsForwardingRuleset/virtualNetworkLinks/sampleVirtualNetworkLink", + "properties": { + "metadata": { + "additionalProp1": "value1" + }, + "provisioningState": "Succecced", + "virtualNetwork": { + "id": "/subscriptions/0403cfa9-9659-4f33-9f30-1f191c51d111/resourceGroups/sampleVnetResourceGroupName/providers/Microsoft.Network/virtualNetworks/sampleVirtualNetwork" + } + }, + "systemData": { + "createdAt": "2021-04-01T01:01:01.1075056Z", + "createdByType": "Application", + "lastModifiedAt": "2021-04-02T02:03:01.1974346Z", + "lastModifiedByType": "Application" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2025-05-01", + "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2025-05-01" + } + } + }, + "operationId": "VirtualNetworkLinks_Update", + "title": "Update virtual network link to a DNS forwarding ruleset" +} diff --git a/specification/dnsresolver/Network.Management/examples/2025-05-01/VirtualNetworkLink_Put.json b/specification/dnsresolver/Network.Management/examples/2025-05-01/VirtualNetworkLink_Put.json new file mode 100644 index 000000000000..ed62dce1269d --- /dev/null +++ b/specification/dnsresolver/Network.Management/examples/2025-05-01/VirtualNetworkLink_Put.json @@ -0,0 +1,75 @@ +{ + "parameters": { + "api-version": "2025-05-01", + "dnsForwardingRulesetName": "sampleDnsForwardingRuleset", + "parameters": { + "properties": { + "metadata": { + "additionalProp1": "value1" + }, + "virtualNetwork": { + "id": "/subscriptions/0403cfa9-9659-4f33-9f30-1f191c51d111/resourceGroups/sampleVnetResourceGroupName/providers/Microsoft.Network/virtualNetworks/sampleVirtualNetwork" + } + } + }, + "resourceGroupName": "sampleResourceGroup", + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", + "virtualNetworkLinkName": "sampleVirtualNetworkLink" + }, + "responses": { + "200": { + "body": { + "name": "sampleVirtualNetworkLink", + "type": "Microsoft.Network/dnsForwardingRulesets/virtualNetworkLinks", + "etag": "00000000-0000-0000-0000-000000000000", + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsForwardingRuleset/sampleDnsForwardingRuleset/virtualNetworkLinks/sampleVirtualNetworkLink", + "properties": { + "metadata": { + "additionalProp1": "value1" + }, + "provisioningState": "Succecced", + "virtualNetwork": { + "id": "/subscriptions/0403cfa9-9659-4f33-9f30-1f191c51d111/resourceGroups/sampleVnetResourceGroupName/providers/Microsoft.Network/virtualNetworks/sampleVirtualNetwork" + } + }, + "systemData": { + "createdAt": "2021-04-01T01:01:01.1075056Z", + "createdByType": "Application", + "lastModifiedAt": "2021-04-02T02:03:01.1974346Z", + "lastModifiedByType": "Application" + } + } + }, + "201": { + "body": { + "name": "sampleVirtualNetworkLink", + "type": "Microsoft.Network/dnsForwardingRulesets/virtualNetworkLinks", + "etag": "00000000-0000-0000-0000-000000000000", + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsForwardingRuleset/sampleDnsForwardingRuleset/virtualNetworkLinks/sampleVirtualNetworkLink", + "properties": { + "metadata": { + "additionalProp1": "value1" + }, + "provisioningState": "Succecced", + "virtualNetwork": { + "id": "/subscriptions/0403cfa9-9659-4f33-9f30-1f191c51d111/resourceGroups/sampleVnetResourceGroupName/providers/Microsoft.Network/virtualNetworks/sampleVirtualNetwork" + } + }, + "systemData": { + "createdAt": "2021-04-01T01:01:01.1075056Z", + "createdByType": "Application", + "lastModifiedAt": "2021-04-02T02:03:01.1974346Z", + "lastModifiedByType": "Application" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2025-05-01", + "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2025-05-01" + } + } + }, + "operationId": "VirtualNetworkLinks_CreateOrUpdate", + "title": "Upsert virtual network link to a DNS forwarding ruleset" +} diff --git a/specification/dnsresolver/Network.Management/main.tsp b/specification/dnsresolver/Network.Management/main.tsp new file mode 100644 index 000000000000..f25016d37b04 --- /dev/null +++ b/specification/dnsresolver/Network.Management/main.tsp @@ -0,0 +1,54 @@ +/** + * PLEASE DO NOT REMOVE - USED FOR CONVERTER METRICS + * Generated by package: @autorest/openapi-to-typespec + * Parameters used: + * isFullCompatible: true + * guessResourceKey: false + * Version: 0.11.3 + * Date: 2025-07-16T06:26:47.736Z + */ +import "@typespec/rest"; +import "@typespec/versioning"; +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "./models.tsp"; +import "./back-compatible.tsp"; +import "./DnsResolver.tsp"; +import "./InboundEndpoint.tsp"; +import "./OutboundEndpoint.tsp"; +import "./DnsForwardingRuleset.tsp"; +import "./ForwardingRule.tsp"; +import "./VirtualNetworkLink.tsp"; +import "./DnsResolverPolicy.tsp"; +import "./DnsSecurityRule.tsp"; +import "./DnsResolverPolicyVirtualNetworkLink.tsp"; +import "./DnsResolverDomainList.tsp"; +import "./routes.tsp"; + +using TypeSpec.Rest; +using TypeSpec.Http; +using Azure.ResourceManager.Foundations; +using Azure.Core; +using Azure.ResourceManager; +using TypeSpec.Versioning; +/** + * The DNS Resolver Management Client. + */ +#suppress "@azure-tools/typespec-azure-resource-manager/missing-operations-endpoint" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@armProviderNamespace +@service(#{ title: "DnsResolverManagementClient" }) +@versioned(Versions) +@armCommonTypesVersion(Azure.ResourceManager.CommonTypes.Versions.v5) +namespace Microsoft.Network; + +/** + * The available API versions. + */ +enum Versions { + /** + * The 2025-05-01 API version. + */ + @useDependency(Azure.ResourceManager.Versions.v1_0_Preview_1) + @useDependency(Azure.Core.Versions.v1_0_Preview_1) + v2025_05_01: "2025-05-01", +} diff --git a/specification/dnsresolver/Network.Management/models.tsp b/specification/dnsresolver/Network.Management/models.tsp new file mode 100644 index 000000000000..7b6542b11149 --- /dev/null +++ b/specification/dnsresolver/Network.Management/models.tsp @@ -0,0 +1,725 @@ +import "@typespec/rest"; +import "@typespec/http"; +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; + +using TypeSpec.Rest; +using TypeSpec.Http; +using Azure.ResourceManager; +using Azure.ResourceManager.Foundations; + +namespace Microsoft.Network; + +/** + * The current status of the DNS resolver. This is a read-only property and any attempt to set this value will be ignored. + */ +union DnsResolverState { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Connected: "Connected", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Disconnected: "Disconnected", +} + +/** + * The current provisioning state of the resource. + */ +union ProvisioningState { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Creating: "Creating", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Updating: "Updating", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Deleting: "Deleting", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Succeeded: "Succeeded", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Failed: "Failed", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Canceled: "Canceled", +} + +/** + * The type of identity that created the resource. + */ +union CreatedByType { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + User: "User", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Application: "Application", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + ManagedIdentity: "ManagedIdentity", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Key: "Key", +} + +/** + * Private IP address allocation method. + */ +union IpAllocationMethod { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Static: "Static", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Dynamic: "Dynamic", +} + +/** + * The state of forwarding rule. + */ +union ForwardingRuleState { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Enabled: "Enabled", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Disabled: "Disabled", +} + +/** + * The type of action to take. + */ +union ActionType { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Allow: "Allow", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Alert: "Alert", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Block: "Block", +} + +/** + * The state of DNS security rule. + */ +union DnsSecurityRuleState { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Enabled: "Enabled", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Disabled: "Disabled", +} + +/** + * The action type in requests for bulk upload or download of a DNS resolver domain list. + */ +union Action { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Upload: "Upload", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Download: "Download", +} + +/** + * Represents the properties of a DNS resolver. + */ +model DnsResolverProperties { + /** + * The reference to the virtual network. This cannot be changed after creation. + */ + @visibility(Lifecycle.Read, Lifecycle.Create) + virtualNetwork: SubResource; + + /** + * The current status of the DNS resolver. This is a read-only property and any attempt to set this value will be ignored. + */ + @visibility(Lifecycle.Read) + dnsResolverState?: DnsResolverState; + + /** + * The current provisioning state of the DNS resolver. This is a read-only property and any attempt to set this value will be ignored. + */ + @visibility(Lifecycle.Read) + provisioningState?: ProvisioningState; + + /** + * The resourceGuid property of the DNS resolver resource. + */ + @visibility(Lifecycle.Read) + resourceGuid?: string; +} + +/** + * Reference to another ARM resource. + */ +model SubResource { + /** + * Resource ID. + */ + id: string; +} + +/** + * An error message + */ +@error +model CloudError { + /** + * The error message body + */ + error?: CloudErrorBody; +} + +/** + * The body of an error message + */ +model CloudErrorBody { + /** + * The error code + */ + code?: string; + + /** + * A description of what caused the error + */ + message?: string; + + /** + * The target resource of the error message + */ + target?: string; + + /** + * Extra error information + */ + #suppress "@azure-tools/typespec-azure-resource-manager/missing-x-ms-identifiers" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + details?: CloudErrorBody[]; +} + +/** + * Describes a DNS resolver for PATCH operation. + */ +model DnsResolverPatch { + /** + * Tags for DNS Resolver. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @visibility(Lifecycle.Read, Lifecycle.Create, Lifecycle.Update) + tags?: Record; +} + +/** + * Represents the properties of an inbound endpoint for a DNS resolver. + */ +model InboundEndpointProperties { + /** + * IP configurations for the inbound endpoint. + */ + @OpenAPI.extension("x-ms-identifiers", #[]) + ipConfigurations: IpConfiguration[]; + + /** + * The current provisioning state of the inbound endpoint. This is a read-only property and any attempt to set this value will be ignored. + */ + @visibility(Lifecycle.Read) + provisioningState?: ProvisioningState; + + /** + * The resourceGuid property of the inbound endpoint resource. + */ + @visibility(Lifecycle.Read) + resourceGuid?: string; +} + +/** + * IP configuration. + */ +model IpConfiguration { + /** + * The reference to the subnet bound to the IP configuration. + */ + subnet: SubResource; + + /** + * Private IP address of the IP configuration. + */ + privateIpAddress?: string; + + /** + * Private IP address allocation method. + */ + privateIpAllocationMethod?: IpAllocationMethod = IpAllocationMethod.Dynamic; +} + +/** + * Describes an inbound endpoint for a DNS resolver for PATCH operation. + */ +model InboundEndpointPatch { + /** + * Tags for inbound endpoint. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @visibility(Lifecycle.Read, Lifecycle.Create, Lifecycle.Update) + tags?: Record; +} + +/** + * Represents the properties of an outbound endpoint for a DNS resolver. + */ +model OutboundEndpointProperties { + /** + * The reference to the subnet used for the outbound endpoint. + */ + subnet: SubResource; + + /** + * The current provisioning state of the outbound endpoint. This is a read-only property and any attempt to set this value will be ignored. + */ + @visibility(Lifecycle.Read) + provisioningState?: ProvisioningState; + + /** + * The resourceGuid property of the outbound endpoint resource. + */ + @visibility(Lifecycle.Read) + resourceGuid?: string; +} + +/** + * Describes an outbound endpoint for a DNS resolver for PATCH operation. + */ +model OutboundEndpointPatch { + /** + * Tags for outbound endpoint. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @visibility(Lifecycle.Read, Lifecycle.Create, Lifecycle.Update) + tags?: Record; +} + +/** + * Represents the properties of a DNS forwarding ruleset. + */ +model DnsForwardingRulesetProperties { + /** + * The reference to the DNS resolver outbound endpoints that are used to route DNS queries matching the forwarding rules in the ruleset to the target DNS servers. + */ + dnsResolverOutboundEndpoints: SubResource[]; + + /** + * The current provisioning state of the DNS forwarding ruleset. This is a read-only property and any attempt to set this value will be ignored. + */ + @visibility(Lifecycle.Read) + provisioningState?: ProvisioningState; + + /** + * The resourceGuid for the DNS forwarding ruleset. + */ + @visibility(Lifecycle.Read) + resourceGuid?: string; +} + +/** + * Describes a DNS forwarding ruleset PATCH operation. + */ +model DnsForwardingRulesetPatch { + /** + * The reference to the DNS resolver outbound endpoints that are used to route DNS queries matching the forwarding rules in the ruleset to the target DNS servers. + */ + dnsResolverOutboundEndpoints?: SubResource[]; + + /** + * Tags for DNS Resolver. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @visibility(Lifecycle.Read, Lifecycle.Create, Lifecycle.Update) + tags?: Record; +} + +/** + * Represents the properties of a forwarding rule within a DNS forwarding ruleset. + */ +model ForwardingRuleProperties { + /** + * The domain name for the forwarding rule. + */ + domainName: string; + + /** + * DNS servers to forward the DNS query to. + */ + @OpenAPI.extension("x-ms-identifiers", #[]) + targetDnsServers: TargetDnsServer[]; + + /** + * Metadata attached to the forwarding rule. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + metadata?: Record; + + /** + * The state of forwarding rule. + */ + forwardingRuleState?: ForwardingRuleState; + + /** + * The current provisioning state of the forwarding rule. This is a read-only property and any attempt to set this value will be ignored. + */ + @visibility(Lifecycle.Read) + provisioningState?: ProvisioningState; +} + +/** + * Describes a server to forward the DNS queries to. + */ +model TargetDnsServer { + /** + * DNS server IP address. + */ + ipAddress: string; + + /** + * DNS server port. + */ + port?: int32 = 53; +} + +/** + * Describes a forwarding rule for PATCH operation. + */ +model ForwardingRulePatch { + /** + * Updatable properties of the forwarding rule. + */ + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @Azure.ResourceManager.Private.conditionalClientFlatten + properties?: ForwardingRulePatchProperties; +} + +/** + * Represents the updatable properties of a forwarding rule within a DNS forwarding ruleset. + */ +model ForwardingRulePatchProperties { + /** + * DNS servers to forward the DNS query to. + */ + @OpenAPI.extension("x-ms-identifiers", #[]) + targetDnsServers?: TargetDnsServer[]; + + /** + * Metadata attached to the forwarding rule. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + metadata?: Record; + + /** + * The state of forwarding rule. + */ + forwardingRuleState?: ForwardingRuleState = ForwardingRuleState.Enabled; +} + +/** + * Represents the properties of a virtual network link. + */ +model VirtualNetworkLinkProperties { + /** + * The reference to the virtual network. This cannot be changed after creation. + */ + virtualNetwork: SubResource; + + /** + * Metadata attached to the virtual network link. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + metadata?: Record; + + /** + * The current provisioning state of the virtual network link. This is a read-only property and any attempt to set this value will be ignored. + */ + @visibility(Lifecycle.Read) + provisioningState?: ProvisioningState; +} + +/** + * Describes a virtual network link for PATCH operation. + */ +model VirtualNetworkLinkPatch { + /** + * Updatable properties of the virtual network link. + */ + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @Azure.ResourceManager.Private.conditionalClientFlatten + properties?: VirtualNetworkLinkPatchProperties; +} + +/** + * Represents the updatable properties of the virtual network link. + */ +model VirtualNetworkLinkPatchProperties { + /** + * Metadata attached to the virtual network link. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + metadata?: Record; +} + +/** + * The response to an enumeration operation on sub-resources. + */ +model SubResourceListResult is Azure.Core.Page; + +/** + * The response to an enumeration operation on Virtual Network DNS Forwarding Ruleset. + */ +model VirtualNetworkDnsForwardingRulesetListResult + is Azure.Core.Page; + +/** + * Reference to DNS forwarding ruleset and associated virtual network link. + */ +model VirtualNetworkDnsForwardingRuleset { + /** + * DNS Forwarding Ruleset Resource ID. + */ + id?: string; + + /** + * Properties of the virtual network link sub-resource reference. + */ + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @Azure.ResourceManager.Private.conditionalClientFlatten + properties?: VirtualNetworkLinkSubResourceProperties; +} + +/** + * The reference to the virtual network link that associates between the DNS forwarding ruleset and virtual network. + */ +model VirtualNetworkLinkSubResourceProperties { + /** + * The reference to the virtual network link. + */ + virtualNetworkLink?: SubResource; +} + +/** + * Represents the properties of a DNS resolver policy. + */ +model DnsResolverPolicyProperties { + /** + * The current provisioning state of the DNS resolver policy. This is a read-only property and any attempt to set this value will be ignored. + */ + @visibility(Lifecycle.Read) + provisioningState?: ProvisioningState; + + /** + * The resourceGuid property of the DNS resolver policy resource. + */ + @visibility(Lifecycle.Read) + resourceGuid?: string; +} + +/** + * Describes a DNS resolver policy for PATCH operation. + */ +model DnsResolverPolicyPatch { + /** + * Tags for DNS resolver policy. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @visibility(Lifecycle.Read, Lifecycle.Create, Lifecycle.Update) + tags?: Record; +} + +/** + * Represents the properties of a DNS security rule. + */ +model DnsSecurityRuleProperties { + /** + * The priority of the DNS security rule. + */ + @visibility(Lifecycle.Read, Lifecycle.Create, Lifecycle.Update) + priority: int32; + + /** + * The action to take on DNS requests that match the DNS security rule. + */ + action: DnsSecurityRuleAction; + + /** + * DNS resolver policy domains lists that the DNS security rule applies to. + */ + @OpenAPI.extension("x-ms-identifiers", #[]) + dnsResolverDomainLists: SubResource[]; + + /** + * The state of DNS security rule. + */ + dnsSecurityRuleState?: DnsSecurityRuleState; + + /** + * The current provisioning state of the DNS security rule. This is a read-only property and any attempt to set this value will be ignored. + */ + @visibility(Lifecycle.Read) + provisioningState?: ProvisioningState; +} + +/** + * The action to take on DNS requests that match the DNS security rule. + */ +model DnsSecurityRuleAction { + /** + * The type of action to take. + */ + actionType?: ActionType; +} + +/** + * Describes a DNS security rule for PATCH operation. + */ +model DnsSecurityRulePatch { + /** + * Updatable properties of the DNS security rule. + */ + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @Azure.ResourceManager.Private.conditionalClientFlatten + properties?: DnsSecurityRulePatchProperties; + + /** + * Tags for DNS security rule. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @visibility(Lifecycle.Read, Lifecycle.Create, Lifecycle.Update) + tags?: Record; +} + +/** + * Represents the updatable properties of a DNS security rule. + */ +model DnsSecurityRulePatchProperties { + /** + * The action to take on DNS requests that match the DNS security rule. + */ + action?: DnsSecurityRuleAction; + + /** + * DNS resolver policy domains lists that the DNS security rule applies to. + */ + @OpenAPI.extension("x-ms-identifiers", #[]) + dnsResolverDomainLists?: SubResource[]; + + /** + * The state of DNS security rule. + */ + dnsSecurityRuleState?: DnsSecurityRuleState; + + /** + * The priority of the DNS security rule. + */ + @visibility(Lifecycle.Read, Lifecycle.Create, Lifecycle.Update) + priority?: int32; +} + +/** + * Represents the properties of a DNS resolver policy virtual network link. + */ +model DnsResolverPolicyVirtualNetworkLinkProperties { + /** + * The reference to the virtual network. This cannot be changed after creation. + */ + @visibility(Lifecycle.Read, Lifecycle.Create) + virtualNetwork: SubResource; + + /** + * The current provisioning state of the DNS resolver policy virtual network link. This is a read-only property and any attempt to set this value will be ignored. + */ + @visibility(Lifecycle.Read) + provisioningState?: ProvisioningState; +} + +/** + * Describes a DNS resolver policy virtual network link for PATCH operation. + */ +model DnsResolverPolicyVirtualNetworkLinkPatch { + /** + * Tags for the DNS resolver policy virtual network link. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @visibility(Lifecycle.Read, Lifecycle.Create, Lifecycle.Update) + tags?: Record; +} + +/** + * Represents the properties of a DNS resolver domain list. + */ +model DnsResolverDomainListProperties { + /** + * The domains in the domain list. Will be null if user is using large domain list. + */ + domains?: string[]; + + /** + * The URL for bulk upload or download for domain lists containing larger set of domains. This will be populated if domains is empty or null. + */ + @visibility(Lifecycle.Read) + domainsUrl?: string; + + /** + * The current provisioning state of the DNS resolver domain list. This is a read-only property and any attempt to set this value will be ignored. + */ + @visibility(Lifecycle.Read) + provisioningState?: ProvisioningState; + + /** + * The resourceGuid property of the DNS resolver domain list resource. + */ + @visibility(Lifecycle.Read) + resourceGuid?: string; +} + +/** + * Describes a DNS resolver domain list for PATCH operation. + */ +model DnsResolverDomainListPatch { + /** + * Updatable properties of the DNS resolver domain list. + */ + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @Azure.ResourceManager.Private.conditionalClientFlatten + properties?: DnsResolverDomainListPatchProperties; + + /** + * Tags for DNS resolver domain list. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @visibility(Lifecycle.Read, Lifecycle.Create, Lifecycle.Update) + tags?: Record; +} + +/** + * Represents the updatable properties of a DNS resolver domain list. + */ +model DnsResolverDomainListPatchProperties { + /** + * The domains in the domain list. + */ + domains?: string[]; +} + +/** + * Describes a DNS resolver domain list for bulk UPLOAD or DOWNLOAD operations. + */ +model DnsResolverDomainListBulk { + /** + * Properties of the DNS resolver domain list upload or download request. + */ + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @Azure.ResourceManager.Private.conditionalClientFlatten + properties: DnsResolverDomainListBulkProperties; +} + +/** + * Describes DNS resolver domain list properties for bulk UPLOAD or DOWNLOAD operations. + */ +model DnsResolverDomainListBulkProperties { + /** + * The storage account blob file URL to be used in the bulk upload or download request of DNS resolver domain list. + */ + storageUrl: string; + + /** + * The action to take in the request, Upload or Download. + */ + action: Action; +} diff --git a/specification/dnsresolver/Network.Management/routes.tsp b/specification/dnsresolver/Network.Management/routes.tsp new file mode 100644 index 000000000000..24958c5197ad --- /dev/null +++ b/specification/dnsresolver/Network.Management/routes.tsp @@ -0,0 +1,89 @@ +// FIXME: Operations in this file are not detected as a resource operation, please confirm the conversion result manually + +import "@azure-tools/typespec-azure-core"; +import "@typespec/rest"; +import "./models.tsp"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; + +using TypeSpec.Rest; +using TypeSpec.Http; +using Azure.ResourceManager; +using TypeSpec.OpenAPI; + +namespace Microsoft.Network; + +/** Externally defined VirtualNetwork */ +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-custom-resource-usage-discourage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@armVirtualResource +@Azure.ResourceManager.Legacy.customAzureResource +model VirtualNetwork { + ...ResourceNameParameter< + VirtualNetwork, + KeyName = "virtualNetworkName", + SegmentName = "virtualNetworks", + NamePattern = "" + >; +} + +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-interface-requires-decorator" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +interface DnsResolversOperationGroup { + /** + * Lists DNS resolver resource IDs linked to a virtual network. + */ + #suppress "@azure-tools/typespec-azure-core/no-openapi" "non-standard operations" + @action("listDnsResolvers") + @list + listByVirtualNetwork is ArmResourceActionSync< + VirtualNetwork, + void, + SubResourceListResult, + Parameters = { + /** + * The maximum number of results to return. If not specified, returns up to 100 results. + */ + @query("$top") + $top?: int32; + }, + Error = CloudError + >; +} + +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-interface-requires-decorator" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +interface DnsForwardingRulesetsOperationGroup { + /** + * Lists DNS forwarding ruleset resource IDs attached to a virtual network. + */ + #suppress "@azure-tools/typespec-azure-core/no-openapi" "non-standard operations" + @action("listDnsForwardingRulesets") + @list + listByVirtualNetwork is ArmResourceActionSync< + VirtualNetwork, + void, + VirtualNetworkDnsForwardingRulesetListResult, + Parameters = { + /** + * The maximum number of results to return. If not specified, returns up to 100 results. + */ + @query("$top") + $top?: int32; + }, + Error = CloudError + >; +} + +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-interface-requires-decorator" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +interface DnsResolverPoliciesOperationGroup { + /** + * Lists DNS resolver policy resource IDs linked to a virtual network. + */ + #suppress "@azure-tools/typespec-azure-core/no-openapi" "non-standard operations" + @action("listDnsResolverPolicies") + @list + listByVirtualNetwork is ArmResourceActionSync< + VirtualNetwork, + void, + SubResourceListResult + >; +} diff --git a/specification/dnsresolver/Network.Management/tspconfig.yaml b/specification/dnsresolver/Network.Management/tspconfig.yaml new file mode 100644 index 000000000000..1e181f2f079c --- /dev/null +++ b/specification/dnsresolver/Network.Management/tspconfig.yaml @@ -0,0 +1,50 @@ +parameters: + "service-dir": + default: "sdk/dnsresolver" +emit: + - "@azure-tools/typespec-autorest" +options: + "@azure-tools/typespec-autorest": + omit-unreachable-types: true + emitter-output-dir: "{project-root}/.." + azure-resource-provider-folder: "resource-manager" + output-file: "{azure-resource-provider-folder}/{service-name}/{version-status}/{version}/openapi.json" + examples-dir: "{project-root}/examples" + arm-resource-flattening: true + emit-lro-options: "all" + "@azure-tools/typespec-csharp": + flavor: azure + package-dir: "Azure.ResourceManager.DnsResolver" + clear-output-folder: true + model-namespace: true + namespace: "{package-dir}" + "@azure-tools/typespec-python": + package-dir: "azure-mgmt-dnsresolver" + namespace: "azure.mgmt.dnsresolver" + generate-test: true + generate-sample: true + flavor: "azure" + "@azure-tools/typespec-java": + package-dir: "azure-resourcemanager-dnsresolver" + namespace: "com.azure.resourcemanager.dnsresolver" + service-name: "Dns Resolver" # human-readable service name, whitespace allowed + flavor: azure + "@azure-tools/typespec-ts": + package-dir: "arm-dnsresolver" + flavor: azure + experimental-extensible-enums: true + package-details: + name: "@azure/arm-dnsresolver" + "@azure-tools/typespec-go": + service-dir: "sdk/resourcemanager/dnsresolver" + package-dir: "armdnsresolver" + module: "github.com/Azure/azure-sdk-for-go/{service-dir}/{package-dir}" + fix-const-stuttering: false + flavor: "azure" + generate-samples: true + generate-fakes: true + head-as-boolean: true + inject-spans: true +linter: + extends: + - "@azure-tools/typespec-azure-rulesets/resource-manager" diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/dnsresolver.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/dnsresolver.json deleted file mode 100644 index fd2d255b416b..000000000000 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/dnsresolver.json +++ /dev/null @@ -1,2675 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "DnsResolverManagementClient", - "description": "The DNS Resolver Management Client.", - "version": "2025-05-01" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "description": "Azure Active Directory OAuth2 Flow", - "scopes": { - "user_impersonation": "impersonate your user account" - } - } - }, - "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsResolvers/{dnsResolverName}": { - "put": { - "tags": [ - "DnsResolvers" - ], - "operationId": "DnsResolvers_CreateOrUpdate", - "description": "Creates or updates a DNS resolver.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/DnsResolverNameParameter" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/DnsResolver" - }, - "description": "Parameters supplied to the CreateOrUpdate operation." - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/IfMatchParameter" - }, - { - "$ref": "#/parameters/IfNoneMatchParameter" - } - ], - "responses": { - "201": { - "description": "The DNS resolver has been created.", - "schema": { - "$ref": "#/definitions/DnsResolver" - } - }, - "200": { - "description": "The DNS resolver has been updated.", - "schema": { - "$ref": "#/definitions/DnsResolver" - } - }, - "202": { - "description": "The operation to upsert DNS resolver has been accepted and will complete asynchronously." - }, - "default": { - "description": "Default response. It will be deserialized as per the Error definition.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-examples": { - "Upsert DNS resolver": { - "$ref": "./examples/DnsResolver_Put.json" - } - } - }, - "patch": { - "tags": [ - "DnsResolvers" - ], - "operationId": "DnsResolvers_Update", - "description": "Updates a DNS resolver.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/DnsResolverNameParameter" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/DnsResolverPatch" - }, - "description": "Parameters supplied to the Update operation." - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/IfMatchParameter" - } - ], - "responses": { - "200": { - "description": "The DNS resolver has been updated.", - "schema": { - "$ref": "#/definitions/DnsResolver" - } - }, - "202": { - "description": "The operation to update DNS resolver has been accepted and will complete asynchronously." - }, - "default": { - "description": "Default response. It will be deserialized as per the Error definition.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-examples": { - "Update DNS resolver": { - "$ref": "./examples/DnsResolver_Patch.json" - } - } - }, - "delete": { - "tags": [ - "DnsResolvers" - ], - "operationId": "DnsResolvers_Delete", - "description": "Deletes a DNS resolver. WARNING: This operation cannot be undone.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/DnsResolverNameParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/IfMatchParameter" - } - ], - "responses": { - "200": { - "description": "The DNS resolver has been deleted." - }, - "202": { - "description": "The operation to delete DNS resolver has been accepted and will complete asynchronously." - }, - "204": { - "description": "The DNS resolver was not found." - }, - "default": { - "description": "Default response. It will be deserialized as per the Error definition.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-examples": { - "Delete DNS resolver": { - "$ref": "./examples/DnsResolver_Delete.json" - } - } - }, - "get": { - "tags": [ - "DnsResolvers" - ], - "operationId": "DnsResolvers_Get", - "description": "Gets properties of a DNS resolver.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/DnsResolverNameParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "The DNS resolver was found.", - "schema": { - "$ref": "#/definitions/DnsResolver" - } - }, - "default": { - "description": "Default response. It will be deserialized as per the Error definition.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "Retrieve DNS resolver": { - "$ref": "./examples/DnsResolver_Get.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsResolvers": { - "get": { - "tags": [ - "DnsResolvers" - ], - "operationId": "DnsResolvers_ListByResourceGroup", - "description": "Lists DNS resolvers within a resource group.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/TopParameter" - } - ], - "responses": { - "200": { - "description": "List of DNS resolvers in the resource group.", - "schema": { - "$ref": "#/definitions/DnsResolverListResult" - } - }, - "default": { - "description": "Default response. It will be deserialized as per the Error definition.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "List DNS resolvers by resource group": { - "$ref": "./examples/DnsResolver_ListByResourceGroup.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Network/dnsResolvers": { - "get": { - "tags": [ - "DnsResolvers" - ], - "operationId": "DnsResolvers_List", - "description": "Lists DNS resolvers in all resource groups of a subscription.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/TopParameter" - } - ], - "responses": { - "200": { - "description": "List of DNS resolvers in the subscription.", - "schema": { - "$ref": "#/definitions/DnsResolverListResult" - } - }, - "default": { - "description": "Default response. It will be deserialized as per the Error definition.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "List DNS resolvers by subscription": { - "$ref": "./examples/DnsResolver_ListBySubscription.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsResolvers/{dnsResolverName}/inboundEndpoints/{inboundEndpointName}": { - "put": { - "tags": [ - "InboundEndpoints" - ], - "operationId": "InboundEndpoints_CreateOrUpdate", - "description": "Creates or updates an inbound endpoint for a DNS resolver.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/DnsResolverNameParameter" - }, - { - "$ref": "#/parameters/InboundEndpointNameParameter" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/InboundEndpoint" - }, - "description": "Parameters supplied to the CreateOrUpdate operation." - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/IfMatchParameter" - }, - { - "$ref": "#/parameters/IfNoneMatchParameter" - } - ], - "responses": { - "201": { - "description": "The inbound endpoint for the DNS resolver has been created.", - "schema": { - "$ref": "#/definitions/InboundEndpoint" - } - }, - "200": { - "description": "The inbound endpoint for the DNS resolver has been updated.", - "schema": { - "$ref": "#/definitions/InboundEndpoint" - } - }, - "202": { - "description": "The operation to upsert inbound endpoint for the DNS resolver has been accepted and will complete asynchronously." - }, - "default": { - "description": "Default response. It will be deserialized as per the Error definition.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-examples": { - "Upsert inbound endpoint for DNS resolver": { - "$ref": "./examples/InboundEndpoint_Put.json" - } - } - }, - "patch": { - "tags": [ - "InboundEndpoints" - ], - "operationId": "InboundEndpoints_Update", - "description": "Updates an inbound endpoint for a DNS resolver.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/DnsResolverNameParameter" - }, - { - "$ref": "#/parameters/InboundEndpointNameParameter" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/InboundEndpointPatch" - }, - "description": "Parameters supplied to the Update operation." - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/IfMatchParameter" - } - ], - "responses": { - "200": { - "description": "The inbound endpoint for the DNS resolver has been updated.", - "schema": { - "$ref": "#/definitions/InboundEndpoint" - } - }, - "202": { - "description": "The operation to update inbound endpoint for the DNS resolver has been accepted and will complete asynchronously." - }, - "default": { - "description": "Default response. It will be deserialized as per the Error definition.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-examples": { - "Update inbound endpoint for DNS resolver": { - "$ref": "./examples/InboundEndpoint_Patch.json" - } - } - }, - "delete": { - "tags": [ - "InboundEndpoints" - ], - "operationId": "InboundEndpoints_Delete", - "description": "Deletes an inbound endpoint for a DNS resolver. WARNING: This operation cannot be undone.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/DnsResolverNameParameter" - }, - { - "$ref": "#/parameters/InboundEndpointNameParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/IfMatchParameter" - } - ], - "responses": { - "200": { - "description": "The inbound endpoint for the DNS resolver has been deleted." - }, - "202": { - "description": "The operation to delete inbound endpoint for the DNS resolver has been accepted and will complete asynchronously." - }, - "204": { - "description": "The inbound endpoint for the DNS resolver was not found." - }, - "default": { - "description": "Default response. It will be deserialized as per the Error definition.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-examples": { - "Delete inbound endpoint for DNS resolver": { - "$ref": "./examples/InboundEndpoint_Delete.json" - } - } - }, - "get": { - "tags": [ - "InboundEndpoints" - ], - "operationId": "InboundEndpoints_Get", - "description": "Gets properties of an inbound endpoint for a DNS resolver.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/DnsResolverNameParameter" - }, - { - "$ref": "#/parameters/InboundEndpointNameParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "The inbound endpoint for the DNS resolver was found.", - "schema": { - "$ref": "#/definitions/InboundEndpoint" - } - }, - "default": { - "description": "Default response. It will be deserialized as per the Error definition.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "Retrieve inbound endpoint for DNS resolver": { - "$ref": "./examples/InboundEndpoint_Get.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsResolvers/{dnsResolverName}/inboundEndpoints": { - "get": { - "tags": [ - "InboundEndpoints" - ], - "operationId": "InboundEndpoints_List", - "description": "Lists inbound endpoints for a DNS resolver.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/DnsResolverNameParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/TopParameter" - } - ], - "responses": { - "200": { - "description": "List of inbound endpoints for the DNS resolver.", - "schema": { - "$ref": "#/definitions/InboundEndpointListResult" - } - }, - "default": { - "description": "Default response. It will be deserialized as per the Error definition.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "List inbound endpoints by DNS resolver": { - "$ref": "./examples/InboundEndpoint_List.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsResolvers/{dnsResolverName}/outboundEndpoints/{outboundEndpointName}": { - "put": { - "tags": [ - "OutboundEndpoints" - ], - "operationId": "OutboundEndpoints_CreateOrUpdate", - "description": "Creates or updates an outbound endpoint for a DNS resolver.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/DnsResolverNameParameter" - }, - { - "$ref": "#/parameters/OutboundEndpointNameParameter" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/OutboundEndpoint" - }, - "description": "Parameters supplied to the CreateOrUpdate operation." - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/IfMatchParameter" - }, - { - "$ref": "#/parameters/IfNoneMatchParameter" - } - ], - "responses": { - "201": { - "description": "The outbound endpoint for the DNS resolver has been created.", - "schema": { - "$ref": "#/definitions/OutboundEndpoint" - } - }, - "200": { - "description": "The outbound endpoint for the DNS resolver has been updated.", - "schema": { - "$ref": "#/definitions/OutboundEndpoint" - } - }, - "202": { - "description": "The operation to upsert outbound endpoint for the DNS resolver has been accepted and will complete asynchronously." - }, - "default": { - "description": "Default response. It will be deserialized as per the Error definition.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-examples": { - "Upsert outbound endpoint for DNS resolver": { - "$ref": "./examples/OutboundEndpoint_Put.json" - } - } - }, - "patch": { - "tags": [ - "OutboundEndpoints" - ], - "operationId": "OutboundEndpoints_Update", - "description": "Updates an outbound endpoint for a DNS resolver.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/DnsResolverNameParameter" - }, - { - "$ref": "#/parameters/OutboundEndpointNameParameter" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/OutboundEndpointPatch" - }, - "description": "Parameters supplied to the Update operation." - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/IfMatchParameter" - } - ], - "responses": { - "200": { - "description": "The outbound endpoint for the DNS resolver has been updated.", - "schema": { - "$ref": "#/definitions/OutboundEndpoint" - } - }, - "202": { - "description": "The operation to update outbound endpoint for the DNS resolver has been accepted and will complete asynchronously." - }, - "default": { - "description": "Default response. It will be deserialized as per the Error definition.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-examples": { - "Update outbound endpoint for DNS resolver": { - "$ref": "./examples/OutboundEndpoint_Patch.json" - } - } - }, - "delete": { - "tags": [ - "OutboundEndpoints" - ], - "operationId": "OutboundEndpoints_Delete", - "description": "Deletes an outbound endpoint for a DNS resolver. WARNING: This operation cannot be undone.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/DnsResolverNameParameter" - }, - { - "$ref": "#/parameters/OutboundEndpointNameParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/IfMatchParameter" - } - ], - "responses": { - "200": { - "description": "The outbound endpoint for the DNS resolver has been deleted." - }, - "202": { - "description": "The operation to delete outbound endpoint for the DNS resolver has been accepted and will complete asynchronously." - }, - "204": { - "description": "The outbound endpoint for the DNS resolver was not found." - }, - "default": { - "description": "Default response. It will be deserialized as per the Error definition.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-examples": { - "Delete outbound endpoint for DNS resolver": { - "$ref": "./examples/OutboundEndpoint_Delete.json" - } - } - }, - "get": { - "tags": [ - "OutboundEndpoints" - ], - "operationId": "OutboundEndpoints_Get", - "description": "Gets properties of an outbound endpoint for a DNS resolver.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/DnsResolverNameParameter" - }, - { - "$ref": "#/parameters/OutboundEndpointNameParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "The outbound endpoint for the DNS resolver was found.", - "schema": { - "$ref": "#/definitions/OutboundEndpoint" - } - }, - "default": { - "description": "Default response. It will be deserialized as per the Error definition.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "Retrieve outbound endpoint for DNS resolver": { - "$ref": "./examples/OutboundEndpoint_Get.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsResolvers/{dnsResolverName}/outboundEndpoints": { - "get": { - "tags": [ - "OutboundEndpoints" - ], - "operationId": "OutboundEndpoints_List", - "description": "Lists outbound endpoints for a DNS resolver.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/DnsResolverNameParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/TopParameter" - } - ], - "responses": { - "200": { - "description": "List of outbound endpoints for the DNS resolver.", - "schema": { - "$ref": "#/definitions/OutboundEndpointListResult" - } - }, - "default": { - "description": "Default response. It will be deserialized as per the Error definition.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "List outbound endpoints by DNS resolver": { - "$ref": "./examples/OutboundEndpoint_List.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsForwardingRulesets/{dnsForwardingRulesetName}": { - "put": { - "tags": [ - "DnsForwardingRulesets" - ], - "operationId": "DnsForwardingRulesets_CreateOrUpdate", - "description": "Creates or updates a DNS forwarding ruleset.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/DnsForwardingRulesetNameParameter" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/DnsForwardingRuleset" - }, - "description": "Parameters supplied to the CreateOrUpdate operation." - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/IfMatchParameter" - }, - { - "$ref": "#/parameters/IfNoneMatchParameter" - } - ], - "responses": { - "201": { - "description": "The DNS forwarding ruleset has been created.", - "schema": { - "$ref": "#/definitions/DnsForwardingRuleset" - } - }, - "200": { - "description": "The DNS forwarding ruleset has been updated.", - "schema": { - "$ref": "#/definitions/DnsForwardingRuleset" - } - }, - "202": { - "description": "The operation to upsert DNS forwarding ruleset has been accepted and will complete asynchronously." - }, - "default": { - "description": "Default response. It will be deserialized as per the Error definition.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-examples": { - "Upsert DNS forwarding ruleset": { - "$ref": "./examples/DnsForwardingRuleset_Put.json" - } - } - }, - "patch": { - "tags": [ - "DnsForwardingRulesets" - ], - "operationId": "DnsForwardingRulesets_Update", - "description": "Updates a DNS forwarding ruleset.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/DnsForwardingRulesetNameParameter" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/DnsForwardingRulesetPatch" - }, - "description": "Parameters supplied to the Update operation." - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/IfMatchParameter" - } - ], - "responses": { - "200": { - "description": "The DNS forwarding ruleset has been updated.", - "schema": { - "$ref": "#/definitions/DnsForwardingRuleset" - } - }, - "202": { - "description": "The operation to update DNS forwarding ruleset has been accepted and will complete asynchronously." - }, - "default": { - "description": "Default response. It will be deserialized as per the Error definition.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-examples": { - "Update DNS forwarding ruleset": { - "$ref": "./examples/DnsForwardingRuleset_Patch.json" - } - } - }, - "delete": { - "tags": [ - "DnsForwardingRulesets" - ], - "operationId": "DnsForwardingRulesets_Delete", - "description": "Deletes a DNS forwarding ruleset. WARNING: This operation cannot be undone. All forwarding rules within the ruleset will be deleted.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/DnsForwardingRulesetNameParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/IfMatchParameter" - } - ], - "responses": { - "200": { - "description": "The DNS forwarding ruleset has been deleted." - }, - "202": { - "description": "The operation to delete DNS forwarding ruleset has been accepted and will complete asynchronously." - }, - "204": { - "description": "The DNS forwarding ruleset was not found." - }, - "default": { - "description": "Default response. It will be deserialized as per the Error definition.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-examples": { - "Delete DNS forwarding ruleset": { - "$ref": "./examples/DnsForwardingRuleset_Delete.json" - } - } - }, - "get": { - "tags": [ - "DnsForwardingRulesets" - ], - "operationId": "DnsForwardingRulesets_Get", - "description": "Gets a DNS forwarding ruleset properties.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/DnsForwardingRulesetNameParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "The DNS forwarding ruleset was found.", - "schema": { - "$ref": "#/definitions/DnsForwardingRuleset" - } - }, - "default": { - "description": "Default response. It will be deserialized as per the Error definition.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "Retrieve DNS forwarding ruleset": { - "$ref": "./examples/DnsForwardingRuleset_Get.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsForwardingRulesets": { - "get": { - "tags": [ - "DnsForwardingRulesets" - ], - "operationId": "DnsForwardingRulesets_ListByResourceGroup", - "description": "Lists DNS forwarding rulesets within a resource group.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/TopParameter" - } - ], - "responses": { - "200": { - "description": "List of DNS forwarding rulesets in the resource group.", - "schema": { - "$ref": "#/definitions/DnsForwardingRulesetListResult" - } - }, - "default": { - "description": "Default response. It will be deserialized as per the Error definition.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "List DNS forwarding rulesets by resource group": { - "$ref": "./examples/DnsForwardingRuleset_ListByResourceGroup.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Network/dnsForwardingRulesets": { - "get": { - "tags": [ - "DnsForwardingRulesets" - ], - "operationId": "DnsForwardingRulesets_List", - "description": "Lists DNS forwarding rulesets in all resource groups of a subscription.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/TopParameter" - } - ], - "responses": { - "200": { - "description": "List of DNS forwarding rulesets in the subscription.", - "schema": { - "$ref": "#/definitions/DnsForwardingRulesetListResult" - } - }, - "default": { - "description": "Default response. It will be deserialized as per the Error definition.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "List DNS forwarding rulesets by subscription": { - "$ref": "./examples/DnsForwardingRuleset_ListBySubscription.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsForwardingRulesets/{dnsForwardingRulesetName}/forwardingRules/{forwardingRuleName}": { - "put": { - "tags": [ - "ForwardingRules" - ], - "operationId": "ForwardingRules_CreateOrUpdate", - "description": "Creates or updates a forwarding rule in a DNS forwarding ruleset.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/DnsForwardingRulesetNameParameter" - }, - { - "$ref": "#/parameters/ForwardingRuleNameParameter" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/ForwardingRule" - }, - "description": "Parameters supplied to the CreateOrUpdate operation." - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/IfMatchParameter" - }, - { - "$ref": "#/parameters/IfNoneMatchParameter" - } - ], - "responses": { - "201": { - "description": "The forwarding rule has been created.", - "schema": { - "$ref": "#/definitions/ForwardingRule" - } - }, - "200": { - "description": "The forwarding rule has been updated.", - "schema": { - "$ref": "#/definitions/ForwardingRule" - } - }, - "default": { - "description": "Default response. It will be deserialized as per the Error definition.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "Upsert forwarding rule in a DNS forwarding ruleset": { - "$ref": "./examples/ForwardingRule_Put.json" - } - } - }, - "patch": { - "tags": [ - "ForwardingRules" - ], - "operationId": "ForwardingRules_Update", - "description": "Updates a forwarding rule in a DNS forwarding ruleset.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/DnsForwardingRulesetNameParameter" - }, - { - "$ref": "#/parameters/ForwardingRuleNameParameter" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/ForwardingRulePatch" - }, - "description": "Parameters supplied to the Update operation." - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/IfMatchParameter" - } - ], - "responses": { - "200": { - "description": "The forwarding rule has been updated.", - "schema": { - "$ref": "#/definitions/ForwardingRule" - } - }, - "default": { - "description": "Default response. It will be deserialized as per the Error definition.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "Update forwarding rule in a DNS forwarding ruleset": { - "$ref": "./examples/ForwardingRule_Patch.json" - } - } - }, - "delete": { - "tags": [ - "ForwardingRules" - ], - "operationId": "ForwardingRules_Delete", - "description": "Deletes a forwarding rule in a DNS forwarding ruleset. WARNING: This operation cannot be undone.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/DnsForwardingRulesetNameParameter" - }, - { - "$ref": "#/parameters/ForwardingRuleNameParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/IfMatchParameter" - } - ], - "responses": { - "200": { - "description": "The forwarding rule has been deleted." - }, - "204": { - "description": "The forwarding rule was not found." - }, - "default": { - "description": "Default response. It will be deserialized as per the Error definition.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "Delete forwarding rule in a DNS forwarding ruleset": { - "$ref": "./examples/ForwardingRule_Delete.json" - } - } - }, - "get": { - "tags": [ - "ForwardingRules" - ], - "operationId": "ForwardingRules_Get", - "description": "Gets properties of a forwarding rule in a DNS forwarding ruleset.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/DnsForwardingRulesetNameParameter" - }, - { - "$ref": "#/parameters/ForwardingRuleNameParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "The forwarding rule was found.", - "schema": { - "$ref": "#/definitions/ForwardingRule" - } - }, - "default": { - "description": "Default response. It will be deserialized as per the Error definition.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "Retrieve forwarding rule in a DNS forwarding ruleset": { - "$ref": "./examples/ForwardingRule_Get.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsForwardingRulesets/{dnsForwardingRulesetName}/forwardingRules": { - "get": { - "tags": [ - "ForwardingRules" - ], - "operationId": "ForwardingRules_List", - "description": "Lists forwarding rules in a DNS forwarding ruleset.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/DnsForwardingRulesetNameParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/TopParameter" - } - ], - "responses": { - "200": { - "description": "List of forwarding rules in the DNS forwarding ruleset.", - "schema": { - "$ref": "#/definitions/ForwardingRuleListResult" - } - }, - "default": { - "description": "Default response. It will be deserialized as per the Error definition.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "List forwarding rules in a DNS forwarding ruleset": { - "$ref": "./examples/ForwardingRule_List.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsForwardingRulesets/{dnsForwardingRulesetName}/virtualNetworkLinks/{virtualNetworkLinkName}": { - "put": { - "tags": [ - "VirtualNetworkLinks" - ], - "operationId": "VirtualNetworkLinks_CreateOrUpdate", - "description": "Creates or updates a virtual network link to a DNS forwarding ruleset.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/DnsForwardingRulesetNameParameter" - }, - { - "$ref": "#/parameters/VirtualNetworkLinkNameParameter" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/VirtualNetworkLink" - }, - "description": "Parameters supplied to the CreateOrUpdate operation." - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/IfMatchParameter" - }, - { - "$ref": "#/parameters/IfNoneMatchParameter" - } - ], - "responses": { - "201": { - "description": "The virtual network link to the DNS forwarding ruleset has been created.", - "schema": { - "$ref": "#/definitions/VirtualNetworkLink" - } - }, - "200": { - "description": "The virtual network link to the DNS forwarding ruleset has been updated.", - "schema": { - "$ref": "#/definitions/VirtualNetworkLink" - } - }, - "202": { - "description": "The operation to upsert virtual network link to the DNS forwarding ruleset has been accepted and will complete asynchronously." - }, - "default": { - "description": "Default response. It will be deserialized as per the Error definition.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-examples": { - "Upsert virtual network link to a DNS forwarding ruleset": { - "$ref": "./examples/VirtualNetworkLink_Put.json" - } - } - }, - "patch": { - "tags": [ - "VirtualNetworkLinks" - ], - "operationId": "VirtualNetworkLinks_Update", - "description": "Updates a virtual network link to a DNS forwarding ruleset.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/DnsForwardingRulesetNameParameter" - }, - { - "$ref": "#/parameters/VirtualNetworkLinkNameParameter" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/VirtualNetworkLinkPatch" - }, - "description": "Parameters supplied to the Update operation." - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/IfMatchParameter" - } - ], - "responses": { - "200": { - "description": "The virtual network link to the DNS forwarding ruleset has been updated.", - "schema": { - "$ref": "#/definitions/VirtualNetworkLink" - } - }, - "202": { - "description": "The operation to update virtual network link to the DNS forwarding ruleset has been accepted and will complete asynchronously." - }, - "default": { - "description": "Default response. It will be deserialized as per the Error definition.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-examples": { - "Update virtual network link to a DNS forwarding ruleset": { - "$ref": "./examples/VirtualNetworkLink_Patch.json" - } - } - }, - "delete": { - "tags": [ - "VirtualNetworkLinks" - ], - "operationId": "VirtualNetworkLinks_Delete", - "description": "Deletes a virtual network link to a DNS forwarding ruleset. WARNING: This operation cannot be undone.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/DnsForwardingRulesetNameParameter" - }, - { - "$ref": "#/parameters/VirtualNetworkLinkNameParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/IfMatchParameter" - } - ], - "responses": { - "200": { - "description": "The virtual network link to the DNS forwarding ruleset has been deleted." - }, - "202": { - "description": "The operation to delete virtual network link to the DNS forwarding ruleset has been accepted and will complete asynchronously." - }, - "204": { - "description": "The virtual network link to the DNS forwarding ruleset was not found." - }, - "default": { - "description": "Default response. It will be deserialized as per the Error definition.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-examples": { - "Delete virtual network link to a DNS forwarding ruleset": { - "$ref": "./examples/VirtualNetworkLink_Delete.json" - } - } - }, - "get": { - "tags": [ - "VirtualNetworkLinks" - ], - "operationId": "VirtualNetworkLinks_Get", - "description": "Gets properties of a virtual network link to a DNS forwarding ruleset.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/DnsForwardingRulesetNameParameter" - }, - { - "$ref": "#/parameters/VirtualNetworkLinkNameParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "The virtual network link to DNS forwarding ruleset was found.", - "schema": { - "$ref": "#/definitions/VirtualNetworkLink" - } - }, - "default": { - "description": "Default response. It will be deserialized as per the Error definition.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "Retrieve virtual network link to a DNS forwarding ruleset": { - "$ref": "./examples/VirtualNetworkLink_Get.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsForwardingRulesets/{dnsForwardingRulesetName}/virtualNetworkLinks": { - "get": { - "tags": [ - "VirtualNetworkLinks" - ], - "operationId": "VirtualNetworkLinks_List", - "description": "Lists virtual network links to a DNS forwarding ruleset.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/DnsForwardingRulesetNameParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/TopParameter" - } - ], - "responses": { - "200": { - "description": "List of virtual network links to a DNS forwarding ruleset.", - "schema": { - "$ref": "#/definitions/VirtualNetworkLinkListResult" - } - }, - "default": { - "description": "Default response. It will be deserialized as per the Error definition.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "List virtual network links to a DNS forwarding ruleset": { - "$ref": "./examples/VirtualNetworkLink_List.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/listDnsResolvers": { - "post": { - "tags": [ - "DnsResolvers" - ], - "operationId": "DnsResolvers_ListByVirtualNetwork", - "description": "Lists DNS resolver resource IDs linked to a virtual network.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/VirtualNetworkNameParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/TopParameter" - } - ], - "responses": { - "200": { - "description": "List of DNS resolver resource IDs linked to the virtual network.", - "schema": { - "$ref": "#/definitions/SubResourceListResult" - } - }, - "default": { - "description": "Default response. It will be deserialized as per the Error definition.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "List DNS resolvers by virtual network": { - "$ref": "./examples/DnsResolver_ListByVirtualNetwork.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/listDnsForwardingRulesets": { - "post": { - "tags": [ - "DnsForwardingRulesets" - ], - "operationId": "DnsForwardingRulesets_ListByVirtualNetwork", - "description": "Lists DNS forwarding ruleset resource IDs attached to a virtual network.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/VirtualNetworkNameParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/TopParameter" - } - ], - "responses": { - "200": { - "description": "List of DNS forwarding ruleset resource IDs and virtual network link resource IDs attached to the virtual network.", - "schema": { - "$ref": "#/definitions/VirtualNetworkDnsForwardingRulesetListResult" - } - }, - "default": { - "description": "Default response. It will be deserialized as per the Error definition.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "List DNS forwarding rulesets by virtual network": { - "$ref": "./examples/DnsForwardingRuleset_ListByVirtualNetwork.json" - } - } - } - } - }, - "definitions": { - "DnsResolverProperties": { - "description": "Represents the properties of a DNS resolver.", - "type": "object", - "required": [ - "virtualNetwork" - ], - "properties": { - "virtualNetwork": { - "description": "The reference to the virtual network. This cannot be changed after creation.", - "x-ms-mutability": [ - "read", - "create" - ], - "$ref": "#/definitions/SubResource" - }, - "dnsResolverState": { - "description": "The current status of the DNS resolver. This is a read-only property and any attempt to set this value will be ignored.", - "type": "string", - "enum": [ - "Connected", - "Disconnected" - ], - "x-ms-enum": { - "name": "DnsResolverState", - "modelAsString": true - }, - "readOnly": true - }, - "provisioningState": { - "description": "The current provisioning state of the DNS resolver. This is a read-only property and any attempt to set this value will be ignored.", - "readOnly": true, - "$ref": "#/definitions/ProvisioningState" - }, - "resourceGuid": { - "description": "The resourceGuid property of the DNS resolver resource.", - "readOnly": true, - "$ref": "#/definitions/ResourceGuid" - } - } - }, - "DnsResolver": { - "description": "Describes a DNS resolver.", - "type": "object", - "required": [ - "properties" - ], - "properties": { - "etag": { - "description": "ETag of the DNS resolver.", - "type": "string", - "readOnly": true - }, - "properties": { - "description": "Properties of the DNS resolver.", - "$ref": "#/definitions/DnsResolverProperties", - "x-ms-client-flatten": true - }, - "systemData": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/systemData", - "description": "Metadata pertaining to creation and last modification of the resource.", - "readOnly": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" - } - ] - }, - "DnsResolverPatch": { - "description": "Describes a DNS resolver for PATCH operation.", - "type": "object", - "properties": { - "tags": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "x-ms-mutability": [ - "read", - "create", - "update" - ], - "description": "Tags for DNS Resolver." - } - } - }, - "DnsResolverListResult": { - "description": "The response to an enumeration operation on DNS resolvers.", - "type": "object", - "properties": { - "value": { - "description": "Enumeration of the DNS resolvers.", - "type": "array", - "items": { - "$ref": "#/definitions/DnsResolver" - } - }, - "nextLink": { - "description": "The continuation token for the next page of results.", - "type": "string", - "readOnly": true - } - } - }, - "InboundEndpointProperties": { - "description": "Represents the properties of an inbound endpoint for a DNS resolver.", - "type": "object", - "required": [ - "ipConfigurations" - ], - "properties": { - "ipConfigurations": { - "description": "IP configurations for the inbound endpoint.", - "type": "array", - "items": { - "$ref": "#/definitions/IpConfiguration" - }, - "x-ms-identifiers": [] - }, - "provisioningState": { - "description": "The current provisioning state of the inbound endpoint. This is a read-only property and any attempt to set this value will be ignored.", - "readOnly": true, - "$ref": "#/definitions/ProvisioningState" - }, - "resourceGuid": { - "description": "The resourceGuid property of the inbound endpoint resource.", - "readOnly": true, - "$ref": "#/definitions/ResourceGuid" - } - } - }, - "InboundEndpoint": { - "description": "Describes an inbound endpoint for a DNS resolver.", - "type": "object", - "required": [ - "properties" - ], - "properties": { - "etag": { - "description": "ETag of the inbound endpoint.", - "type": "string", - "readOnly": true - }, - "properties": { - "description": "Properties of the inbound endpoint.", - "$ref": "#/definitions/InboundEndpointProperties", - "x-ms-client-flatten": true - }, - "systemData": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/systemData", - "description": "Metadata pertaining to creation and last modification of the resource.", - "readOnly": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" - } - ] - }, - "InboundEndpointPatch": { - "description": "Describes an inbound endpoint for a DNS resolver for PATCH operation.", - "type": "object", - "properties": { - "tags": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "x-ms-mutability": [ - "read", - "create", - "update" - ], - "description": "Tags for inbound endpoint." - } - } - }, - "InboundEndpointListResult": { - "description": "The response to an enumeration operation on inbound endpoints for a DNS resolver.", - "type": "object", - "properties": { - "value": { - "description": "Enumeration of the inbound endpoints for a DNS resolver.", - "type": "array", - "items": { - "$ref": "#/definitions/InboundEndpoint" - } - }, - "nextLink": { - "description": "The continuation token for the next page of results.", - "type": "string", - "readOnly": true - } - } - }, - "OutboundEndpointProperties": { - "description": "Represents the properties of an outbound endpoint for a DNS resolver.", - "type": "object", - "required": [ - "subnet" - ], - "properties": { - "subnet": { - "description": "The reference to the subnet used for the outbound endpoint.", - "$ref": "#/definitions/SubResource" - }, - "provisioningState": { - "description": "The current provisioning state of the outbound endpoint. This is a read-only property and any attempt to set this value will be ignored.", - "$ref": "#/definitions/ProvisioningState", - "readOnly": true - }, - "resourceGuid": { - "description": "The resourceGuid property of the outbound endpoint resource.", - "readOnly": true, - "$ref": "#/definitions/ResourceGuid" - } - } - }, - "OutboundEndpoint": { - "description": "Describes an outbound endpoint for a DNS resolver.", - "type": "object", - "required": [ - "properties" - ], - "properties": { - "etag": { - "description": "ETag of the outbound endpoint.", - "type": "string", - "readOnly": true - }, - "properties": { - "description": "Properties of the outbound endpoint.", - "$ref": "#/definitions/OutboundEndpointProperties", - "x-ms-client-flatten": true - }, - "systemData": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/systemData", - "description": "Metadata pertaining to creation and last modification of the resource.", - "readOnly": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" - } - ] - }, - "OutboundEndpointPatch": { - "description": "Describes an outbound endpoint for a DNS resolver for PATCH operation.", - "type": "object", - "properties": { - "tags": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "x-ms-mutability": [ - "read", - "create", - "update" - ], - "description": "Tags for outbound endpoint." - } - } - }, - "OutboundEndpointListResult": { - "description": "The response to an enumeration operation on outbound endpoints for a DNS resolver.", - "type": "object", - "properties": { - "value": { - "description": "Enumeration of the outbound endpoints for a DNS resolver.", - "type": "array", - "items": { - "$ref": "#/definitions/OutboundEndpoint" - } - }, - "nextLink": { - "description": "The continuation token for the next page of results.", - "type": "string", - "readOnly": true - } - } - }, - "DnsForwardingRulesetProperties": { - "description": "Represents the properties of a DNS forwarding ruleset.", - "type": "object", - "required": [ - "dnsResolverOutboundEndpoints" - ], - "properties": { - "dnsResolverOutboundEndpoints": { - "description": "The reference to the DNS resolver outbound endpoints that are used to route DNS queries matching the forwarding rules in the ruleset to the target DNS servers.", - "type": "array", - "items": { - "$ref": "#/definitions/SubResource" - } - }, - "provisioningState": { - "description": "The current provisioning state of the DNS forwarding ruleset. This is a read-only property and any attempt to set this value will be ignored.", - "$ref": "#/definitions/ProvisioningState", - "readOnly": true - }, - "resourceGuid": { - "description": "The resourceGuid for the DNS forwarding ruleset.", - "type": "string", - "readOnly": true - } - } - }, - "DnsForwardingRuleset": { - "description": "Describes a DNS forwarding ruleset.", - "type": "object", - "required": [ - "properties" - ], - "properties": { - "etag": { - "description": "ETag of the DNS forwarding ruleset.", - "type": "string", - "readOnly": true - }, - "properties": { - "description": "Properties of the DNS forwarding ruleset.", - "$ref": "#/definitions/DnsForwardingRulesetProperties", - "x-ms-client-flatten": true - }, - "systemData": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/systemData", - "description": "Metadata pertaining to creation and last modification of the resource.", - "readOnly": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" - } - ] - }, - "DnsForwardingRulesetPatch": { - "description": "Describes a DNS forwarding ruleset PATCH operation.", - "type": "object", - "properties": { - "dnsResolverOutboundEndpoints": { - "description": "The reference to the DNS resolver outbound endpoints that are used to route DNS queries matching the forwarding rules in the ruleset to the target DNS servers.", - "type": "array", - "items": { - "$ref": "#/definitions/SubResource" - } - }, - "tags": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "x-ms-mutability": [ - "read", - "create", - "update" - ], - "description": "Tags for DNS Resolver." - } - } - }, - "DnsForwardingRulesetListResult": { - "description": "The response to an enumeration operation on DNS forwarding rulesets.", - "type": "object", - "properties": { - "value": { - "description": "Enumeration of the DNS forwarding rulesets.", - "type": "array", - "items": { - "$ref": "#/definitions/DnsForwardingRuleset" - } - }, - "nextLink": { - "description": "The continuation token for the next page of results.", - "type": "string", - "readOnly": true - } - } - }, - "ForwardingRuleProperties": { - "description": "Represents the properties of a forwarding rule within a DNS forwarding ruleset.", - "type": "object", - "required": [ - "domainName", - "targetDnsServers" - ], - "properties": { - "domainName": { - "description": "The domain name for the forwarding rule.", - "type": "string" - }, - "targetDnsServers": { - "description": "DNS servers to forward the DNS query to.", - "type": "array", - "items": { - "$ref": "#/definitions/TargetDnsServer" - }, - "x-ms-identifiers": [] - }, - "metadata": { - "description": "Metadata attached to the forwarding rule.", - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "forwardingRuleState": { - "type": "string", - "description": "The state of forwarding rule.", - "enum": [ - "Enabled", - "Disabled" - ], - "x-ms-enum": { - "name": "ForwardingRuleState", - "modelAsString": true - } - }, - "provisioningState": { - "description": "The current provisioning state of the forwarding rule. This is a read-only property and any attempt to set this value will be ignored.", - "$ref": "#/definitions/ProvisioningState", - "readOnly": true - } - } - }, - "ForwardingRule": { - "description": "Describes a forwarding rule within a DNS forwarding ruleset.", - "type": "object", - "required": [ - "properties" - ], - "properties": { - "etag": { - "description": "ETag of the forwarding rule.", - "type": "string", - "readOnly": true - }, - "properties": { - "description": "Properties of the forwarding rule.", - "$ref": "#/definitions/ForwardingRuleProperties", - "x-ms-client-flatten": true - }, - "systemData": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/systemData", - "description": "Metadata pertaining to creation and last modification of the resource.", - "readOnly": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" - } - ] - }, - "ForwardingRulePatchProperties": { - "description": "Represents the updatable properties of a forwarding rule within a DNS forwarding ruleset.", - "type": "object", - "properties": { - "targetDnsServers": { - "description": "DNS servers to forward the DNS query to.", - "type": "array", - "items": { - "$ref": "#/definitions/TargetDnsServer" - }, - "x-ms-identifiers": [] - }, - "metadata": { - "description": "Metadata attached to the forwarding rule.", - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "forwardingRuleState": { - "type": "string", - "description": "The state of forwarding rule.", - "enum": [ - "Enabled", - "Disabled" - ], - "default": "Enabled", - "x-ms-enum": { - "name": "ForwardingRuleState", - "modelAsString": true - } - } - } - }, - "ForwardingRulePatch": { - "description": "Describes a forwarding rule for PATCH operation.", - "type": "object", - "properties": { - "properties": { - "description": "Updatable properties of the forwarding rule.", - "$ref": "#/definitions/ForwardingRulePatchProperties", - "x-ms-client-flatten": true - } - } - }, - "ForwardingRuleListResult": { - "description": "The response to an enumeration operation on forwarding rules within a DNS forwarding ruleset.", - "type": "object", - "properties": { - "value": { - "description": "Enumeration of the forwarding rules.", - "type": "array", - "items": { - "$ref": "#/definitions/ForwardingRule" - } - }, - "nextLink": { - "description": "The continuation token for the next page of results.", - "type": "string", - "readOnly": true - } - } - }, - "VirtualNetworkLinkProperties": { - "description": "Represents the properties of a virtual network link.", - "type": "object", - "required": [ - "virtualNetwork" - ], - "properties": { - "virtualNetwork": { - "description": "The reference to the virtual network. This cannot be changed after creation.", - "$ref": "#/definitions/SubResource" - }, - "metadata": { - "description": "Metadata attached to the virtual network link.", - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "provisioningState": { - "description": "The current provisioning state of the virtual network link. This is a read-only property and any attempt to set this value will be ignored.", - "$ref": "#/definitions/ProvisioningState", - "readOnly": true - } - } - }, - "VirtualNetworkLink": { - "description": "Describes a virtual network link.", - "type": "object", - "required": [ - "properties" - ], - "properties": { - "etag": { - "description": "ETag of the virtual network link.", - "type": "string", - "readOnly": true - }, - "properties": { - "description": "Properties of the virtual network link.", - "$ref": "#/definitions/VirtualNetworkLinkProperties", - "x-ms-client-flatten": true - }, - "systemData": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/systemData", - "description": "Metadata pertaining to creation and last modification of the resource.", - "readOnly": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" - } - ] - }, - "VirtualNetworkLinkPatchProperties": { - "description": "Represents the updatable properties of the virtual network link.", - "type": "object", - "properties": { - "metadata": { - "description": "Metadata attached to the virtual network link.", - "type": "object", - "additionalProperties": { - "type": "string" - } - } - } - }, - "VirtualNetworkLinkPatch": { - "description": "Describes a virtual network link for PATCH operation.", - "type": "object", - "properties": { - "properties": { - "description": "Updatable properties of the virtual network link.", - "$ref": "#/definitions/VirtualNetworkLinkPatchProperties", - "x-ms-client-flatten": true - } - } - }, - "VirtualNetworkLinkListResult": { - "description": "The response to an enumeration operation on virtual network links.", - "type": "object", - "properties": { - "value": { - "description": "Enumeration of the virtual network links.", - "type": "array", - "items": { - "$ref": "#/definitions/VirtualNetworkLink" - } - }, - "nextLink": { - "description": "The continuation token for the next page of results.", - "type": "string", - "readOnly": true - } - } - }, - "IpConfiguration": { - "description": "IP configuration.", - "type": "object", - "required": [ - "subnet" - ], - "properties": { - "subnet": { - "description": "The reference to the subnet bound to the IP configuration.", - "$ref": "#/definitions/SubResource" - }, - "privateIpAddress": { - "description": "Private IP address of the IP configuration.", - "type": "string" - }, - "privateIpAllocationMethod": { - "description": "Private IP address allocation method.", - "type": "string", - "enum": [ - "Static", - "Dynamic" - ], - "default": "Dynamic", - "x-ms-enum": { - "name": "IpAllocationMethod", - "modelAsString": true - } - } - } - }, - "TargetDnsServer": { - "description": "Describes a server to forward the DNS queries to.", - "type": "object", - "required": [ - "ipAddress" - ], - "properties": { - "ipAddress": { - "description": "DNS server IP address.", - "type": "string" - }, - "port": { - "description": "DNS server port.", - "type": "integer", - "format": "int32", - "default": 53 - } - } - }, - "ProvisioningState": { - "description": "The current provisioning state of the resource.", - "type": "string", - "enum": [ - "Creating", - "Updating", - "Deleting", - "Succeeded", - "Failed", - "Canceled" - ], - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": true - } - }, - "ResourceGuid": { - "type": "string", - "description": "The Guid property of the resource." - }, - "SubResourceListResult": { - "description": "The response to an enumeration operation on sub-resources.", - "type": "object", - "properties": { - "value": { - "description": "Enumeration of the sub-resources.", - "type": "array", - "items": { - "$ref": "#/definitions/SubResource" - } - }, - "nextLink": { - "description": "The continuation token for the next page of results.", - "type": "string", - "readOnly": true - } - } - }, - "SubResource": { - "description": "Reference to another ARM resource.", - "type": "object", - "required": [ - "id" - ], - "properties": { - "id": { - "type": "string", - "description": "Resource ID." - } - }, - "x-ms-azure-resource": true - }, - "VirtualNetworkDnsForwardingRulesetListResult": { - "description": "The response to an enumeration operation on Virtual Network DNS Forwarding Ruleset.", - "type": "object", - "properties": { - "value": { - "description": "Enumeration of the Virtual Network DNS Forwarding Ruleset.", - "type": "array", - "items": { - "$ref": "#/definitions/VirtualNetworkDnsForwardingRuleset" - } - }, - "nextLink": { - "description": "The continuation token for the next page of results.", - "type": "string", - "readOnly": true - } - } - }, - "VirtualNetworkLinkSubResourceProperties": { - "description": "The reference to the virtual network link that associates between the DNS forwarding ruleset and virtual network.", - "type": "object", - "properties": { - "virtualNetworkLink": { - "description": "The reference to the virtual network link.", - "$ref": "#/definitions/SubResource" - } - } - }, - "VirtualNetworkDnsForwardingRuleset": { - "description": "Reference to DNS forwarding ruleset and associated virtual network link.", - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "DNS Forwarding Ruleset Resource ID." - }, - "properties": { - "description": "Properties of the virtual network link sub-resource reference.", - "$ref": "#/definitions/VirtualNetworkLinkSubResourceProperties", - "x-ms-client-flatten": true - } - } - }, - "CloudError": { - "description": "An error message", - "type": "object", - "properties": { - "error": { - "description": "The error message body", - "$ref": "#/definitions/CloudErrorBody" - } - }, - "x-ms-external": true - }, - "CloudErrorBody": { - "description": "The body of an error message", - "type": "object", - "properties": { - "code": { - "description": "The error code", - "type": "string" - }, - "message": { - "description": "A description of what caused the error", - "type": "string" - }, - "target": { - "description": "The target resource of the error message", - "type": "string" - }, - "details": { - "description": "Extra error information", - "type": "array", - "items": { - "$ref": "#/definitions/CloudErrorBody" - }, - "x-ms-identifiers": [] - } - }, - "x-ms-external": true - } - }, - "parameters": { - "DnsResolverNameParameter": { - "name": "dnsResolverName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the DNS resolver.", - "x-ms-parameter-location": "method" - }, - "InboundEndpointNameParameter": { - "name": "inboundEndpointName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the inbound endpoint for the DNS resolver.", - "x-ms-parameter-location": "method" - }, - "VirtualNetworkNameParameter": { - "name": "virtualNetworkName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the virtual network.", - "x-ms-parameter-location": "method" - }, - "OutboundEndpointNameParameter": { - "name": "outboundEndpointName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the outbound endpoint for the DNS resolver.", - "x-ms-parameter-location": "method" - }, - "DnsForwardingRulesetNameParameter": { - "name": "dnsForwardingRulesetName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the DNS forwarding ruleset.", - "x-ms-parameter-location": "method" - }, - "ForwardingRuleNameParameter": { - "name": "forwardingRuleName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the forwarding rule.", - "x-ms-parameter-location": "method" - }, - "VirtualNetworkLinkNameParameter": { - "name": "virtualNetworkLinkName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the virtual network link.", - "x-ms-parameter-location": "method" - }, - "TopParameter": { - "name": "$top", - "in": "query", - "required": false, - "type": "integer", - "format": "int32", - "description": "The maximum number of results to return. If not specified, returns up to 100 results.", - "x-ms-parameter-location": "method" - }, - "IfMatchParameter": { - "name": "If-Match", - "in": "header", - "required": false, - "type": "string", - "x-ms-client-name": "IfMatch", - "description": "ETag of the resource. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes.", - "x-ms-parameter-location": "method" - }, - "IfNoneMatchParameter": { - "name": "If-None-Match", - "in": "header", - "required": false, - "type": "string", - "x-ms-client-name": "IfNoneMatch", - "description": "Set to '*' to allow a new resource to be created, but to prevent updating an existing resource. Other values will be ignored.", - "x-ms-parameter-location": "method" - } - } -} diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/dnsresolverpolicy.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/dnsresolverpolicy.json deleted file mode 100644 index a082f5389e8e..000000000000 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/dnsresolverpolicy.json +++ /dev/null @@ -1,1935 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "DnsResolverPolicyManagementClient", - "description": "The DNS Resolver Policy Management Client.", - "version": "2025-05-01" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "description": "Azure Active Directory OAuth2 Flow", - "scopes": { - "user_impersonation": "impersonate your user account" - } - } - }, - "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsResolverPolicies/{dnsResolverPolicyName}": { - "put": { - "tags": [ - "DnsResolverPolicies" - ], - "operationId": "DnsResolverPolicies_CreateOrUpdate", - "description": "Creates or updates a DNS resolver policy.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/DnsResolverPolicyNameParameter" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/DnsResolverPolicy" - }, - "description": "Parameters supplied to the CreateOrUpdate operation." - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/IfMatchParameter" - }, - { - "$ref": "#/parameters/IfNoneMatchParameter" - } - ], - "responses": { - "200": { - "description": "The DNS resolver policy has been updated.", - "schema": { - "$ref": "#/definitions/DnsResolverPolicy" - } - }, - "201": { - "description": "The DNS resolver policy has been created.", - "schema": { - "$ref": "#/definitions/DnsResolverPolicy" - } - }, - "default": { - "description": "Default response. It will be deserialized as per the Error definition.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-examples": { - "Upsert DNS resolver policy": { - "$ref": "./examples/DnsResolverPolicy_Put.json" - } - } - }, - "patch": { - "tags": [ - "DnsResolverPolicies" - ], - "operationId": "DnsResolverPolicies_Update", - "description": "Updates a DNS resolver policy.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/DnsResolverPolicyNameParameter" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/DnsResolverPolicyPatch" - }, - "description": "Parameters supplied to the Update operation." - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/IfMatchParameter" - } - ], - "responses": { - "200": { - "description": "The DNS resolver policy has been updated.", - "schema": { - "$ref": "#/definitions/DnsResolverPolicy" - } - }, - "202": { - "description": "The operation to update DNS resolver policy has been accepted and will complete asynchronously.", - "headers": { - "Location": { - "type": "string" - } - } - }, - "default": { - "description": "Default response. It will be deserialized as per the Error definition.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-examples": { - "Update DNS resolver policy": { - "$ref": "./examples/DnsResolverPolicy_Patch.json" - } - } - }, - "delete": { - "tags": [ - "DnsResolverPolicies" - ], - "operationId": "DnsResolverPolicies_Delete", - "description": "Deletes a DNS resolver policy. WARNING: This operation cannot be undone.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/DnsResolverPolicyNameParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/IfMatchParameter" - } - ], - "responses": { - "202": { - "description": "The operation to delete DNS resolver policy has been accepted and will complete asynchronously.", - "headers": { - "Location": { - "type": "string" - } - } - }, - "204": { - "description": "The DNS resolver policy was not found." - }, - "default": { - "description": "Default response. It will be deserialized as per the Error definition.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-examples": { - "Delete DNS resolver policy": { - "$ref": "./examples/DnsResolverPolicy_Delete.json" - } - } - }, - "get": { - "tags": [ - "DnsResolverPolicies" - ], - "operationId": "DnsResolverPolicies_Get", - "description": "Gets properties of a DNS resolver policy.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/DnsResolverPolicyNameParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "The DNS resolver policy was found.", - "schema": { - "$ref": "#/definitions/DnsResolverPolicy" - } - }, - "default": { - "description": "Default response. It will be deserialized as per the Error definition.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Retrieve DNS resolver policy": { - "$ref": "./examples/DnsResolverPolicy_Get.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsResolverPolicies": { - "get": { - "tags": [ - "DnsResolverPolicies" - ], - "operationId": "DnsResolverPolicies_ListByResourceGroup", - "description": "Lists DNS resolver policies within a resource group.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/TopParameter" - } - ], - "responses": { - "200": { - "description": "List of DNS resolver policies in the resource group.", - "schema": { - "$ref": "#/definitions/DnsResolverPolicyListResult" - } - }, - "default": { - "description": "Default response. It will be deserialized as per the Error definition.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "List DNS resolver policies by resource group": { - "$ref": "./examples/DnsResolverPolicy_ListByResourceGroup.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Network/dnsResolverPolicies": { - "get": { - "tags": [ - "DnsResolverPolicies" - ], - "operationId": "DnsResolverPolicies_List", - "description": "Lists DNS resolver policies in all resource groups of a subscription.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/TopParameter" - } - ], - "responses": { - "200": { - "description": "List of DNS resolver policies in the subscription.", - "schema": { - "$ref": "#/definitions/DnsResolverPolicyListResult" - } - }, - "default": { - "description": "Default response. It will be deserialized as per the Error definition.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "List DNS resolver policies by subscription": { - "$ref": "./examples/DnsResolverPolicy_ListBySubscription.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsResolverPolicies/{dnsResolverPolicyName}/dnsSecurityRules/{dnsSecurityRuleName}": { - "put": { - "tags": [ - "DnsSecurityRules" - ], - "operationId": "DnsSecurityRules_CreateOrUpdate", - "description": "Creates or updates a DNS security rule for a DNS resolver policy.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/DnsResolverPolicyNameParameter" - }, - { - "$ref": "#/parameters/DnsSecurityRuleNameParameter" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/DnsSecurityRule" - }, - "description": "Parameters supplied to the CreateOrUpdate operation." - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/IfMatchParameter" - }, - { - "$ref": "#/parameters/IfNoneMatchParameter" - } - ], - "responses": { - "200": { - "description": "The DNS security rule has been updated.", - "schema": { - "$ref": "#/definitions/DnsSecurityRule" - } - }, - "201": { - "description": "The DNS security rule has been created.", - "schema": { - "$ref": "#/definitions/DnsSecurityRule" - } - }, - "default": { - "description": "Default response. It will be deserialized as per the Error definition.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-examples": { - "Upsert DNS security rule": { - "$ref": "./examples/DnsSecurityRule_Put.json" - } - } - }, - "patch": { - "tags": [ - "DnsSecurityRules" - ], - "operationId": "DnsSecurityRules_Update", - "description": "Updates a DNS security rule.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/DnsResolverPolicyNameParameter" - }, - { - "$ref": "#/parameters/DnsSecurityRuleNameParameter" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/DnsSecurityRulePatch" - }, - "description": "Parameters supplied to the Update operation." - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/IfMatchParameter" - } - ], - "responses": { - "200": { - "description": "The DNS security rule has been updated.", - "schema": { - "$ref": "#/definitions/DnsSecurityRule" - } - }, - "202": { - "description": "The operation to update the DNS security rule has been accepted and will complete asynchronously.", - "headers": { - "Location": { - "type": "string" - } - } - }, - "default": { - "description": "Default response. It will be deserialized as per the Error definition.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-examples": { - "Update DNS security rule for DNS resolver policy": { - "$ref": "./examples/DnsSecurityRule_Patch.json" - } - } - }, - "delete": { - "tags": [ - "DnsSecurityRules" - ], - "operationId": "DnsSecurityRules_Delete", - "description": "Deletes a DNS security rule for a DNS resolver policy. WARNING: This operation cannot be undone.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/DnsResolverPolicyNameParameter" - }, - { - "$ref": "#/parameters/DnsSecurityRuleNameParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/IfMatchParameter" - } - ], - "responses": { - "202": { - "description": "The operation to delete the DNS security rule has been accepted and will complete asynchronously.", - "headers": { - "Location": { - "type": "string" - } - } - }, - "204": { - "description": "The DNS security rule was not found." - }, - "default": { - "description": "Default response. It will be deserialized as per the Error definition.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-examples": { - "Delete DNS security rule for DNS resolver policy": { - "$ref": "./examples/DnsSecurityRule_Delete.json" - } - } - }, - "get": { - "tags": [ - "DnsSecurityRules" - ], - "operationId": "DnsSecurityRules_Get", - "description": "Gets properties of a DNS security rule for a DNS resolver policy.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/DnsResolverPolicyNameParameter" - }, - { - "$ref": "#/parameters/DnsSecurityRuleNameParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "The DNS security rule was found.", - "schema": { - "$ref": "#/definitions/DnsSecurityRule" - } - }, - "default": { - "description": "Default response. It will be deserialized as per the Error definition.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Retrieve DNS security rule for DNS resolver policy": { - "$ref": "./examples/DnsSecurityRule_Get.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsResolverPolicies/{dnsResolverPolicyName}/dnsSecurityRules": { - "get": { - "tags": [ - "DnsSecurityRules" - ], - "operationId": "DnsSecurityRules_List", - "description": "Lists DNS security rules for a DNS resolver policy.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/DnsResolverPolicyNameParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/TopParameter" - } - ], - "responses": { - "200": { - "description": "List of DNS security rules for the DNS resolver policy.", - "schema": { - "$ref": "#/definitions/DnsSecurityRuleListResult" - } - }, - "default": { - "description": "Default response. It will be deserialized as per the Error definition.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "List DNS security rules by DNS resolver policy": { - "$ref": "./examples/DnsSecurityRule_List.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsResolverPolicies/{dnsResolverPolicyName}/virtualNetworkLinks/{dnsResolverPolicyVirtualNetworkLinkName}": { - "put": { - "tags": [ - "DnsResolverPolicyVirtualNetworkLinks" - ], - "operationId": "DnsResolverPolicyVirtualNetworkLinks_CreateOrUpdate", - "description": "Creates or updates a DNS resolver policy virtual network link.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/DnsResolverPolicyNameParameter" - }, - { - "$ref": "#/parameters/DnsResolverPolicyVirtualNetworkLinkNameParameter" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/DnsResolverPolicyVirtualNetworkLink" - }, - "description": "Parameters supplied to the CreateOrUpdate operation." - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/IfMatchParameter" - }, - { - "$ref": "#/parameters/IfNoneMatchParameter" - } - ], - "responses": { - "200": { - "description": "The DNS resolver policy virtual network link has been updated.", - "schema": { - "$ref": "#/definitions/DnsResolverPolicyVirtualNetworkLink" - } - }, - "201": { - "description": "The DNS resolver policy virtual network link has been created.", - "schema": { - "$ref": "#/definitions/DnsResolverPolicyVirtualNetworkLink" - } - }, - "default": { - "description": "Default response. It will be deserialized as per the Error definition.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-examples": { - "Upsert DNS resolver policy virtual network link": { - "$ref": "./examples/DnsResolverPolicyVirtualNetworkLink_Put.json" - } - } - }, - "patch": { - "tags": [ - "DnsResolverPolicyVirtualNetworkLinks" - ], - "operationId": "DnsResolverPolicyVirtualNetworkLinks_Update", - "description": "Updates a DNS resolver policy virtual network link.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/DnsResolverPolicyNameParameter" - }, - { - "$ref": "#/parameters/DnsResolverPolicyVirtualNetworkLinkNameParameter" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/DnsResolverPolicyVirtualNetworkLinkPatch" - }, - "description": "Parameters supplied to the Update operation." - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/IfMatchParameter" - } - ], - "responses": { - "200": { - "description": "The DNS resolver policy virtual network link has been updated.", - "schema": { - "$ref": "#/definitions/DnsResolverPolicyVirtualNetworkLink" - } - }, - "202": { - "description": "The operation to update DNS resolver policy virtual network link has been accepted and will complete asynchronously.", - "headers": { - "Location": { - "type": "string" - } - } - }, - "default": { - "description": "Default response. It will be deserialized as per the Error definition.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-examples": { - "Update DNS resolver policy virtual network link": { - "$ref": "./examples/DnsResolverPolicyVirtualNetworkLink_Patch.json" - } - } - }, - "delete": { - "tags": [ - "DnsResolverPolicyVirtualNetworkLinks" - ], - "operationId": "DnsResolverPolicyVirtualNetworkLinks_Delete", - "description": "Deletes a DNS resolver policy virtual network link. WARNING: This operation cannot be undone.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/DnsResolverPolicyNameParameter" - }, - { - "$ref": "#/parameters/DnsResolverPolicyVirtualNetworkLinkNameParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/IfMatchParameter" - } - ], - "responses": { - "202": { - "description": "The operation to delete the DNS resolver policy virtual network link has been accepted and will complete asynchronously.", - "headers": { - "Location": { - "type": "string" - } - } - }, - "204": { - "description": "The DNS resolver policy virtual network link was not found." - }, - "default": { - "description": "Default response. It will be deserialized as per the Error definition.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-examples": { - "Delete DNS resolver policy virtual network link": { - "$ref": "./examples/DnsResolverPolicyVirtualNetworkLink_Delete.json" - } - } - }, - "get": { - "tags": [ - "DnsResolverPolicyVirtualNetworkLinks" - ], - "operationId": "DnsResolverPolicyVirtualNetworkLinks_Get", - "description": "Gets properties of a DNS resolver policy virtual network link.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/DnsResolverPolicyNameParameter" - }, - { - "$ref": "#/parameters/DnsResolverPolicyVirtualNetworkLinkNameParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "The DNS resolver policy virtual network link was found.", - "schema": { - "$ref": "#/definitions/DnsResolverPolicyVirtualNetworkLink" - } - }, - "default": { - "description": "Default response. It will be deserialized as per the Error definition.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Retrieve DNS resolver policy virtual network link": { - "$ref": "./examples/DnsResolverPolicyVirtualNetworkLink_Get.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsResolverPolicies/{dnsResolverPolicyName}/virtualNetworkLinks": { - "get": { - "tags": [ - "DnsResolverPolicyVirtualNetworkLinks" - ], - "operationId": "DnsResolverPolicyVirtualNetworkLinks_List", - "description": "Lists DNS resolver policy virtual network links.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/DnsResolverPolicyNameParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/TopParameter" - } - ], - "responses": { - "200": { - "description": "List of DNS resolver policy virtual network links.", - "schema": { - "$ref": "#/definitions/DnsResolverPolicyVirtualNetworkLinkListResult" - } - }, - "default": { - "description": "Default response. It will be deserialized as per the Error definition.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "List DNS resolver policy virtual network links by DNS resolver policy": { - "$ref": "./examples/DnsResolverPolicyVirtualNetworkLink_List.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsResolverDomainLists/{dnsResolverDomainListName}": { - "put": { - "tags": [ - "DnsResolverDomainLists" - ], - "operationId": "DnsResolverDomainLists_CreateOrUpdate", - "description": "Creates or updates a DNS resolver domain list.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/DnsResolverDomainListNameParameter" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/DnsResolverDomainList" - }, - "description": "Parameters supplied to the CreateOrUpdate operation." - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/IfMatchParameter" - }, - { - "$ref": "#/parameters/IfNoneMatchParameter" - } - ], - "responses": { - "200": { - "description": "The DNS resolver domain list has been updated.", - "schema": { - "$ref": "#/definitions/DnsResolverDomainList" - } - }, - "201": { - "description": "The DNS resolver domain list has been created.", - "schema": { - "$ref": "#/definitions/DnsResolverDomainList" - } - }, - "default": { - "description": "Default response. It will be deserialized as per the Error definition.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-examples": { - "Upsert DNS resolver domain list with less than 1000 domains": { - "$ref": "./examples/DnsResolverDomainList_Put.json" - }, - "Upsert DNS resolver domain list with bulk number of domains": { - "$ref": "./examples/DnsResolverDomainList_BulkDomains_Put.json" - } - } - }, - "patch": { - "tags": [ - "DnsResolverDomainLists" - ], - "operationId": "DnsResolverDomainLists_Update", - "description": "Updates a DNS resolver domain list.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/DnsResolverDomainListNameParameter" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/DnsResolverDomainListPatch" - }, - "description": "Parameters supplied to the Update operation." - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/IfMatchParameter" - } - ], - "responses": { - "200": { - "description": "The DNS resolver domain list has been updated.", - "schema": { - "$ref": "#/definitions/DnsResolverDomainList" - } - }, - "202": { - "description": "The operation to update DNS resolver domain list has been accepted and will complete asynchronously.", - "headers": { - "Location": { - "type": "string" - } - } - }, - "default": { - "description": "Default response. It will be deserialized as per the Error definition.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-examples": { - "Update DNS resolver domain list": { - "$ref": "./examples/DnsResolverDomainList_Patch.json" - } - } - }, - "delete": { - "tags": [ - "DnsResolverDomainLists" - ], - "operationId": "DnsResolverDomainLists_Delete", - "description": "Deletes a DNS resolver domain list. WARNING: This operation cannot be undone.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/DnsResolverDomainListNameParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/IfMatchParameter" - } - ], - "responses": { - "202": { - "description": "The operation to delete DNS resolver domain list has been accepted and will complete asynchronously.", - "headers": { - "Location": { - "type": "string" - } - } - }, - "204": { - "description": "The DNS resolver domain list was not found." - }, - "default": { - "description": "Default response. It will be deserialized as per the Error definition.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-examples": { - "Delete DNS resolver domain list": { - "$ref": "./examples/DnsResolverDomainList_Delete.json" - } - } - }, - "get": { - "tags": [ - "DnsResolverDomainLists" - ], - "operationId": "DnsResolverDomainLists_Get", - "description": "Gets properties of a DNS resolver domain list.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/DnsResolverDomainListNameParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "The DNS resolver domain list was found.", - "schema": { - "$ref": "#/definitions/DnsResolverDomainList" - } - }, - "default": { - "description": "Default response. It will be deserialized as per the Error definition.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Retrieve DNS resolver domain list with less than 1000 domains": { - "$ref": "./examples/DnsResolverDomainList_Get.json" - }, - "Retrieve DNS resolver domain list with bulk number of domains": { - "$ref": "./examples/DnsResolverDomainList_BulkDomains_Get.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsResolverDomainLists": { - "get": { - "tags": [ - "DnsResolverDomainLists" - ], - "operationId": "DnsResolverDomainLists_ListByResourceGroup", - "description": "Lists DNS resolver domain lists within a resource group.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/TopParameter" - } - ], - "responses": { - "200": { - "description": "List of DNS resolver domain lists in the resource group.", - "schema": { - "$ref": "#/definitions/DnsResolverDomainListListResult" - } - }, - "default": { - "description": "Default response. It will be deserialized as per the Error definition.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "List DNS resolver domain lists by resource group": { - "$ref": "./examples/DnsResolverDomainList_ListByResourceGroup.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Network/dnsResolverDomainLists": { - "get": { - "tags": [ - "DnsResolverDomainLists" - ], - "operationId": "DnsResolverDomainLists_List", - "description": "Lists DNS resolver domain lists in all resource groups of a subscription.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/TopParameter" - } - ], - "responses": { - "200": { - "description": "List of DNS resolver domain lists in the subscription.", - "schema": { - "$ref": "#/definitions/DnsResolverDomainListListResult" - } - }, - "default": { - "description": "Default response. It will be deserialized as per the Error definition.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "List DNS resolver domain lists by subscription": { - "$ref": "./examples/DnsResolverDomainList_ListBySubscription.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsResolverDomainLists/{dnsResolverDomainListName}/bulk": { - "post": { - "tags": [ - "DnsResolverDomainLists" - ], - "operationId": "DnsResolverDomainLists_Bulk", - "description": "Uploads or downloads the list of domains for a DNS Resolver Domain List from a storage link.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/DnsResolverDomainListNameParameter" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/DnsResolverDomainListBulk" - }, - "description": "Parameters supplied to the bulk domain list operation." - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/IfMatchParameter" - }, - { - "$ref": "#/parameters/IfNoneMatchParameter" - } - ], - "responses": { - "200": { - "description": "The DNS resolver domain list bulk request was successful.", - "schema": { - "$ref": "#/definitions/DnsResolverDomainList" - } - }, - "202": { - "description": "The operation to upload/download domains to the DNS Resolver Domain List has been accepted and will complete asynchronously.", - "headers": { - "Location": { - "type": "string" - } - } - }, - "default": { - "description": "Default response. It will be deserialized as per the Error definition.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-examples": { - "Upload DNS resolver domain list domains": { - "$ref": "./examples/DnsResolverDomainList_BulkUpload.json" - }, - "Download DNS resolver domain list domains": { - "$ref": "./examples/DnsResolverDomainList_BulkDownload.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/listDnsResolverPolicies": { - "post": { - "tags": [ - "DnsResolverPolicies" - ], - "operationId": "DnsResolverPolicies_ListByVirtualNetwork", - "description": "Lists DNS resolver policy resource IDs linked to a virtual network.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/VirtualNetworkNameParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "List of DNS resolver policy resource IDs linked to the virtual network.", - "schema": { - "$ref": "#/definitions/SubResourceListResult" - } - }, - "default": { - "description": "Default response. It will be deserialized as per the Error definition.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "List DNS resolver policies by virtual network": { - "$ref": "./examples/DnsResolverPolicy_ListByVirtualNetwork.json" - } - } - } - } - }, - "definitions": { - "DnsResolverPolicyProperties": { - "description": "Represents the properties of a DNS resolver policy.", - "type": "object", - "properties": { - "provisioningState": { - "description": "The current provisioning state of the DNS resolver policy. This is a read-only property and any attempt to set this value will be ignored.", - "readOnly": true, - "$ref": "#/definitions/ProvisioningState" - }, - "resourceGuid": { - "description": "The resourceGuid property of the DNS resolver policy resource.", - "readOnly": true, - "$ref": "#/definitions/ResourceGuid" - } - } - }, - "DnsResolverPolicy": { - "description": "Describes a DNS resolver policy.", - "type": "object", - "properties": { - "etag": { - "description": "ETag of the DNS resolver policy.", - "type": "string", - "readOnly": true - }, - "properties": { - "description": "Properties of the DNS resolver policy.", - "$ref": "#/definitions/DnsResolverPolicyProperties", - "x-ms-client-flatten": true - }, - "systemData": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/systemData", - "description": "Metadata pertaining to creation and last modification of the resource.", - "readOnly": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" - } - ] - }, - "DnsResolverPolicyPatch": { - "description": "Describes a DNS resolver policy for PATCH operation.", - "type": "object", - "properties": { - "tags": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "x-ms-mutability": [ - "read", - "create", - "update" - ], - "description": "Tags for DNS resolver policy." - } - } - }, - "DnsResolverPolicyListResult": { - "description": "The response to an enumeration operation on DNS resolver policies.", - "type": "object", - "properties": { - "value": { - "description": "Enumeration of the DNS resolver policies.", - "type": "array", - "items": { - "$ref": "#/definitions/DnsResolverPolicy" - } - }, - "nextLink": { - "description": "The continuation token for the next page of results.", - "type": "string", - "readOnly": true - } - } - }, - "DnsSecurityRuleProperties": { - "description": "Represents the properties of a DNS security rule.", - "type": "object", - "required": [ - "priority", - "dnsResolverDomainLists", - "action" - ], - "properties": { - "priority": { - "description": "The priority of the DNS security rule.", - "type": "integer", - "format": "int32", - "x-ms-mutability": [ - "read", - "create", - "update" - ] - }, - "action": { - "description": "The action to take on DNS requests that match the DNS security rule.", - "$ref": "#/definitions/DnsSecurityRuleAction" - }, - "dnsResolverDomainLists": { - "description": "DNS resolver policy domains lists that the DNS security rule applies to.", - "type": "array", - "items": { - "$ref": "#/definitions/SubResource" - }, - "x-ms-identifiers": [] - }, - "dnsSecurityRuleState": { - "type": "string", - "description": "The state of DNS security rule.", - "enum": [ - "Enabled", - "Disabled" - ], - "x-ms-enum": { - "name": "DnsSecurityRuleState", - "modelAsString": true - } - }, - "provisioningState": { - "description": "The current provisioning state of the DNS security rule. This is a read-only property and any attempt to set this value will be ignored.", - "$ref": "#/definitions/ProvisioningState", - "readOnly": true - } - } - }, - "DnsSecurityRule": { - "description": "Describes a DNS security rule.", - "type": "object", - "required": [ - "properties" - ], - "properties": { - "etag": { - "description": "ETag of the DNS security rule.", - "type": "string", - "readOnly": true - }, - "properties": { - "description": "Properties of the DNS security rule.", - "$ref": "#/definitions/DnsSecurityRuleProperties", - "x-ms-client-flatten": true - }, - "systemData": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/systemData", - "description": "Metadata pertaining to creation and last modification of the resource.", - "readOnly": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" - } - ] - }, - "DnsSecurityRulePatchProperties": { - "description": "Represents the updatable properties of a DNS security rule.", - "type": "object", - "properties": { - "action": { - "description": "The action to take on DNS requests that match the DNS security rule.", - "$ref": "#/definitions/DnsSecurityRuleAction" - }, - "dnsResolverDomainLists": { - "description": "DNS resolver policy domains lists that the DNS security rule applies to.", - "type": "array", - "items": { - "$ref": "#/definitions/SubResource" - }, - "x-ms-identifiers": [] - }, - "dnsSecurityRuleState": { - "type": "string", - "description": "The state of DNS security rule.", - "enum": [ - "Enabled", - "Disabled" - ], - "x-ms-enum": { - "name": "DnsSecurityRuleState", - "modelAsString": true - } - }, - "priority": { - "description": "The priority of the DNS security rule.", - "type": "integer", - "format": "int32", - "x-ms-mutability": [ - "read", - "create", - "update" - ] - } - } - }, - "DnsSecurityRulePatch": { - "description": "Describes a DNS security rule for PATCH operation.", - "type": "object", - "properties": { - "properties": { - "description": "Updatable properties of the DNS security rule.", - "$ref": "#/definitions/DnsSecurityRulePatchProperties", - "x-ms-client-flatten": true - }, - "tags": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "x-ms-mutability": [ - "read", - "create", - "update" - ], - "description": "Tags for DNS security rule." - } - } - }, - "DnsSecurityRuleListResult": { - "description": "The response to an enumeration operation on DNS security rules within a DNS resolver policy.", - "type": "object", - "properties": { - "value": { - "description": "Enumeration of the DNS security rules.", - "type": "array", - "items": { - "$ref": "#/definitions/DnsSecurityRule" - } - }, - "nextLink": { - "description": "The continuation token for the next page of results.", - "type": "string", - "readOnly": true - } - } - }, - "DnsSecurityRuleAction": { - "description": "The action to take on DNS requests that match the DNS security rule.", - "type": "object", - "properties": { - "actionType": { - "type": "string", - "description": "The type of action to take.", - "enum": [ - "Allow", - "Alert", - "Block" - ], - "x-ms-enum": { - "name": "actionType", - "modelAsString": true - } - } - } - }, - "DnsResolverPolicyVirtualNetworkLinkProperties": { - "description": "Represents the properties of a DNS resolver policy virtual network link.", - "type": "object", - "required": [ - "virtualNetwork" - ], - "properties": { - "virtualNetwork": { - "description": "The reference to the virtual network. This cannot be changed after creation.", - "x-ms-mutability": [ - "read", - "create" - ], - "$ref": "#/definitions/SubResource" - }, - "provisioningState": { - "description": "The current provisioning state of the DNS resolver policy virtual network link. This is a read-only property and any attempt to set this value will be ignored.", - "$ref": "#/definitions/ProvisioningState", - "readOnly": true - } - } - }, - "DnsResolverPolicyVirtualNetworkLink": { - "description": "Describes a DNS resolver policy virtual network link.", - "type": "object", - "required": [ - "properties" - ], - "properties": { - "etag": { - "description": "ETag of the DNS resolver policy virtual network link.", - "type": "string", - "readOnly": true - }, - "properties": { - "description": "Properties of the DNS resolver policy virtual network link.", - "$ref": "#/definitions/DnsResolverPolicyVirtualNetworkLinkProperties", - "x-ms-client-flatten": true - }, - "systemData": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/systemData", - "description": "Metadata pertaining to creation and last modification of the resource.", - "readOnly": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" - } - ] - }, - "DnsResolverPolicyVirtualNetworkLinkPatch": { - "description": "Describes a DNS resolver policy virtual network link for PATCH operation.", - "type": "object", - "properties": { - "tags": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "x-ms-mutability": [ - "read", - "create", - "update" - ], - "description": "Tags for the DNS resolver policy virtual network link." - } - } - }, - "DnsResolverPolicyVirtualNetworkLinkListResult": { - "description": "The response to an enumeration operation on DNS resolver policy virtual network links.", - "type": "object", - "properties": { - "value": { - "description": "Enumeration of the DNS resolver policy virtual network links.", - "type": "array", - "items": { - "$ref": "#/definitions/DnsResolverPolicyVirtualNetworkLink" - } - }, - "nextLink": { - "description": "The continuation token for the next page of results.", - "type": "string", - "readOnly": true - } - } - }, - "DnsResolverDomainListProperties": { - "description": "Represents the properties of a DNS resolver domain list.", - "type": "object", - "properties": { - "domains": { - "description": "The domains in the domain list. Will be null if user is using large domain list.", - "type": "array", - "items": { - "type": "string" - } - }, - "domainsUrl": { - "description": "The URL for bulk upload or download for domain lists containing larger set of domains. This will be populated if domains is empty or null.", - "type": "string", - "readOnly": true - }, - "provisioningState": { - "description": "The current provisioning state of the DNS resolver domain list. This is a read-only property and any attempt to set this value will be ignored.", - "readOnly": true, - "$ref": "#/definitions/ProvisioningState" - }, - "resourceGuid": { - "description": "The resourceGuid property of the DNS resolver domain list resource.", - "readOnly": true, - "$ref": "#/definitions/ResourceGuid" - } - } - }, - "DnsResolverDomainList": { - "description": "Describes a DNS resolver domain list.", - "type": "object", - "properties": { - "etag": { - "description": "ETag of the DNS resolver domain list.", - "type": "string", - "readOnly": true - }, - "properties": { - "description": "Properties of the DNS resolver domain list.", - "$ref": "#/definitions/DnsResolverDomainListProperties", - "x-ms-client-flatten": true - }, - "systemData": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/systemData", - "description": "Metadata pertaining to creation and last modification of the resource.", - "readOnly": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" - } - ] - }, - "DnsResolverDomainListPatchProperties": { - "description": "Represents the updatable properties of a DNS resolver domain list.", - "type": "object", - "properties": { - "domains": { - "description": "The domains in the domain list.", - "type": "array", - "items": { - "type": "string" - } - } - } - }, - "DnsResolverDomainListPatch": { - "description": "Describes a DNS resolver domain list for PATCH operation.", - "type": "object", - "properties": { - "properties": { - "description": "Updatable properties of the DNS resolver domain list.", - "$ref": "#/definitions/DnsResolverDomainListPatchProperties", - "x-ms-client-flatten": true - }, - "tags": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "x-ms-mutability": [ - "read", - "create", - "update" - ], - "description": "Tags for DNS resolver domain list." - } - } - }, - "DnsResolverDomainListListResult": { - "description": "The response to an enumeration operation on DNS resolver domain lists.", - "type": "object", - "properties": { - "value": { - "description": "Enumeration of the DNS resolver domain lists.", - "type": "array", - "items": { - "$ref": "#/definitions/DnsResolverDomainList" - } - }, - "nextLink": { - "description": "The continuation token for the next page of results.", - "type": "string", - "readOnly": true - } - } - }, - "DnsResolverDomainListBulkProperties": { - "description": "Describes DNS resolver domain list properties for bulk UPLOAD or DOWNLOAD operations.", - "type": "object", - "required": [ - "storageUrl", - "action" - ], - "properties": { - "storageUrl": { - "description": "The storage account blob file URL to be used in the bulk upload or download request of DNS resolver domain list.", - "type": "string" - }, - "action": { - "description": "The action to take in the request, Upload or Download.", - "$ref": "#/definitions/DnsResolverDomainListBulkActionType" - } - } - }, - "DnsResolverDomainListBulk": { - "description": "Describes a DNS resolver domain list for bulk UPLOAD or DOWNLOAD operations.", - "type": "object", - "required": [ - "properties" - ], - "properties": { - "properties": { - "description": "Properties of the DNS resolver domain list upload or download request.", - "$ref": "#/definitions/DnsResolverDomainListBulkProperties", - "x-ms-client-flatten": true - } - } - }, - "ProvisioningState": { - "description": "The current provisioning state of the resource.", - "type": "string", - "readOnly": true, - "enum": [ - "Creating", - "Updating", - "Deleting", - "Succeeded", - "Failed", - "Canceled" - ], - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": true - } - }, - "DnsResolverDomainListBulkActionType": { - "description": "The action type in requests for bulk upload or download of a DNS resolver domain list.", - "type": "string", - "enum": [ - "Upload", - "Download" - ], - "x-ms-enum": { - "name": "Action", - "modelAsString": true - } - }, - "ResourceGuid": { - "type": "string", - "description": "The Guid property of the resource." - }, - "SubResourceListResult": { - "description": "The response to an enumeration operation on sub-resources.", - "type": "object", - "properties": { - "value": { - "description": "Enumeration of the sub-resources.", - "type": "array", - "items": { - "$ref": "#/definitions/SubResource" - } - }, - "nextLink": { - "description": "The continuation token for the next page of results.", - "type": "string", - "readOnly": true - } - } - }, - "SubResource": { - "description": "Reference to another ARM resource.", - "type": "object", - "required": [ - "id" - ], - "properties": { - "id": { - "type": "string", - "description": "Resource ID." - } - }, - "x-ms-azure-resource": true - } - }, - "parameters": { - "DnsResolverPolicyNameParameter": { - "name": "dnsResolverPolicyName", - "in": "path", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z0-9]([a-zA-Z0-9_\\-]*[a-zA-Z0-9])?$", - "minLength": 1, - "maxLength": 80, - "description": "The name of the DNS resolver policy.", - "x-ms-parameter-location": "method" - }, - "DnsSecurityRuleNameParameter": { - "name": "dnsSecurityRuleName", - "in": "path", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z0-9]([a-zA-Z0-9_\\-]*[a-zA-Z0-9])?$", - "minLength": 1, - "maxLength": 80, - "description": "The name of the DNS security rule.", - "x-ms-parameter-location": "method" - }, - "DnsResolverPolicyVirtualNetworkLinkNameParameter": { - "name": "dnsResolverPolicyVirtualNetworkLinkName", - "in": "path", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z0-9]([a-zA-Z0-9_\\-]*[a-zA-Z0-9])?$", - "minLength": 1, - "maxLength": 80, - "description": "The name of the DNS resolver policy virtual network link for the DNS resolver policy.", - "x-ms-parameter-location": "method" - }, - "DnsResolverDomainListNameParameter": { - "name": "dnsResolverDomainListName", - "in": "path", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z0-9]([a-zA-Z0-9_\\-]*[a-zA-Z0-9])?$", - "minLength": 1, - "maxLength": 80, - "description": "The name of the DNS resolver domain list.", - "x-ms-parameter-location": "method" - }, - "VirtualNetworkNameParameter": { - "name": "virtualNetworkName", - "in": "path", - "required": true, - "type": "string", - "pattern": "^.+$", - "minLength": 1, - "description": "The name of the virtual network.", - "x-ms-parameter-location": "method" - }, - "TopParameter": { - "name": "$top", - "in": "query", - "required": false, - "type": "integer", - "format": "int32", - "description": "The maximum number of results to return. If not specified, returns up to 100 results.", - "x-ms-parameter-location": "method" - }, - "IfMatchParameter": { - "name": "If-Match", - "in": "header", - "required": false, - "type": "string", - "x-ms-client-name": "IfMatch", - "description": "ETag of the resource. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes.", - "x-ms-parameter-location": "method" - }, - "IfNoneMatchParameter": { - "name": "If-None-Match", - "in": "header", - "required": false, - "type": "string", - "x-ms-client-name": "IfNoneMatch", - "description": "Set to '*' to allow a new resource to be created, but to prevent updating an existing resource. Other values will be ignored.", - "x-ms-parameter-location": "method" - } - } -} diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsForwardingRuleset_Delete.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsForwardingRuleset_Delete.json index b05912dea443..7c5e58c0faad 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsForwardingRuleset_Delete.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsForwardingRuleset_Delete.json @@ -1,18 +1,20 @@ { "parameters": { - "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", - "resourceGroupName": "sampleResourceGroup", + "api-version": "2025-05-01", "dnsForwardingRulesetName": "samplednsForwardingRulesetName", - "api-version": "2025-05-01" + "resourceGroupName": "sampleResourceGroup", + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e" }, "responses": { "200": {}, - "204": {}, "202": { "headers": { - "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2025-05-01", - "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2025-05-01" + "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2025-05-01", + "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2025-05-01" } - } - } + }, + "204": {} + }, + "operationId": "DnsForwardingRulesets_Delete", + "title": "Delete DNS forwarding ruleset" } diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsForwardingRuleset_Get.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsForwardingRuleset_Get.json index 79690023ef65..3fb5ad4f0800 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsForwardingRuleset_Get.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsForwardingRuleset_Get.json @@ -1,27 +1,18 @@ { "parameters": { - "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", - "resourceGroupName": "sampleResourceGroup", + "api-version": "2025-05-01", "dnsForwardingRulesetName": "sampleDnsForwardingRuleset", - "api-version": "2025-05-01" + "resourceGroupName": "sampleResourceGroup", + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e" }, "responses": { "200": { "body": { - "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsForwardingRulesets/sampleDnsForwardingRuleset", "name": "sampleDnsForwardingRuleset", "type": "Microsoft.Network/dnsForwardingRulesets", - "tags": { - "key1": "value1" - }, - "systemData": { - "createdByType": "Application", - "createdAt": "2021-04-03T01:01:01.1075056Z", - "lastModifiedByType": "Application", - "lastModifiedAt": "2021-04-04T02:03:01.1974346Z" - }, - "location": "westus2", "etag": "00000000-0000-0000-0000-000000000000", + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsForwardingRulesets/sampleDnsForwardingRuleset", + "location": "westus2", "properties": { "dnsResolverOutboundEndpoints": [ { @@ -33,8 +24,19 @@ ], "provisioningState": "Succeeded", "resourceGuid": "a7e1a32c-498c-401c-a805-5bc3518257b8" + }, + "systemData": { + "createdAt": "2021-04-03T01:01:01.1075056Z", + "createdByType": "Application", + "lastModifiedAt": "2021-04-04T02:03:01.1974346Z", + "lastModifiedByType": "Application" + }, + "tags": { + "key1": "value1" } } } - } + }, + "operationId": "DnsForwardingRulesets_Get", + "title": "Retrieve DNS forwarding ruleset" } diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsForwardingRuleset_ListByResourceGroup.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsForwardingRuleset_ListByResourceGroup.json index 619d46bcdcd6..f02046665a13 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsForwardingRuleset_ListByResourceGroup.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsForwardingRuleset_ListByResourceGroup.json @@ -1,28 +1,20 @@ { "parameters": { - "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", + "api-version": "2025-05-01", "resourceGroupName": "sampleResourceGroup", - "api-version": "2025-05-01" + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e" }, "responses": { "200": { "body": { + "nextLink": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsForwardingRulesets?$skipToken=skipToken&api-version=2025-05-01", "value": [ { - "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsForwardingRulesets/sampleDnsForwardingRuleset", "name": "sampleDnsForwardingRuleset", "type": "Microsoft.Network/dnsForwardingRulesets", - "tags": { - "key1": "value1" - }, - "systemData": { - "createdByType": "Application", - "createdAt": "2021-04-03T01:01:01.1075056Z", - "lastModifiedByType": "Application", - "lastModifiedAt": "2021-04-04T02:03:01.1974346Z" - }, - "location": "westus2", "etag": "00000000-0000-0000-0000-000000000000", + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsForwardingRulesets/sampleDnsForwardingRuleset", + "location": "westus2", "properties": { "dnsResolverOutboundEndpoints": [ { @@ -32,25 +24,25 @@ "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolvers/sampleDnsResolver/outboundEndpoints/sampleOutboundEndpoint1" } ], - "resourceGuid": "a7e1a32c-498c-401c-a805-5bc3518257b8", - "provisioningState": "Succeeded" + "provisioningState": "Succeeded", + "resourceGuid": "a7e1a32c-498c-401c-a805-5bc3518257b8" + }, + "systemData": { + "createdAt": "2021-04-03T01:01:01.1075056Z", + "createdByType": "Application", + "lastModifiedAt": "2021-04-04T02:03:01.1974346Z", + "lastModifiedByType": "Application" + }, + "tags": { + "key1": "value1" } }, { - "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsForwardingRulesets/sampleDnsForwardingRuleset1", "name": "sampleDnsForwardingRuleset", "type": "Microsoft.Network/dnsForwardingRulesets", - "tags": { - "key1": "value1" - }, - "systemData": { - "createdByType": "Application", - "createdAt": "2021-04-04T01:01:01.1075056Z", - "lastModifiedByType": "Application", - "lastModifiedAt": "2021-04-05T02:03:01.1974346Z" - }, - "location": "westus2", "etag": "00000000-0000-0000-0000-000000000000", + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsForwardingRulesets/sampleDnsForwardingRuleset1", + "location": "westus2", "properties": { "dnsResolverOutboundEndpoints": [ { @@ -62,11 +54,21 @@ ], "provisioningState": "Succeeded", "resourceGuid": "c2aed17a-708d-48d1-89c3-d6a9b648d222" + }, + "systemData": { + "createdAt": "2021-04-04T01:01:01.1075056Z", + "createdByType": "Application", + "lastModifiedAt": "2021-04-05T02:03:01.1974346Z", + "lastModifiedByType": "Application" + }, + "tags": { + "key1": "value1" } } - ], - "nextLink": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsForwardingRulesets?$skipToken=skipToken&api-version=2025-05-01" + ] } } - } + }, + "operationId": "DnsForwardingRulesets_ListByResourceGroup", + "title": "List DNS forwarding rulesets by resource group" } diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsForwardingRuleset_ListBySubscription.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsForwardingRuleset_ListBySubscription.json index f455d988e953..895b7867434e 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsForwardingRuleset_ListBySubscription.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsForwardingRuleset_ListBySubscription.json @@ -1,27 +1,19 @@ { "parameters": { - "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", - "api-version": "2025-05-01" + "api-version": "2025-05-01", + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e" }, "responses": { "200": { "body": { + "nextLink": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/providers/Microsoft.Network/dnsForwardingRulesets?$skipToken=skipToken&api-version=2025-05-01", "value": [ { - "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsForwardingRulesets/sampleDnsForwardingRuleset", "name": "sampleDnsForwardingRuleset", "type": "Microsoft.Network/dnsForwardingRulesets", - "tags": { - "key1": "value1" - }, - "systemData": { - "createdByType": "Application", - "createdAt": "2021-04-03T01:01:01.1075056Z", - "lastModifiedByType": "Application", - "lastModifiedAt": "2021-04-04T02:03:01.1974346Z" - }, - "location": "westus2", "etag": "00000000-0000-0000-0000-000000000000", + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsForwardingRulesets/sampleDnsForwardingRuleset", + "location": "westus2", "properties": { "dnsResolverOutboundEndpoints": [ { @@ -33,23 +25,23 @@ ], "provisioningState": "Succeeded", "resourceGuid": "a7e1a32c-498c-401c-a805-5bc3518257b8" + }, + "systemData": { + "createdAt": "2021-04-03T01:01:01.1075056Z", + "createdByType": "Application", + "lastModifiedAt": "2021-04-04T02:03:01.1974346Z", + "lastModifiedByType": "Application" + }, + "tags": { + "key1": "value1" } }, { - "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsForwardingRulesets/sampleDnsForwardingRuleset1", "name": "sampleDnsForwardingRuleset", "type": "Microsoft.Network/dnsForwardingRulesets", - "tags": { - "key1": "value1" - }, - "systemData": { - "createdByType": "Application", - "createdAt": "2021-04-04T01:01:01.1075056Z", - "lastModifiedByType": "Application", - "lastModifiedAt": "2021-04-05T02:03:01.1974346Z" - }, - "location": "westus2", "etag": "00000000-0000-0000-0000-000000000000", + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsForwardingRulesets/sampleDnsForwardingRuleset1", + "location": "westus2", "properties": { "dnsResolverOutboundEndpoints": [ { @@ -61,11 +53,21 @@ ], "provisioningState": "Succeeded", "resourceGuid": "a7e1a32c-498c-401c-a805-5bc3518257b8" + }, + "systemData": { + "createdAt": "2021-04-04T01:01:01.1075056Z", + "createdByType": "Application", + "lastModifiedAt": "2021-04-05T02:03:01.1974346Z", + "lastModifiedByType": "Application" + }, + "tags": { + "key1": "value1" } } - ], - "nextLink": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/providers/Microsoft.Network/dnsForwardingRulesets?$skipToken=skipToken&api-version=2025-05-01" + ] } } - } + }, + "operationId": "DnsForwardingRulesets_List", + "title": "List DNS forwarding rulesets by subscription" } diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsForwardingRuleset_ListByVirtualNetwork.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsForwardingRuleset_ListByVirtualNetwork.json index ae9358148263..1778012ee0f3 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsForwardingRuleset_ListByVirtualNetwork.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsForwardingRuleset_ListByVirtualNetwork.json @@ -1,13 +1,14 @@ { "parameters": { - "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", + "api-version": "2025-05-01", "resourceGroupName": "sampleResourceGroup", - "virtualNetworkName": "sampleVirtualNetwork", - "api-version": "2025-05-01" + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", + "virtualNetworkName": "sampleVirtualNetwork" }, "responses": { "200": { "body": { + "nextLink": null, "value": [ { "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsForwardingRulesets/sampleDnsForwardingRuleset", @@ -17,9 +18,10 @@ } } } - ], - "nextLink": null + ] } } - } + }, + "operationId": "DnsForwardingRulesets_ListByVirtualNetwork", + "title": "List DNS forwarding rulesets by virtual network" } diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsForwardingRuleset_Patch.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsForwardingRuleset_Patch.json index c254d7207c50..9c6dc8ffb341 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsForwardingRuleset_Patch.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsForwardingRuleset_Patch.json @@ -1,32 +1,23 @@ { "parameters": { - "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", - "resourceGroupName": "sampleResourceGroup", - "dnsForwardingRulesetName": "sampleDnsForwardingRuleset", "api-version": "2025-05-01", + "dnsForwardingRulesetName": "sampleDnsForwardingRuleset", "parameters": { "tags": { "key1": "value1" } - } + }, + "resourceGroupName": "sampleResourceGroup", + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e" }, "responses": { "200": { "body": { - "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsForwardingRulesets/sampleDnsForwardingRuleset", "name": "sampleDnsForwardingRuleset", "type": "Microsoft.Network/dnsForwardingRulesets", - "tags": { - "key1": "value1" - }, - "systemData": { - "createdByType": "Application", - "createdAt": "2021-04-03T01:01:01.1075056Z", - "lastModifiedByType": "Application", - "lastModifiedAt": "2021-04-04T02:03:01.1974346Z" - }, - "location": "westus2", "etag": "00000000-0000-0000-0000-000000000000", + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsForwardingRulesets/sampleDnsForwardingRuleset", + "location": "westus2", "properties": { "dnsResolverOutboundEndpoints": [ { @@ -38,14 +29,25 @@ ], "provisioningState": "Succeeded", "resourceGuid": "a7e1a32c-498c-401c-a805-5bc3518257b8" + }, + "systemData": { + "createdAt": "2021-04-03T01:01:01.1075056Z", + "createdByType": "Application", + "lastModifiedAt": "2021-04-04T02:03:01.1974346Z", + "lastModifiedByType": "Application" + }, + "tags": { + "key1": "value1" } } }, "202": { "headers": { - "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2025-05-01", - "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2025-05-01" + "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2025-05-01", + "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2025-05-01" } } - } + }, + "operationId": "DnsForwardingRulesets_Update", + "title": "Update DNS forwarding ruleset" } diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsForwardingRuleset_Put.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsForwardingRuleset_Put.json index 720605d83bca..4ba915690523 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsForwardingRuleset_Put.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsForwardingRuleset_Put.json @@ -1,13 +1,8 @@ { "parameters": { - "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", - "resourceGroupName": "sampleResourceGroup", - "dnsForwardingRulesetName": "samplednsForwardingRuleset", "api-version": "2025-05-01", + "dnsForwardingRulesetName": "samplednsForwardingRuleset", "parameters": { - "tags": { - "key1": "value1" - }, "location": "westus2", "properties": { "dnsResolverOutboundEndpoints": [ @@ -18,26 +13,22 @@ "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolvers/sampleDnsResolver/outboundEndpoints/sampleOutboundEndpoint1" } ] + }, + "tags": { + "key1": "value1" } - } + }, + "resourceGroupName": "sampleResourceGroup", + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e" }, "responses": { - "201": { + "200": { "body": { - "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsForwardingRulesets/sampleDnsForwardingRuleset", "name": "sampleDnsForwardingRuleset", "type": "Microsoft.Network/dnsForwardingRulesets", - "tags": { - "key1": "value1" - }, - "systemData": { - "createdByType": "Application", - "createdAt": "2021-04-03T01:01:01.1075056Z", - "lastModifiedByType": "Application", - "lastModifiedAt": "2021-04-04T02:03:01.1974346Z" - }, - "location": "westus2", "etag": "00000000-0000-0000-0000-000000000000", + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsForwardingRulesets/sampleDnsForwardingRuleset", + "location": "westus2", "properties": { "dnsResolverOutboundEndpoints": [ { @@ -47,27 +38,27 @@ "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolvers/sampleDnsResolver/outboundEndpoints/sampleOutboundEndpoint1" } ], - "resourceGuid": "a7e1a32c-498c-401c-a805-5bc3518257b8", - "provisioningState": "Succeeded" + "provisioningState": "Succeeded", + "resourceGuid": "a7e1a32c-498c-401c-a805-5bc3518257b8" + }, + "systemData": { + "createdAt": "2021-04-03T01:01:01.1075056Z", + "createdByType": "Application", + "lastModifiedAt": "2021-04-04T02:03:01.1974346Z", + "lastModifiedByType": "Application" + }, + "tags": { + "key1": "value1" } } }, - "200": { + "201": { "body": { - "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsForwardingRulesets/sampleDnsForwardingRuleset", "name": "sampleDnsForwardingRuleset", "type": "Microsoft.Network/dnsForwardingRulesets", - "tags": { - "key1": "value1" - }, - "systemData": { - "createdByType": "Application", - "createdAt": "2021-04-03T01:01:01.1075056Z", - "lastModifiedByType": "Application", - "lastModifiedAt": "2021-04-04T02:03:01.1974346Z" - }, - "location": "westus2", "etag": "00000000-0000-0000-0000-000000000000", + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsForwardingRulesets/sampleDnsForwardingRuleset", + "location": "westus2", "properties": { "dnsResolverOutboundEndpoints": [ { @@ -79,14 +70,25 @@ ], "provisioningState": "Succeeded", "resourceGuid": "a7e1a32c-498c-401c-a805-5bc3518257b8" + }, + "systemData": { + "createdAt": "2021-04-03T01:01:01.1075056Z", + "createdByType": "Application", + "lastModifiedAt": "2021-04-04T02:03:01.1974346Z", + "lastModifiedByType": "Application" + }, + "tags": { + "key1": "value1" } } }, "202": { "headers": { - "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2025-05-01", - "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2025-05-01" + "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2025-05-01", + "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2025-05-01" } } - } + }, + "operationId": "DnsForwardingRulesets_CreateOrUpdate", + "title": "Upsert DNS forwarding ruleset" } diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsResolverDomainList_BulkDomains_Get.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsResolverDomainList_BulkDomains_Get.json index 7ea7d2a1ec2d..a6b8a3927ed8 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsResolverDomainList_BulkDomains_Get.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsResolverDomainList_BulkDomains_Get.json @@ -1,33 +1,35 @@ { "parameters": { - "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", - "resourceGroupName": "sampleResourceGroup", + "api-version": "2025-05-01", "dnsResolverDomainListName": "sampleDnsResolverDomainList", - "api-version": "2025-05-01" + "resourceGroupName": "sampleResourceGroup", + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e" }, "responses": { "200": { "body": { - "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolverDomainLists/sampleDnsResolverDomainList", "name": "sampleDnsResolverDomainList", "type": "Microsoft.Network/dnsResolverDomainLists", - "systemData": { - "createdByType": "Application", - "createdAt": "2021-04-03T01:01:01.1075056Z", - "lastModifiedByType": "Application", - "lastModifiedAt": "2021-04-04T02:03:01.1974346Z" - }, - "location": "westus2", "etag": "00000000-0000-0000-0000-000000000000", - "tags": { - "key1": "value1" - }, + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolverDomainLists/sampleDnsResolverDomainList", + "location": "westus2", "properties": { "domainsUrl": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolverDomainLists/sampleDnsResolverDomainList/bulk", "provisioningState": "Succeeded", "resourceGuid": "a7e1a32c-498c-401c-a805-5bc3518257b8" + }, + "systemData": { + "createdAt": "2021-04-03T01:01:01.1075056Z", + "createdByType": "Application", + "lastModifiedAt": "2021-04-04T02:03:01.1974346Z", + "lastModifiedByType": "Application" + }, + "tags": { + "key1": "value1" } } } - } + }, + "operationId": "DnsResolverDomainLists_Get", + "title": "Retrieve DNS resolver domain list with bulk number of domains" } diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsResolverDomainList_BulkDomains_Put.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsResolverDomainList_BulkDomains_Put.json index 38bf6bf703f7..116cfdc9d581 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsResolverDomainList_BulkDomains_Put.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsResolverDomainList_BulkDomains_Put.json @@ -1,63 +1,65 @@ { "parameters": { - "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", - "resourceGroupName": "sampleResourceGroup", - "dnsResolverDomainListName": "sampleDnsResolverDomainList", "api-version": "2025-05-01", + "dnsResolverDomainListName": "sampleDnsResolverDomainList", "parameters": { "location": "westus2", + "properties": {}, "tags": { "key1": "value1" - }, - "properties": {} - } + } + }, + "resourceGroupName": "sampleResourceGroup", + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e" }, "responses": { "200": { - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2025-05-01" - }, "body": { - "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolverDomainLists/sampleDnsResolverDomainList", "name": "sampleDnsResolverDomainList", "type": "Microsoft.Network/dnsResolverDomainLists", - "location": "westus2", "etag": "00000000-0000-0000-0000-000000000000", + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolverDomainLists/sampleDnsResolverDomainList", + "location": "westus2", + "properties": { + "domainsUrl": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolverDomainLists/sampleDnsResolverDomainList/bulk", + "provisioningState": "Succeeded", + "resourceGuid": "b6b2d964-8588-4e3a-a7fe-8a5b7fe8eca5" + }, "systemData": { - "createdByType": "Application", "createdAt": "2021-04-01T01:01:01.1075056Z", - "lastModifiedByType": "Application", - "lastModifiedAt": "2021-04-02T02:03:01.1974346Z" + "createdByType": "Application", + "lastModifiedAt": "2021-04-02T02:03:01.1974346Z", + "lastModifiedByType": "Application" }, "tags": { "key1": "value1" - }, - "properties": { - "domainsUrl": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolverDomainLists/sampleDnsResolverDomainList/bulk", - "provisioningState": "Succeeded", - "resourceGuid": "b6b2d964-8588-4e3a-a7fe-8a5b7fe8eca5" } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2025-05-01" } }, "201": { - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2025-05-01" - }, "body": { - "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolverDomainLists/sampleDnsResolverDomainList", "name": "sampleDnsResolverDomainList", "type": "Microsoft.Network/dnsResolverDomainLists", - "location": "westus2", "etag": "00000000-0000-0000-0000-000000000000", - "tags": { - "key1": "value1" - }, + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolverDomainLists/sampleDnsResolverDomainList", + "location": "westus2", "properties": { "domainsUrl": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolverDomainLists/sampleDnsResolverDomainList/bulk", "provisioningState": "Succeeded", "resourceGuid": "b6b2d964-8588-4e3a-a7fe-8a5b7fe8eca5" + }, + "tags": { + "key1": "value1" } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2025-05-01" } } - } + }, + "operationId": "DnsResolverDomainLists_CreateOrUpdate", + "title": "Upsert DNS resolver domain list with bulk number of domains" } diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsResolverDomainList_BulkDownload.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsResolverDomainList_BulkDownload.json index 8ca6a18d9e0d..32e479079beb 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsResolverDomainList_BulkDownload.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsResolverDomainList_BulkDownload.json @@ -1,47 +1,49 @@ { "parameters": { - "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", - "resourceGroupName": "sampleResourceGroup", - "dnsResolverDomainListName": "sampleDnsResolverDomainList", "api-version": "2025-05-01", + "dnsResolverDomainListName": "sampleDnsResolverDomainList", "parameters": { "properties": { "action": "Download", "storageUrl": "https://sampleStorageAccount.blob.core.windows.net/sample-container/sampleBlob.txt?sv=2022-11-02&sr=b&sig=39Up9jzHkxhUIhFEjEh9594DJxe7w6cIRCgOV6ICGS0%3A377&sp=rcw" } - } + }, + "resourceGroupName": "sampleResourceGroup", + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e" }, "responses": { - "202": { - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2025-05-01" - } - }, "200": { - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2025-05-01" - }, "body": { - "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolverDomainLists/sampleDnsResolverDomainList", "name": "sampleDnsResolverDomainList", "type": "Microsoft.Network/dnsResolverDomainLists", - "location": "westus2", "etag": "00000000-0000-0000-0000-000000000000", + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolverDomainLists/sampleDnsResolverDomainList", + "location": "westus2", + "properties": { + "domains": [], + "provisioningState": "Succeeded", + "resourceGuid": "b6b2d964-8588-4e3a-a7fe-8a5b7fe8eca5" + }, "systemData": { - "createdByType": "Application", "createdAt": "2025-04-01T01:01:01.1075056Z", - "lastModifiedByType": "Application", - "lastModifiedAt": "2025-04-02T02:03:01.1974346Z" + "createdByType": "Application", + "lastModifiedAt": "2025-04-02T02:03:01.1974346Z", + "lastModifiedByType": "Application" }, "tags": { "key1": "value1" - }, - "properties": { - "domains": [], - "provisioningState": "Succeeded", - "resourceGuid": "b6b2d964-8588-4e3a-a7fe-8a5b7fe8eca5" } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2025-05-01" + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2025-05-01" } } - } + }, + "operationId": "DnsResolverDomainLists_Bulk", + "title": "Download DNS resolver domain list domains" } diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsResolverDomainList_BulkUpload.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsResolverDomainList_BulkUpload.json index ea9b59f24d13..aea215791ca5 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsResolverDomainList_BulkUpload.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsResolverDomainList_BulkUpload.json @@ -1,47 +1,49 @@ { "parameters": { - "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", - "resourceGroupName": "sampleResourceGroup", - "dnsResolverDomainListName": "sampleDnsResolverDomainList", "api-version": "2025-05-01", + "dnsResolverDomainListName": "sampleDnsResolverDomainList", "parameters": { "properties": { "action": "Upload", "storageUrl": "https://sampleStorageAccount.blob.core.windows.net/sample-container/sampleBlob.txt?sv=2022-11-02&sr=b&sig=39Up9jzHkxhUIhFEjEh9594DJxe7w6cIRCgOV6ICGS0%3A377&sp=rcw" } - } + }, + "resourceGroupName": "sampleResourceGroup", + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e" }, "responses": { - "202": { - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2025-05-01" - } - }, "200": { - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2025-05-01" - }, "body": { - "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolverDomainLists/sampleDnsResolverDomainList", "name": "sampleDnsResolverDomainList", "type": "Microsoft.Network/dnsResolverDomainLists", - "location": "westus2", "etag": "00000000-0000-0000-0000-000000000000", + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolverDomainLists/sampleDnsResolverDomainList", + "location": "westus2", + "properties": { + "domains": [], + "provisioningState": "Succeeded", + "resourceGuid": "b6b2d964-8588-4e3a-a7fe-8a5b7fe8eca5" + }, "systemData": { - "createdByType": "Application", "createdAt": "2025-05-01T01:01:01.1075056Z", - "lastModifiedByType": "Application", - "lastModifiedAt": "2025-05-02T02:03:01.1974346Z" + "createdByType": "Application", + "lastModifiedAt": "2025-05-02T02:03:01.1974346Z", + "lastModifiedByType": "Application" }, "tags": { "key1": "value1" - }, - "properties": { - "domains": [], - "provisioningState": "Succeeded", - "resourceGuid": "b6b2d964-8588-4e3a-a7fe-8a5b7fe8eca5" } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2025-05-01" + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2025-05-01" } } - } + }, + "operationId": "DnsResolverDomainLists_Bulk", + "title": "Upload DNS resolver domain list domains" } diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsResolverDomainList_Delete.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsResolverDomainList_Delete.json index 7adedfad9ddf..aeab21abcca6 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsResolverDomainList_Delete.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsResolverDomainList_Delete.json @@ -1,17 +1,19 @@ { "parameters": { - "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", - "resourceGroupName": "sampleResourceGroup", + "api-version": "2025-05-01", "dnsResolverDomainListName": "sampleDnsResolverDomainList", - "api-version": "2025-05-01" + "resourceGroupName": "sampleResourceGroup", + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e" }, "responses": { - "204": {}, "202": { "headers": { - "Location": "https://management.azure.com/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2025-05-01", - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2025-05-01" + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2025-05-01", + "Location": "https://management.azure.com/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2025-05-01" } - } - } + }, + "204": {} + }, + "operationId": "DnsResolverDomainLists_Delete", + "title": "Delete DNS resolver domain list" } diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsResolverDomainList_Get.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsResolverDomainList_Get.json index ba89091c9a0c..029dae7888d2 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsResolverDomainList_Get.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsResolverDomainList_Get.json @@ -1,35 +1,37 @@ { "parameters": { - "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", - "resourceGroupName": "sampleResourceGroup", + "api-version": "2025-05-01", "dnsResolverDomainListName": "sampleDnsResolverDomainList", - "api-version": "2025-05-01" + "resourceGroupName": "sampleResourceGroup", + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e" }, "responses": { "200": { "body": { - "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolverDomainLists/sampleDnsResolverDomainList", "name": "sampleDnsResolverDomainList", "type": "Microsoft.Network/dnsResolverDomainLists", - "systemData": { - "createdByType": "Application", - "createdAt": "2021-04-03T01:01:01.1075056Z", - "lastModifiedByType": "Application", - "lastModifiedAt": "2021-04-04T02:03:01.1974346Z" - }, - "location": "westus2", "etag": "00000000-0000-0000-0000-000000000000", - "tags": { - "key1": "value1" - }, + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolverDomainLists/sampleDnsResolverDomainList", + "location": "westus2", "properties": { "domains": [ "contoso.com" ], "provisioningState": "Succeeded", "resourceGuid": "a7e1a32c-498c-401c-a805-5bc3518257b8" + }, + "systemData": { + "createdAt": "2021-04-03T01:01:01.1075056Z", + "createdByType": "Application", + "lastModifiedAt": "2021-04-04T02:03:01.1974346Z", + "lastModifiedByType": "Application" + }, + "tags": { + "key1": "value1" } } } - } + }, + "operationId": "DnsResolverDomainLists_Get", + "title": "Retrieve DNS resolver domain list with less than 1000 domains" } diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsResolverDomainList_ListByResourceGroup.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsResolverDomainList_ListByResourceGroup.json index 5520df98060a..4453183e6d96 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsResolverDomainList_ListByResourceGroup.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsResolverDomainList_ListByResourceGroup.json @@ -1,60 +1,62 @@ { "parameters": { - "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", + "api-version": "2025-05-01", "resourceGroupName": "sampleResourceGroup", - "api-version": "2025-05-01" + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e" }, "responses": { "200": { "body": { + "nextLink": "https://management.azure.com/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolverDomainLists?$skipToken=skipToken&api-version=2025-05-01", "value": [ { - "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolverDomainLists/sampleDnsResolverDomainList1", "name": "sampleDnsResolverDomainList1", "type": "Microsoft.Network/dnsResolverDomainLists", - "systemData": { - "createdByType": "Application", - "createdAt": "2021-04-01T01:01:01.1075056Z", - "lastModifiedByType": "Application", - "lastModifiedAt": "2021-04-02T02:03:01.1974346Z" - }, - "location": "westus2", "etag": "00000000-0000-0000-0000-000000000000", - "tags": { - "key1": "value1" - }, + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolverDomainLists/sampleDnsResolverDomainList1", + "location": "westus2", "properties": { "domains": [ "contoso.com" ], "provisioningState": "Succeeded", "resourceGuid": "ad9c8da4-3bb2-4821-a878-c2cb07b01fb6" + }, + "systemData": { + "createdAt": "2021-04-01T01:01:01.1075056Z", + "createdByType": "Application", + "lastModifiedAt": "2021-04-02T02:03:01.1974346Z", + "lastModifiedByType": "Application" + }, + "tags": { + "key1": "value1" } }, { - "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolverDomainLists/sampleDnsResolverDomainList2", "name": "sampleDnsResolverDomainList2", "type": "Microsoft.Network/dnsResolverDomainLists", - "systemData": { - "createdByType": "Application", - "createdAt": "2021-04-03T01:01:01.1075056Z", - "lastModifiedByType": "Application", - "lastModifiedAt": "2021-04-04T02:03:01.1974346Z" - }, - "location": "westus2", "etag": "00000000-0000-0000-0000-000000000000", - "tags": { - "key1": "value1" - }, + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolverDomainLists/sampleDnsResolverDomainList2", + "location": "westus2", "properties": { "domainsUrl": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolverDomainLists/sampleDnsResolverDomainList2/bulk", "provisioningState": "Succeeded", "resourceGuid": "b6b2d964-8588-4e3a-a7fe-8a5b7fe8eca5" + }, + "systemData": { + "createdAt": "2021-04-03T01:01:01.1075056Z", + "createdByType": "Application", + "lastModifiedAt": "2021-04-04T02:03:01.1974346Z", + "lastModifiedByType": "Application" + }, + "tags": { + "key1": "value1" } } - ], - "nextLink": "https://management.azure.com/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolverDomainLists?$skipToken=skipToken&api-version=2025-05-01" + ] } } - } + }, + "operationId": "DnsResolverDomainLists_ListByResourceGroup", + "title": "List DNS resolver domain lists by resource group" } diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsResolverDomainList_ListBySubscription.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsResolverDomainList_ListBySubscription.json index 6f9f1db4ed3a..092058162606 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsResolverDomainList_ListBySubscription.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsResolverDomainList_ListBySubscription.json @@ -1,59 +1,61 @@ { "parameters": { - "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", - "api-version": "2025-05-01" + "api-version": "2025-05-01", + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e" }, "responses": { "200": { "body": { + "nextLink": "https://management.azure.com/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/providers/Microsoft.Network/dnsResolverDomainLists?$skipToken=skipToken&api-version=2025-05-01", "value": [ { - "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolverDomainLists/sampleDnsResolverDomainList1", "name": "sampleDnsResolverDomainList1", "type": "Microsoft.Network/dnsResolverDomainLists", - "systemData": { - "createdByType": "Application", - "createdAt": "2021-04-01T01:01:01.1075056Z", - "lastModifiedByType": "Application", - "lastModifiedAt": "2021-04-02T02:03:01.1974346Z" - }, - "location": "westus2", "etag": "00000000-0000-0000-0000-000000000000", - "tags": { - "key1": "value1" - }, + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolverDomainLists/sampleDnsResolverDomainList1", + "location": "westus2", "properties": { "domains": [ "contoso.com" ], "provisioningState": "Succeeded", "resourceGuid": "ad9c8da4-3bb2-4821-a878-c2cb07b01fb6" + }, + "systemData": { + "createdAt": "2021-04-01T01:01:01.1075056Z", + "createdByType": "Application", + "lastModifiedAt": "2021-04-02T02:03:01.1974346Z", + "lastModifiedByType": "Application" + }, + "tags": { + "key1": "value1" } }, { - "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolverDomainLists/sampleDnsResolverDomainList2", "name": "sampleDnsResolverDomainList2", "type": "Microsoft.Network/dnsResolverDomainLists", - "systemData": { - "createdByType": "Application", - "createdAt": "2021-04-01T01:01:01.1075056Z", - "lastModifiedByType": "Application", - "lastModifiedAt": "2021-04-02T02:03:01.1974346Z" - }, - "location": "westus2", "etag": "00000000-0000-0000-0000-000000000000", - "tags": { - "key1": "value1" - }, + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolverDomainLists/sampleDnsResolverDomainList2", + "location": "westus2", "properties": { "domainsUrl": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolverDomainLists/sampleDnsResolverDomainList2/bulk", "provisioningState": "Succeeded", "resourceGuid": "b6b2d964-8588-4e3a-a7fe-8a5b7fe8eca5" + }, + "systemData": { + "createdAt": "2021-04-01T01:01:01.1075056Z", + "createdByType": "Application", + "lastModifiedAt": "2021-04-02T02:03:01.1974346Z", + "lastModifiedByType": "Application" + }, + "tags": { + "key1": "value1" } } - ], - "nextLink": "https://management.azure.com/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/providers/Microsoft.Network/dnsResolverDomainLists?$skipToken=skipToken&api-version=2025-05-01" + ] } } - } + }, + "operationId": "DnsResolverDomainLists_List", + "title": "List DNS resolver domain lists by subscription" } diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsResolverDomainList_Patch.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsResolverDomainList_Patch.json index 10e2774fdbd8..b47400a5d76b 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsResolverDomainList_Patch.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsResolverDomainList_Patch.json @@ -1,51 +1,53 @@ { "parameters": { - "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", - "resourceGroupName": "sampleResourceGroup", - "dnsResolverDomainListName": "sampleDnsResolverDomainList", "api-version": "2025-05-01", + "dnsResolverDomainListName": "sampleDnsResolverDomainList", "parameters": { - "tags": { - "key1": "value1" - }, "properties": { "domains": [ "contoso.com" ] + }, + "tags": { + "key1": "value1" } - } + }, + "resourceGroupName": "sampleResourceGroup", + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e" }, "responses": { "200": { "body": { - "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolverDomainLists/sampleDnsResolverDomainList", "name": "sampleDnsResolverDomainList", "type": "Microsoft.Network/dnsResolverDomainLists", - "location": "westus2", "etag": "00000000-0000-0000-0000-000000000000", - "systemData": { - "createdByType": "Application", - "createdAt": "2021-04-01T01:01:01.1075056Z", - "lastModifiedByType": "Application", - "lastModifiedAt": "2021-04-02T02:03:01.1974346Z" - }, - "tags": { - "key1": "value1" - }, + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolverDomainLists/sampleDnsResolverDomainList", + "location": "westus2", "properties": { "domains": [ "contoso.com" ], "provisioningState": "Succeeded", "resourceGuid": "b6b2d964-8588-4e3a-a7fe-8a5b7fe8eca5" + }, + "systemData": { + "createdAt": "2021-04-01T01:01:01.1075056Z", + "createdByType": "Application", + "lastModifiedAt": "2021-04-02T02:03:01.1974346Z", + "lastModifiedByType": "Application" + }, + "tags": { + "key1": "value1" } } }, "202": { "headers": { - "Location": "https://management.azure.com/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2025-05-01", - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2025-05-01" + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2025-05-01", + "Location": "https://management.azure.com/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2025-05-01" } } - } + }, + "operationId": "DnsResolverDomainLists_Update", + "title": "Update DNS resolver domain list" } diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsResolverDomainList_Put.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsResolverDomainList_Put.json index 30d31eb03b29..066ebee5ef7f 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsResolverDomainList_Put.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsResolverDomainList_Put.json @@ -1,71 +1,73 @@ { "parameters": { - "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", - "resourceGroupName": "sampleResourceGroup", - "dnsResolverDomainListName": "sampleDnsResolverDomainList", "api-version": "2025-05-01", + "dnsResolverDomainListName": "sampleDnsResolverDomainList", "parameters": { "location": "westus2", - "tags": { - "key1": "value1" - }, "properties": { "domains": [ "contoso.com" ] + }, + "tags": { + "key1": "value1" } - } + }, + "resourceGroupName": "sampleResourceGroup", + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e" }, "responses": { - "201": { - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2025-05-01" - }, + "200": { "body": { - "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolverDomainLists/sampleDnsResolverDomainList", "name": "sampleDnsResolverDomainList", "type": "Microsoft.Network/dnsResolverDomainLists", - "location": "westus2", "etag": "00000000-0000-0000-0000-000000000000", - "tags": { - "key1": "value1" - }, + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolverDomainLists/sampleDnsResolverDomainList", + "location": "westus2", "properties": { "domains": [ "contoso.com" ], "provisioningState": "Succeeded", "resourceGuid": "b6b2d964-8588-4e3a-a7fe-8a5b7fe8eca5" + }, + "systemData": { + "createdAt": "2021-04-01T01:01:01.1075056Z", + "createdByType": "Application", + "lastModifiedAt": "2021-04-02T02:03:01.1974346Z", + "lastModifiedByType": "Application" + }, + "tags": { + "key1": "value1" } - } - }, - "200": { + }, "headers": { "Azure-AsyncOperation": "https://management.azure.com/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2025-05-01" - }, + } + }, + "201": { "body": { - "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolverDomainLists/sampleDnsResolverDomainList", "name": "sampleDnsResolverDomainList", "type": "Microsoft.Network/dnsResolverDomainLists", - "location": "westus2", "etag": "00000000-0000-0000-0000-000000000000", - "systemData": { - "createdByType": "Application", - "createdAt": "2021-04-01T01:01:01.1075056Z", - "lastModifiedByType": "Application", - "lastModifiedAt": "2021-04-02T02:03:01.1974346Z" - }, - "tags": { - "key1": "value1" - }, + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolverDomainLists/sampleDnsResolverDomainList", + "location": "westus2", "properties": { "domains": [ "contoso.com" ], "provisioningState": "Succeeded", "resourceGuid": "b6b2d964-8588-4e3a-a7fe-8a5b7fe8eca5" + }, + "tags": { + "key1": "value1" } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2025-05-01" } } - } + }, + "operationId": "DnsResolverDomainLists_CreateOrUpdate", + "title": "Upsert DNS resolver domain list with less than 1000 domains" } diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsResolverPolicyVirtualNetworkLink_Delete.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsResolverPolicyVirtualNetworkLink_Delete.json index 96c7f25e7a2e..ff2370a374a0 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsResolverPolicyVirtualNetworkLink_Delete.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsResolverPolicyVirtualNetworkLink_Delete.json @@ -1,18 +1,20 @@ { "parameters": { - "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", - "resourceGroupName": "sampleResourceGroup", + "api-version": "2025-05-01", "dnsResolverPolicyName": "sampleDnsResolverPolicy", "dnsResolverPolicyVirtualNetworkLinkName": "sampleVirtualNetworkLink", - "api-version": "2025-05-01" + "resourceGroupName": "sampleResourceGroup", + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e" }, "responses": { - "204": {}, "202": { "headers": { - "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2025-05-01", - "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2025-05-01" + "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2025-05-01", + "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2025-05-01" } - } - } + }, + "204": {} + }, + "operationId": "DnsResolverPolicyVirtualNetworkLinks_Delete", + "title": "Delete DNS resolver policy virtual network link" } diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsResolverPolicyVirtualNetworkLink_Get.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsResolverPolicyVirtualNetworkLink_Get.json index a85df25f2003..770c12e983cb 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsResolverPolicyVirtualNetworkLink_Get.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsResolverPolicyVirtualNetworkLink_Get.json @@ -1,35 +1,37 @@ { "parameters": { - "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", - "resourceGroupName": "sampleResourceGroup", + "api-version": "2025-05-01", "dnsResolverPolicyName": "sampleDnsResolverPolicy", "dnsResolverPolicyVirtualNetworkLinkName": "sampleVirtualNetworkLink", - "api-version": "2025-05-01" + "resourceGroupName": "sampleResourceGroup", + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e" }, "responses": { "200": { "body": { - "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolverPolicies/sampleDnsResolverPolicy/virtualNetworkLinks/sampleVirtualNetworkLink", "name": "sampleVirtualNetworkLink", "type": "Microsoft.Network/dnsResolverPolicies/virtualNetworkLinks", - "location": "westus2", "etag": "00000000-0000-0000-0000-000000000000", + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolverPolicies/sampleDnsResolverPolicy/virtualNetworkLinks/sampleVirtualNetworkLink", + "location": "westus2", + "properties": { + "provisioningState": "Succeeded", + "virtualNetwork": { + "id": "/subscriptions/0403cfa9-9659-4f33-9f30-1f191c51d111/resourceGroups/sampleVnetResourceGroupName/providers/Microsoft.Network/virtualNetworks/sampleVirtualNetwork" + } + }, "systemData": { - "createdByType": "Application", "createdAt": "2021-04-01T01:01:01.1075056Z", - "lastModifiedByType": "Application", - "lastModifiedAt": "2021-04-02T02:03:01.1974346Z" + "createdByType": "Application", + "lastModifiedAt": "2021-04-02T02:03:01.1974346Z", + "lastModifiedByType": "Application" }, "tags": { "key1": "value1" - }, - "properties": { - "virtualNetwork": { - "id": "/subscriptions/0403cfa9-9659-4f33-9f30-1f191c51d111/resourceGroups/sampleVnetResourceGroupName/providers/Microsoft.Network/virtualNetworks/sampleVirtualNetwork" - }, - "provisioningState": "Succeeded" } } } - } + }, + "operationId": "DnsResolverPolicyVirtualNetworkLinks_Get", + "title": "Retrieve DNS resolver policy virtual network link" } diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsResolverPolicyVirtualNetworkLink_List.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsResolverPolicyVirtualNetworkLink_List.json index 44dbae4526b7..21b724a5cb4f 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsResolverPolicyVirtualNetworkLink_List.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsResolverPolicyVirtualNetworkLink_List.json @@ -1,39 +1,41 @@ { "parameters": { - "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", - "resourceGroupName": "sampleResourceGroup", + "api-version": "2025-05-01", "dnsResolverPolicyName": "sampleDnsResolverPolicy", - "api-version": "2025-05-01" + "resourceGroupName": "sampleResourceGroup", + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e" }, "responses": { "200": { "body": { + "nextLink": null, "value": [ { - "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolverPolicies/sampleDnsResolverPolicy/virtualNetworkLinks/sampleVirtualNetworkLink", "name": "sampleVirtualNetworkLink", "type": "Microsoft.Network/dnsResolverPolicies/virtualNetworkLinks", - "location": "westus2", "etag": "00000000-0000-0000-0000-000000000000", + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolverPolicies/sampleDnsResolverPolicy/virtualNetworkLinks/sampleVirtualNetworkLink", + "location": "westus2", + "properties": { + "provisioningState": "Succeeded", + "virtualNetwork": { + "id": "/subscriptions/0403cfa9-9659-4f33-9f30-1f191c51d111/resourceGroups/sampleVnetResourceGroupName/providers/Microsoft.Network/virtualNetworks/sampleVirtualNetwork" + } + }, "systemData": { - "createdByType": "Application", "createdAt": "2021-04-01T01:01:01.1075056Z", - "lastModifiedByType": "Application", - "lastModifiedAt": "2021-04-02T02:03:01.1974346Z" + "createdByType": "Application", + "lastModifiedAt": "2021-04-02T02:03:01.1974346Z", + "lastModifiedByType": "Application" }, "tags": { "key1": "value1" - }, - "properties": { - "virtualNetwork": { - "id": "/subscriptions/0403cfa9-9659-4f33-9f30-1f191c51d111/resourceGroups/sampleVnetResourceGroupName/providers/Microsoft.Network/virtualNetworks/sampleVirtualNetwork" - }, - "provisioningState": "Succeeded" } } - ], - "nextLink": null + ] } } - } + }, + "operationId": "DnsResolverPolicyVirtualNetworkLinks_List", + "title": "List DNS resolver policy virtual network links by DNS resolver policy" } diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsResolverPolicyVirtualNetworkLink_Patch.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsResolverPolicyVirtualNetworkLink_Patch.json index 723ac07a168a..0080a211da53 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsResolverPolicyVirtualNetworkLink_Patch.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsResolverPolicyVirtualNetworkLink_Patch.json @@ -1,7 +1,6 @@ { "parameters": { - "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", - "resourceGroupName": "sampleResourceGroup", + "api-version": "2025-05-01", "dnsResolverPolicyName": "sampleDnsResolverPolicy", "dnsResolverPolicyVirtualNetworkLinkName": "sampleVirtualNetworkLink", "parameters": { @@ -9,38 +8,41 @@ "key1": "value1" } }, - "api-version": "2025-05-01" + "resourceGroupName": "sampleResourceGroup", + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e" }, "responses": { "200": { "body": { - "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolverPolicies/sampleDnsResolverPolicy/virtualNetworkLinks/sampleVirtualNetworkLink", "name": "sampleVirtualNetworkLink", "type": "Microsoft.Network/dnsResolverPolicies/virtualNetworkLinks", - "location": "westus2", "etag": "00000000-0000-0000-0000-000000000000", + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolverPolicies/sampleDnsResolverPolicy/virtualNetworkLinks/sampleVirtualNetworkLink", + "location": "westus2", + "properties": { + "provisioningState": "Succeeded", + "virtualNetwork": { + "id": "/subscriptions/0403cfa9-9659-4f33-9f30-1f191c51d111/resourceGroups/sampleVnetResourceGroupName/providers/Microsoft.Network/virtualNetworks/sampleVirtualNetwork" + } + }, "systemData": { - "createdByType": "Application", "createdAt": "2021-04-01T01:01:01.1075056Z", - "lastModifiedByType": "Application", - "lastModifiedAt": "2021-04-02T02:03:01.1974346Z" + "createdByType": "Application", + "lastModifiedAt": "2021-04-02T02:03:01.1974346Z", + "lastModifiedByType": "Application" }, "tags": { "key1": "value1" - }, - "properties": { - "virtualNetwork": { - "id": "/subscriptions/0403cfa9-9659-4f33-9f30-1f191c51d111/resourceGroups/sampleVnetResourceGroupName/providers/Microsoft.Network/virtualNetworks/sampleVirtualNetwork" - }, - "provisioningState": "Succeeded" } } }, "202": { "headers": { - "Location": "https://management.azure.com/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2025-05-01", - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2025-05-01" + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2025-05-01", + "Location": "https://management.azure.com/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2025-05-01" } } - } + }, + "operationId": "DnsResolverPolicyVirtualNetworkLinks_Update", + "title": "Update DNS resolver policy virtual network link" } diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsResolverPolicyVirtualNetworkLink_Put.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsResolverPolicyVirtualNetworkLink_Put.json index 94cf09371f3d..d95f62773094 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsResolverPolicyVirtualNetworkLink_Put.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsResolverPolicyVirtualNetworkLink_Put.json @@ -1,76 +1,78 @@ { "parameters": { - "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", - "resourceGroupName": "sampleResourceGroup", + "api-version": "2025-05-01", "dnsResolverPolicyName": "sampleDnsResolverPolicy", "dnsResolverPolicyVirtualNetworkLinkName": "sampleVirtualNetworkLink", "parameters": { "location": "westus2", - "tags": { - "key1": "value1" - }, "properties": { "virtualNetwork": { "id": "/subscriptions/0403cfa9-9659-4f33-9f30-1f191c51d111/resourceGroups/sampleVnetResourceGroupName/providers/Microsoft.Network/virtualNetworks/sampleVirtualNetwork" } + }, + "tags": { + "key1": "value1" } }, - "api-version": "2025-05-01" + "resourceGroupName": "sampleResourceGroup", + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e" }, "responses": { - "201": { - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2025-05-01" - }, + "200": { "body": { - "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolverPolicy/sampleDnsResolverPolicy/virtualNetworkLinks/sampleVirtualNetworkLink", "name": "sampleVirtualNetworkLink", "type": "Microsoft.Network/dnsResolverPolicies/virtualNetworkLinks", - "location": "westus2", "etag": "00000000-0000-0000-0000-000000000000", + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolverPolicy/sampleDnsResolverPolicy/virtualNetworkLinks/sampleVirtualNetworkLink", + "location": "westus2", + "properties": { + "provisioningState": "Succeeded", + "virtualNetwork": { + "id": "/subscriptions/0403cfa9-9659-4f33-9f30-1f191c51d111/resourceGroups/sampleVnetResourceGroupName/providers/Microsoft.Network/virtualNetworks/sampleVirtualNetwork" + } + }, "systemData": { - "createdByType": "Application", "createdAt": "2021-04-01T01:01:01.1075056Z", - "lastModifiedByType": "Application", - "lastModifiedAt": "2021-04-02T02:03:01.1974346Z" + "createdByType": "Application", + "lastModifiedAt": "2021-04-02T02:03:01.1974346Z", + "lastModifiedByType": "Application" }, "tags": { "key1": "value1" - }, - "properties": { - "virtualNetwork": { - "id": "/subscriptions/0403cfa9-9659-4f33-9f30-1f191c51d111/resourceGroups/sampleVnetResourceGroupName/providers/Microsoft.Network/virtualNetworks/sampleVirtualNetwork" - }, - "provisioningState": "Succeeded" } - } - }, - "200": { + }, "headers": { "Azure-AsyncOperation": "https://management.azure.com/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2025-05-01" - }, + } + }, + "201": { "body": { - "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolverPolicy/sampleDnsResolverPolicy/virtualNetworkLinks/sampleVirtualNetworkLink", "name": "sampleVirtualNetworkLink", "type": "Microsoft.Network/dnsResolverPolicies/virtualNetworkLinks", - "location": "westus2", "etag": "00000000-0000-0000-0000-000000000000", + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolverPolicy/sampleDnsResolverPolicy/virtualNetworkLinks/sampleVirtualNetworkLink", + "location": "westus2", + "properties": { + "provisioningState": "Succeeded", + "virtualNetwork": { + "id": "/subscriptions/0403cfa9-9659-4f33-9f30-1f191c51d111/resourceGroups/sampleVnetResourceGroupName/providers/Microsoft.Network/virtualNetworks/sampleVirtualNetwork" + } + }, "systemData": { - "createdByType": "Application", "createdAt": "2021-04-01T01:01:01.1075056Z", - "lastModifiedByType": "Application", - "lastModifiedAt": "2021-04-02T02:03:01.1974346Z" + "createdByType": "Application", + "lastModifiedAt": "2021-04-02T02:03:01.1974346Z", + "lastModifiedByType": "Application" }, "tags": { "key1": "value1" - }, - "properties": { - "virtualNetwork": { - "id": "/subscriptions/0403cfa9-9659-4f33-9f30-1f191c51d111/resourceGroups/sampleVnetResourceGroupName/providers/Microsoft.Network/virtualNetworks/sampleVirtualNetwork" - }, - "provisioningState": "Succeeded" } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2025-05-01" } } - } + }, + "operationId": "DnsResolverPolicyVirtualNetworkLinks_CreateOrUpdate", + "title": "Upsert DNS resolver policy virtual network link" } diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsResolverPolicy_Delete.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsResolverPolicy_Delete.json index b6df77439cf5..cc9923ea3baa 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsResolverPolicy_Delete.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsResolverPolicy_Delete.json @@ -1,17 +1,19 @@ { "parameters": { - "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", - "resourceGroupName": "sampleResourceGroup", + "api-version": "2025-05-01", "dnsResolverPolicyName": "sampleDnsResolverPolicy", - "api-version": "2025-05-01" + "resourceGroupName": "sampleResourceGroup", + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e" }, "responses": { - "204": {}, "202": { "headers": { - "Location": "https://management.azure.com/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2025-05-01", - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2025-05-01" + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2025-05-01", + "Location": "https://management.azure.com/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2025-05-01" } - } - } + }, + "204": {} + }, + "operationId": "DnsResolverPolicies_Delete", + "title": "Delete DNS resolver policy" } diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsResolverPolicy_Get.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsResolverPolicy_Get.json index c3000ba2439c..87613582d44f 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsResolverPolicy_Get.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsResolverPolicy_Get.json @@ -1,32 +1,34 @@ { "parameters": { - "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", - "resourceGroupName": "sampleResourceGroup", + "api-version": "2025-05-01", "dnsResolverPolicyName": "sampleDnsResolverPolicy", - "api-version": "2025-05-01" + "resourceGroupName": "sampleResourceGroup", + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e" }, "responses": { "200": { "body": { - "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolverPolicies/sampleDnsResolverPolicy", "name": "sampleDnsResolverPolicy", "type": "Microsoft.Network/dnsResolverPolicies", + "etag": "00000000-0000-0000-0000-000000000000", + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolverPolicies/sampleDnsResolverPolicy", "location": "westus2", - "tags": { - "key1": "value1" + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "a7e1a32c-498c-401c-a805-5bc3518257b8" }, "systemData": { - "createdByType": "Application", "createdAt": "2023-07-03T01:01:01.1075056Z", - "lastModifiedByType": "Application", - "lastModifiedAt": "2023-07-04T02:03:01.1974346Z" + "createdByType": "Application", + "lastModifiedAt": "2023-07-04T02:03:01.1974346Z", + "lastModifiedByType": "Application" }, - "etag": "00000000-0000-0000-0000-000000000000", - "properties": { - "provisioningState": "Succeeded", - "resourceGuid": "a7e1a32c-498c-401c-a805-5bc3518257b8" + "tags": { + "key1": "value1" } } } - } + }, + "operationId": "DnsResolverPolicies_Get", + "title": "Retrieve DNS resolver policy" } diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsResolverPolicy_ListByResourceGroup.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsResolverPolicy_ListByResourceGroup.json index 2262092d80ee..f008abfadf9a 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsResolverPolicy_ListByResourceGroup.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsResolverPolicy_ListByResourceGroup.json @@ -1,56 +1,58 @@ { "parameters": { - "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", + "api-version": "2025-05-01", "resourceGroupName": "sampleResourceGroup", - "api-version": "2025-05-01" + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e" }, "responses": { "200": { "body": { + "nextLink": "https://management.azure.com/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolverPolicies?$skipToken=skipToken&api-version=2025-05-01", "value": [ { - "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolverPolicies/sampleDnsResolverPolicy1", "name": "sampleDnsResolverPolicy1", "type": "Microsoft.Network/dnsResolverPolicies", + "etag": "00000000-0000-0000-0000-000000000000", + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolverPolicies/sampleDnsResolverPolicy1", "location": "westus2", - "tags": { - "key1": "value1" + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "ad9c8da4-3bb2-4821-a878-c2cb07b01fb6" }, "systemData": { - "createdByType": "Application", "createdAt": "2021-04-01T01:01:01.1075056Z", - "lastModifiedByType": "Application", - "lastModifiedAt": "2021-04-02T02:03:01.1974346Z" + "createdByType": "Application", + "lastModifiedAt": "2021-04-02T02:03:01.1974346Z", + "lastModifiedByType": "Application" }, - "etag": "00000000-0000-0000-0000-000000000000", - "properties": { - "provisioningState": "Succeeded", - "resourceGuid": "ad9c8da4-3bb2-4821-a878-c2cb07b01fb6" + "tags": { + "key1": "value1" } }, { - "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolverPolicies/sampleDnsResolverPolicy2", "name": "sampleDnsResolverPolicy2", "type": "Microsoft.Network/dnsResolverPolicies", + "etag": "00000000-0000-0000-0000-000000000000", + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolverPolicies/sampleDnsResolverPolicy2", "location": "westus2", - "tags": { - "key1": "value1" + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "b6b2d964-8588-4e3a-a7fe-8a5b7fe8eca5" }, "systemData": { - "createdByType": "Application", "createdAt": "2021-04-03T01:01:01.1075056Z", - "lastModifiedByType": "Application", - "lastModifiedAt": "2021-04-04T02:03:01.1974346Z" + "createdByType": "Application", + "lastModifiedAt": "2021-04-04T02:03:01.1974346Z", + "lastModifiedByType": "Application" }, - "etag": "00000000-0000-0000-0000-000000000000", - "properties": { - "provisioningState": "Succeeded", - "resourceGuid": "b6b2d964-8588-4e3a-a7fe-8a5b7fe8eca5" + "tags": { + "key1": "value1" } } - ], - "nextLink": "https://management.azure.com/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolverPolicies?$skipToken=skipToken&api-version=2025-05-01" + ] } } - } + }, + "operationId": "DnsResolverPolicies_ListByResourceGroup", + "title": "List DNS resolver policies by resource group" } diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsResolverPolicy_ListBySubscription.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsResolverPolicy_ListBySubscription.json index cc270441e177..724f686516e4 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsResolverPolicy_ListBySubscription.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsResolverPolicy_ListBySubscription.json @@ -1,55 +1,57 @@ { "parameters": { - "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", - "api-version": "2025-05-01" + "api-version": "2025-05-01", + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e" }, "responses": { "200": { "body": { + "nextLink": "https://management.azure.com/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/providers/Microsoft.Network/dnsResolverPolicies?$skipToken=skipToken&api-version=2025-05-01", "value": [ { - "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolverPolicies/sampleDnsResolverPolicy1", "name": "sampleDnsResolverPolicy1", "type": "Microsoft.Network/dnsResolverPolicies", + "etag": "00000000-0000-0000-0000-000000000000", + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolverPolicies/sampleDnsResolverPolicy1", "location": "westus2", - "tags": { - "key1": "value1" + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "ad9c8da4-3bb2-4821-a878-c2cb07b01fb6" }, "systemData": { - "createdByType": "Application", "createdAt": "2021-04-01T01:01:01.1075056Z", - "lastModifiedByType": "Application", - "lastModifiedAt": "2021-04-02T02:03:01.1974346Z" + "createdByType": "Application", + "lastModifiedAt": "2021-04-02T02:03:01.1974346Z", + "lastModifiedByType": "Application" }, - "etag": "00000000-0000-0000-0000-000000000000", - "properties": { - "provisioningState": "Succeeded", - "resourceGuid": "ad9c8da4-3bb2-4821-a878-c2cb07b01fb6" + "tags": { + "key1": "value1" } }, { - "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolverPolicies/sampleDnsResolverPolicy2", "name": "sampleDnsResolverPolicy2", "type": "Microsoft.Network/dnsResolverPolicies", + "etag": "00000000-0000-0000-0000-000000000000", + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolverPolicies/sampleDnsResolverPolicy2", "location": "westus2", - "tags": { - "key1": "value1" + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "b6b2d964-8588-4e3a-a7fe-8a5b7fe8eca5" }, "systemData": { - "createdByType": "Application", "createdAt": "2021-04-01T01:01:01.1075056Z", - "lastModifiedByType": "Application", - "lastModifiedAt": "2021-04-02T02:03:01.1974346Z" + "createdByType": "Application", + "lastModifiedAt": "2021-04-02T02:03:01.1974346Z", + "lastModifiedByType": "Application" }, - "etag": "00000000-0000-0000-0000-000000000000", - "properties": { - "provisioningState": "Succeeded", - "resourceGuid": "b6b2d964-8588-4e3a-a7fe-8a5b7fe8eca5" + "tags": { + "key1": "value1" } } - ], - "nextLink": "https://management.azure.com/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/providers/Microsoft.Network/dnsResolverPolicies?$skipToken=skipToken&api-version=2025-05-01" + ] } } - } + }, + "operationId": "DnsResolverPolicies_List", + "title": "List DNS resolver policies by subscription" } diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsResolverPolicy_ListByVirtualNetwork.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsResolverPolicy_ListByVirtualNetwork.json index cc920b1b87c9..b843d87c052a 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsResolverPolicy_ListByVirtualNetwork.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsResolverPolicy_ListByVirtualNetwork.json @@ -1,20 +1,22 @@ { "parameters": { - "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", + "api-version": "2025-05-01", "resourceGroupName": "sampleResourceGroup", - "virtualNetworkName": "sampleVirtualNetwork", - "api-version": "2025-05-01" + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", + "virtualNetworkName": "sampleVirtualNetwork" }, "responses": { "200": { "body": { + "nextLink": null, "value": [ { "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolverPolicies/sampleDnsResolverPolicy1" } - ], - "nextLink": null + ] } } - } + }, + "operationId": "DnsResolverPolicies_ListByVirtualNetwork", + "title": "List DNS resolver policies by virtual network" } diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsResolverPolicy_Patch.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsResolverPolicy_Patch.json index e0a1a0152a7e..5be96dfe5cd9 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsResolverPolicy_Patch.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsResolverPolicy_Patch.json @@ -1,43 +1,45 @@ { "parameters": { - "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", - "resourceGroupName": "sampleResourceGroup", - "dnsResolverPolicyName": "sampleDnsResolverPolicy", "api-version": "2025-05-01", + "dnsResolverPolicyName": "sampleDnsResolverPolicy", "parameters": { "tags": { "key1": "value1" } - } + }, + "resourceGroupName": "sampleResourceGroup", + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e" }, "responses": { "200": { "body": { - "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolverPolicies/sampleDnsResolverPolicy", "name": "sampleDnsResolverPolicy", "type": "Microsoft.Network/dnsResolverPolicies", + "etag": "00000000-0000-0000-0000-000000000000", + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolverPolicies/sampleDnsResolverPolicy", "location": "westus2", - "tags": { - "key1": "value1" + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "b6b2d964-8588-4e3a-a7fe-8a5b7fe8eca5" }, - "etag": "00000000-0000-0000-0000-000000000000", "systemData": { - "createdByType": "Application", "createdAt": "2021-04-01T01:01:01.1075056Z", - "lastModifiedByType": "Application", - "lastModifiedAt": "2021-04-02T02:03:01.1974346Z" + "createdByType": "Application", + "lastModifiedAt": "2021-04-02T02:03:01.1974346Z", + "lastModifiedByType": "Application" }, - "properties": { - "provisioningState": "Succeeded", - "resourceGuid": "b6b2d964-8588-4e3a-a7fe-8a5b7fe8eca5" + "tags": { + "key1": "value1" } } }, "202": { "headers": { - "Location": "https://management.azure.com/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2025-05-01", - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2025-05-01" + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2025-05-01", + "Location": "https://management.azure.com/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2025-05-01" } } - } + }, + "operationId": "DnsResolverPolicies_Update", + "title": "Update DNS resolver policy" } diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsResolverPolicy_Put.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsResolverPolicy_Put.json index eff4dcd8ba6a..af2a04781537 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsResolverPolicy_Put.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsResolverPolicy_Put.json @@ -1,60 +1,62 @@ { "parameters": { - "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", - "resourceGroupName": "sampleResourceGroup", - "dnsResolverPolicyName": "sampleDnsResolverPolicy", "api-version": "2025-05-01", + "dnsResolverPolicyName": "sampleDnsResolverPolicy", "parameters": { "location": "westus2", "tags": { "key1": "value1" } - } + }, + "resourceGroupName": "sampleResourceGroup", + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e" }, "responses": { - "201": { - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2025-05-01" - }, + "200": { "body": { - "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolverPolicies/sampleDnsResolverPolicy", "name": "sampleDnsResolverPolicy", "type": "Microsoft.Network/dnsResolverPolicies", - "location": "westus2", - "tags": { - "key1": "value1" - }, "etag": "00000000-0000-0000-0000-000000000000", + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolverPolicies/sampleDnsResolverPolicy", + "location": "westus2", "properties": { "provisioningState": "Succeeded", "resourceGuid": "b6b2d964-8588-4e3a-a7fe-8a5b7fe8eca5" + }, + "systemData": { + "createdAt": "2021-04-01T01:01:01.1075056Z", + "createdByType": "Application", + "lastModifiedAt": "2021-04-02T02:03:01.1974346Z", + "lastModifiedByType": "Application" + }, + "tags": { + "key1": "value1" } - } - }, - "200": { + }, "headers": { "Azure-AsyncOperation": "https://management.azure.com/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2025-05-01" - }, + } + }, + "201": { "body": { - "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolverPolicies/sampleDnsResolverPolicy", "name": "sampleDnsResolverPolicy", "type": "Microsoft.Network/dnsResolverPolicies", - "location": "westus2", - "tags": { - "key1": "value1" - }, "etag": "00000000-0000-0000-0000-000000000000", - "systemData": { - "createdByType": "Application", - "createdAt": "2021-04-01T01:01:01.1075056Z", - "lastModifiedByType": "Application", - "lastModifiedAt": "2021-04-02T02:03:01.1974346Z" - }, + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolverPolicies/sampleDnsResolverPolicy", + "location": "westus2", "properties": { "provisioningState": "Succeeded", "resourceGuid": "b6b2d964-8588-4e3a-a7fe-8a5b7fe8eca5" + }, + "tags": { + "key1": "value1" } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2025-05-01" } } - } + }, + "operationId": "DnsResolverPolicies_CreateOrUpdate", + "title": "Upsert DNS resolver policy" } diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsResolver_Delete.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsResolver_Delete.json index d75706300e08..034333c82882 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsResolver_Delete.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsResolver_Delete.json @@ -1,18 +1,20 @@ { "parameters": { - "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", - "resourceGroupName": "sampleResourceGroup", + "api-version": "2025-05-01", "dnsResolverName": "sampleDnsResolver", - "api-version": "2025-05-01" + "resourceGroupName": "sampleResourceGroup", + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e" }, "responses": { "200": {}, - "204": {}, "202": { "headers": { - "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2025-05-01", - "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2025-05-01" + "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2025-05-01", + "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2025-05-01" } - } - } + }, + "204": {} + }, + "operationId": "DnsResolvers_Delete", + "title": "Delete DNS resolver" } diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsResolver_Get.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsResolver_Get.json index f6c05c53a249..c4b3eea3e8c5 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsResolver_Get.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsResolver_Get.json @@ -1,36 +1,38 @@ { "parameters": { - "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", - "resourceGroupName": "sampleResourceGroup", + "api-version": "2025-05-01", "dnsResolverName": "sampleDnsResolver", - "api-version": "2025-05-01" + "resourceGroupName": "sampleResourceGroup", + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e" }, "responses": { "200": { "body": { - "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolvers/sampleDnsResolver", "name": "sampleDnsResolver", "type": "Microsoft.Network/dnsResolvers", - "tags": { - "key1": "value1" - }, - "systemData": { - "createdByType": "Application", - "createdAt": "2021-04-03T01:01:01.1075056Z", - "lastModifiedByType": "Application", - "lastModifiedAt": "2021-04-04T02:03:01.1974346Z" - }, - "location": "westus2", "etag": "00000000-0000-0000-0000-000000000000", + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolvers/sampleDnsResolver", + "location": "westus2", "properties": { - "virtualNetwork": { - "id": "/subscriptions/cbb1387e-4b03-44f2-ad41-58d4677b9873/resourceGroups/virtualNetworkResourceGroup/providers/Microsoft.Network/virtualNetworks/sampleVirtualNetwork" - }, "dnsResolverState": "Connected", "provisioningState": "Succeeded", - "resourceGuid": "a7e1a32c-498c-401c-a805-5bc3518257b8" + "resourceGuid": "a7e1a32c-498c-401c-a805-5bc3518257b8", + "virtualNetwork": { + "id": "/subscriptions/cbb1387e-4b03-44f2-ad41-58d4677b9873/resourceGroups/virtualNetworkResourceGroup/providers/Microsoft.Network/virtualNetworks/sampleVirtualNetwork" + } + }, + "systemData": { + "createdAt": "2021-04-03T01:01:01.1075056Z", + "createdByType": "Application", + "lastModifiedAt": "2021-04-04T02:03:01.1974346Z", + "lastModifiedByType": "Application" + }, + "tags": { + "key1": "value1" } } } - } + }, + "operationId": "DnsResolvers_Get", + "title": "Retrieve DNS resolver" } diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsResolver_ListByResourceGroup.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsResolver_ListByResourceGroup.json index 0fe95aef9bdd..8b6507a62ac2 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsResolver_ListByResourceGroup.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsResolver_ListByResourceGroup.json @@ -1,64 +1,66 @@ { "parameters": { - "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", + "api-version": "2025-05-01", "resourceGroupName": "sampleResourceGroup", - "api-version": "2025-05-01" + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e" }, "responses": { "200": { "body": { + "nextLink": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolvers?$skipToken=skipToken&api-version=2025-05-01", "value": [ { - "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolvers/sampleDnsResolver1", "name": "sampleDnsResolver1", "type": "Microsoft.Network/dnsResolvers", - "tags": { - "key1": "value1" - }, - "systemData": { - "createdByType": "Application", - "createdAt": "2021-04-01T01:01:01.1075056Z", - "lastModifiedByType": "Application", - "lastModifiedAt": "2021-04-02T02:03:01.1974346Z" - }, - "location": "westus2", "etag": "00000000-0000-0000-0000-000000000000", + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolvers/sampleDnsResolver1", + "location": "westus2", "properties": { - "virtualNetwork": { - "id": "/subscriptions/cbb1387e-4b03-44f2-ad41-58d4677b9873/resourceGroups/virtualNetworkResourceGroup/providers/Microsoft.Network/virtualNetworks/sampleVirtualNetwork1" - }, "dnsResolverState": "Connected", "provisioningState": "Succeeded", - "resourceGuid": "ad9c8da4-3bb2-4821-a878-c2cb07b01fb6" + "resourceGuid": "ad9c8da4-3bb2-4821-a878-c2cb07b01fb6", + "virtualNetwork": { + "id": "/subscriptions/cbb1387e-4b03-44f2-ad41-58d4677b9873/resourceGroups/virtualNetworkResourceGroup/providers/Microsoft.Network/virtualNetworks/sampleVirtualNetwork1" + } + }, + "systemData": { + "createdAt": "2021-04-01T01:01:01.1075056Z", + "createdByType": "Application", + "lastModifiedAt": "2021-04-02T02:03:01.1974346Z", + "lastModifiedByType": "Application" + }, + "tags": { + "key1": "value1" } }, { - "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolvers/sampleDnsResolver2", "name": "sampleDnsResolver2", "type": "Microsoft.Network/dnsResolvers", - "tags": { - "key1": "value1" - }, - "systemData": { - "createdByType": "Application", - "createdAt": "2021-04-03T01:01:01.1075056Z", - "lastModifiedByType": "Application", - "lastModifiedAt": "2021-04-04T02:03:01.1974346Z" - }, - "location": "westus2", "etag": "00000000-0000-0000-0000-000000000000", + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolvers/sampleDnsResolver2", + "location": "westus2", "properties": { - "virtualNetwork": { - "id": "/subscriptions/cbb1387e-4b03-44f2-ad41-58d4677b9873/resourceGroups/virtualNetworkResourceGroup/providers/Microsoft.Network/virtualNetworks/sampleVirtualNetwork2" - }, "dnsResolverState": "Connected", "provisioningState": "Succeeded", - "resourceGuid": "b6b2d964-8588-4e3a-a7fe-8a5b7fe8eca5" + "resourceGuid": "b6b2d964-8588-4e3a-a7fe-8a5b7fe8eca5", + "virtualNetwork": { + "id": "/subscriptions/cbb1387e-4b03-44f2-ad41-58d4677b9873/resourceGroups/virtualNetworkResourceGroup/providers/Microsoft.Network/virtualNetworks/sampleVirtualNetwork2" + } + }, + "systemData": { + "createdAt": "2021-04-03T01:01:01.1075056Z", + "createdByType": "Application", + "lastModifiedAt": "2021-04-04T02:03:01.1974346Z", + "lastModifiedByType": "Application" + }, + "tags": { + "key1": "value1" } } - ], - "nextLink": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolvers?$skipToken=skipToken&api-version=2025-05-01" + ] } } - } + }, + "operationId": "DnsResolvers_ListByResourceGroup", + "title": "List DNS resolvers by resource group" } diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsResolver_ListBySubscription.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsResolver_ListBySubscription.json index 33f012647843..3b3446fe404f 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsResolver_ListBySubscription.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsResolver_ListBySubscription.json @@ -1,63 +1,65 @@ { "parameters": { - "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", - "api-version": "2025-05-01" + "api-version": "2025-05-01", + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e" }, "responses": { "200": { "body": { + "nextLink": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/providers/Microsoft.Network/dnsResolvers?$skipToken=skipToken&api-version=2025-05-01", "value": [ { - "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolvers/sampleDnsResolver1", "name": "sampleDnsResolver1", "type": "Microsoft.Network/dnsResolvers", - "tags": { - "key1": "value1" - }, - "systemData": { - "createdByType": "Application", - "createdAt": "2021-04-01T01:01:01.1075056Z", - "lastModifiedByType": "Application", - "lastModifiedAt": "2021-04-02T02:03:01.1974346Z" - }, - "location": "westus2", "etag": "00000000-0000-0000-0000-000000000000", + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolvers/sampleDnsResolver1", + "location": "westus2", "properties": { - "virtualNetwork": { - "id": "/subscriptions/cbb1387e-4b03-44f2-ad41-58d4677b9873/resourceGroups/virtualNetworkResourceGroup/providers/Microsoft.Network/virtualNetworks/sampleVirtualNetwork1" - }, "dnsResolverState": "Connected", "provisioningState": "Succeeded", - "resourceGuid": "ad9c8da4-3bb2-4821-a878-c2cb07b01fb6" + "resourceGuid": "ad9c8da4-3bb2-4821-a878-c2cb07b01fb6", + "virtualNetwork": { + "id": "/subscriptions/cbb1387e-4b03-44f2-ad41-58d4677b9873/resourceGroups/virtualNetworkResourceGroup/providers/Microsoft.Network/virtualNetworks/sampleVirtualNetwork1" + } + }, + "systemData": { + "createdAt": "2021-04-01T01:01:01.1075056Z", + "createdByType": "Application", + "lastModifiedAt": "2021-04-02T02:03:01.1974346Z", + "lastModifiedByType": "Application" + }, + "tags": { + "key1": "value1" } }, { - "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolvers/sampleDnsResolver2", "name": "sampleDnsResolver2", "type": "Microsoft.Network/dnsResolvers", - "tags": { - "key1": "value1" - }, - "systemData": { - "createdByType": "Application", - "createdAt": "2021-04-01T01:01:01.1075056Z", - "lastModifiedByType": "Application", - "lastModifiedAt": "2021-04-02T02:03:01.1974346Z" - }, - "location": "westus2", "etag": "00000000-0000-0000-0000-000000000000", + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolvers/sampleDnsResolver2", + "location": "westus2", "properties": { - "virtualNetwork": { - "id": "/subscriptions/cbb1387e-4b03-44f2-ad41-58d4677b9873/resourceGroups/virtualNetworkResourceGroup/providers/Microsoft.Network/virtualNetworks/sampleVirtualNetwork2" - }, "dnsResolverState": "Connected", "provisioningState": "Succeeded", - "resourceGuid": "b6b2d964-8588-4e3a-a7fe-8a5b7fe8eca5" + "resourceGuid": "b6b2d964-8588-4e3a-a7fe-8a5b7fe8eca5", + "virtualNetwork": { + "id": "/subscriptions/cbb1387e-4b03-44f2-ad41-58d4677b9873/resourceGroups/virtualNetworkResourceGroup/providers/Microsoft.Network/virtualNetworks/sampleVirtualNetwork2" + } + }, + "systemData": { + "createdAt": "2021-04-01T01:01:01.1075056Z", + "createdByType": "Application", + "lastModifiedAt": "2021-04-02T02:03:01.1974346Z", + "lastModifiedByType": "Application" + }, + "tags": { + "key1": "value1" } } - ], - "nextLink": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/providers/Microsoft.Network/dnsResolvers?$skipToken=skipToken&api-version=2025-05-01" + ] } } - } + }, + "operationId": "DnsResolvers_List", + "title": "List DNS resolvers by subscription" } diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsResolver_ListByVirtualNetwork.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsResolver_ListByVirtualNetwork.json index e78eb9a48cb3..38ce3f4f7a89 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsResolver_ListByVirtualNetwork.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsResolver_ListByVirtualNetwork.json @@ -1,20 +1,22 @@ { "parameters": { - "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", + "api-version": "2025-05-01", "resourceGroupName": "sampleResourceGroup", - "virtualNetworkName": "sampleVirtualNetwork", - "api-version": "2025-05-01" + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", + "virtualNetworkName": "sampleVirtualNetwork" }, "responses": { "200": { "body": { + "nextLink": null, "value": [ { "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolvers/sampleDnsResolver1" } - ], - "nextLink": null + ] } } - } + }, + "operationId": "DnsResolvers_ListByVirtualNetwork", + "title": "List DNS resolvers by virtual network" } diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsResolver_Patch.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsResolver_Patch.json index 75106738c088..a4e72c1a1f21 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsResolver_Patch.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsResolver_Patch.json @@ -1,47 +1,49 @@ { "parameters": { - "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", - "resourceGroupName": "sampleResourceGroup", - "dnsResolverName": "sampleDnsResolver", "api-version": "2025-05-01", + "dnsResolverName": "sampleDnsResolver", "parameters": { "tags": { "key1": "value1" } - } + }, + "resourceGroupName": "sampleResourceGroup", + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e" }, "responses": { "200": { "body": { - "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolvers/sampleDnsResolver", "name": "sampleDnsResolver", "type": "Microsoft.Network/dnsResolvers", - "tags": { - "key1": "value1" - }, - "location": "westus2", "etag": "00000000-0000-0000-0000-000000000000", - "systemData": { - "createdByType": "Application", - "createdAt": "2021-04-01T01:01:01.1075056Z", - "lastModifiedByType": "Application", - "lastModifiedAt": "2021-04-02T02:03:01.1974346Z" - }, + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolvers/sampleDnsResolver", + "location": "westus2", "properties": { - "virtualNetwork": { - "id": "/subscriptions/cbb1387e-4b03-44f2-ad41-58d4677b9873/resourceGroups/virtualNetworkResourceGroup/providers/Microsoft.Network/virtualNetworks/sampleVirtualNetwork" - }, "dnsResolverState": "Connected", "provisioningState": "Succeeded", - "resourceGuid": "b6b2d964-8588-4e3a-a7fe-8a5b7fe8eca5" + "resourceGuid": "b6b2d964-8588-4e3a-a7fe-8a5b7fe8eca5", + "virtualNetwork": { + "id": "/subscriptions/cbb1387e-4b03-44f2-ad41-58d4677b9873/resourceGroups/virtualNetworkResourceGroup/providers/Microsoft.Network/virtualNetworks/sampleVirtualNetwork" + } + }, + "systemData": { + "createdAt": "2021-04-01T01:01:01.1075056Z", + "createdByType": "Application", + "lastModifiedAt": "2021-04-02T02:03:01.1974346Z", + "lastModifiedByType": "Application" + }, + "tags": { + "key1": "value1" } } }, "202": { "headers": { - "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2025-05-01", - "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2025-05-01" + "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2025-05-01", + "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2025-05-01" } } - } + }, + "operationId": "DnsResolvers_Update", + "title": "Update DNS resolver" } diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsResolver_Put.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsResolver_Put.json index 24df5a24160b..0b8333b8a42b 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsResolver_Put.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsResolver_Put.json @@ -1,73 +1,75 @@ { "parameters": { - "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", - "resourceGroupName": "sampleResourceGroup", - "dnsResolverName": "sampleDnsResolver", "api-version": "2025-05-01", + "dnsResolverName": "sampleDnsResolver", "parameters": { - "tags": { - "key1": "value1" - }, "location": "westus2", "properties": { "virtualNetwork": { "id": "/subscriptions/cbb1387e-4b03-44f2-ad41-58d4677b9873/resourceGroups/virtualNetworkResourceGroup/providers/Microsoft.Network/virtualNetworks/sampleVirtualNetwork" } + }, + "tags": { + "key1": "value1" } - } + }, + "resourceGroupName": "sampleResourceGroup", + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e" }, "responses": { - "201": { + "200": { "body": { - "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolvers/sampleDnsResolver", "name": "sampleDnsResolver", "type": "Microsoft.Network/dnsResolvers", - "tags": { - "key1": "value1" - }, - "location": "westus2", "etag": "00000000-0000-0000-0000-000000000000", + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolvers/sampleDnsResolver", + "location": "westus2", "properties": { - "virtualNetwork": { - "id": "/subscriptions/cbb1387e-4b03-44f2-ad41-58d4677b9873/resourceGroups/virtualNetworkResourceGroup/providers/Microsoft.Network/virtualNetworks/sampleVirtualNetwork" - }, "dnsResolverState": "Connected", "provisioningState": "Succeeded", - "resourceGuid": "b6b2d964-8588-4e3a-a7fe-8a5b7fe8eca5" + "resourceGuid": "b6b2d964-8588-4e3a-a7fe-8a5b7fe8eca5", + "virtualNetwork": { + "id": "/subscriptions/cbb1387e-4b03-44f2-ad41-58d4677b9873/resourceGroups/virtualNetworkResourceGroup/providers/Microsoft.Network/virtualNetworks/sampleVirtualNetwork" + } + }, + "systemData": { + "createdAt": "2021-04-01T01:01:01.1075056Z", + "createdByType": "Application", + "lastModifiedAt": "2021-04-02T02:03:01.1974346Z", + "lastModifiedByType": "Application" + }, + "tags": { + "key1": "value1" } } }, - "200": { + "201": { "body": { - "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolvers/sampleDnsResolver", "name": "sampleDnsResolver", "type": "Microsoft.Network/dnsResolvers", - "tags": { - "key1": "value1" - }, - "location": "westus2", "etag": "00000000-0000-0000-0000-000000000000", - "systemData": { - "createdByType": "Application", - "createdAt": "2021-04-01T01:01:01.1075056Z", - "lastModifiedByType": "Application", - "lastModifiedAt": "2021-04-02T02:03:01.1974346Z" - }, + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolvers/sampleDnsResolver", + "location": "westus2", "properties": { - "virtualNetwork": { - "id": "/subscriptions/cbb1387e-4b03-44f2-ad41-58d4677b9873/resourceGroups/virtualNetworkResourceGroup/providers/Microsoft.Network/virtualNetworks/sampleVirtualNetwork" - }, "dnsResolverState": "Connected", "provisioningState": "Succeeded", - "resourceGuid": "b6b2d964-8588-4e3a-a7fe-8a5b7fe8eca5" + "resourceGuid": "b6b2d964-8588-4e3a-a7fe-8a5b7fe8eca5", + "virtualNetwork": { + "id": "/subscriptions/cbb1387e-4b03-44f2-ad41-58d4677b9873/resourceGroups/virtualNetworkResourceGroup/providers/Microsoft.Network/virtualNetworks/sampleVirtualNetwork" + } + }, + "tags": { + "key1": "value1" } } }, "202": { "headers": { - "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2025-05-01", - "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2025-05-01" + "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2025-05-01", + "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2025-05-01" } } - } + }, + "operationId": "DnsResolvers_CreateOrUpdate", + "title": "Upsert DNS resolver" } diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsSecurityRule_Delete.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsSecurityRule_Delete.json index cadd1bdd05dc..5d9c0d7eb8a0 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsSecurityRule_Delete.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsSecurityRule_Delete.json @@ -1,18 +1,20 @@ { "parameters": { - "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", - "resourceGroupName": "sampleResourceGroup", + "api-version": "2025-05-01", "dnsResolverPolicyName": "sampleDnsDnsResolverPolicy", "dnsSecurityRuleName": "sampleDnsSecurityRule", - "api-version": "2025-05-01" + "resourceGroupName": "sampleResourceGroup", + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e" }, "responses": { - "204": {}, "202": { "headers": { - "Location": "https://management.azure.com/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2025-05-01", - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2025-05-01" + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2025-05-01", + "Location": "https://management.azure.com/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2025-05-01" } - } - } + }, + "204": {} + }, + "operationId": "DnsSecurityRules_Delete", + "title": "Delete DNS security rule for DNS resolver policy" } diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsSecurityRule_Get.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsSecurityRule_Get.json index 948351cd997d..0012d8bdbc01 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsSecurityRule_Get.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsSecurityRule_Get.json @@ -1,30 +1,20 @@ { "parameters": { - "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", - "resourceGroupName": "sampleResourceGroup", + "api-version": "2025-05-01", "dnsResolverPolicyName": "sampleDnsResolverPolicy", "dnsSecurityRuleName": "sampleDnsSecurityRule", - "api-version": "2025-05-01" + "resourceGroupName": "sampleResourceGroup", + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e" }, "responses": { "200": { "body": { - "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolverPolicies/sampleDnsResolverPolicy/dnsSecurityRules/sampleDnsSecurityRule", "name": "sampleDnsSecurityRule", "type": "Microsoft.Network/dnsResolverPolicies/dnsSecurityRules", - "location": "westus2", "etag": "00000000-0000-0000-0000-000000000000", - "systemData": { - "createdByType": "Application", - "createdAt": "2021-04-01T01:01:01.1075056Z", - "lastModifiedByType": "Application", - "lastModifiedAt": "2021-04-02T02:03:01.1974346Z" - }, - "tags": { - "key1": "value1" - }, + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolverPolicies/sampleDnsResolverPolicy/dnsSecurityRules/sampleDnsSecurityRule", + "location": "westus2", "properties": { - "priority": 100, "action": { "actionType": "Block" }, @@ -34,9 +24,21 @@ } ], "dnsSecurityRuleState": "Enabled", + "priority": 100, "provisioningState": "Succeeded" + }, + "systemData": { + "createdAt": "2021-04-01T01:01:01.1075056Z", + "createdByType": "Application", + "lastModifiedAt": "2021-04-02T02:03:01.1974346Z", + "lastModifiedByType": "Application" + }, + "tags": { + "key1": "value1" } } } - } + }, + "operationId": "DnsSecurityRules_Get", + "title": "Retrieve DNS security rule for DNS resolver policy" } diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsSecurityRule_List.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsSecurityRule_List.json index fb982562ed24..f93842f23f57 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsSecurityRule_List.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsSecurityRule_List.json @@ -1,31 +1,22 @@ { "parameters": { - "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", - "resourceGroupName": "sampleResourceGroup", + "api-version": "2025-05-01", "dnsResolverPolicyName": "sampleDnsResolverPolicy", - "api-version": "2025-05-01" + "resourceGroupName": "sampleResourceGroup", + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e" }, "responses": { "200": { "body": { + "nextLink": "https://management.azure.com/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsSecurityRules?$skipToken=skipToken&api-version=2025-05-01", "value": [ { - "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolverPolicies/sampleDnsResolverPolicy/dnsSecurityRules/sampleDnsSecurityRule", "name": "sampleDnsSecurityRule", "type": "Microsoft.Network/dnsResolverPolicies/dnsSecurityRules", - "location": "westus2", "etag": "00000000-0000-0000-0000-000000000000", - "systemData": { - "createdByType": "Application", - "createdAt": "2021-04-01T01:01:01.1075056Z", - "lastModifiedByType": "Application", - "lastModifiedAt": "2021-04-02T02:03:01.1974346Z" - }, - "tags": { - "key1": "value1" - }, + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolverPolicies/sampleDnsResolverPolicy/dnsSecurityRules/sampleDnsSecurityRule", + "location": "westus2", "properties": { - "priority": 100, "action": { "actionType": "Block" }, @@ -35,26 +26,26 @@ } ], "dnsSecurityRuleState": "Enabled", + "priority": 100, "provisioningState": "Succeeded" + }, + "systemData": { + "createdAt": "2021-04-01T01:01:01.1075056Z", + "createdByType": "Application", + "lastModifiedAt": "2021-04-02T02:03:01.1974346Z", + "lastModifiedByType": "Application" + }, + "tags": { + "key1": "value1" } }, { - "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolverPolicies/sampleDnsResolverPolicy/dnsSecurityRules/sampleDnsSecurityRule1", "name": "sampleDnsSecurityRule1", "type": "Microsoft.Network/dnsResolverPolicies/dnsSecurityRules", - "location": "westus2", "etag": "00000000-0000-0000-0000-000000000000", - "systemData": { - "createdByType": "Application", - "createdAt": "2021-04-01T01:01:01.1075056Z", - "lastModifiedByType": "Application", - "lastModifiedAt": "2021-04-02T02:03:01.1974346Z" - }, - "tags": { - "key1": "value1" - }, + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolverPolicies/sampleDnsResolverPolicy/dnsSecurityRules/sampleDnsSecurityRule1", + "location": "westus2", "properties": { - "priority": 101, "action": { "actionType": "Block" }, @@ -64,12 +55,23 @@ } ], "dnsSecurityRuleState": "Enabled", + "priority": 101, "provisioningState": "Succeeded" + }, + "systemData": { + "createdAt": "2021-04-01T01:01:01.1075056Z", + "createdByType": "Application", + "lastModifiedAt": "2021-04-02T02:03:01.1974346Z", + "lastModifiedByType": "Application" + }, + "tags": { + "key1": "value1" } } - ], - "nextLink": "https://management.azure.com/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsSecurityRules?$skipToken=skipToken&api-version=2025-05-01" + ] } } - } + }, + "operationId": "DnsSecurityRules_List", + "title": "List DNS security rules by DNS resolver policy" } diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsSecurityRule_Patch.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsSecurityRule_Patch.json index 65443a7b0b1b..cdf05e598450 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsSecurityRule_Patch.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsSecurityRule_Patch.json @@ -1,7 +1,6 @@ { "parameters": { - "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", - "resourceGroupName": "sampleResourceGroup", + "api-version": "2025-05-01", "dnsResolverPolicyName": "sampleDnsResolverPolicy", "dnsSecurityRuleName": "sampleDnsSecurityRule", "parameters": { @@ -12,27 +11,18 @@ "key1": "value1" } }, - "api-version": "2025-05-01" + "resourceGroupName": "sampleResourceGroup", + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e" }, "responses": { "200": { "body": { - "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolverPolicies/sampleDnsResolverPolicy/dnsSecurityRules/sampleDnsSecurityRule", "name": "sampleDnsSecurityRule", "type": "Microsoft.Network/dnsResolverPolicies/dnsSecurityRules", - "location": "westus2", "etag": "00000000-0000-0000-0000-000000000000", - "systemData": { - "createdByType": "Application", - "createdAt": "2021-04-01T01:01:01.1075056Z", - "lastModifiedByType": "Application", - "lastModifiedAt": "2021-04-02T02:03:01.1974346Z" - }, - "tags": { - "key1": "value1" - }, + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolverPolicies/sampleDnsResolverPolicy/dnsSecurityRules/sampleDnsSecurityRule", + "location": "westus2", "properties": { - "priority": 100, "action": { "actionType": "Allow" }, @@ -42,15 +32,27 @@ } ], "dnsSecurityRuleState": "Disabled", + "priority": 100, "provisioningState": "Succeeded" + }, + "systemData": { + "createdAt": "2021-04-01T01:01:01.1075056Z", + "createdByType": "Application", + "lastModifiedAt": "2021-04-02T02:03:01.1974346Z", + "lastModifiedByType": "Application" + }, + "tags": { + "key1": "value1" } } }, "202": { "headers": { - "Location": "https://management.azure.com/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2025-05-01", - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2025-05-01" + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2025-05-01", + "Location": "https://management.azure.com/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2025-05-01" } } - } + }, + "operationId": "DnsSecurityRules_Update", + "title": "Update DNS security rule for DNS resolver policy" } diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsSecurityRule_Put.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsSecurityRule_Put.json index 40543959d860..601ff319e32a 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsSecurityRule_Put.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/DnsSecurityRule_Put.json @@ -1,16 +1,11 @@ { "parameters": { - "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", - "resourceGroupName": "sampleResourceGroup", + "api-version": "2025-05-01", "dnsResolverPolicyName": "sampleDnsResolverPolicy", "dnsSecurityRuleName": "sampleDnsSecurityRule", "parameters": { "location": "westus2", - "tags": { - "key1": "value1" - }, "properties": { - "priority": 100, "action": { "actionType": "Block" }, @@ -19,33 +14,25 @@ "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolverDomainLists/sampleDnsResolverDomainList" } ], - "dnsSecurityRuleState": "Enabled" + "dnsSecurityRuleState": "Enabled", + "priority": 100 + }, + "tags": { + "key1": "value1" } }, - "api-version": "2025-05-01" + "resourceGroupName": "sampleResourceGroup", + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e" }, "responses": { - "201": { - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2025-05-01" - }, + "200": { "body": { - "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolverPolicies/sampleDnsResolverPolicy/dnsSecurityRules/sampleDnsSecurityRule", "name": "sampleDnsSecurityRule", "type": "Microsoft.Network/dnsResolverPolicies/dnsSecurityRules", - "location": "westus2", "etag": "00000000-0000-0000-0000-000000000000", - "systemData": { - "createdByType": "Application", - "createdAt": "2021-04-01T01:01:01.1075056Z", - "lastModifiedByType": "Application", - "lastModifiedAt": "2021-04-02T02:03:01.1974346Z" - }, - "tags": { - "key1": "value1" - }, + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolverPolicies/sampleDnsResolverPolicy/dnsSecurityRules/sampleDnsSecurityRule", + "location": "westus2", "properties": { - "priority": 100, "action": { "actionType": "Block" }, @@ -55,31 +42,31 @@ } ], "dnsSecurityRuleState": "Enabled", + "priority": 100, "provisioningState": "Succeeded" + }, + "systemData": { + "createdAt": "2021-04-01T01:01:01.1075056Z", + "createdByType": "Application", + "lastModifiedAt": "2021-04-02T02:03:01.1974346Z", + "lastModifiedByType": "Application" + }, + "tags": { + "key1": "value1" } - } - }, - "200": { + }, "headers": { "Azure-AsyncOperation": "https://management.azure.com/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2025-05-01" - }, + } + }, + "201": { "body": { - "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolverPolicies/sampleDnsResolverPolicy/dnsSecurityRules/sampleDnsSecurityRule", "name": "sampleDnsSecurityRule", "type": "Microsoft.Network/dnsResolverPolicies/dnsSecurityRules", - "location": "westus2", "etag": "00000000-0000-0000-0000-000000000000", - "systemData": { - "createdByType": "Application", - "createdAt": "2021-04-01T01:01:01.1075056Z", - "lastModifiedByType": "Application", - "lastModifiedAt": "2021-04-02T02:03:01.1974346Z" - }, - "tags": { - "key1": "value1" - }, + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolverPolicies/sampleDnsResolverPolicy/dnsSecurityRules/sampleDnsSecurityRule", + "location": "westus2", "properties": { - "priority": 100, "action": { "actionType": "Block" }, @@ -89,9 +76,24 @@ } ], "dnsSecurityRuleState": "Enabled", + "priority": 100, "provisioningState": "Succeeded" + }, + "systemData": { + "createdAt": "2021-04-01T01:01:01.1075056Z", + "createdByType": "Application", + "lastModifiedAt": "2021-04-02T02:03:01.1974346Z", + "lastModifiedByType": "Application" + }, + "tags": { + "key1": "value1" } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2025-05-01" } } - } + }, + "operationId": "DnsSecurityRules_CreateOrUpdate", + "title": "Upsert DNS security rule" } diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/ForwardingRule_Delete.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/ForwardingRule_Delete.json index 257b691de560..d722ef65344f 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/ForwardingRule_Delete.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/ForwardingRule_Delete.json @@ -1,13 +1,15 @@ { "parameters": { - "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", - "resourceGroupName": "sampleResourceGroup", + "api-version": "2025-05-01", "dnsForwardingRulesetName": "sampleDnsForwardingRuleset", "forwardingRuleName": "sampleForwardingRule", - "api-version": "2025-05-01" + "resourceGroupName": "sampleResourceGroup", + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e" }, "responses": { "200": {}, "204": {} - } + }, + "operationId": "ForwardingRules_Delete", + "title": "Delete forwarding rule in a DNS forwarding ruleset" } diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/ForwardingRule_Get.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/ForwardingRule_Get.json index d794ea935acb..59c57651e435 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/ForwardingRule_Get.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/ForwardingRule_Get.json @@ -1,26 +1,25 @@ { "parameters": { - "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", - "resourceGroupName": "sampleResourceGroup", + "api-version": "2025-05-01", "dnsForwardingRulesetName": "sampleDnsForwardingRuleset", "forwardingRuleName": "sampleForwardingRule", - "api-version": "2025-05-01" + "resourceGroupName": "sampleResourceGroup", + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e" }, "responses": { "200": { "body": { - "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsForwardingRulesets/sampleDnsForwardingRuleset/forwardingRules/sampleForwardingRule", "name": "sampleForwardingRule", "type": "Microsoft.Network/dnsForwardingRulesets/forwardingRules", "etag": "00000000-0000-0000-0000-000000000000", - "systemData": { - "createdByType": "Application", - "createdAt": "2021-04-01T01:01:01.1075056Z", - "lastModifiedByType": "Application", - "lastModifiedAt": "2021-04-02T02:03:01.1974346Z" - }, + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsForwardingRulesets/sampleDnsForwardingRuleset/forwardingRules/sampleForwardingRule", "properties": { "domainName": "contoso.com.", + "forwardingRuleState": "Enabled", + "metadata": { + "additionalProp1": "value1" + }, + "provisioningState": "Succecced", "targetDnsServers": [ { "ipAddress": "10.0.0.1", @@ -30,14 +29,17 @@ "ipAddress": "10.0.0.2", "port": 53 } - ], - "metadata": { - "additionalProp1": "value1" - }, - "forwardingRuleState": "Enabled", - "provisioningState": "Succecced" + ] + }, + "systemData": { + "createdAt": "2021-04-01T01:01:01.1075056Z", + "createdByType": "Application", + "lastModifiedAt": "2021-04-02T02:03:01.1974346Z", + "lastModifiedByType": "Application" } } } - } + }, + "operationId": "ForwardingRules_Get", + "title": "Retrieve forwarding rule in a DNS forwarding ruleset" } diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/ForwardingRule_List.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/ForwardingRule_List.json index 914b721c5d32..791bc73d0265 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/ForwardingRule_List.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/ForwardingRule_List.json @@ -1,27 +1,27 @@ { "parameters": { - "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", - "resourceGroupName": "sampleResourceGroup", + "api-version": "2025-05-01", "dnsForwardingRulesetName": "sampleDnsForwardingRuleset", - "api-version": "2025-05-01" + "resourceGroupName": "sampleResourceGroup", + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e" }, "responses": { "200": { "body": { + "nextLink": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/forwardingRules?$skipToken=skipToken&api-version=2025-05-01", "value": [ { - "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsForwardingRulesets/sampleDnsForwardingRuleset/forwardingRules/sampleForwardingRule", "name": "sampleForwardingRule", "type": "Microsoft.Network/dnsForwardingRulesets/forwardingRules", "etag": "00000000-0000-0000-0000-000000000000", - "systemData": { - "createdByType": "Application", - "createdAt": "2021-04-01T01:01:01.1075056Z", - "lastModifiedByType": "Application", - "lastModifiedAt": "2021-04-02T02:03:01.1974346Z" - }, + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsForwardingRulesets/sampleDnsForwardingRuleset/forwardingRules/sampleForwardingRule", "properties": { "domainName": "contoso.com.", + "forwardingRuleState": "Enabled", + "metadata": { + "additionalProp1": "value1" + }, + "provisioningState": "Succecced", "targetDnsServers": [ { "ipAddress": "10.0.0.1", @@ -31,27 +31,27 @@ "ipAddress": "10.0.0.2", "port": 53 } - ], - "metadata": { - "additionalProp1": "value1" - }, - "forwardingRuleState": "Enabled", - "provisioningState": "Succecced" + ] + }, + "systemData": { + "createdAt": "2021-04-01T01:01:01.1075056Z", + "createdByType": "Application", + "lastModifiedAt": "2021-04-02T02:03:01.1974346Z", + "lastModifiedByType": "Application" } }, { - "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsForwardingRulesets/sampleDnsForwardingRuleset/forwardingRules/sampleForwardingRule1", "name": "sampleForwardingRule1", "type": "Microsoft.Network/dnsForwardingRulesets/forwardingRules", "etag": "00000000-0000-0000-0000-000000000000", - "systemData": { - "createdByType": "Application", - "createdAt": "2021-04-01T01:01:01.1075056Z", - "lastModifiedByType": "Application", - "lastModifiedAt": "2021-04-02T02:03:01.1974346Z" - }, + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsForwardingRulesets/sampleDnsForwardingRuleset/forwardingRules/sampleForwardingRule1", "properties": { "domainName": "foobar.com.", + "forwardingRuleState": "Enabled", + "metadata": { + "additionalProp1": "value1" + }, + "provisioningState": "Succecced", "targetDnsServers": [ { "ipAddress": "10.0.0.3", @@ -61,17 +61,19 @@ "ipAddress": "10.0.0.4", "port": 53 } - ], - "metadata": { - "additionalProp1": "value1" - }, - "forwardingRuleState": "Enabled", - "provisioningState": "Succecced" + ] + }, + "systemData": { + "createdAt": "2021-04-01T01:01:01.1075056Z", + "createdByType": "Application", + "lastModifiedAt": "2021-04-02T02:03:01.1974346Z", + "lastModifiedByType": "Application" } } - ], - "nextLink": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/forwardingRules?$skipToken=skipToken&api-version=2025-05-01" + ] } } - } + }, + "operationId": "ForwardingRules_List", + "title": "List forwarding rules in a DNS forwarding ruleset" } diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/ForwardingRule_Patch.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/ForwardingRule_Patch.json index d4b5216daebe..108bbf3328ac 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/ForwardingRule_Patch.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/ForwardingRule_Patch.json @@ -1,7 +1,6 @@ { "parameters": { - "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", - "resourceGroupName": "sampleResourceGroup", + "api-version": "2025-05-01", "dnsForwardingRulesetName": "sampleDnsForwardingRuleset", "forwardingRuleName": "sampleForwardingRule", "parameters": { @@ -12,23 +11,23 @@ } } }, - "api-version": "2025-05-01" + "resourceGroupName": "sampleResourceGroup", + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e" }, "responses": { "200": { "body": { - "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsForwardingRulesets/sampleDnsForwardingRuleset/forwardingRules/sampleForwardingRule", "name": "sampleForwardingRule", "type": "Microsoft.Network/dnsForwardingRulesets/forwardingRules", "etag": "00000000-0000-0000-0000-000000000000", - "systemData": { - "createdByType": "Application", - "createdAt": "2021-04-01T01:01:01.1075056Z", - "lastModifiedByType": "Application", - "lastModifiedAt": "2021-04-02T02:03:01.1974346Z" - }, + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsForwardingRulesets/sampleDnsForwardingRuleset/forwardingRules/sampleForwardingRule", "properties": { "domainName": "contoso.com.", + "forwardingRuleState": "Disabled", + "metadata": { + "additionalProp2": "value2" + }, + "provisioningState": "Succecced", "targetDnsServers": [ { "ipAddress": "10.0.0.1", @@ -38,14 +37,17 @@ "ipAddress": "10.0.0.2", "port": 53 } - ], - "metadata": { - "additionalProp2": "value2" - }, - "forwardingRuleState": "Disabled", - "provisioningState": "Succecced" + ] + }, + "systemData": { + "createdAt": "2021-04-01T01:01:01.1075056Z", + "createdByType": "Application", + "lastModifiedAt": "2021-04-02T02:03:01.1974346Z", + "lastModifiedByType": "Application" } } } - } + }, + "operationId": "ForwardingRules_Update", + "title": "Update forwarding rule in a DNS forwarding ruleset" } diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/ForwardingRule_Put.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/ForwardingRule_Put.json index 226c36057a8b..31a01b79a0d4 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/ForwardingRule_Put.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/ForwardingRule_Put.json @@ -1,12 +1,15 @@ { "parameters": { - "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", - "resourceGroupName": "sampleResourceGroup", + "api-version": "2025-05-01", "dnsForwardingRulesetName": "sampleDnsForwardingRuleset", "forwardingRuleName": "sampleForwardingRule", "parameters": { "properties": { "domainName": "contoso.com.", + "forwardingRuleState": "Enabled", + "metadata": { + "additionalProp1": "value1" + }, "targetDnsServers": [ { "ipAddress": "10.0.0.1", @@ -16,30 +19,26 @@ "ipAddress": "10.0.0.2", "port": 53 } - ], - "forwardingRuleState": "Enabled", - "metadata": { - "additionalProp1": "value1" - } + ] } }, - "api-version": "2025-05-01" + "resourceGroupName": "sampleResourceGroup", + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e" }, "responses": { - "201": { + "200": { "body": { - "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsForwardingRulesets/sampleDnsForwardingRuleset/forwardingRules/sampleForwardingRule", "name": "sampleForwardingRule", "type": "Microsoft.Network/dnsForwardingRulesets/forwardingRules", "etag": "00000000-0000-0000-0000-000000000000", - "systemData": { - "createdByType": "Application", - "createdAt": "2021-04-01T01:01:01.1075056Z", - "lastModifiedByType": "Application", - "lastModifiedAt": "2021-04-02T02:03:01.1974346Z" - }, + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsForwardingRulesets/sampleDnsForwardingRuleset/forwardingRules/sampleForwardingRule", "properties": { "domainName": "contoso.com.", + "forwardingRuleState": "Enabled", + "metadata": { + "additionalProp1": "value1" + }, + "provisioningState": "Succecced", "targetDnsServers": [ { "ipAddress": "10.0.0.1", @@ -49,29 +48,29 @@ "ipAddress": "10.0.0.2", "port": 53 } - ], - "metadata": { - "additionalProp1": "value1" - }, - "forwardingRuleState": "Enabled", - "provisioningState": "Succecced" + ] + }, + "systemData": { + "createdAt": "2021-04-01T01:01:01.1075056Z", + "createdByType": "Application", + "lastModifiedAt": "2021-04-02T02:03:01.1974346Z", + "lastModifiedByType": "Application" } } }, - "200": { + "201": { "body": { - "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsForwardingRulesets/sampleDnsForwardingRuleset/forwardingRules/sampleForwardingRule", "name": "sampleForwardingRule", "type": "Microsoft.Network/dnsForwardingRulesets/forwardingRules", "etag": "00000000-0000-0000-0000-000000000000", - "systemData": { - "createdByType": "Application", - "createdAt": "2021-04-01T01:01:01.1075056Z", - "lastModifiedByType": "Application", - "lastModifiedAt": "2021-04-02T02:03:01.1974346Z" - }, + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsForwardingRulesets/sampleDnsForwardingRuleset/forwardingRules/sampleForwardingRule", "properties": { "domainName": "contoso.com.", + "forwardingRuleState": "Enabled", + "metadata": { + "additionalProp1": "value1" + }, + "provisioningState": "Succecced", "targetDnsServers": [ { "ipAddress": "10.0.0.1", @@ -81,14 +80,17 @@ "ipAddress": "10.0.0.2", "port": 53 } - ], - "metadata": { - "additionalProp1": "value1" - }, - "forwardingRuleState": "Enabled", - "provisioningState": "Succecced" + ] + }, + "systemData": { + "createdAt": "2021-04-01T01:01:01.1075056Z", + "createdByType": "Application", + "lastModifiedAt": "2021-04-02T02:03:01.1974346Z", + "lastModifiedByType": "Application" } } } - } + }, + "operationId": "ForwardingRules_CreateOrUpdate", + "title": "Upsert forwarding rule in a DNS forwarding ruleset" } diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/InboundEndpoint_Delete.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/InboundEndpoint_Delete.json index 8913376dd3e1..bebd0f844da0 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/InboundEndpoint_Delete.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/InboundEndpoint_Delete.json @@ -1,19 +1,21 @@ { "parameters": { - "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", - "resourceGroupName": "sampleResourceGroup", + "api-version": "2025-05-01", "dnsResolverName": "sampleDnsResolver", "inboundEndpointName": "sampleInboundEndpoint", - "api-version": "2025-05-01" + "resourceGroupName": "sampleResourceGroup", + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e" }, "responses": { "200": {}, - "204": {}, "202": { "headers": { - "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2025-05-01", - "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2025-05-01" + "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2025-05-01", + "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2025-05-01" } - } - } + }, + "204": {} + }, + "operationId": "InboundEndpoints_Delete", + "title": "Delete inbound endpoint for DNS resolver" } diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/InboundEndpoint_Get.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/InboundEndpoint_Get.json index 73213e0bb0ef..4ff08a822e46 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/InboundEndpoint_Get.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/InboundEndpoint_Get.json @@ -1,42 +1,44 @@ { "parameters": { - "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", - "resourceGroupName": "sampleResourceGroup", + "api-version": "2025-05-01", "dnsResolverName": "sampleDnsResolver", "inboundEndpointName": "sampleInboundEndpoint", - "api-version": "2025-05-01" + "resourceGroupName": "sampleResourceGroup", + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e" }, "responses": { "200": { "body": { - "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/inboundEndpoints/sampleInboundEndpoint", "name": "sampleInboundEndpoint", "type": "Microsoft.Network/dnsResolvers/inboundEndpoints", - "tags": { - "key1": "value1" - }, - "location": "westus2", "etag": "00000000-0000-0000-0000-000000000000", - "systemData": { - "createdByType": "Application", - "createdAt": "2021-04-01T01:01:01.1075056Z", - "lastModifiedByType": "Application", - "lastModifiedAt": "2021-04-02T02:03:01.1974346Z" - }, + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/inboundEndpoints/sampleInboundEndpoint", + "location": "westus2", "properties": { "ipConfigurations": [ { + "privateIpAddress": "255.255.255.255", + "privateIpAllocationMethod": "Dynamic", "subnet": { "id": "/subscriptions/0403cfa9-9659-4f33-9f30-1f191c51d111/resourceGroups/sampleVnetResourceGroupName/providers/Microsoft.Network/virtualNetworks/sampleVirtualNetwork/subnets/sampleSubnet" - }, - "privateIpAddress": "255.255.255.255", - "privateIpAllocationMethod": "Dynamic" + } } ], "provisioningState": "Succeeded", "resourceGuid": "b6b2d964-8588-4e3a-a7fe-8a5b7fe8eca5" + }, + "systemData": { + "createdAt": "2021-04-01T01:01:01.1075056Z", + "createdByType": "Application", + "lastModifiedAt": "2021-04-02T02:03:01.1974346Z", + "lastModifiedByType": "Application" + }, + "tags": { + "key1": "value1" } } } - } + }, + "operationId": "InboundEndpoints_Get", + "title": "Retrieve inbound endpoint for DNS resolver" } diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/InboundEndpoint_List.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/InboundEndpoint_List.json index 163824e53beb..b971bfdb5209 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/InboundEndpoint_List.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/InboundEndpoint_List.json @@ -1,75 +1,77 @@ { "parameters": { - "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", - "resourceGroupName": "sampleResourceGroup", + "api-version": "2025-05-01", "dnsResolverName": "sampleDnsResolver", - "api-version": "2025-05-01" + "resourceGroupName": "sampleResourceGroup", + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e" }, "responses": { "200": { "body": { + "nextLink": null, "value": [ { - "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/inboundEndpoints/sampleInboundEndpoint1", "name": "sampleInboundEndpoint1", "type": "Microsoft.Network/dnsResolvers/inboundEndpoints", - "tags": { - "key1": "value1" - }, - "location": "westus2", "etag": "00000000-0000-0000-0000-000000000000", - "systemData": { - "createdByType": "Application", - "createdAt": "2021-04-01T01:01:01.1075056Z", - "lastModifiedByType": "Application", - "lastModifiedAt": "2021-04-02T02:03:01.1974346Z" - }, + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/inboundEndpoints/sampleInboundEndpoint1", + "location": "westus2", "properties": { "ipConfigurations": [ { + "privateIpAddress": "255.1.255.1", + "privateIpAllocationMethod": "Dynamic", "subnet": { "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleVnetResourceGroupName/providers/Microsoft.Network/virtualNetworks/sampleVirtualNetwork/subnets/sampleSubnet1" - }, - "privateIpAddress": "255.1.255.1", - "privateIpAllocationMethod": "Dynamic" + } } ], "provisioningState": "Succeeded", "resourceGuid": "b6b2d964-8588-4e3a-a7fe-8a5b7fe8eca5" + }, + "systemData": { + "createdAt": "2021-04-01T01:01:01.1075056Z", + "createdByType": "Application", + "lastModifiedAt": "2021-04-02T02:03:01.1974346Z", + "lastModifiedByType": "Application" + }, + "tags": { + "key1": "value1" } }, { - "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/inboundEndpoints/sampleInboundEndpoint2", "name": "sampleInboundEndpoint2", "type": "Microsoft.Network/dnsResolvers/inboundEndpoints", - "tags": { - "key1": "value1" - }, - "location": "westus2", "etag": "00000000-0000-0000-0000-000000000000", - "systemData": { - "createdByType": "Application", - "createdAt": "2021-04-02T01:01:01.1075056Z", - "lastModifiedByType": "Application", - "lastModifiedAt": "2021-04-03T02:03:01.1974346Z" - }, + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/inboundEndpoints/sampleInboundEndpoint2", + "location": "westus2", "properties": { "ipConfigurations": [ { + "privateIpAddress": "1.1.255.1", + "privateIpAllocationMethod": "Dynamic", "subnet": { "id": "/subscriptions/0403cfa9-9659-4f33-9f30-1f191c51d111/resourceGroups/sampleVnetResourceGroupName/providers/Microsoft.Network/virtualNetworks/sampleVirtualNetwork/subnets/sampleSubnet1" - }, - "privateIpAddress": "1.1.255.1", - "privateIpAllocationMethod": "Dynamic" + } } ], "provisioningState": "Succeeded", "resourceGuid": "87b3e20a-5833-4c40-8ad7-c5160bb1c5bd" + }, + "systemData": { + "createdAt": "2021-04-02T01:01:01.1075056Z", + "createdByType": "Application", + "lastModifiedAt": "2021-04-03T02:03:01.1974346Z", + "lastModifiedByType": "Application" + }, + "tags": { + "key1": "value1" } } - ], - "nextLink": null + ] } } - } + }, + "operationId": "InboundEndpoints_List", + "title": "List inbound endpoints by DNS resolver" } diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/InboundEndpoint_Patch.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/InboundEndpoint_Patch.json index 7a52ac04afd7..d828d2014018 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/InboundEndpoint_Patch.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/InboundEndpoint_Patch.json @@ -1,7 +1,6 @@ { "parameters": { - "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", - "resourceGroupName": "sampleResourceGroup", + "api-version": "2025-05-01", "dnsResolverName": "sampleDnsResolver", "inboundEndpointName": "sampleInboundEndpoint", "parameters": { @@ -9,45 +8,48 @@ "key1": "value1" } }, - "api-version": "2025-05-01" + "resourceGroupName": "sampleResourceGroup", + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e" }, "responses": { "200": { "body": { - "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/inboundEndpoints/sampleInboundEndpoint", "name": "sampleInboundEndpoint", "type": "Microsoft.Network/dnsResolvers/inboundEndpoints", - "tags": { - "key1": "value1" - }, - "location": "westus2", "etag": "00000000-0000-0000-0000-000000000000", - "systemData": { - "createdByType": "Application", - "createdAt": "2021-04-01T01:01:01.1075056Z", - "lastModifiedByType": "Application", - "lastModifiedAt": "2021-04-02T02:03:01.1974346Z" - }, + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/inboundEndpoints/sampleInboundEndpoint", + "location": "westus2", "properties": { "ipConfigurations": [ { + "privateIpAddress": "255.255.255.255", + "privateIpAllocationMethod": "Dynamic", "subnet": { "id": "/subscriptions/0403cfa9-9659-4f33-9f30-1f191c51d111/resourceGroups/sampleVnetResourceGroupName/providers/Microsoft.Network/virtualNetworks/sampleVirtualNetwork/subnets/sampleSubnet" - }, - "privateIpAddress": "255.255.255.255", - "privateIpAllocationMethod": "Dynamic" + } } ], "provisioningState": "Succeeded", "resourceGuid": "87b3e20a-5833-4c40-8ad7-c5160bb1c5bd" + }, + "systemData": { + "createdAt": "2021-04-01T01:01:01.1075056Z", + "createdByType": "Application", + "lastModifiedAt": "2021-04-02T02:03:01.1974346Z", + "lastModifiedByType": "Application" + }, + "tags": { + "key1": "value1" } } }, "202": { "headers": { - "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2025-05-01", - "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2025-05-01" + "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2025-05-01", + "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2025-05-01" } } - } + }, + "operationId": "InboundEndpoints_Update", + "title": "Update inbound endpoint for DNS resolver" } diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/InboundEndpoint_Put.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/InboundEndpoint_Put.json index 8e316de85d7a..93f451c8d672 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/InboundEndpoint_Put.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/InboundEndpoint_Put.json @@ -1,95 +1,97 @@ { "parameters": { - "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", - "resourceGroupName": "sampleResourceGroup", + "api-version": "2025-05-01", "dnsResolverName": "sampleDnsResolver", "inboundEndpointName": "sampleInboundEndpoint", "parameters": { - "tags": { - "key1": "value1" - }, "location": "westus2", "properties": { "ipConfigurations": [ { + "privateIpAllocationMethod": "Dynamic", "subnet": { "id": "/subscriptions/0403cfa9-9659-4f33-9f30-1f191c51d111/resourceGroups/sampleVnetResourceGroupName/providers/Microsoft.Network/virtualNetworks/sampleVirtualNetwork/subnets/sampleSubnet" - }, - "privateIpAllocationMethod": "Dynamic" + } } ] + }, + "tags": { + "key1": "value1" } }, - "api-version": "2025-05-01" + "resourceGroupName": "sampleResourceGroup", + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e" }, "responses": { - "201": { + "200": { "body": { - "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/inboundEndpoints/sampleInboundEndpoint", "name": "sampleInboundEndpoint", "type": "Microsoft.Network/dnsResolvers/inboundEndpoints", - "tags": { - "key1": "value1" - }, - "location": "westus2", "etag": "00000000-0000-0000-0000-000000000000", - "systemData": { - "createdByType": "Application", - "createdAt": "2021-04-01T01:01:01.1075056Z", - "lastModifiedByType": "Application", - "lastModifiedAt": "2021-04-02T02:03:01.1974346Z" - }, + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/inboundEndpoints/sampleInboundEndpoint", + "location": "westus2", "properties": { "ipConfigurations": [ { + "privateIpAddress": "255.255.255.255", + "privateIpAllocationMethod": "Dynamic", "subnet": { "id": "/subscriptions/0403cfa9-9659-4f33-9f30-1f191c51d111/resourceGroups/sampleVnetResourceGroupName/providers/Microsoft.Network/virtualNetworks/sampleVirtualNetwork/subnets/sampleSubnet" - }, - "privateIpAddress": "255.255.255.255", - "privateIpAllocationMethod": "Dynamic" + } } ], "provisioningState": "Succeeded", - "resourceGuid": "b6b2d964-8588-4e3a-a7fe-8a5b7fe8eca5" + "resourceGuid": "87b3e20a-5833-4c40-8ad7-c5160bb1c5bd" + }, + "systemData": { + "createdAt": "2021-04-01T01:01:01.1075056Z", + "createdByType": "Application", + "lastModifiedAt": "2021-04-02T02:03:01.1974346Z", + "lastModifiedByType": "Application" + }, + "tags": { + "key1": "value1" } } }, - "200": { + "201": { "body": { - "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/inboundEndpoints/sampleInboundEndpoint", "name": "sampleInboundEndpoint", "type": "Microsoft.Network/dnsResolvers/inboundEndpoints", - "tags": { - "key1": "value1" - }, - "location": "westus2", "etag": "00000000-0000-0000-0000-000000000000", - "systemData": { - "createdByType": "Application", - "createdAt": "2021-04-01T01:01:01.1075056Z", - "lastModifiedByType": "Application", - "lastModifiedAt": "2021-04-02T02:03:01.1974346Z" - }, + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/inboundEndpoints/sampleInboundEndpoint", + "location": "westus2", "properties": { "ipConfigurations": [ { + "privateIpAddress": "255.255.255.255", + "privateIpAllocationMethod": "Dynamic", "subnet": { "id": "/subscriptions/0403cfa9-9659-4f33-9f30-1f191c51d111/resourceGroups/sampleVnetResourceGroupName/providers/Microsoft.Network/virtualNetworks/sampleVirtualNetwork/subnets/sampleSubnet" - }, - "privateIpAddress": "255.255.255.255", - "privateIpAllocationMethod": "Dynamic" + } } ], "provisioningState": "Succeeded", - "resourceGuid": "87b3e20a-5833-4c40-8ad7-c5160bb1c5bd" + "resourceGuid": "b6b2d964-8588-4e3a-a7fe-8a5b7fe8eca5" + }, + "systemData": { + "createdAt": "2021-04-01T01:01:01.1075056Z", + "createdByType": "Application", + "lastModifiedAt": "2021-04-02T02:03:01.1974346Z", + "lastModifiedByType": "Application" + }, + "tags": { + "key1": "value1" } } }, "202": { "headers": { - "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2025-05-01", - "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2025-05-01" + "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2025-05-01", + "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2025-05-01" } } - } + }, + "operationId": "InboundEndpoints_CreateOrUpdate", + "title": "Upsert inbound endpoint for DNS resolver" } diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/OutboundEndpoint_Delete.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/OutboundEndpoint_Delete.json index 4157c64a1916..90bd67b6d778 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/OutboundEndpoint_Delete.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/OutboundEndpoint_Delete.json @@ -1,19 +1,21 @@ { "parameters": { - "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", - "resourceGroupName": "sampleResourceGroup", + "api-version": "2025-05-01", "dnsResolverName": "sampleDnsResolver", "outboundEndpointName": "sampleOutboundEndpoint", - "api-version": "2025-05-01" + "resourceGroupName": "sampleResourceGroup", + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e" }, "responses": { "200": {}, - "204": {}, "202": { "headers": { - "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2025-05-01", - "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2025-05-01" + "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2025-05-01", + "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2025-05-01" } - } - } + }, + "204": {} + }, + "operationId": "OutboundEndpoints_Delete", + "title": "Delete outbound endpoint for DNS resolver" } diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/OutboundEndpoint_Get.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/OutboundEndpoint_Get.json index 4d455852183a..ec5d5020df78 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/OutboundEndpoint_Get.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/OutboundEndpoint_Get.json @@ -1,36 +1,38 @@ { "parameters": { - "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", - "resourceGroupName": "sampleResourceGroup", + "api-version": "2025-05-01", "dnsResolverName": "sampleDnsResolver", "outboundEndpointName": "sampleOutboundEndpoint", - "api-version": "2025-05-01" + "resourceGroupName": "sampleResourceGroup", + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e" }, "responses": { "200": { "body": { - "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/outboundEndpoints/sampleOutboundEndpoint", "name": "sampleOutboundEndpoint", "type": "Microsoft.Network/dnsResolvers/outboundEndpoints", - "tags": { - "key1": "value1" - }, - "location": "westus2", "etag": "00000000-0000-0000-0000-000000000000", - "systemData": { - "createdByType": "Application", - "createdAt": "2021-04-01T01:01:01.1075056Z", - "lastModifiedByType": "Application", - "lastModifiedAt": "2021-04-02T02:03:01.1974346Z" - }, + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/outboundEndpoints/sampleOutboundEndpoint", + "location": "westus2", "properties": { + "provisioningState": "Succecced", + "resourceGuid": "b4d35f41-0c70-4ec7-bb3e-0cd9f8b7e4be", "subnet": { "id": "/subscriptions/0403cfa9-9659-4f33-9f30-1f191c51d111/resourceGroups/sampleVnetResourceGroupName/providers/Microsoft.Network/virtualNetworks/sampleVirtualNetwork/subnets/sampleSubnet" - }, - "provisioningState": "Succecced", - "resourceGuid": "b4d35f41-0c70-4ec7-bb3e-0cd9f8b7e4be" + } + }, + "systemData": { + "createdAt": "2021-04-01T01:01:01.1075056Z", + "createdByType": "Application", + "lastModifiedAt": "2021-04-02T02:03:01.1974346Z", + "lastModifiedByType": "Application" + }, + "tags": { + "key1": "value1" } } } - } + }, + "operationId": "OutboundEndpoints_Get", + "title": "Retrieve outbound endpoint for DNS resolver" } diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/OutboundEndpoint_List.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/OutboundEndpoint_List.json index 91d9e83a313c..03a0495071bd 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/OutboundEndpoint_List.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/OutboundEndpoint_List.json @@ -1,63 +1,65 @@ { "parameters": { - "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", - "resourceGroupName": "sampleResourceGroup", + "api-version": "2025-05-01", "dnsResolverName": "sampleDnsResolver", - "api-version": "2025-05-01" + "resourceGroupName": "sampleResourceGroup", + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e" }, "responses": { "200": { "body": { + "nextLink": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/outboundEndpoints?$skipToken=skipToken&api-version=2025-05-01", "value": [ { - "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/outboundEndpoints/sampleOutboundEndpoint", "name": "sampleOutboundEndpoint", "type": "Microsoft.Network/dnsResolvers/outboundEndpoints", - "tags": { - "key1": "value1" - }, - "location": "westus2", "etag": "00000000-0000-0000-0000-000000000000", - "systemData": { - "createdByType": "Application", - "createdAt": "2021-04-01T01:01:01.1075056Z", - "lastModifiedByType": "Application", - "lastModifiedAt": "2021-04-02T02:03:01.1974346Z" - }, + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/outboundEndpoints/sampleOutboundEndpoint", + "location": "westus2", "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "b4d35f41-0c70-4ec7-bb3e-0cd9f8b7e4be", "subnet": { "id": "/subscriptions/0403cfa9-9659-4f33-9f30-1f191c51d111/resourceGroups/sampleVnetResourceGroupName/providers/Microsoft.Network/virtualNetworks/sampleVirtualNetwork/subnets/sampleSubnet" - }, - "provisioningState": "Succeeded", - "resourceGuid": "b4d35f41-0c70-4ec7-bb3e-0cd9f8b7e4be" + } + }, + "systemData": { + "createdAt": "2021-04-01T01:01:01.1075056Z", + "createdByType": "Application", + "lastModifiedAt": "2021-04-02T02:03:01.1974346Z", + "lastModifiedByType": "Application" + }, + "tags": { + "key1": "value1" } }, { - "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/outboundEndpoints/sampleOutboundEndpoint1", "name": "sampleOutboundEndpoint1", "type": "Microsoft.Network/dnsResolvers/outboundEndpoints", - "tags": { - "key1": "value1" - }, - "location": "westus2", "etag": "00000000-0000-0000-0000-000000000000", - "systemData": { - "createdByType": "Application", - "createdAt": "2021-04-01T01:01:01.1075056Z", - "lastModifiedByType": "Application", - "lastModifiedAt": "2021-04-02T02:03:01.1974346Z" - }, + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/outboundEndpoints/sampleOutboundEndpoint1", + "location": "westus2", "properties": { + "provisioningState": "Succecced", + "resourceGuid": "b4d35f41-0c70-4ec7-bb3e-0cd9f8b7e4be", "subnet": { "id": "/subscriptions/0403cfa9-9659-4f33-9f30-1f191c51d111/resourceGroups/sampleVnetResourceGroupName/providers/Microsoft.Network/virtualNetworks/sampleVirtualNetwork/subnets/sampleSubnet1" - }, - "provisioningState": "Succecced", - "resourceGuid": "b4d35f41-0c70-4ec7-bb3e-0cd9f8b7e4be" + } + }, + "systemData": { + "createdAt": "2021-04-01T01:01:01.1075056Z", + "createdByType": "Application", + "lastModifiedAt": "2021-04-02T02:03:01.1974346Z", + "lastModifiedByType": "Application" + }, + "tags": { + "key1": "value1" } } - ], - "nextLink": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/outboundEndpoints?$skipToken=skipToken&api-version=2025-05-01" + ] } } - } + }, + "operationId": "OutboundEndpoints_List", + "title": "List outbound endpoints by DNS resolver" } diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/OutboundEndpoint_Patch.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/OutboundEndpoint_Patch.json index e593227b733d..5a65fe2004bf 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/OutboundEndpoint_Patch.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/OutboundEndpoint_Patch.json @@ -1,7 +1,6 @@ { "parameters": { - "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", - "resourceGroupName": "sampleResourceGroup", + "api-version": "2025-05-01", "dnsResolverName": "sampleDnsResolver", "outboundEndpointName": "sampleOutboundEndpoint", "parameters": { @@ -9,39 +8,42 @@ "key1": "value1" } }, - "api-version": "2025-05-01" + "resourceGroupName": "sampleResourceGroup", + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e" }, "responses": { "200": { "body": { - "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/outboundEndpoints/sampleOutboundEndpoint", "name": "sampleOutboundEndpoint", "type": "Microsoft.Network/dnsResolvers/outboundEndpoints", - "tags": { - "key1": "value1" - }, - "location": "westus2", "etag": "00000000-0000-0000-0000-000000000000", - "systemData": { - "createdByType": "Application", - "createdAt": "2021-04-01T01:01:01.1075056Z", - "lastModifiedByType": "Application", - "lastModifiedAt": "2021-04-02T02:03:01.1974346Z" - }, + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/outboundEndpoints/sampleOutboundEndpoint", + "location": "westus2", "properties": { + "provisioningState": "Succecced", + "resourceGuid": "b4d35f41-0c70-4ec7-bb3e-0cd9f8b7e4be", "subnet": { "id": "/subscriptions/0403cfa9-9659-4f33-9f30-1f191c51d111/resourceGroups/sampleVnetResourceGroupName/providers/Microsoft.Network/virtualNetworks/sampleVirtualNetwork/subnets/sampleSubnet" - }, - "provisioningState": "Succecced", - "resourceGuid": "b4d35f41-0c70-4ec7-bb3e-0cd9f8b7e4be" + } + }, + "systemData": { + "createdAt": "2021-04-01T01:01:01.1075056Z", + "createdByType": "Application", + "lastModifiedAt": "2021-04-02T02:03:01.1974346Z", + "lastModifiedByType": "Application" + }, + "tags": { + "key1": "value1" } } }, "202": { "headers": { - "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2025-05-01", - "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2025-05-01" + "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2025-05-01", + "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2025-05-01" } } - } + }, + "operationId": "OutboundEndpoints_Update", + "title": "Update outbound endpoint for DNS resolver" } diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/OutboundEndpoint_Put.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/OutboundEndpoint_Put.json index acd14a96a195..703ded498abc 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/OutboundEndpoint_Put.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/OutboundEndpoint_Put.json @@ -1,77 +1,79 @@ { "parameters": { - "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", - "resourceGroupName": "sampleResourceGroup", + "api-version": "2025-05-01", "dnsResolverName": "sampleDnsResolver", "outboundEndpointName": "sampleOutboundEndpoint", "parameters": { - "tags": { - "key1": "value1" - }, "location": "westus2", "properties": { "subnet": { "id": "/subscriptions/0403cfa9-9659-4f33-9f30-1f191c51d111/resourceGroups/sampleVnetResourceGroupName/providers/Microsoft.Network/virtualNetworks/sampleVirtualNetwork/subnets/sampleSubnet" } + }, + "tags": { + "key1": "value1" } }, - "api-version": "2025-05-01" + "resourceGroupName": "sampleResourceGroup", + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e" }, "responses": { - "201": { + "200": { "body": { - "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/outboundEndpoints/sampleOutboundEndpoint", "name": "sampleOutboundEndpoint", "type": "Microsoft.Network/dnsResolvers/outboundEndpoints", - "tags": { - "key1": "value1" - }, - "location": "westus2", "etag": "00000000-0000-0000-0000-000000000000", - "systemData": { - "createdByType": "Application", - "createdAt": "2021-04-01T01:01:01.1075056Z", - "lastModifiedByType": "Application", - "lastModifiedAt": "2021-04-02T02:03:01.1974346Z" - }, + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/outboundEndpoints/sampleOutboundEndpoint", + "location": "westus2", "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "87b3e20a-5833-4c40-8ad7-c5160bb1c5bd", "subnet": { "id": "/subscriptions/0403cfa9-9659-4f33-9f30-1f191c51d111/resourceGroups/sampleVnetResourceGroupName/providers/Microsoft.Network/virtualNetworks/sampleVirtualNetwork/subnets/sampleSubnet" - }, - "provisioningState": "Succeeded" + } + }, + "systemData": { + "createdAt": "2021-04-01T01:01:01.1075056Z", + "createdByType": "Application", + "lastModifiedAt": "2021-04-02T02:03:01.1974346Z", + "lastModifiedByType": "Application" + }, + "tags": { + "key1": "value1" } } }, - "200": { + "201": { "body": { - "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/outboundEndpoints/sampleOutboundEndpoint", "name": "sampleOutboundEndpoint", "type": "Microsoft.Network/dnsResolvers/outboundEndpoints", - "tags": { - "key1": "value1" - }, - "location": "westus2", "etag": "00000000-0000-0000-0000-000000000000", - "systemData": { - "createdByType": "Application", - "createdAt": "2021-04-01T01:01:01.1075056Z", - "lastModifiedByType": "Application", - "lastModifiedAt": "2021-04-02T02:03:01.1974346Z" - }, + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/outboundEndpoints/sampleOutboundEndpoint", + "location": "westus2", "properties": { + "provisioningState": "Succeeded", "subnet": { "id": "/subscriptions/0403cfa9-9659-4f33-9f30-1f191c51d111/resourceGroups/sampleVnetResourceGroupName/providers/Microsoft.Network/virtualNetworks/sampleVirtualNetwork/subnets/sampleSubnet" - }, - "provisioningState": "Succeeded", - "resourceGuid": "87b3e20a-5833-4c40-8ad7-c5160bb1c5bd" + } + }, + "systemData": { + "createdAt": "2021-04-01T01:01:01.1075056Z", + "createdByType": "Application", + "lastModifiedAt": "2021-04-02T02:03:01.1974346Z", + "lastModifiedByType": "Application" + }, + "tags": { + "key1": "value1" } } }, "202": { "headers": { - "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2025-05-01", - "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2025-05-01" + "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2025-05-01", + "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2025-05-01" } } - } + }, + "operationId": "OutboundEndpoints_CreateOrUpdate", + "title": "Upsert outbound endpoint for DNS resolver" } diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/VirtualNetworkLink_Delete.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/VirtualNetworkLink_Delete.json index 19a35781b900..5588b1ddcc2e 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/VirtualNetworkLink_Delete.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/VirtualNetworkLink_Delete.json @@ -1,19 +1,21 @@ { "parameters": { - "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", - "resourceGroupName": "sampleResourceGroup", + "api-version": "2025-05-01", "dnsForwardingRulesetName": "sampleDnsForwardingRuleset", - "virtualNetworkLinkName": "sampleVirtualNetworkLink", - "api-version": "2025-05-01" + "resourceGroupName": "sampleResourceGroup", + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", + "virtualNetworkLinkName": "sampleVirtualNetworkLink" }, "responses": { "200": {}, - "204": {}, "202": { "headers": { - "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2025-05-01", - "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2025-05-01" + "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2025-05-01", + "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2025-05-01" } - } - } + }, + "204": {} + }, + "operationId": "VirtualNetworkLinks_Delete", + "title": "Delete virtual network link to a DNS forwarding ruleset" } diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/VirtualNetworkLink_Get.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/VirtualNetworkLink_Get.json index cd942b12dc2e..7f85cf875c9b 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/VirtualNetworkLink_Get.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/VirtualNetworkLink_Get.json @@ -1,34 +1,36 @@ { "parameters": { - "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", - "resourceGroupName": "sampleResourceGroup", + "api-version": "2025-05-01", "dnsForwardingRulesetName": "sampleDnsForwardingRuleset", - "virtualNetworkLinkName": "sampleVirtualNetworkLink", - "api-version": "2025-05-01" + "resourceGroupName": "sampleResourceGroup", + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", + "virtualNetworkLinkName": "sampleVirtualNetworkLink" }, "responses": { "200": { "body": { - "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsForwardingRuleset/sampleDnsForwardingRuleset/virtualNetworkLinks/sampleVirtualNetworkLink", "name": "sampleVirtualNetworkLink", "type": "Microsoft.Network/dnsForwardingRulesets/virtualNetworkLinks", "etag": "00000000-0000-0000-0000-000000000000", - "systemData": { - "createdByType": "Application", - "createdAt": "2021-04-01T01:01:01.1075056Z", - "lastModifiedByType": "Application", - "lastModifiedAt": "2021-04-02T02:03:01.1974346Z" - }, + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsForwardingRuleset/sampleDnsForwardingRuleset/virtualNetworkLinks/sampleVirtualNetworkLink", "properties": { - "virtualNetwork": { - "id": "/subscriptions/0403cfa9-9659-4f33-9f30-1f191c51d111/resourceGroups/sampleVnetResourceGroupName/providers/Microsoft.Network/virtualNetworks/sampleVirtualNetwork" - }, "metadata": { "additionalProp1": "value1" }, - "provisioningState": "Succecced" + "provisioningState": "Succecced", + "virtualNetwork": { + "id": "/subscriptions/0403cfa9-9659-4f33-9f30-1f191c51d111/resourceGroups/sampleVnetResourceGroupName/providers/Microsoft.Network/virtualNetworks/sampleVirtualNetwork" + } + }, + "systemData": { + "createdAt": "2021-04-01T01:01:01.1075056Z", + "createdByType": "Application", + "lastModifiedAt": "2021-04-02T02:03:01.1974346Z", + "lastModifiedByType": "Application" } } } - } + }, + "operationId": "VirtualNetworkLinks_Get", + "title": "Retrieve virtual network link to a DNS forwarding ruleset" } diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/VirtualNetworkLink_List.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/VirtualNetworkLink_List.json index dcaef6f4c120..71657dc58151 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/VirtualNetworkLink_List.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/VirtualNetworkLink_List.json @@ -1,38 +1,40 @@ { "parameters": { - "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", - "resourceGroupName": "sampleResourceGroup", + "api-version": "2025-05-01", "dnsForwardingRulesetName": "sampleDnsForwardingRuleset", - "api-version": "2025-05-01" + "resourceGroupName": "sampleResourceGroup", + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e" }, "responses": { "200": { "body": { + "nextLink": null, "value": [ { - "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsForwardingRuleset/sampleDnsForwardingRuleset/virtualNetworkLinks/sampleVirtualNetworkLink", "name": "sampleVirtualNetworkLink", "type": "Microsoft.Network/dnsForwardingRulesets/virtualNetworkLinks", "etag": "00000000-0000-0000-0000-000000000000", - "systemData": { - "createdByType": "Application", - "createdAt": "2021-04-01T01:01:01.1075056Z", - "lastModifiedByType": "Application", - "lastModifiedAt": "2021-04-02T02:03:01.1974346Z" - }, + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsForwardingRuleset/sampleDnsForwardingRuleset/virtualNetworkLinks/sampleVirtualNetworkLink", "properties": { - "virtualNetwork": { - "id": "/subscriptions/0403cfa9-9659-4f33-9f30-1f191c51d111/resourceGroups/sampleVnetResourceGroupName/providers/Microsoft.Network/virtualNetworks/sampleVirtualNetwork" - }, "metadata": { "additionalProp1": "value1" }, - "provisioningState": "Succecced" + "provisioningState": "Succecced", + "virtualNetwork": { + "id": "/subscriptions/0403cfa9-9659-4f33-9f30-1f191c51d111/resourceGroups/sampleVnetResourceGroupName/providers/Microsoft.Network/virtualNetworks/sampleVirtualNetwork" + } + }, + "systemData": { + "createdAt": "2021-04-01T01:01:01.1075056Z", + "createdByType": "Application", + "lastModifiedAt": "2021-04-02T02:03:01.1974346Z", + "lastModifiedByType": "Application" } } - ], - "nextLink": null + ] } } - } + }, + "operationId": "VirtualNetworkLinks_List", + "title": "List virtual network links to a DNS forwarding ruleset" } diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/VirtualNetworkLink_Patch.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/VirtualNetworkLink_Patch.json index b65de2cf4840..edaeb3735769 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/VirtualNetworkLink_Patch.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/VirtualNetworkLink_Patch.json @@ -1,9 +1,7 @@ { "parameters": { - "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", - "resourceGroupName": "sampleResourceGroup", + "api-version": "2025-05-01", "dnsForwardingRulesetName": "sampleDnsForwardingRuleset", - "virtualNetworkLinkName": "sampleVirtualNetworkLink", "parameters": { "properties": { "metadata": { @@ -11,37 +9,41 @@ } } }, - "api-version": "2025-05-01" + "resourceGroupName": "sampleResourceGroup", + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", + "virtualNetworkLinkName": "sampleVirtualNetworkLink" }, "responses": { "200": { "body": { - "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsForwardingRuleset/sampleDnsForwardingRuleset/virtualNetworkLinks/sampleVirtualNetworkLink", "name": "sampleVirtualNetworkLink", "type": "Microsoft.Network/dnsForwardingRulesets/virtualNetworkLinks", "etag": "00000000-0000-0000-0000-000000000000", - "systemData": { - "createdByType": "Application", - "createdAt": "2021-04-01T01:01:01.1075056Z", - "lastModifiedByType": "Application", - "lastModifiedAt": "2021-04-02T02:03:01.1974346Z" - }, + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsForwardingRuleset/sampleDnsForwardingRuleset/virtualNetworkLinks/sampleVirtualNetworkLink", "properties": { - "virtualNetwork": { - "id": "/subscriptions/0403cfa9-9659-4f33-9f30-1f191c51d111/resourceGroups/sampleVnetResourceGroupName/providers/Microsoft.Network/virtualNetworks/sampleVirtualNetwork" - }, "metadata": { "additionalProp1": "value1" }, - "provisioningState": "Succecced" + "provisioningState": "Succecced", + "virtualNetwork": { + "id": "/subscriptions/0403cfa9-9659-4f33-9f30-1f191c51d111/resourceGroups/sampleVnetResourceGroupName/providers/Microsoft.Network/virtualNetworks/sampleVirtualNetwork" + } + }, + "systemData": { + "createdAt": "2021-04-01T01:01:01.1075056Z", + "createdByType": "Application", + "lastModifiedAt": "2021-04-02T02:03:01.1974346Z", + "lastModifiedByType": "Application" } } }, "202": { "headers": { - "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2025-05-01", - "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2025-05-01" + "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2025-05-01", + "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2025-05-01" } } - } + }, + "operationId": "VirtualNetworkLinks_Update", + "title": "Update virtual network link to a DNS forwarding ruleset" } diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/VirtualNetworkLink_Put.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/VirtualNetworkLink_Put.json index 48e7fbc0e46f..ed62dce1269d 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/VirtualNetworkLink_Put.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/examples/VirtualNetworkLink_Put.json @@ -1,73 +1,75 @@ { "parameters": { - "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", - "resourceGroupName": "sampleResourceGroup", + "api-version": "2025-05-01", "dnsForwardingRulesetName": "sampleDnsForwardingRuleset", - "virtualNetworkLinkName": "sampleVirtualNetworkLink", "parameters": { "properties": { - "virtualNetwork": { - "id": "/subscriptions/0403cfa9-9659-4f33-9f30-1f191c51d111/resourceGroups/sampleVnetResourceGroupName/providers/Microsoft.Network/virtualNetworks/sampleVirtualNetwork" - }, "metadata": { "additionalProp1": "value1" + }, + "virtualNetwork": { + "id": "/subscriptions/0403cfa9-9659-4f33-9f30-1f191c51d111/resourceGroups/sampleVnetResourceGroupName/providers/Microsoft.Network/virtualNetworks/sampleVirtualNetwork" } } }, - "api-version": "2025-05-01" + "resourceGroupName": "sampleResourceGroup", + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", + "virtualNetworkLinkName": "sampleVirtualNetworkLink" }, "responses": { - "201": { + "200": { "body": { - "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsForwardingRuleset/sampleDnsForwardingRuleset/virtualNetworkLinks/sampleVirtualNetworkLink", "name": "sampleVirtualNetworkLink", "type": "Microsoft.Network/dnsForwardingRulesets/virtualNetworkLinks", "etag": "00000000-0000-0000-0000-000000000000", - "systemData": { - "createdByType": "Application", - "createdAt": "2021-04-01T01:01:01.1075056Z", - "lastModifiedByType": "Application", - "lastModifiedAt": "2021-04-02T02:03:01.1974346Z" - }, + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsForwardingRuleset/sampleDnsForwardingRuleset/virtualNetworkLinks/sampleVirtualNetworkLink", "properties": { - "virtualNetwork": { - "id": "/subscriptions/0403cfa9-9659-4f33-9f30-1f191c51d111/resourceGroups/sampleVnetResourceGroupName/providers/Microsoft.Network/virtualNetworks/sampleVirtualNetwork" - }, "metadata": { "additionalProp1": "value1" }, - "provisioningState": "Succecced" + "provisioningState": "Succecced", + "virtualNetwork": { + "id": "/subscriptions/0403cfa9-9659-4f33-9f30-1f191c51d111/resourceGroups/sampleVnetResourceGroupName/providers/Microsoft.Network/virtualNetworks/sampleVirtualNetwork" + } + }, + "systemData": { + "createdAt": "2021-04-01T01:01:01.1075056Z", + "createdByType": "Application", + "lastModifiedAt": "2021-04-02T02:03:01.1974346Z", + "lastModifiedByType": "Application" } } }, - "200": { + "201": { "body": { - "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsForwardingRuleset/sampleDnsForwardingRuleset/virtualNetworkLinks/sampleVirtualNetworkLink", "name": "sampleVirtualNetworkLink", "type": "Microsoft.Network/dnsForwardingRulesets/virtualNetworkLinks", "etag": "00000000-0000-0000-0000-000000000000", - "systemData": { - "createdByType": "Application", - "createdAt": "2021-04-01T01:01:01.1075056Z", - "lastModifiedByType": "Application", - "lastModifiedAt": "2021-04-02T02:03:01.1974346Z" - }, + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsForwardingRuleset/sampleDnsForwardingRuleset/virtualNetworkLinks/sampleVirtualNetworkLink", "properties": { - "virtualNetwork": { - "id": "/subscriptions/0403cfa9-9659-4f33-9f30-1f191c51d111/resourceGroups/sampleVnetResourceGroupName/providers/Microsoft.Network/virtualNetworks/sampleVirtualNetwork" - }, "metadata": { "additionalProp1": "value1" }, - "provisioningState": "Succecced" + "provisioningState": "Succecced", + "virtualNetwork": { + "id": "/subscriptions/0403cfa9-9659-4f33-9f30-1f191c51d111/resourceGroups/sampleVnetResourceGroupName/providers/Microsoft.Network/virtualNetworks/sampleVirtualNetwork" + } + }, + "systemData": { + "createdAt": "2021-04-01T01:01:01.1075056Z", + "createdByType": "Application", + "lastModifiedAt": "2021-04-02T02:03:01.1974346Z", + "lastModifiedByType": "Application" } } }, "202": { "headers": { - "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2025-05-01", - "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2025-05-01" + "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2025-05-01", + "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2025-05-01" } } - } + }, + "operationId": "VirtualNetworkLinks_CreateOrUpdate", + "title": "Upsert virtual network link to a DNS forwarding ruleset" } diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/openapi.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/openapi.json new file mode 100644 index 000000000000..a08e9f52be99 --- /dev/null +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2025-05-01/openapi.json @@ -0,0 +1,5566 @@ +{ + "swagger": "2.0", + "info": { + "title": "DnsResolverManagementClient", + "version": "2025-05-01", + "description": "The DNS Resolver Management Client.", + "x-typespec-generated": [ + { + "emitter": "@azure-tools/typespec-autorest" + } + ] + }, + "schemes": [ + "https" + ], + "host": "management.azure.com", + "produces": [ + "application/json" + ], + "consumes": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "description": "Azure Active Directory OAuth2 Flow.", + "flow": "implicit", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "tags": [ + { + "name": "DnsResolvers" + }, + { + "name": "InboundEndpoints" + }, + { + "name": "OutboundEndpoints" + }, + { + "name": "DnsForwardingRulesets" + }, + { + "name": "ForwardingRules" + }, + { + "name": "VirtualNetworkLinks" + }, + { + "name": "DnsResolverPolicies" + }, + { + "name": "DnsSecurityRules" + }, + { + "name": "DnsResolverPolicyVirtualNetworkLinks" + }, + { + "name": "DnsResolverDomainLists" + } + ], + "paths": { + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/dnsForwardingRulesets": { + "get": { + "operationId": "DnsForwardingRulesets_List", + "tags": [ + "DnsForwardingRulesets" + ], + "description": "Lists DNS forwarding rulesets in all resource groups of a subscription.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "$top", + "in": "query", + "description": "The maximum number of results to return. If not specified, returns up to 100 results.", + "required": false, + "type": "integer", + "format": "int32" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/DnsForwardingRulesetListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "List DNS forwarding rulesets by subscription": { + "$ref": "./examples/DnsForwardingRuleset_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/dnsResolverDomainLists": { + "get": { + "operationId": "DnsResolverDomainLists_List", + "tags": [ + "DnsResolverDomainLists" + ], + "description": "Lists DNS resolver domain lists in all resource groups of a subscription.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "$top", + "in": "query", + "description": "The maximum number of results to return. If not specified, returns up to 100 results.", + "required": false, + "type": "integer", + "format": "int32" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/DnsResolverDomainListListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List DNS resolver domain lists by subscription": { + "$ref": "./examples/DnsResolverDomainList_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/dnsResolverPolicies": { + "get": { + "operationId": "DnsResolverPolicies_List", + "tags": [ + "DnsResolverPolicies" + ], + "description": "Lists DNS resolver policies in all resource groups of a subscription.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "$top", + "in": "query", + "description": "The maximum number of results to return. If not specified, returns up to 100 results.", + "required": false, + "type": "integer", + "format": "int32" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/DnsResolverPolicyListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List DNS resolver policies by subscription": { + "$ref": "./examples/DnsResolverPolicy_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/dnsResolvers": { + "get": { + "operationId": "DnsResolvers_List", + "tags": [ + "DnsResolvers" + ], + "description": "Lists DNS resolvers in all resource groups of a subscription.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "$top", + "in": "query", + "description": "The maximum number of results to return. If not specified, returns up to 100 results.", + "required": false, + "type": "integer", + "format": "int32" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/DnsResolverListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "List DNS resolvers by subscription": { + "$ref": "./examples/DnsResolver_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsForwardingRulesets": { + "get": { + "operationId": "DnsForwardingRulesets_ListByResourceGroup", + "tags": [ + "DnsForwardingRulesets" + ], + "description": "Lists DNS forwarding rulesets within a resource group.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "$top", + "in": "query", + "description": "The maximum number of results to return. If not specified, returns up to 100 results.", + "required": false, + "type": "integer", + "format": "int32" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/DnsForwardingRulesetListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "List DNS forwarding rulesets by resource group": { + "$ref": "./examples/DnsForwardingRuleset_ListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsForwardingRulesets/{dnsForwardingRulesetName}": { + "get": { + "operationId": "DnsForwardingRulesets_Get", + "tags": [ + "DnsForwardingRulesets" + ], + "description": "Gets a DNS forwarding ruleset properties.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "dnsForwardingRulesetName", + "in": "path", + "description": "The name of the DNS forwarding ruleset.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/DnsForwardingRuleset" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Retrieve DNS forwarding ruleset": { + "$ref": "./examples/DnsForwardingRuleset_Get.json" + } + } + }, + "put": { + "operationId": "DnsForwardingRulesets_CreateOrUpdate", + "tags": [ + "DnsForwardingRulesets" + ], + "description": "Creates or updates a DNS forwarding ruleset.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "dnsForwardingRulesetName", + "in": "path", + "description": "The name of the DNS forwarding ruleset.", + "required": true, + "type": "string" + }, + { + "name": "if-match", + "in": "header", + "description": "ETag of the resource. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes.", + "required": false, + "type": "string", + "x-ms-client-name": "ifMatch" + }, + { + "name": "if-none-match", + "in": "header", + "description": "Set to '*' to allow a new resource to be created, but to prevent updating an existing resource. Other values will be ignored.", + "required": false, + "type": "string", + "x-ms-client-name": "ifNoneMatch" + }, + { + "name": "parameters", + "in": "body", + "description": "Parameters supplied to the CreateOrUpdate operation.", + "required": true, + "schema": { + "$ref": "#/definitions/DnsForwardingRuleset" + } + } + ], + "responses": { + "200": { + "description": "Resource 'DnsForwardingRuleset' update operation succeeded", + "schema": { + "$ref": "#/definitions/DnsForwardingRuleset" + } + }, + "201": { + "description": "Resource 'DnsForwardingRuleset' create operation succeeded", + "schema": { + "$ref": "#/definitions/DnsForwardingRuleset" + }, + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Upsert DNS forwarding ruleset": { + "$ref": "./examples/DnsForwardingRuleset_Put.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/DnsForwardingRuleset" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "DnsForwardingRulesets_Update", + "tags": [ + "DnsForwardingRulesets" + ], + "description": "Updates a DNS forwarding ruleset.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "dnsForwardingRulesetName", + "in": "path", + "description": "The name of the DNS forwarding ruleset.", + "required": true, + "type": "string" + }, + { + "name": "if-match", + "in": "header", + "description": "ETag of the resource. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes.", + "required": false, + "type": "string", + "x-ms-client-name": "ifMatch" + }, + { + "name": "parameters", + "in": "body", + "description": "Parameters supplied to the Update operation.", + "required": true, + "schema": { + "$ref": "#/definitions/DnsForwardingRulesetPatch" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/DnsForwardingRuleset" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Update DNS forwarding ruleset": { + "$ref": "./examples/DnsForwardingRuleset_Patch.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/DnsForwardingRuleset" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "DnsForwardingRulesets_Delete", + "tags": [ + "DnsForwardingRulesets" + ], + "description": "Deletes a DNS forwarding ruleset. WARNING: This operation cannot be undone. All forwarding rules within the ruleset will be deleted.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "dnsForwardingRulesetName", + "in": "path", + "description": "The name of the DNS forwarding ruleset.", + "required": true, + "type": "string" + }, + { + "name": "if-match", + "in": "header", + "description": "ETag of the resource. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes.", + "required": false, + "type": "string", + "x-ms-client-name": "ifMatch" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Delete DNS forwarding ruleset": { + "$ref": "./examples/DnsForwardingRuleset_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsForwardingRulesets/{dnsForwardingRulesetName}/forwardingRules": { + "get": { + "operationId": "ForwardingRules_List", + "tags": [ + "ForwardingRules" + ], + "description": "Lists forwarding rules in a DNS forwarding ruleset.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "dnsForwardingRulesetName", + "in": "path", + "description": "The name of the DNS forwarding ruleset.", + "required": true, + "type": "string" + }, + { + "name": "$top", + "in": "query", + "description": "The maximum number of results to return. If not specified, returns up to 100 results.", + "required": false, + "type": "integer", + "format": "int32" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ForwardingRuleListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "List forwarding rules in a DNS forwarding ruleset": { + "$ref": "./examples/ForwardingRule_List.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsForwardingRulesets/{dnsForwardingRulesetName}/forwardingRules/{forwardingRuleName}": { + "get": { + "operationId": "ForwardingRules_Get", + "tags": [ + "ForwardingRules" + ], + "description": "Gets properties of a forwarding rule in a DNS forwarding ruleset.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "dnsForwardingRulesetName", + "in": "path", + "description": "The name of the DNS forwarding ruleset.", + "required": true, + "type": "string" + }, + { + "name": "forwardingRuleName", + "in": "path", + "description": "The name of the forwarding rule.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ForwardingRule" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Retrieve forwarding rule in a DNS forwarding ruleset": { + "$ref": "./examples/ForwardingRule_Get.json" + } + } + }, + "put": { + "operationId": "ForwardingRules_CreateOrUpdate", + "tags": [ + "ForwardingRules" + ], + "description": "Creates or updates a forwarding rule in a DNS forwarding ruleset.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "dnsForwardingRulesetName", + "in": "path", + "description": "The name of the DNS forwarding ruleset.", + "required": true, + "type": "string" + }, + { + "name": "forwardingRuleName", + "in": "path", + "description": "The name of the forwarding rule.", + "required": true, + "type": "string" + }, + { + "name": "if-match", + "in": "header", + "description": "ETag of the resource. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes.", + "required": false, + "type": "string", + "x-ms-client-name": "ifMatch" + }, + { + "name": "if-none-match", + "in": "header", + "description": "Set to '*' to allow a new resource to be created, but to prevent updating an existing resource. Other values will be ignored.", + "required": false, + "type": "string", + "x-ms-client-name": "ifNoneMatch" + }, + { + "name": "parameters", + "in": "body", + "description": "Parameters supplied to the CreateOrUpdate operation.", + "required": true, + "schema": { + "$ref": "#/definitions/ForwardingRule" + } + } + ], + "responses": { + "200": { + "description": "Resource 'ForwardingRule' update operation succeeded", + "schema": { + "$ref": "#/definitions/ForwardingRule" + } + }, + "201": { + "description": "Resource 'ForwardingRule' create operation succeeded", + "schema": { + "$ref": "#/definitions/ForwardingRule" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Upsert forwarding rule in a DNS forwarding ruleset": { + "$ref": "./examples/ForwardingRule_Put.json" + } + } + }, + "patch": { + "operationId": "ForwardingRules_Update", + "tags": [ + "ForwardingRules" + ], + "description": "Updates a forwarding rule in a DNS forwarding ruleset.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "dnsForwardingRulesetName", + "in": "path", + "description": "The name of the DNS forwarding ruleset.", + "required": true, + "type": "string" + }, + { + "name": "forwardingRuleName", + "in": "path", + "description": "The name of the forwarding rule.", + "required": true, + "type": "string" + }, + { + "name": "if-match", + "in": "header", + "description": "ETag of the resource. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes.", + "required": false, + "type": "string", + "x-ms-client-name": "ifMatch" + }, + { + "name": "parameters", + "in": "body", + "description": "Parameters supplied to the Update operation.", + "required": true, + "schema": { + "$ref": "#/definitions/ForwardingRulePatch" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ForwardingRule" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Update forwarding rule in a DNS forwarding ruleset": { + "$ref": "./examples/ForwardingRule_Patch.json" + } + } + }, + "delete": { + "operationId": "ForwardingRules_Delete", + "tags": [ + "ForwardingRules" + ], + "description": "Deletes a forwarding rule in a DNS forwarding ruleset. WARNING: This operation cannot be undone.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "dnsForwardingRulesetName", + "in": "path", + "description": "The name of the DNS forwarding ruleset.", + "required": true, + "type": "string" + }, + { + "name": "forwardingRuleName", + "in": "path", + "description": "The name of the forwarding rule.", + "required": true, + "type": "string" + }, + { + "name": "if-match", + "in": "header", + "description": "ETag of the resource. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes.", + "required": false, + "type": "string", + "x-ms-client-name": "ifMatch" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Delete forwarding rule in a DNS forwarding ruleset": { + "$ref": "./examples/ForwardingRule_Delete.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsForwardingRulesets/{dnsForwardingRulesetName}/virtualNetworkLinks": { + "get": { + "operationId": "VirtualNetworkLinks_List", + "tags": [ + "VirtualNetworkLinks" + ], + "description": "Lists virtual network links to a DNS forwarding ruleset.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "dnsForwardingRulesetName", + "in": "path", + "description": "The name of the DNS forwarding ruleset.", + "required": true, + "type": "string" + }, + { + "name": "$top", + "in": "query", + "description": "The maximum number of results to return. If not specified, returns up to 100 results.", + "required": false, + "type": "integer", + "format": "int32" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/VirtualNetworkLinkListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "List virtual network links to a DNS forwarding ruleset": { + "$ref": "./examples/VirtualNetworkLink_List.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsForwardingRulesets/{dnsForwardingRulesetName}/virtualNetworkLinks/{virtualNetworkLinkName}": { + "get": { + "operationId": "VirtualNetworkLinks_Get", + "tags": [ + "VirtualNetworkLinks" + ], + "description": "Gets properties of a virtual network link to a DNS forwarding ruleset.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "dnsForwardingRulesetName", + "in": "path", + "description": "The name of the DNS forwarding ruleset.", + "required": true, + "type": "string" + }, + { + "name": "virtualNetworkLinkName", + "in": "path", + "description": "The name of the virtual network link.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/VirtualNetworkLink" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Retrieve virtual network link to a DNS forwarding ruleset": { + "$ref": "./examples/VirtualNetworkLink_Get.json" + } + } + }, + "put": { + "operationId": "VirtualNetworkLinks_CreateOrUpdate", + "tags": [ + "VirtualNetworkLinks" + ], + "description": "Creates or updates a virtual network link to a DNS forwarding ruleset.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "dnsForwardingRulesetName", + "in": "path", + "description": "The name of the DNS forwarding ruleset.", + "required": true, + "type": "string" + }, + { + "name": "virtualNetworkLinkName", + "in": "path", + "description": "The name of the virtual network link.", + "required": true, + "type": "string" + }, + { + "name": "if-match", + "in": "header", + "description": "ETag of the resource. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes.", + "required": false, + "type": "string", + "x-ms-client-name": "ifMatch" + }, + { + "name": "if-none-match", + "in": "header", + "description": "Set to '*' to allow a new resource to be created, but to prevent updating an existing resource. Other values will be ignored.", + "required": false, + "type": "string", + "x-ms-client-name": "ifNoneMatch" + }, + { + "name": "parameters", + "in": "body", + "description": "Parameters supplied to the CreateOrUpdate operation.", + "required": true, + "schema": { + "$ref": "#/definitions/VirtualNetworkLink" + } + } + ], + "responses": { + "200": { + "description": "Resource 'VirtualNetworkLink' update operation succeeded", + "schema": { + "$ref": "#/definitions/VirtualNetworkLink" + } + }, + "201": { + "description": "Resource 'VirtualNetworkLink' create operation succeeded", + "schema": { + "$ref": "#/definitions/VirtualNetworkLink" + }, + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Upsert virtual network link to a DNS forwarding ruleset": { + "$ref": "./examples/VirtualNetworkLink_Put.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/VirtualNetworkLink" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "VirtualNetworkLinks_Update", + "tags": [ + "VirtualNetworkLinks" + ], + "description": "Updates a virtual network link to a DNS forwarding ruleset.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "dnsForwardingRulesetName", + "in": "path", + "description": "The name of the DNS forwarding ruleset.", + "required": true, + "type": "string" + }, + { + "name": "virtualNetworkLinkName", + "in": "path", + "description": "The name of the virtual network link.", + "required": true, + "type": "string" + }, + { + "name": "if-match", + "in": "header", + "description": "ETag of the resource. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes.", + "required": false, + "type": "string", + "x-ms-client-name": "ifMatch" + }, + { + "name": "parameters", + "in": "body", + "description": "Parameters supplied to the Update operation.", + "required": true, + "schema": { + "$ref": "#/definitions/VirtualNetworkLinkPatch" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/VirtualNetworkLink" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Update virtual network link to a DNS forwarding ruleset": { + "$ref": "./examples/VirtualNetworkLink_Patch.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/VirtualNetworkLink" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "VirtualNetworkLinks_Delete", + "tags": [ + "VirtualNetworkLinks" + ], + "description": "Deletes a virtual network link to a DNS forwarding ruleset. WARNING: This operation cannot be undone.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "dnsForwardingRulesetName", + "in": "path", + "description": "The name of the DNS forwarding ruleset.", + "required": true, + "type": "string" + }, + { + "name": "virtualNetworkLinkName", + "in": "path", + "description": "The name of the virtual network link.", + "required": true, + "type": "string" + }, + { + "name": "if-match", + "in": "header", + "description": "ETag of the resource. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes.", + "required": false, + "type": "string", + "x-ms-client-name": "ifMatch" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Delete virtual network link to a DNS forwarding ruleset": { + "$ref": "./examples/VirtualNetworkLink_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsResolverDomainLists": { + "get": { + "operationId": "DnsResolverDomainLists_ListByResourceGroup", + "tags": [ + "DnsResolverDomainLists" + ], + "description": "Lists DNS resolver domain lists within a resource group.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "$top", + "in": "query", + "description": "The maximum number of results to return. If not specified, returns up to 100 results.", + "required": false, + "type": "integer", + "format": "int32" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/DnsResolverDomainListListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List DNS resolver domain lists by resource group": { + "$ref": "./examples/DnsResolverDomainList_ListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsResolverDomainLists/{dnsResolverDomainListName}": { + "get": { + "operationId": "DnsResolverDomainLists_Get", + "tags": [ + "DnsResolverDomainLists" + ], + "description": "Gets properties of a DNS resolver domain list.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "dnsResolverDomainListName", + "in": "path", + "description": "The name of the DNS resolver domain list.", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 80, + "pattern": "^[a-zA-Z0-9]([a-zA-Z0-9_\\-]*[a-zA-Z0-9])?$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/DnsResolverDomainList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Retrieve DNS resolver domain list with bulk number of domains": { + "$ref": "./examples/DnsResolverDomainList_BulkDomains_Get.json" + }, + "Retrieve DNS resolver domain list with less than 1000 domains": { + "$ref": "./examples/DnsResolverDomainList_Get.json" + } + } + }, + "put": { + "operationId": "DnsResolverDomainLists_CreateOrUpdate", + "tags": [ + "DnsResolverDomainLists" + ], + "description": "Creates or updates a DNS resolver domain list.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "dnsResolverDomainListName", + "in": "path", + "description": "The name of the DNS resolver domain list.", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 80, + "pattern": "^[a-zA-Z0-9]([a-zA-Z0-9_\\-]*[a-zA-Z0-9])?$" + }, + { + "name": "if-match", + "in": "header", + "description": "ETag of the resource. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes.", + "required": false, + "type": "string", + "x-ms-client-name": "ifMatch" + }, + { + "name": "if-none-match", + "in": "header", + "description": "Set to '*' to allow a new resource to be created, but to prevent updating an existing resource. Other values will be ignored.", + "required": false, + "type": "string", + "x-ms-client-name": "ifNoneMatch" + }, + { + "name": "parameters", + "in": "body", + "description": "Parameters supplied to the CreateOrUpdate operation.", + "required": true, + "schema": { + "$ref": "#/definitions/DnsResolverDomainList" + } + } + ], + "responses": { + "200": { + "description": "Resource 'DnsResolverDomainList' update operation succeeded", + "schema": { + "$ref": "#/definitions/DnsResolverDomainList" + } + }, + "201": { + "description": "Resource 'DnsResolverDomainList' create operation succeeded", + "schema": { + "$ref": "#/definitions/DnsResolverDomainList" + }, + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Upsert DNS resolver domain list with bulk number of domains": { + "$ref": "./examples/DnsResolverDomainList_BulkDomains_Put.json" + }, + "Upsert DNS resolver domain list with less than 1000 domains": { + "$ref": "./examples/DnsResolverDomainList_Put.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/DnsResolverDomainList" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "DnsResolverDomainLists_Update", + "tags": [ + "DnsResolverDomainLists" + ], + "description": "Updates a DNS resolver domain list.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "dnsResolverDomainListName", + "in": "path", + "description": "The name of the DNS resolver domain list.", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 80, + "pattern": "^[a-zA-Z0-9]([a-zA-Z0-9_\\-]*[a-zA-Z0-9])?$" + }, + { + "name": "if-match", + "in": "header", + "description": "ETag of the resource. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes.", + "required": false, + "type": "string", + "x-ms-client-name": "ifMatch" + }, + { + "name": "parameters", + "in": "body", + "description": "Parameters supplied to the Update operation.", + "required": true, + "schema": { + "$ref": "#/definitions/DnsResolverDomainListPatch" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/DnsResolverDomainList" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Update DNS resolver domain list": { + "$ref": "./examples/DnsResolverDomainList_Patch.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/DnsResolverDomainList" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "DnsResolverDomainLists_Delete", + "tags": [ + "DnsResolverDomainLists" + ], + "description": "Deletes a DNS resolver domain list. WARNING: This operation cannot be undone.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "dnsResolverDomainListName", + "in": "path", + "description": "The name of the DNS resolver domain list.", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 80, + "pattern": "^[a-zA-Z0-9]([a-zA-Z0-9_\\-]*[a-zA-Z0-9])?$" + }, + { + "name": "if-match", + "in": "header", + "description": "ETag of the resource. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes.", + "required": false, + "type": "string", + "x-ms-client-name": "ifMatch" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Delete DNS resolver domain list": { + "$ref": "./examples/DnsResolverDomainList_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsResolverDomainLists/{dnsResolverDomainListName}/bulk": { + "post": { + "operationId": "DnsResolverDomainLists_Bulk", + "tags": [ + "DnsResolverDomainLists" + ], + "description": "Uploads or downloads the list of domains for a DNS Resolver Domain List from a storage link.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "dnsResolverDomainListName", + "in": "path", + "description": "The name of the DNS resolver domain list.", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 80, + "pattern": "^[a-zA-Z0-9]([a-zA-Z0-9_\\-]*[a-zA-Z0-9])?$" + }, + { + "name": "if-match", + "in": "header", + "description": "ETag of the resource. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes.", + "required": false, + "type": "string", + "x-ms-client-name": "ifMatch" + }, + { + "name": "if-none-match", + "in": "header", + "description": "Set to '*' to allow a new resource to be created, but to prevent updating an existing resource. Other values will be ignored.", + "required": false, + "type": "string", + "x-ms-client-name": "ifNoneMatch" + }, + { + "name": "parameters", + "in": "body", + "description": "Parameters supplied to the bulk domain list operation.", + "required": true, + "schema": { + "$ref": "#/definitions/DnsResolverDomainListBulk" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/DnsResolverDomainList" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Download DNS resolver domain list domains": { + "$ref": "./examples/DnsResolverDomainList_BulkDownload.json" + }, + "Upload DNS resolver domain list domains": { + "$ref": "./examples/DnsResolverDomainList_BulkUpload.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/DnsResolverDomainList" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsResolverPolicies": { + "get": { + "operationId": "DnsResolverPolicies_ListByResourceGroup", + "tags": [ + "DnsResolverPolicies" + ], + "description": "Lists DNS resolver policies within a resource group.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "$top", + "in": "query", + "description": "The maximum number of results to return. If not specified, returns up to 100 results.", + "required": false, + "type": "integer", + "format": "int32" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/DnsResolverPolicyListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List DNS resolver policies by resource group": { + "$ref": "./examples/DnsResolverPolicy_ListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsResolverPolicies/{dnsResolverPolicyName}": { + "get": { + "operationId": "DnsResolverPolicies_Get", + "tags": [ + "DnsResolverPolicies" + ], + "description": "Gets properties of a DNS resolver policy.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "dnsResolverPolicyName", + "in": "path", + "description": "The name of the DNS resolver policy.", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 80, + "pattern": "^[a-zA-Z0-9]([a-zA-Z0-9_\\-]*[a-zA-Z0-9])?$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/DnsResolverPolicy" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Retrieve DNS resolver policy": { + "$ref": "./examples/DnsResolverPolicy_Get.json" + } + } + }, + "put": { + "operationId": "DnsResolverPolicies_CreateOrUpdate", + "tags": [ + "DnsResolverPolicies" + ], + "description": "Creates or updates a DNS resolver policy.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "dnsResolverPolicyName", + "in": "path", + "description": "The name of the DNS resolver policy.", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 80, + "pattern": "^[a-zA-Z0-9]([a-zA-Z0-9_\\-]*[a-zA-Z0-9])?$" + }, + { + "name": "if-match", + "in": "header", + "description": "ETag of the resource. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes.", + "required": false, + "type": "string", + "x-ms-client-name": "ifMatch" + }, + { + "name": "if-none-match", + "in": "header", + "description": "Set to '*' to allow a new resource to be created, but to prevent updating an existing resource. Other values will be ignored.", + "required": false, + "type": "string", + "x-ms-client-name": "ifNoneMatch" + }, + { + "name": "parameters", + "in": "body", + "description": "Parameters supplied to the CreateOrUpdate operation.", + "required": true, + "schema": { + "$ref": "#/definitions/DnsResolverPolicy" + } + } + ], + "responses": { + "200": { + "description": "Resource 'DnsResolverPolicy' update operation succeeded", + "schema": { + "$ref": "#/definitions/DnsResolverPolicy" + } + }, + "201": { + "description": "Resource 'DnsResolverPolicy' create operation succeeded", + "schema": { + "$ref": "#/definitions/DnsResolverPolicy" + }, + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Upsert DNS resolver policy": { + "$ref": "./examples/DnsResolverPolicy_Put.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/DnsResolverPolicy" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "DnsResolverPolicies_Update", + "tags": [ + "DnsResolverPolicies" + ], + "description": "Updates a DNS resolver policy.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "dnsResolverPolicyName", + "in": "path", + "description": "The name of the DNS resolver policy.", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 80, + "pattern": "^[a-zA-Z0-9]([a-zA-Z0-9_\\-]*[a-zA-Z0-9])?$" + }, + { + "name": "if-match", + "in": "header", + "description": "ETag of the resource. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes.", + "required": false, + "type": "string", + "x-ms-client-name": "ifMatch" + }, + { + "name": "parameters", + "in": "body", + "description": "Parameters supplied to the Update operation.", + "required": true, + "schema": { + "$ref": "#/definitions/DnsResolverPolicyPatch" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/DnsResolverPolicy" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Update DNS resolver policy": { + "$ref": "./examples/DnsResolverPolicy_Patch.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/DnsResolverPolicy" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "DnsResolverPolicies_Delete", + "tags": [ + "DnsResolverPolicies" + ], + "description": "Deletes a DNS resolver policy. WARNING: This operation cannot be undone.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "dnsResolverPolicyName", + "in": "path", + "description": "The name of the DNS resolver policy.", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 80, + "pattern": "^[a-zA-Z0-9]([a-zA-Z0-9_\\-]*[a-zA-Z0-9])?$" + }, + { + "name": "if-match", + "in": "header", + "description": "ETag of the resource. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes.", + "required": false, + "type": "string", + "x-ms-client-name": "ifMatch" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Delete DNS resolver policy": { + "$ref": "./examples/DnsResolverPolicy_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsResolverPolicies/{dnsResolverPolicyName}/dnsSecurityRules": { + "get": { + "operationId": "DnsSecurityRules_List", + "tags": [ + "DnsSecurityRules" + ], + "description": "Lists DNS security rules for a DNS resolver policy.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "dnsResolverPolicyName", + "in": "path", + "description": "The name of the DNS resolver policy.", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 80, + "pattern": "^[a-zA-Z0-9]([a-zA-Z0-9_\\-]*[a-zA-Z0-9])?$" + }, + { + "name": "$top", + "in": "query", + "description": "The maximum number of results to return. If not specified, returns up to 100 results.", + "required": false, + "type": "integer", + "format": "int32" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/DnsSecurityRuleListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List DNS security rules by DNS resolver policy": { + "$ref": "./examples/DnsSecurityRule_List.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsResolverPolicies/{dnsResolverPolicyName}/dnsSecurityRules/{dnsSecurityRuleName}": { + "get": { + "operationId": "DnsSecurityRules_Get", + "tags": [ + "DnsSecurityRules" + ], + "description": "Gets properties of a DNS security rule for a DNS resolver policy.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "dnsResolverPolicyName", + "in": "path", + "description": "The name of the DNS resolver policy.", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 80, + "pattern": "^[a-zA-Z0-9]([a-zA-Z0-9_\\-]*[a-zA-Z0-9])?$" + }, + { + "name": "dnsSecurityRuleName", + "in": "path", + "description": "The name of the DNS security rule.", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 80, + "pattern": "^[a-zA-Z0-9]([a-zA-Z0-9_\\-]*[a-zA-Z0-9])?$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/DnsSecurityRule" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Retrieve DNS security rule for DNS resolver policy": { + "$ref": "./examples/DnsSecurityRule_Get.json" + } + } + }, + "put": { + "operationId": "DnsSecurityRules_CreateOrUpdate", + "tags": [ + "DnsSecurityRules" + ], + "description": "Creates or updates a DNS security rule for a DNS resolver policy.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "dnsResolverPolicyName", + "in": "path", + "description": "The name of the DNS resolver policy.", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 80, + "pattern": "^[a-zA-Z0-9]([a-zA-Z0-9_\\-]*[a-zA-Z0-9])?$" + }, + { + "name": "dnsSecurityRuleName", + "in": "path", + "description": "The name of the DNS security rule.", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 80, + "pattern": "^[a-zA-Z0-9]([a-zA-Z0-9_\\-]*[a-zA-Z0-9])?$" + }, + { + "name": "if-match", + "in": "header", + "description": "ETag of the resource. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes.", + "required": false, + "type": "string", + "x-ms-client-name": "ifMatch" + }, + { + "name": "if-none-match", + "in": "header", + "description": "Set to '*' to allow a new resource to be created, but to prevent updating an existing resource. Other values will be ignored.", + "required": false, + "type": "string", + "x-ms-client-name": "ifNoneMatch" + }, + { + "name": "parameters", + "in": "body", + "description": "Parameters supplied to the CreateOrUpdate operation.", + "required": true, + "schema": { + "$ref": "#/definitions/DnsSecurityRule" + } + } + ], + "responses": { + "200": { + "description": "Resource 'DnsSecurityRule' update operation succeeded", + "schema": { + "$ref": "#/definitions/DnsSecurityRule" + } + }, + "201": { + "description": "Resource 'DnsSecurityRule' create operation succeeded", + "schema": { + "$ref": "#/definitions/DnsSecurityRule" + }, + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Upsert DNS security rule": { + "$ref": "./examples/DnsSecurityRule_Put.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/DnsSecurityRule" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "DnsSecurityRules_Update", + "tags": [ + "DnsSecurityRules" + ], + "description": "Updates a DNS security rule.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "dnsResolverPolicyName", + "in": "path", + "description": "The name of the DNS resolver policy.", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 80, + "pattern": "^[a-zA-Z0-9]([a-zA-Z0-9_\\-]*[a-zA-Z0-9])?$" + }, + { + "name": "dnsSecurityRuleName", + "in": "path", + "description": "The name of the DNS security rule.", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 80, + "pattern": "^[a-zA-Z0-9]([a-zA-Z0-9_\\-]*[a-zA-Z0-9])?$" + }, + { + "name": "if-match", + "in": "header", + "description": "ETag of the resource. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes.", + "required": false, + "type": "string", + "x-ms-client-name": "ifMatch" + }, + { + "name": "parameters", + "in": "body", + "description": "Parameters supplied to the Update operation.", + "required": true, + "schema": { + "$ref": "#/definitions/DnsSecurityRulePatch" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/DnsSecurityRule" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Update DNS security rule for DNS resolver policy": { + "$ref": "./examples/DnsSecurityRule_Patch.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/DnsSecurityRule" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "DnsSecurityRules_Delete", + "tags": [ + "DnsSecurityRules" + ], + "description": "Deletes a DNS security rule for a DNS resolver policy. WARNING: This operation cannot be undone.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "dnsResolverPolicyName", + "in": "path", + "description": "The name of the DNS resolver policy.", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 80, + "pattern": "^[a-zA-Z0-9]([a-zA-Z0-9_\\-]*[a-zA-Z0-9])?$" + }, + { + "name": "dnsSecurityRuleName", + "in": "path", + "description": "The name of the DNS security rule.", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 80, + "pattern": "^[a-zA-Z0-9]([a-zA-Z0-9_\\-]*[a-zA-Z0-9])?$" + }, + { + "name": "if-match", + "in": "header", + "description": "ETag of the resource. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes.", + "required": false, + "type": "string", + "x-ms-client-name": "ifMatch" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Delete DNS security rule for DNS resolver policy": { + "$ref": "./examples/DnsSecurityRule_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsResolverPolicies/{dnsResolverPolicyName}/virtualNetworkLinks": { + "get": { + "operationId": "DnsResolverPolicyVirtualNetworkLinks_List", + "tags": [ + "DnsResolverPolicyVirtualNetworkLinks" + ], + "description": "Lists DNS resolver policy virtual network links.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "dnsResolverPolicyName", + "in": "path", + "description": "The name of the DNS resolver policy.", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 80, + "pattern": "^[a-zA-Z0-9]([a-zA-Z0-9_\\-]*[a-zA-Z0-9])?$" + }, + { + "name": "$top", + "in": "query", + "description": "The maximum number of results to return. If not specified, returns up to 100 results.", + "required": false, + "type": "integer", + "format": "int32" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/DnsResolverPolicyVirtualNetworkLinkListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List DNS resolver policy virtual network links by DNS resolver policy": { + "$ref": "./examples/DnsResolverPolicyVirtualNetworkLink_List.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsResolverPolicies/{dnsResolverPolicyName}/virtualNetworkLinks/{dnsResolverPolicyVirtualNetworkLinkName}": { + "get": { + "operationId": "DnsResolverPolicyVirtualNetworkLinks_Get", + "tags": [ + "DnsResolverPolicyVirtualNetworkLinks" + ], + "description": "Gets properties of a DNS resolver policy virtual network link.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "dnsResolverPolicyName", + "in": "path", + "description": "The name of the DNS resolver policy.", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 80, + "pattern": "^[a-zA-Z0-9]([a-zA-Z0-9_\\-]*[a-zA-Z0-9])?$" + }, + { + "name": "dnsResolverPolicyVirtualNetworkLinkName", + "in": "path", + "description": "The name of the DNS resolver policy virtual network link for the DNS resolver policy.", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 80, + "pattern": "^[a-zA-Z0-9]([a-zA-Z0-9_\\-]*[a-zA-Z0-9])?$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/DnsResolverPolicyVirtualNetworkLink" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Retrieve DNS resolver policy virtual network link": { + "$ref": "./examples/DnsResolverPolicyVirtualNetworkLink_Get.json" + } + } + }, + "put": { + "operationId": "DnsResolverPolicyVirtualNetworkLinks_CreateOrUpdate", + "tags": [ + "DnsResolverPolicyVirtualNetworkLinks" + ], + "description": "Creates or updates a DNS resolver policy virtual network link.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "dnsResolverPolicyName", + "in": "path", + "description": "The name of the DNS resolver policy.", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 80, + "pattern": "^[a-zA-Z0-9]([a-zA-Z0-9_\\-]*[a-zA-Z0-9])?$" + }, + { + "name": "dnsResolverPolicyVirtualNetworkLinkName", + "in": "path", + "description": "The name of the DNS resolver policy virtual network link for the DNS resolver policy.", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 80, + "pattern": "^[a-zA-Z0-9]([a-zA-Z0-9_\\-]*[a-zA-Z0-9])?$" + }, + { + "name": "if-match", + "in": "header", + "description": "ETag of the resource. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes.", + "required": false, + "type": "string", + "x-ms-client-name": "ifMatch" + }, + { + "name": "if-none-match", + "in": "header", + "description": "Set to '*' to allow a new resource to be created, but to prevent updating an existing resource. Other values will be ignored.", + "required": false, + "type": "string", + "x-ms-client-name": "ifNoneMatch" + }, + { + "name": "parameters", + "in": "body", + "description": "Parameters supplied to the CreateOrUpdate operation.", + "required": true, + "schema": { + "$ref": "#/definitions/DnsResolverPolicyVirtualNetworkLink" + } + } + ], + "responses": { + "200": { + "description": "Resource 'DnsResolverPolicyVirtualNetworkLink' update operation succeeded", + "schema": { + "$ref": "#/definitions/DnsResolverPolicyVirtualNetworkLink" + } + }, + "201": { + "description": "Resource 'DnsResolverPolicyVirtualNetworkLink' create operation succeeded", + "schema": { + "$ref": "#/definitions/DnsResolverPolicyVirtualNetworkLink" + }, + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Upsert DNS resolver policy virtual network link": { + "$ref": "./examples/DnsResolverPolicyVirtualNetworkLink_Put.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/DnsResolverPolicyVirtualNetworkLink" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "DnsResolverPolicyVirtualNetworkLinks_Update", + "tags": [ + "DnsResolverPolicyVirtualNetworkLinks" + ], + "description": "Updates a DNS resolver policy virtual network link.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "dnsResolverPolicyName", + "in": "path", + "description": "The name of the DNS resolver policy.", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 80, + "pattern": "^[a-zA-Z0-9]([a-zA-Z0-9_\\-]*[a-zA-Z0-9])?$" + }, + { + "name": "dnsResolverPolicyVirtualNetworkLinkName", + "in": "path", + "description": "The name of the DNS resolver policy virtual network link for the DNS resolver policy.", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 80, + "pattern": "^[a-zA-Z0-9]([a-zA-Z0-9_\\-]*[a-zA-Z0-9])?$" + }, + { + "name": "if-match", + "in": "header", + "description": "ETag of the resource. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes.", + "required": false, + "type": "string", + "x-ms-client-name": "ifMatch" + }, + { + "name": "parameters", + "in": "body", + "description": "Parameters supplied to the Update operation.", + "required": true, + "schema": { + "$ref": "#/definitions/DnsResolverPolicyVirtualNetworkLinkPatch" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/DnsResolverPolicyVirtualNetworkLink" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Update DNS resolver policy virtual network link": { + "$ref": "./examples/DnsResolverPolicyVirtualNetworkLink_Patch.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/DnsResolverPolicyVirtualNetworkLink" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "DnsResolverPolicyVirtualNetworkLinks_Delete", + "tags": [ + "DnsResolverPolicyVirtualNetworkLinks" + ], + "description": "Deletes a DNS resolver policy virtual network link. WARNING: This operation cannot be undone.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "dnsResolverPolicyName", + "in": "path", + "description": "The name of the DNS resolver policy.", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 80, + "pattern": "^[a-zA-Z0-9]([a-zA-Z0-9_\\-]*[a-zA-Z0-9])?$" + }, + { + "name": "dnsResolverPolicyVirtualNetworkLinkName", + "in": "path", + "description": "The name of the DNS resolver policy virtual network link for the DNS resolver policy.", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 80, + "pattern": "^[a-zA-Z0-9]([a-zA-Z0-9_\\-]*[a-zA-Z0-9])?$" + }, + { + "name": "if-match", + "in": "header", + "description": "ETag of the resource. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes.", + "required": false, + "type": "string", + "x-ms-client-name": "ifMatch" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Delete DNS resolver policy virtual network link": { + "$ref": "./examples/DnsResolverPolicyVirtualNetworkLink_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsResolvers": { + "get": { + "operationId": "DnsResolvers_ListByResourceGroup", + "tags": [ + "DnsResolvers" + ], + "description": "Lists DNS resolvers within a resource group.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "$top", + "in": "query", + "description": "The maximum number of results to return. If not specified, returns up to 100 results.", + "required": false, + "type": "integer", + "format": "int32" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/DnsResolverListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "List DNS resolvers by resource group": { + "$ref": "./examples/DnsResolver_ListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsResolvers/{dnsResolverName}": { + "get": { + "operationId": "DnsResolvers_Get", + "tags": [ + "DnsResolvers" + ], + "description": "Gets properties of a DNS resolver.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "dnsResolverName", + "in": "path", + "description": "The name of the DNS resolver.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/DnsResolver" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Retrieve DNS resolver": { + "$ref": "./examples/DnsResolver_Get.json" + } + } + }, + "put": { + "operationId": "DnsResolvers_CreateOrUpdate", + "tags": [ + "DnsResolvers" + ], + "description": "Creates or updates a DNS resolver.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "dnsResolverName", + "in": "path", + "description": "The name of the DNS resolver.", + "required": true, + "type": "string" + }, + { + "name": "if-match", + "in": "header", + "description": "ETag of the resource. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes.", + "required": false, + "type": "string", + "x-ms-client-name": "ifMatch" + }, + { + "name": "if-none-match", + "in": "header", + "description": "Set to '*' to allow a new resource to be created, but to prevent updating an existing resource. Other values will be ignored.", + "required": false, + "type": "string", + "x-ms-client-name": "ifNoneMatch" + }, + { + "name": "parameters", + "in": "body", + "description": "Parameters supplied to the CreateOrUpdate operation.", + "required": true, + "schema": { + "$ref": "#/definitions/DnsResolver" + } + } + ], + "responses": { + "200": { + "description": "Resource 'DnsResolver' update operation succeeded", + "schema": { + "$ref": "#/definitions/DnsResolver" + } + }, + "201": { + "description": "Resource 'DnsResolver' create operation succeeded", + "schema": { + "$ref": "#/definitions/DnsResolver" + }, + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Upsert DNS resolver": { + "$ref": "./examples/DnsResolver_Put.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/DnsResolver" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "DnsResolvers_Update", + "tags": [ + "DnsResolvers" + ], + "description": "Updates a DNS resolver.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "dnsResolverName", + "in": "path", + "description": "The name of the DNS resolver.", + "required": true, + "type": "string" + }, + { + "name": "if-match", + "in": "header", + "description": "ETag of the resource. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes.", + "required": false, + "type": "string", + "x-ms-client-name": "ifMatch" + }, + { + "name": "parameters", + "in": "body", + "description": "Parameters supplied to the Update operation.", + "required": true, + "schema": { + "$ref": "#/definitions/DnsResolverPatch" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/DnsResolver" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Update DNS resolver": { + "$ref": "./examples/DnsResolver_Patch.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/DnsResolver" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "DnsResolvers_Delete", + "tags": [ + "DnsResolvers" + ], + "description": "Deletes a DNS resolver. WARNING: This operation cannot be undone.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "dnsResolverName", + "in": "path", + "description": "The name of the DNS resolver.", + "required": true, + "type": "string" + }, + { + "name": "if-match", + "in": "header", + "description": "ETag of the resource. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes.", + "required": false, + "type": "string", + "x-ms-client-name": "ifMatch" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Delete DNS resolver": { + "$ref": "./examples/DnsResolver_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsResolvers/{dnsResolverName}/inboundEndpoints": { + "get": { + "operationId": "InboundEndpoints_List", + "tags": [ + "InboundEndpoints" + ], + "description": "Lists inbound endpoints for a DNS resolver.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "dnsResolverName", + "in": "path", + "description": "The name of the DNS resolver.", + "required": true, + "type": "string" + }, + { + "name": "$top", + "in": "query", + "description": "The maximum number of results to return. If not specified, returns up to 100 results.", + "required": false, + "type": "integer", + "format": "int32" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/InboundEndpointListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "List inbound endpoints by DNS resolver": { + "$ref": "./examples/InboundEndpoint_List.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsResolvers/{dnsResolverName}/inboundEndpoints/{inboundEndpointName}": { + "get": { + "operationId": "InboundEndpoints_Get", + "tags": [ + "InboundEndpoints" + ], + "description": "Gets properties of an inbound endpoint for a DNS resolver.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "dnsResolverName", + "in": "path", + "description": "The name of the DNS resolver.", + "required": true, + "type": "string" + }, + { + "name": "inboundEndpointName", + "in": "path", + "description": "The name of the inbound endpoint for the DNS resolver.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/InboundEndpoint" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Retrieve inbound endpoint for DNS resolver": { + "$ref": "./examples/InboundEndpoint_Get.json" + } + } + }, + "put": { + "operationId": "InboundEndpoints_CreateOrUpdate", + "tags": [ + "InboundEndpoints" + ], + "description": "Creates or updates an inbound endpoint for a DNS resolver.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "dnsResolverName", + "in": "path", + "description": "The name of the DNS resolver.", + "required": true, + "type": "string" + }, + { + "name": "inboundEndpointName", + "in": "path", + "description": "The name of the inbound endpoint for the DNS resolver.", + "required": true, + "type": "string" + }, + { + "name": "if-match", + "in": "header", + "description": "ETag of the resource. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes.", + "required": false, + "type": "string", + "x-ms-client-name": "ifMatch" + }, + { + "name": "if-none-match", + "in": "header", + "description": "Set to '*' to allow a new resource to be created, but to prevent updating an existing resource. Other values will be ignored.", + "required": false, + "type": "string", + "x-ms-client-name": "ifNoneMatch" + }, + { + "name": "parameters", + "in": "body", + "description": "Parameters supplied to the CreateOrUpdate operation.", + "required": true, + "schema": { + "$ref": "#/definitions/InboundEndpoint" + } + } + ], + "responses": { + "200": { + "description": "Resource 'InboundEndpoint' update operation succeeded", + "schema": { + "$ref": "#/definitions/InboundEndpoint" + } + }, + "201": { + "description": "Resource 'InboundEndpoint' create operation succeeded", + "schema": { + "$ref": "#/definitions/InboundEndpoint" + }, + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Upsert inbound endpoint for DNS resolver": { + "$ref": "./examples/InboundEndpoint_Put.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/InboundEndpoint" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "InboundEndpoints_Update", + "tags": [ + "InboundEndpoints" + ], + "description": "Updates an inbound endpoint for a DNS resolver.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "dnsResolverName", + "in": "path", + "description": "The name of the DNS resolver.", + "required": true, + "type": "string" + }, + { + "name": "inboundEndpointName", + "in": "path", + "description": "The name of the inbound endpoint for the DNS resolver.", + "required": true, + "type": "string" + }, + { + "name": "if-match", + "in": "header", + "description": "ETag of the resource. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes.", + "required": false, + "type": "string", + "x-ms-client-name": "ifMatch" + }, + { + "name": "parameters", + "in": "body", + "description": "Parameters supplied to the Update operation.", + "required": true, + "schema": { + "$ref": "#/definitions/InboundEndpointPatch" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/InboundEndpoint" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Update inbound endpoint for DNS resolver": { + "$ref": "./examples/InboundEndpoint_Patch.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/InboundEndpoint" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "InboundEndpoints_Delete", + "tags": [ + "InboundEndpoints" + ], + "description": "Deletes an inbound endpoint for a DNS resolver. WARNING: This operation cannot be undone.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "dnsResolverName", + "in": "path", + "description": "The name of the DNS resolver.", + "required": true, + "type": "string" + }, + { + "name": "inboundEndpointName", + "in": "path", + "description": "The name of the inbound endpoint for the DNS resolver.", + "required": true, + "type": "string" + }, + { + "name": "if-match", + "in": "header", + "description": "ETag of the resource. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes.", + "required": false, + "type": "string", + "x-ms-client-name": "ifMatch" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Delete inbound endpoint for DNS resolver": { + "$ref": "./examples/InboundEndpoint_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsResolvers/{dnsResolverName}/outboundEndpoints": { + "get": { + "operationId": "OutboundEndpoints_List", + "tags": [ + "OutboundEndpoints" + ], + "description": "Lists outbound endpoints for a DNS resolver.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "dnsResolverName", + "in": "path", + "description": "The name of the DNS resolver.", + "required": true, + "type": "string" + }, + { + "name": "$top", + "in": "query", + "description": "The maximum number of results to return. If not specified, returns up to 100 results.", + "required": false, + "type": "integer", + "format": "int32" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/OutboundEndpointListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "List outbound endpoints by DNS resolver": { + "$ref": "./examples/OutboundEndpoint_List.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsResolvers/{dnsResolverName}/outboundEndpoints/{outboundEndpointName}": { + "get": { + "operationId": "OutboundEndpoints_Get", + "tags": [ + "OutboundEndpoints" + ], + "description": "Gets properties of an outbound endpoint for a DNS resolver.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "dnsResolverName", + "in": "path", + "description": "The name of the DNS resolver.", + "required": true, + "type": "string" + }, + { + "name": "outboundEndpointName", + "in": "path", + "description": "The name of the outbound endpoint for the DNS resolver.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/OutboundEndpoint" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Retrieve outbound endpoint for DNS resolver": { + "$ref": "./examples/OutboundEndpoint_Get.json" + } + } + }, + "put": { + "operationId": "OutboundEndpoints_CreateOrUpdate", + "tags": [ + "OutboundEndpoints" + ], + "description": "Creates or updates an outbound endpoint for a DNS resolver.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "dnsResolverName", + "in": "path", + "description": "The name of the DNS resolver.", + "required": true, + "type": "string" + }, + { + "name": "outboundEndpointName", + "in": "path", + "description": "The name of the outbound endpoint for the DNS resolver.", + "required": true, + "type": "string" + }, + { + "name": "if-match", + "in": "header", + "description": "ETag of the resource. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes.", + "required": false, + "type": "string", + "x-ms-client-name": "ifMatch" + }, + { + "name": "if-none-match", + "in": "header", + "description": "Set to '*' to allow a new resource to be created, but to prevent updating an existing resource. Other values will be ignored.", + "required": false, + "type": "string", + "x-ms-client-name": "ifNoneMatch" + }, + { + "name": "parameters", + "in": "body", + "description": "Parameters supplied to the CreateOrUpdate operation.", + "required": true, + "schema": { + "$ref": "#/definitions/OutboundEndpoint" + } + } + ], + "responses": { + "200": { + "description": "Resource 'OutboundEndpoint' update operation succeeded", + "schema": { + "$ref": "#/definitions/OutboundEndpoint" + } + }, + "201": { + "description": "Resource 'OutboundEndpoint' create operation succeeded", + "schema": { + "$ref": "#/definitions/OutboundEndpoint" + }, + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Upsert outbound endpoint for DNS resolver": { + "$ref": "./examples/OutboundEndpoint_Put.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/OutboundEndpoint" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "OutboundEndpoints_Update", + "tags": [ + "OutboundEndpoints" + ], + "description": "Updates an outbound endpoint for a DNS resolver.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "dnsResolverName", + "in": "path", + "description": "The name of the DNS resolver.", + "required": true, + "type": "string" + }, + { + "name": "outboundEndpointName", + "in": "path", + "description": "The name of the outbound endpoint for the DNS resolver.", + "required": true, + "type": "string" + }, + { + "name": "if-match", + "in": "header", + "description": "ETag of the resource. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes.", + "required": false, + "type": "string", + "x-ms-client-name": "ifMatch" + }, + { + "name": "parameters", + "in": "body", + "description": "Parameters supplied to the Update operation.", + "required": true, + "schema": { + "$ref": "#/definitions/OutboundEndpointPatch" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/OutboundEndpoint" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Update outbound endpoint for DNS resolver": { + "$ref": "./examples/OutboundEndpoint_Patch.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/OutboundEndpoint" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "OutboundEndpoints_Delete", + "tags": [ + "OutboundEndpoints" + ], + "description": "Deletes an outbound endpoint for a DNS resolver. WARNING: This operation cannot be undone.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "dnsResolverName", + "in": "path", + "description": "The name of the DNS resolver.", + "required": true, + "type": "string" + }, + { + "name": "outboundEndpointName", + "in": "path", + "description": "The name of the outbound endpoint for the DNS resolver.", + "required": true, + "type": "string" + }, + { + "name": "if-match", + "in": "header", + "description": "ETag of the resource. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes.", + "required": false, + "type": "string", + "x-ms-client-name": "ifMatch" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Delete outbound endpoint for DNS resolver": { + "$ref": "./examples/OutboundEndpoint_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/listDnsForwardingRulesets": { + "post": { + "operationId": "DnsForwardingRulesets_ListByVirtualNetwork", + "description": "Lists DNS forwarding ruleset resource IDs attached to a virtual network.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualNetworkName", + "in": "path", + "description": "The name of the VirtualNetwork", + "required": true, + "type": "string" + }, + { + "name": "$top", + "in": "query", + "description": "The maximum number of results to return. If not specified, returns up to 100 results.", + "required": false, + "type": "integer", + "format": "int32" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/VirtualNetworkDnsForwardingRulesetListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "List DNS forwarding rulesets by virtual network": { + "$ref": "./examples/DnsForwardingRuleset_ListByVirtualNetwork.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/listDnsResolverPolicies": { + "post": { + "operationId": "DnsResolverPolicies_ListByVirtualNetwork", + "description": "Lists DNS resolver policy resource IDs linked to a virtual network.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualNetworkName", + "in": "path", + "description": "The name of the VirtualNetwork", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/SubResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List DNS resolver policies by virtual network": { + "$ref": "./examples/DnsResolverPolicy_ListByVirtualNetwork.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/listDnsResolvers": { + "post": { + "operationId": "DnsResolvers_ListByVirtualNetwork", + "description": "Lists DNS resolver resource IDs linked to a virtual network.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualNetworkName", + "in": "path", + "description": "The name of the VirtualNetwork", + "required": true, + "type": "string" + }, + { + "name": "$top", + "in": "query", + "description": "The maximum number of results to return. If not specified, returns up to 100 results.", + "required": false, + "type": "integer", + "format": "int32" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/SubResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "List DNS resolvers by virtual network": { + "$ref": "./examples/DnsResolver_ListByVirtualNetwork.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + } + }, + "definitions": { + "Action": { + "type": "string", + "description": "The action type in requests for bulk upload or download of a DNS resolver domain list.", + "enum": [ + "Upload", + "Download" + ], + "x-ms-enum": { + "name": "Action", + "modelAsString": true, + "values": [ + { + "name": "Upload", + "value": "Upload" + }, + { + "name": "Download", + "value": "Download" + } + ] + } + }, + "ActionType": { + "type": "string", + "description": "The type of action to take.", + "enum": [ + "Allow", + "Alert", + "Block" + ], + "x-ms-enum": { + "name": "ActionType", + "modelAsString": true, + "values": [ + { + "name": "Allow", + "value": "Allow" + }, + { + "name": "Alert", + "value": "Alert" + }, + { + "name": "Block", + "value": "Block" + } + ] + } + }, + "CloudError": { + "type": "object", + "description": "An error message", + "properties": { + "error": { + "$ref": "#/definitions/CloudErrorBody", + "description": "The error message body" + } + } + }, + "CloudErrorBody": { + "type": "object", + "description": "The body of an error message", + "properties": { + "code": { + "type": "string", + "description": "The error code" + }, + "message": { + "type": "string", + "description": "A description of what caused the error" + }, + "target": { + "type": "string", + "description": "The target resource of the error message" + }, + "details": { + "type": "array", + "description": "Extra error information", + "items": { + "$ref": "#/definitions/CloudErrorBody" + } + } + } + }, + "DnsForwardingRuleset": { + "type": "object", + "description": "Describes a DNS forwarding ruleset.", + "properties": { + "properties": { + "$ref": "#/definitions/DnsForwardingRulesetProperties", + "description": "Properties of the DNS forwarding ruleset.", + "x-ms-client-flatten": true + }, + "etag": { + "type": "string", + "description": "\"If etag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.\")", + "readOnly": true + } + }, + "required": [ + "properties" + ], + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ] + }, + "DnsForwardingRulesetListResult": { + "type": "object", + "description": "The response of a DnsForwardingRuleset list operation.", + "properties": { + "value": { + "type": "array", + "description": "The DnsForwardingRuleset items on this page", + "items": { + "$ref": "#/definitions/DnsForwardingRuleset" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "DnsForwardingRulesetPatch": { + "type": "object", + "description": "Describes a DNS forwarding ruleset PATCH operation.", + "properties": { + "dnsResolverOutboundEndpoints": { + "type": "array", + "description": "The reference to the DNS resolver outbound endpoints that are used to route DNS queries matching the forwarding rules in the ruleset to the target DNS servers.", + "items": { + "$ref": "#/definitions/SubResource" + } + }, + "tags": { + "type": "object", + "description": "Tags for DNS Resolver.", + "additionalProperties": { + "type": "string" + }, + "x-ms-mutability": [ + "read", + "update", + "create" + ] + } + } + }, + "DnsForwardingRulesetProperties": { + "type": "object", + "description": "Represents the properties of a DNS forwarding ruleset.", + "properties": { + "dnsResolverOutboundEndpoints": { + "type": "array", + "description": "The reference to the DNS resolver outbound endpoints that are used to route DNS queries matching the forwarding rules in the ruleset to the target DNS servers.", + "items": { + "$ref": "#/definitions/SubResource" + } + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The current provisioning state of the DNS forwarding ruleset. This is a read-only property and any attempt to set this value will be ignored.", + "readOnly": true + }, + "resourceGuid": { + "type": "string", + "description": "The resourceGuid for the DNS forwarding ruleset.", + "readOnly": true + } + }, + "required": [ + "dnsResolverOutboundEndpoints" + ] + }, + "DnsResolver": { + "type": "object", + "description": "Describes a DNS resolver.", + "properties": { + "properties": { + "$ref": "#/definitions/DnsResolverProperties", + "description": "Properties of the DNS resolver.", + "x-ms-client-flatten": true + }, + "etag": { + "type": "string", + "description": "\"If etag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.\")", + "readOnly": true + } + }, + "required": [ + "properties" + ], + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ] + }, + "DnsResolverDomainList": { + "type": "object", + "description": "Describes a DNS resolver domain list.", + "properties": { + "properties": { + "$ref": "#/definitions/DnsResolverDomainListProperties", + "description": "Properties of the DNS resolver domain list.", + "x-ms-client-flatten": true + }, + "etag": { + "type": "string", + "description": "\"If etag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.\")", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ] + }, + "DnsResolverDomainListBulk": { + "type": "object", + "description": "Describes a DNS resolver domain list for bulk UPLOAD or DOWNLOAD operations.", + "properties": { + "properties": { + "$ref": "#/definitions/DnsResolverDomainListBulkProperties", + "description": "Properties of the DNS resolver domain list upload or download request.", + "x-ms-client-flatten": true + } + }, + "required": [ + "properties" + ] + }, + "DnsResolverDomainListBulkProperties": { + "type": "object", + "description": "Describes DNS resolver domain list properties for bulk UPLOAD or DOWNLOAD operations.", + "properties": { + "storageUrl": { + "type": "string", + "description": "The storage account blob file URL to be used in the bulk upload or download request of DNS resolver domain list." + }, + "action": { + "$ref": "#/definitions/Action", + "description": "The action to take in the request, Upload or Download." + } + }, + "required": [ + "storageUrl", + "action" + ] + }, + "DnsResolverDomainListListResult": { + "type": "object", + "description": "The response of a DnsResolverDomainList list operation.", + "properties": { + "value": { + "type": "array", + "description": "The DnsResolverDomainList items on this page", + "items": { + "$ref": "#/definitions/DnsResolverDomainList" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "DnsResolverDomainListPatch": { + "type": "object", + "description": "Describes a DNS resolver domain list for PATCH operation.", + "properties": { + "properties": { + "$ref": "#/definitions/DnsResolverDomainListPatchProperties", + "description": "Updatable properties of the DNS resolver domain list.", + "x-ms-client-flatten": true + }, + "tags": { + "type": "object", + "description": "Tags for DNS resolver domain list.", + "additionalProperties": { + "type": "string" + }, + "x-ms-mutability": [ + "read", + "update", + "create" + ] + } + } + }, + "DnsResolverDomainListPatchProperties": { + "type": "object", + "description": "Represents the updatable properties of a DNS resolver domain list.", + "properties": { + "domains": { + "type": "array", + "description": "The domains in the domain list.", + "items": { + "type": "string" + } + } + } + }, + "DnsResolverDomainListProperties": { + "type": "object", + "description": "Represents the properties of a DNS resolver domain list.", + "properties": { + "domains": { + "type": "array", + "description": "The domains in the domain list. Will be null if user is using large domain list.", + "items": { + "type": "string" + } + }, + "domainsUrl": { + "type": "string", + "description": "The URL for bulk upload or download for domain lists containing larger set of domains. This will be populated if domains is empty or null.", + "readOnly": true + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The current provisioning state of the DNS resolver domain list. This is a read-only property and any attempt to set this value will be ignored.", + "readOnly": true + }, + "resourceGuid": { + "type": "string", + "description": "The resourceGuid property of the DNS resolver domain list resource.", + "readOnly": true + } + } + }, + "DnsResolverListResult": { + "type": "object", + "description": "The response of a DnsResolver list operation.", + "properties": { + "value": { + "type": "array", + "description": "The DnsResolver items on this page", + "items": { + "$ref": "#/definitions/DnsResolver" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "DnsResolverPatch": { + "type": "object", + "description": "Describes a DNS resolver for PATCH operation.", + "properties": { + "tags": { + "type": "object", + "description": "Tags for DNS Resolver.", + "additionalProperties": { + "type": "string" + }, + "x-ms-mutability": [ + "read", + "update", + "create" + ] + } + } + }, + "DnsResolverPolicy": { + "type": "object", + "description": "Describes a DNS resolver policy.", + "properties": { + "properties": { + "$ref": "#/definitions/DnsResolverPolicyProperties", + "description": "Properties of the DNS resolver policy.", + "x-ms-client-flatten": true + }, + "etag": { + "type": "string", + "description": "\"If etag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.\")", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ] + }, + "DnsResolverPolicyListResult": { + "type": "object", + "description": "The response of a DnsResolverPolicy list operation.", + "properties": { + "value": { + "type": "array", + "description": "The DnsResolverPolicy items on this page", + "items": { + "$ref": "#/definitions/DnsResolverPolicy" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "DnsResolverPolicyPatch": { + "type": "object", + "description": "Describes a DNS resolver policy for PATCH operation.", + "properties": { + "tags": { + "type": "object", + "description": "Tags for DNS resolver policy.", + "additionalProperties": { + "type": "string" + }, + "x-ms-mutability": [ + "read", + "update", + "create" + ] + } + } + }, + "DnsResolverPolicyProperties": { + "type": "object", + "description": "Represents the properties of a DNS resolver policy.", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The current provisioning state of the DNS resolver policy. This is a read-only property and any attempt to set this value will be ignored.", + "readOnly": true + }, + "resourceGuid": { + "type": "string", + "description": "The resourceGuid property of the DNS resolver policy resource.", + "readOnly": true + } + } + }, + "DnsResolverPolicyVirtualNetworkLink": { + "type": "object", + "description": "Describes a DNS resolver policy virtual network link.", + "properties": { + "properties": { + "$ref": "#/definitions/DnsResolverPolicyVirtualNetworkLinkProperties", + "description": "Properties of the DNS resolver policy virtual network link.", + "x-ms-client-flatten": true + }, + "etag": { + "type": "string", + "description": "\"If etag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.\")", + "readOnly": true + } + }, + "required": [ + "properties" + ], + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ] + }, + "DnsResolverPolicyVirtualNetworkLinkListResult": { + "type": "object", + "description": "The response of a DnsResolverPolicyVirtualNetworkLink list operation.", + "properties": { + "value": { + "type": "array", + "description": "The DnsResolverPolicyVirtualNetworkLink items on this page", + "items": { + "$ref": "#/definitions/DnsResolverPolicyVirtualNetworkLink" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "DnsResolverPolicyVirtualNetworkLinkPatch": { + "type": "object", + "description": "Describes a DNS resolver policy virtual network link for PATCH operation.", + "properties": { + "tags": { + "type": "object", + "description": "Tags for the DNS resolver policy virtual network link.", + "additionalProperties": { + "type": "string" + }, + "x-ms-mutability": [ + "read", + "update", + "create" + ] + } + } + }, + "DnsResolverPolicyVirtualNetworkLinkProperties": { + "type": "object", + "description": "Represents the properties of a DNS resolver policy virtual network link.", + "properties": { + "virtualNetwork": { + "$ref": "#/definitions/SubResource", + "description": "The reference to the virtual network. This cannot be changed after creation.", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The current provisioning state of the DNS resolver policy virtual network link. This is a read-only property and any attempt to set this value will be ignored.", + "readOnly": true + } + }, + "required": [ + "virtualNetwork" + ] + }, + "DnsResolverProperties": { + "type": "object", + "description": "Represents the properties of a DNS resolver.", + "properties": { + "virtualNetwork": { + "$ref": "#/definitions/SubResource", + "description": "The reference to the virtual network. This cannot be changed after creation.", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "dnsResolverState": { + "$ref": "#/definitions/DnsResolverState", + "description": "The current status of the DNS resolver. This is a read-only property and any attempt to set this value will be ignored.", + "readOnly": true + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The current provisioning state of the DNS resolver. This is a read-only property and any attempt to set this value will be ignored.", + "readOnly": true + }, + "resourceGuid": { + "type": "string", + "description": "The resourceGuid property of the DNS resolver resource.", + "readOnly": true + } + }, + "required": [ + "virtualNetwork" + ] + }, + "DnsResolverState": { + "type": "string", + "description": "The current status of the DNS resolver. This is a read-only property and any attempt to set this value will be ignored.", + "enum": [ + "Connected", + "Disconnected" + ], + "x-ms-enum": { + "name": "DnsResolverState", + "modelAsString": true, + "values": [ + { + "name": "Connected", + "value": "Connected" + }, + { + "name": "Disconnected", + "value": "Disconnected" + } + ] + } + }, + "DnsSecurityRule": { + "type": "object", + "description": "Describes a DNS security rule.", + "properties": { + "properties": { + "$ref": "#/definitions/DnsSecurityRuleProperties", + "description": "Properties of the DNS security rule.", + "x-ms-client-flatten": true + }, + "etag": { + "type": "string", + "description": "\"If etag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.\")", + "readOnly": true + } + }, + "required": [ + "properties" + ], + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ] + }, + "DnsSecurityRuleAction": { + "type": "object", + "description": "The action to take on DNS requests that match the DNS security rule.", + "properties": { + "actionType": { + "$ref": "#/definitions/ActionType", + "description": "The type of action to take." + } + } + }, + "DnsSecurityRuleListResult": { + "type": "object", + "description": "The response of a DnsSecurityRule list operation.", + "properties": { + "value": { + "type": "array", + "description": "The DnsSecurityRule items on this page", + "items": { + "$ref": "#/definitions/DnsSecurityRule" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "DnsSecurityRulePatch": { + "type": "object", + "description": "Describes a DNS security rule for PATCH operation.", + "properties": { + "properties": { + "$ref": "#/definitions/DnsSecurityRulePatchProperties", + "description": "Updatable properties of the DNS security rule.", + "x-ms-client-flatten": true + }, + "tags": { + "type": "object", + "description": "Tags for DNS security rule.", + "additionalProperties": { + "type": "string" + }, + "x-ms-mutability": [ + "read", + "update", + "create" + ] + } + } + }, + "DnsSecurityRulePatchProperties": { + "type": "object", + "description": "Represents the updatable properties of a DNS security rule.", + "properties": { + "action": { + "$ref": "#/definitions/DnsSecurityRuleAction", + "description": "The action to take on DNS requests that match the DNS security rule." + }, + "dnsResolverDomainLists": { + "type": "array", + "description": "DNS resolver policy domains lists that the DNS security rule applies to.", + "items": { + "$ref": "#/definitions/SubResource" + }, + "x-ms-identifiers": [] + }, + "dnsSecurityRuleState": { + "$ref": "#/definitions/DnsSecurityRuleState", + "description": "The state of DNS security rule." + }, + "priority": { + "type": "integer", + "format": "int32", + "description": "The priority of the DNS security rule.", + "x-ms-mutability": [ + "read", + "update", + "create" + ] + } + } + }, + "DnsSecurityRuleProperties": { + "type": "object", + "description": "Represents the properties of a DNS security rule.", + "properties": { + "priority": { + "type": "integer", + "format": "int32", + "description": "The priority of the DNS security rule.", + "x-ms-mutability": [ + "read", + "update", + "create" + ] + }, + "action": { + "$ref": "#/definitions/DnsSecurityRuleAction", + "description": "The action to take on DNS requests that match the DNS security rule." + }, + "dnsResolverDomainLists": { + "type": "array", + "description": "DNS resolver policy domains lists that the DNS security rule applies to.", + "items": { + "$ref": "#/definitions/SubResource" + }, + "x-ms-identifiers": [] + }, + "dnsSecurityRuleState": { + "$ref": "#/definitions/DnsSecurityRuleState", + "description": "The state of DNS security rule." + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The current provisioning state of the DNS security rule. This is a read-only property and any attempt to set this value will be ignored.", + "readOnly": true + } + }, + "required": [ + "priority", + "action", + "dnsResolverDomainLists" + ] + }, + "DnsSecurityRuleState": { + "type": "string", + "description": "The state of DNS security rule.", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "DnsSecurityRuleState", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled" + }, + { + "name": "Disabled", + "value": "Disabled" + } + ] + } + }, + "ForwardingRule": { + "type": "object", + "description": "Describes a forwarding rule within a DNS forwarding ruleset.", + "properties": { + "properties": { + "$ref": "#/definitions/ForwardingRuleProperties", + "description": "Properties of the forwarding rule.", + "x-ms-client-flatten": true + }, + "etag": { + "type": "string", + "description": "\"If etag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.\")", + "readOnly": true + } + }, + "required": [ + "properties" + ], + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "ForwardingRuleListResult": { + "type": "object", + "description": "The response of a ForwardingRule list operation.", + "properties": { + "value": { + "type": "array", + "description": "The ForwardingRule items on this page", + "items": { + "$ref": "#/definitions/ForwardingRule" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "ForwardingRulePatch": { + "type": "object", + "description": "Describes a forwarding rule for PATCH operation.", + "properties": { + "properties": { + "$ref": "#/definitions/ForwardingRulePatchProperties", + "description": "Updatable properties of the forwarding rule.", + "x-ms-client-flatten": true + } + } + }, + "ForwardingRulePatchProperties": { + "type": "object", + "description": "Represents the updatable properties of a forwarding rule within a DNS forwarding ruleset.", + "properties": { + "targetDnsServers": { + "type": "array", + "description": "DNS servers to forward the DNS query to.", + "items": { + "$ref": "#/definitions/TargetDnsServer" + }, + "x-ms-identifiers": [] + }, + "metadata": { + "type": "object", + "description": "Metadata attached to the forwarding rule.", + "additionalProperties": { + "type": "string" + } + }, + "forwardingRuleState": { + "type": "string", + "description": "The state of forwarding rule.", + "default": "Enabled", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "ForwardingRuleState", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled" + }, + { + "name": "Disabled", + "value": "Disabled" + } + ] + } + } + } + }, + "ForwardingRuleProperties": { + "type": "object", + "description": "Represents the properties of a forwarding rule within a DNS forwarding ruleset.", + "properties": { + "domainName": { + "type": "string", + "description": "The domain name for the forwarding rule." + }, + "targetDnsServers": { + "type": "array", + "description": "DNS servers to forward the DNS query to.", + "items": { + "$ref": "#/definitions/TargetDnsServer" + }, + "x-ms-identifiers": [] + }, + "metadata": { + "type": "object", + "description": "Metadata attached to the forwarding rule.", + "additionalProperties": { + "type": "string" + } + }, + "forwardingRuleState": { + "$ref": "#/definitions/ForwardingRuleState", + "description": "The state of forwarding rule." + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The current provisioning state of the forwarding rule. This is a read-only property and any attempt to set this value will be ignored.", + "readOnly": true + } + }, + "required": [ + "domainName", + "targetDnsServers" + ] + }, + "ForwardingRuleState": { + "type": "string", + "description": "The state of forwarding rule.", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "ForwardingRuleState", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled" + }, + { + "name": "Disabled", + "value": "Disabled" + } + ] + } + }, + "InboundEndpoint": { + "type": "object", + "description": "Describes an inbound endpoint for a DNS resolver.", + "properties": { + "properties": { + "$ref": "#/definitions/InboundEndpointProperties", + "description": "Properties of the inbound endpoint.", + "x-ms-client-flatten": true + }, + "etag": { + "type": "string", + "description": "\"If etag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.\")", + "readOnly": true + } + }, + "required": [ + "properties" + ], + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ] + }, + "InboundEndpointListResult": { + "type": "object", + "description": "The response of a InboundEndpoint list operation.", + "properties": { + "value": { + "type": "array", + "description": "The InboundEndpoint items on this page", + "items": { + "$ref": "#/definitions/InboundEndpoint" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "InboundEndpointPatch": { + "type": "object", + "description": "Describes an inbound endpoint for a DNS resolver for PATCH operation.", + "properties": { + "tags": { + "type": "object", + "description": "Tags for inbound endpoint.", + "additionalProperties": { + "type": "string" + }, + "x-ms-mutability": [ + "read", + "update", + "create" + ] + } + } + }, + "InboundEndpointProperties": { + "type": "object", + "description": "Represents the properties of an inbound endpoint for a DNS resolver.", + "properties": { + "ipConfigurations": { + "type": "array", + "description": "IP configurations for the inbound endpoint.", + "items": { + "$ref": "#/definitions/IpConfiguration" + }, + "x-ms-identifiers": [] + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The current provisioning state of the inbound endpoint. This is a read-only property and any attempt to set this value will be ignored.", + "readOnly": true + }, + "resourceGuid": { + "type": "string", + "description": "The resourceGuid property of the inbound endpoint resource.", + "readOnly": true + } + }, + "required": [ + "ipConfigurations" + ] + }, + "IpConfiguration": { + "type": "object", + "description": "IP configuration.", + "properties": { + "subnet": { + "$ref": "#/definitions/SubResource", + "description": "The reference to the subnet bound to the IP configuration." + }, + "privateIpAddress": { + "type": "string", + "description": "Private IP address of the IP configuration." + }, + "privateIpAllocationMethod": { + "type": "string", + "description": "Private IP address allocation method.", + "default": "Dynamic", + "enum": [ + "Static", + "Dynamic" + ], + "x-ms-enum": { + "name": "IpAllocationMethod", + "modelAsString": true, + "values": [ + { + "name": "Static", + "value": "Static" + }, + { + "name": "Dynamic", + "value": "Dynamic" + } + ] + } + } + }, + "required": [ + "subnet" + ] + }, + "OutboundEndpoint": { + "type": "object", + "description": "Describes an outbound endpoint for a DNS resolver.", + "properties": { + "properties": { + "$ref": "#/definitions/OutboundEndpointProperties", + "description": "Properties of the outbound endpoint.", + "x-ms-client-flatten": true + }, + "etag": { + "type": "string", + "description": "\"If etag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.\")", + "readOnly": true + } + }, + "required": [ + "properties" + ], + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ] + }, + "OutboundEndpointListResult": { + "type": "object", + "description": "The response of a OutboundEndpoint list operation.", + "properties": { + "value": { + "type": "array", + "description": "The OutboundEndpoint items on this page", + "items": { + "$ref": "#/definitions/OutboundEndpoint" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "OutboundEndpointPatch": { + "type": "object", + "description": "Describes an outbound endpoint for a DNS resolver for PATCH operation.", + "properties": { + "tags": { + "type": "object", + "description": "Tags for outbound endpoint.", + "additionalProperties": { + "type": "string" + }, + "x-ms-mutability": [ + "read", + "update", + "create" + ] + } + } + }, + "OutboundEndpointProperties": { + "type": "object", + "description": "Represents the properties of an outbound endpoint for a DNS resolver.", + "properties": { + "subnet": { + "$ref": "#/definitions/SubResource", + "description": "The reference to the subnet used for the outbound endpoint." + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The current provisioning state of the outbound endpoint. This is a read-only property and any attempt to set this value will be ignored.", + "readOnly": true + }, + "resourceGuid": { + "type": "string", + "description": "The resourceGuid property of the outbound endpoint resource.", + "readOnly": true + } + }, + "required": [ + "subnet" + ] + }, + "ProvisioningState": { + "type": "string", + "description": "The current provisioning state of the resource.", + "enum": [ + "Creating", + "Updating", + "Deleting", + "Succeeded", + "Failed", + "Canceled" + ], + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true, + "values": [ + { + "name": "Creating", + "value": "Creating" + }, + { + "name": "Updating", + "value": "Updating" + }, + { + "name": "Deleting", + "value": "Deleting" + }, + { + "name": "Succeeded", + "value": "Succeeded" + }, + { + "name": "Failed", + "value": "Failed" + }, + { + "name": "Canceled", + "value": "Canceled" + } + ] + } + }, + "SubResource": { + "type": "object", + "description": "Reference to another ARM resource.", + "properties": { + "id": { + "type": "string", + "description": "Resource ID." + } + }, + "required": [ + "id" + ] + }, + "SubResourceListResult": { + "type": "object", + "description": "The response to an enumeration operation on sub-resources.", + "properties": { + "value": { + "type": "array", + "description": "The SubResource items on this page", + "items": { + "$ref": "#/definitions/SubResource" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "TargetDnsServer": { + "type": "object", + "description": "Describes a server to forward the DNS queries to.", + "properties": { + "ipAddress": { + "type": "string", + "description": "DNS server IP address." + }, + "port": { + "type": "integer", + "format": "int32", + "description": "DNS server port.", + "default": 53 + } + }, + "required": [ + "ipAddress" + ] + }, + "VirtualNetworkDnsForwardingRuleset": { + "type": "object", + "description": "Reference to DNS forwarding ruleset and associated virtual network link.", + "properties": { + "id": { + "type": "string", + "description": "DNS Forwarding Ruleset Resource ID." + }, + "properties": { + "$ref": "#/definitions/VirtualNetworkLinkSubResourceProperties", + "description": "Properties of the virtual network link sub-resource reference.", + "x-ms-client-flatten": true + } + } + }, + "VirtualNetworkDnsForwardingRulesetListResult": { + "type": "object", + "description": "The response to an enumeration operation on Virtual Network DNS Forwarding Ruleset.", + "properties": { + "value": { + "type": "array", + "description": "The VirtualNetworkDnsForwardingRuleset items on this page", + "items": { + "$ref": "#/definitions/VirtualNetworkDnsForwardingRuleset" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "VirtualNetworkLink": { + "type": "object", + "description": "Describes a virtual network link.", + "properties": { + "properties": { + "$ref": "#/definitions/VirtualNetworkLinkProperties", + "description": "Properties of the virtual network link.", + "x-ms-client-flatten": true + }, + "etag": { + "type": "string", + "description": "\"If etag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.\")", + "readOnly": true + } + }, + "required": [ + "properties" + ], + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "VirtualNetworkLinkListResult": { + "type": "object", + "description": "The response of a VirtualNetworkLink list operation.", + "properties": { + "value": { + "type": "array", + "description": "The VirtualNetworkLink items on this page", + "items": { + "$ref": "#/definitions/VirtualNetworkLink" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "VirtualNetworkLinkPatch": { + "type": "object", + "description": "Describes a virtual network link for PATCH operation.", + "properties": { + "properties": { + "$ref": "#/definitions/VirtualNetworkLinkPatchProperties", + "description": "Updatable properties of the virtual network link.", + "x-ms-client-flatten": true + } + } + }, + "VirtualNetworkLinkPatchProperties": { + "type": "object", + "description": "Represents the updatable properties of the virtual network link.", + "properties": { + "metadata": { + "type": "object", + "description": "Metadata attached to the virtual network link.", + "additionalProperties": { + "type": "string" + } + } + } + }, + "VirtualNetworkLinkProperties": { + "type": "object", + "description": "Represents the properties of a virtual network link.", + "properties": { + "virtualNetwork": { + "$ref": "#/definitions/SubResource", + "description": "The reference to the virtual network. This cannot be changed after creation." + }, + "metadata": { + "type": "object", + "description": "Metadata attached to the virtual network link.", + "additionalProperties": { + "type": "string" + } + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The current provisioning state of the virtual network link. This is a read-only property and any attempt to set this value will be ignored.", + "readOnly": true + } + }, + "required": [ + "virtualNetwork" + ] + }, + "VirtualNetworkLinkSubResourceProperties": { + "type": "object", + "description": "The reference to the virtual network link that associates between the DNS forwarding ruleset and virtual network.", + "properties": { + "virtualNetworkLink": { + "$ref": "#/definitions/SubResource", + "description": "The reference to the virtual network link." + } + } + } + }, + "parameters": {} +} diff --git a/specification/dnsresolver/resource-manager/readme.md b/specification/dnsresolver/resource-manager/readme.md index 3d47b76f3cca..45e9c47cc7fe 100644 --- a/specification/dnsresolver/resource-manager/readme.md +++ b/specification/dnsresolver/resource-manager/readme.md @@ -37,8 +37,7 @@ These settings apply only when `--tag=package-2025-05` is specified on the comma ```yaml $(tag) == 'package-2025-05' input-file: - - Microsoft.Network/stable/2025-05-01/dnsresolver.json - - Microsoft.Network/stable/2025-05-01/dnsresolverpolicy.json + - Microsoft.Network/stable/2025-05-01/openapi.json ``` ### Tag: package-preview-2023-07